Class BaseSyncNetworkPlayer
This class represents a player, whose properties can be modified and synchronized.
Implements
Inherited Members
Namespace: Evergine.Networking.Players
Assembly: Evergine.Networking.dll
Syntax
public abstract class BaseSyncNetworkPlayer : BaseNetworkPlayer, INetworkPlayer
Constructors
BaseSyncNetworkPlayer()
Initializes a new instance of the BaseSyncNetworkPlayer class.
Declaration
public BaseSyncNetworkPlayer()
Properties
Nickname
Gets or sets a non-unique nickname of the player. Synced automatically in a room.
Declaration
public string Nickname { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
A player might change his own nickname in a room. Setting this value updates the server and other players.