Class GameSession
- Namespace
- Game.Session
- Assembly
- Game.dll
- Inheritance
-
GameSession
- Inherited Members
-
Constructors
GameSession(GameClient)
public GameSession(GameClient client)
Parameters
client
GameClient
Properties
AssetRegistry
public AssetRegistry AssetRegistry { get; }
Property Value
- AssetRegistry
Bridge
public IServerBridge Bridge { get; set; }
Property Value
- IServerBridge
Client
public GameClient Client { get; }
Property Value
- GameClient
ClientEntity
public ref Entity ClientEntity { get; }
Property Value
- Entity
ClientEntityId
public int ClientEntityId { get; }
Property Value
- int
ClientEntityValid
public bool ClientEntityValid { get; }
Property Value
- bool
FullyJoined
public bool FullyJoined { get; }
Property Value
- bool
PlayerController
public IPlayerControllable PlayerController { get; }
Property Value
- IPlayerControllable
Methods
ReceiveDisconnect(string)
public void ReceiveDisconnect(string reason)
Parameters
reason
string
ReceiveSpawnCompleteAck()
public void ReceiveSpawnCompleteAck()
ReceiveSpawnResponse(int)
public void ReceiveSpawnResponse(int entityId)
Parameters
entityId
int
SendClientState()
public void SendClientState()
Shutdown()
Update(float)
public void Update(float delta)
Parameters
delta
float