Class LocalNetworkPlayer
This class represents the local player in the clients.
Implements
Inherited Members
Namespace: Evergine.Networking.Client.Players
Assembly: Evergine.Networking.dll
Syntax
public class LocalNetworkPlayer : BaseSyncNetworkPlayer, INetworkPlayer
Constructors
LocalNetworkPlayer()
Initializes a new instance of the LocalNetworkPlayer class.
Declaration
public LocalNetworkPlayer()
Properties
Endpoint
Gets the network endpoint of the local player.
Declaration
public NetworkEndpoint Endpoint { get; }
Property Value
Type | Description |
---|---|
NetworkEndpoint |
Room
Gets the room where is the player. It is null if the player is in the lobby.
Declaration
public LocalNetworkRoom Room { get; }
Property Value
Type | Description |
---|---|
LocalNetworkRoom |