Class RemoteClientBridge
public class RemoteClientBridge : IClientBridge
- Inheritance
-
RemoteClientBridge
- Implements
- Inherited Members
Constructors
RemoteClientBridge(GameServer, IPAddress)
public RemoteClientBridge(GameServer server, IPAddress clientAddress)
Parameters
serverGameServerclientAddressIPAddress
Properties
Bypass
Local clients can bypass the whole authorisation step.
public bool Bypass { get; }
Property Value
Methods
SendAssetInfoRequest(AssetRegistry)
Informs the client of all necessary assets that the server is currently working with.
public void SendAssetInfoRequest(AssetRegistry registry)
Parameters
registryAssetRegistry
SendAssetPayload(object)
Not implemented. Maps to AssetPayload.
public void SendAssetPayload(object payload)
Parameters
payloadobject
SendAuthRequest(bool)
public void SendAuthRequest(bool passwordNeeded)
Parameters
passwordNeededbool
SendDisconnect(string)
Informs the client that it has been disconnected, e.g. in case of a kick/ban or the server shutting down.
public void SendDisconnect(string reason)
Parameters
reasonstring
SendGameEventPayload(int, object[]?)
Not implemented.
Maps to GameEventPayload.
public void SendGameEventPayload(int eventId, object[]? args)
Parameters
SendGameStatePayload()
Not implemented.
Maps to GameStatePayload.
public void SendGameStatePayload()
SendSpawnCompleteAck()
Maps to SpawnCompleteAck.
public void SendSpawnCompleteAck()
SendSpawnResponse(int)
Informs the client that its respective entity has been spawned in the world, and sends the latest game state snapshot.
public void SendSpawnResponse(int clientEntityId)
Parameters
clientEntityIdint
Update(float)
Updates the connection.
public void Update(float delta)
Parameters
deltafloat