protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(RoomName); WriteBuffer.AppendString(RoomType); WriteBuffer.AppendString(RoomSubtype); WriteBuffer.AppendInt32(MaxNumberOfPlayer); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(GroupID); WriteBuffer.AppendString(MessageToSend.Date.ToString(DateTimeFormatInfo.InvariantInfo)); WriteBuffer.AppendString(MessageToSend.Message); WriteBuffer.AppendByte((byte)MessageToSend.MessageColor); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(ClientID); WriteBuffer.AppendString(ClientName); WriteBuffer.AppendBoolean(Spectator); WriteBuffer.AppendByteArray(ClientInfo); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(ServerIP); WriteBuffer.AppendInt32(ServerPort); WriteBuffer.AppendString(CommunicationServerIP); WriteBuffer.AppendInt32(CommunicationServerPort); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(GroupID); WriteBuffer.AppendInt32(ListChatHistory.Count); foreach (ChatManager.ChatMessage ActiveMessage in ListChatHistory) { WriteBuffer.AppendString(ActiveMessage.Date.ToString(DateTimeFormatInfo.InvariantInfo)); WriteBuffer.AppendString(ActiveMessage.Message); WriteBuffer.AppendByte((byte)ActiveMessage.MessageColor); } }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendInt32(ListRoomUpdates.Count); foreach (RoomInformations ActiveRoom in ListRoomUpdates) { WriteBuffer.AppendString(ActiveRoom.RoomID); WriteBuffer.AppendBoolean(ActiveRoom.IsDead); if (!ActiveRoom.IsDead) { WriteBuffer.AppendString(ActiveRoom.RoomName); WriteBuffer.AppendInt32(ActiveRoom.MaxNumberOfPlayer); WriteBuffer.AppendInt32(ActiveRoom.CurrentPlayerCount); } } }
protected override void DoWrite(OnlineWriter WriteBuffer) { byte[] ArrayGameData = Owner.CurrentGame.GetSnapshotData(); WriteBuffer.AppendString(Owner.RoomID); WriteBuffer.AppendByteArray(ArrayGameData); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendInt32(ListOtherMaster.Count); for (int M = 0; M < ListOtherMaster.Count; ++M) { WriteBuffer.AppendString(ListOtherMaster[M].IP); } }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendInt32(ListPlayerInfo.Count); foreach (KeyValuePair <string, byte[]> ActivePlayerInfo in ListPlayerInfo) { WriteBuffer.AppendString(ActivePlayerInfo.Key); WriteBuffer.AppendByteArray(ActivePlayerInfo.Value); } }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendInt32(ListFriend.Count); foreach (PlayerPOCO ActivePlayerInfo in ListFriend) { WriteBuffer.AppendString(ActivePlayerInfo.ID); WriteBuffer.AppendByteArray(ActivePlayerInfo.Info); } }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(RoomID); WriteBuffer.AppendBoolean(RoomToJoin != null); if (RoomToJoin != null) { WriteBuffer.AppendInt32(RoomToJoin.CurrentPlayerCount); WriteBuffer.AppendInt32(RoomToJoin.MaxNumberOfPlayer); } }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(GroupID); WriteBuffer.AppendString(GroupName); WriteBuffer.AppendString(ClientID); WriteBuffer.AppendString(ClientName); WriteBuffer.AppendString(ClientToInviteID); WriteBuffer.AppendString(CommunicationServerIP); WriteBuffer.AppendInt32(CommunicationServerPort); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(PlayerID); WriteBuffer.AppendInt32(Team); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(RoomPlayerID); WriteBuffer.AppendUInt32(InGamePlayerID); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(RoomName); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(GroupID); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(GroupID); WriteBuffer.AppendBoolean(SaveLogs); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(RoomID); WriteBuffer.AppendString(RemoteIP); WriteBuffer.AppendInt32(RemotePort); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(PlayerInfo.ID); WriteBuffer.AppendString(PlayerInfo.Name); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(Login); WriteBuffer.AppendString(Password); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(NewServerManagerIP); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(CharacterType); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(CurrentDifficulty); WriteBuffer.AppendString(MissionPath); }
internal void Write(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(Name); DoWrite(WriteBuffer); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(CurrentDifficulty); WriteBuffer.AppendString(NewMapName); }
protected override void DoWrite(OnlineWriter WriteBuffer) { WriteBuffer.AppendString(GroupID); WriteBuffer.AppendString(GroupName); WriteBuffer.AppendString(ClientToInviteID); }