1
0
mirror of https://github.com/oliverbooth/VPLink synced 2024-11-09 23:25:42 +00:00
VPLink/VPLink.Common/Services/IAvatarService.cs

26 lines
850 B
C#

using VpSharp.Entities;
namespace VPLink.Common.Services;
/// <summary>
/// Represents a service that listens for, and triggers, avatar events.
/// </summary>
public interface IAvatarService
{
/// <summary>
/// Gets an observable that is triggered when an avatar enters the Virtual Paradise world.
/// </summary>
/// <value>
/// An observable that is triggered when an avatar enters the Virtual Paradise world.
/// </value>
IObservable<VirtualParadiseAvatar> OnAvatarJoined { get; }
/// <summary>
/// Gets an observable that is triggered when an avatar exits the Virtual Paradise world.
/// </summary>
/// <value>
/// An observable that is triggered when an avatar exits the Virtual Paradise world.
/// </value>
IObservable<VirtualParadiseAvatar> OnAvatarLeft { get; }
}