Skip to content

Interface IPlayerContext

Namespace: Void.Proxy.Api.Players.Contexts
Assembly: Void.Proxy.Api.dll

public interface IPlayerContext : IDisposable, IAsyncDisposable

Implements

IDisposable, IAsyncDisposable

Properties

Channel

Gets or sets the network channel used for communication.

INetworkChannel? Channel { get; set; }

Property Value

INetworkChannel?

IsDisposed

Gets the current state of the player context.

bool IsDisposed { get; }

Property Value

bool

Logger

Gets the logger instance for logging player-specific events and information.

ILogger Logger { get; }

Property Value

ILogger

Player

Gets the current player instance.

IPlayer Player { get; }

Property Value

IPlayer

Services

Gets the service provider that provides access to player scoped services.

IServiceProvider Services { get; }

Property Value

IServiceProvider