private void PushSharedGameState() { while (!_gameManager.SharedGameState.Board.Availability) { } PushSharedGameState pushInstruction = new PushSharedGameState() { SharedGameState = _gameManager.SharedGameState, }; byte[] rawBytes = _protocol.ToLowerLayer(pushInstruction); this.Send(rawBytes); }
public void Send(RemoteInstruction instruction) { byte[] rawBytes = _protocol.ToLowerLayer(instruction); this.Send(rawBytes); }