mirror of
https://github.com/oliverbooth/VPLink
synced 2024-11-09 23:05:41 +00:00
26 lines
850 B
C#
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; }
|
|
}
|