protected void SendStatesToClients() { var states = GetCurrentStates(); var message = new TeleportStateSyncMessage(SpawnId, states); TeleportManager.Main.SendToAllClients(message); }
public void SendStatesToClient(uint clientId) { var states = GetCurrentStates(); var message = new TeleportStateSyncMessage(this, states); TeleportManager.Main.SendToClients(message); }