void WriteUpdate() { var stream = ArenaClient.GetStream(msgID); WriteBoard(stream); this.packet = stream.CopyData(); }
void SendToggleMessage(bool open) { var stream = ArenaClient.GetStream(msgID); stream.Write(open); ArenaClient.SendScriptMessage(stream, NetPriority.Low, NetReliability.Reliable); }