2023-08-26 13:29:02 +01:00
|
|
|
using VpSharp.Entities;
|
|
|
|
|
2023-08-26 17:06:12 +01:00
|
|
|
namespace VPLink.Common.Services;
|
2023-08-26 13:29:02 +01:00
|
|
|
|
|
|
|
/// <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; }
|
|
|
|
}
|