Пример #1
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(Name);
     packet.WriteString(UnityId);
     packet.WriteString(Version);
     packet.WriteInt((int)PrefferedClass);
 }
Пример #2
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(LocalPlayerName);
     packet.WriteString(Name);
     packet.WriteString(Map);
     packet.WriteString(Version);
 }
Пример #3
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(UserName);
     packet.WriteString(DisplayName);
     packet.WriteString(IP);
     packet.WriteInt(AuthLevel);
 }
 public void Write(UdpPacket packet)
 {
     packet.WriteString(this.AdminPassword);
     packet.WriteString(this.ServerPassword);
     if (this.steamBlobToken != null)
     {
         packet.WriteInt(this.steamBlobToken.Length);
         for (int i = 0; i < this.steamBlobToken.Length; i++)
         {
             packet.WriteByte(this.steamBlobToken[i]);
         }
     }
 }
Пример #5
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(ServerName);
     packet.WriteString(Version);
     packet.WriteString(GameMode);
     packet.WriteString(MapName);
     packet.WriteBool(Public);
     packet.WriteBool(GameStarted);
     packet.WriteBool(CanBeJoined);
     packet.WriteInt(MaxPlayers);
     packet.WriteInt(CurrentPlayers);
     foreach (var nickname in PlayersNicknames)
     {
         packet.WriteString(nickname);
     }
 }
Пример #6
0
            public override void Write(UdpPacket packet)
            {
                base.Write(packet);

                packet.WriteString(CustomName);
                packet.WriteInt(CreatureInfoId);
            }
Пример #7
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(this.Error);
 }
Пример #8
0
            public override void Write(UdpPacket packet)
            {
                base.Write(packet);

                packet.WriteString(CustomNameId);
            }
Пример #9
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(this.AdminPassword);
     packet.WriteString(this.ServerPassword);
 }
 public void Write(UdpPacket packet)
 {
     packet.WriteString(this.AdminPassword);
     packet.WriteString(this.ServerPassword);
 }
Пример #11
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(Nickname);
 }
Пример #12
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(Username);
     packet.WriteString(Password);
 }
 public void Write(UdpPacket packet)
 {
     packet.WriteString(ArbitraryData);
     packet.WriteString(password);
 }
Пример #14
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(playerName);
     packet.WriteColorRGB(colorPreference);
 }
Пример #15
0
 public void Write(UdpPacket packet)
 {
     packet.WriteBool(Won);
     packet.WriteString(EndGameReason);
 }
Пример #16
0
 public void Write(UdpPacket packet) => packet.WriteString(KickMessage);
Пример #17
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(DisplayName);
     packet.WriteInt(PlayerID);
 }
 public void Write(UdpPacket packet)
 {
     packet.WriteString(this.Error);
 }
Пример #19
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(Name);
     packet.WriteString(UnityId);
     packet.WriteString(Version);
 }
Пример #20
0
            public override void Write(UdpPacket packet)
            {
                base.Write(packet);

                packet.WriteString(PlayerName);
            }
Пример #21
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(data);
     packet.WriteInt(playerIndex);
 }
Пример #22
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(this.KickMessage);
 }
Пример #23
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(RoomInfo);
     packet.WriteString(Gamemode);
     packet.WriteInt(PlayersCount);
 }
Пример #24
0
 void IProtocolToken.Write(UdpPacket packet)
 {
     packet.WriteString(this.PlayerName);
 }
 public void Write(UdpPacket packet)
 {
     packet.WriteString(playerName);
     packet.WriteInt(playerNumber);
     packet.WriteColorRGB(playerColor);
 }
Пример #26
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(username);
 }
Пример #27
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(SceneFrom);
     packet.WriteString(SceneTo);
     packet.WriteString(Reason);
 }
 public void Write(UdpPacket packet)
 {
     packet.WriteString(data);
 }
 public void Write(UdpPacket packet)
 {
     packet.WriteString(levelName);
     packet.WriteInt(playersInGame);
     packet.WriteString(messageOfTheDay);
 }