Class RemoteClientBridge
public class RemoteClientBridge : IClientBridge
- Inheritance
-
RemoteClientBridge
- Implements
- Inherited Members
Constructors
RemoteClientBridge(GameServer, IPAddress)
public RemoteClientBridge(GameServer server, IPAddress clientAddress)
Parameters
server
GameServerclientAddress
IPAddress
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
registry
AssetRegistry
SendAssetPayload(object)
Not implemented. Maps to AssetPayload.
public void SendAssetPayload(object payload)
Parameters
payload
object
SendAuthRequest(bool)
public void SendAuthRequest(bool passwordNeeded)
Parameters
passwordNeeded
bool
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
reason
string
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
clientEntityId
int
Update(float)
Updates the connection.
public void Update(float delta)
Parameters
delta
float