Esempio n. 1
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(Name);
     packet.WriteString(UnityId);
     packet.WriteString(Version);
     packet.WriteInt((int)PrefferedClass);
 }
Esempio n. 2
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(LocalPlayerName);
     packet.WriteString(Name);
     packet.WriteString(Map);
     packet.WriteString(Version);
 }
Esempio n. 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]);
         }
     }
 }
Esempio n. 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);
     }
 }
Esempio n. 6
0
            public override void Write(UdpPacket packet)
            {
                base.Write(packet);

                packet.WriteString(CustomName);
                packet.WriteInt(CreatureInfoId);
            }
Esempio n. 7
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(this.Error);
 }
Esempio n. 8
0
            public override void Write(UdpPacket packet)
            {
                base.Write(packet);

                packet.WriteString(CustomNameId);
            }
Esempio n. 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);
 }
Esempio n. 11
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(Nickname);
 }
Esempio n. 12
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(Username);
     packet.WriteString(Password);
 }
 public void Write(UdpPacket packet)
 {
     packet.WriteString(ArbitraryData);
     packet.WriteString(password);
 }
Esempio n. 14
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(playerName);
     packet.WriteColorRGB(colorPreference);
 }
Esempio n. 15
0
 public void Write(UdpPacket packet)
 {
     packet.WriteBool(Won);
     packet.WriteString(EndGameReason);
 }
Esempio n. 16
0
 public void Write(UdpPacket packet) => packet.WriteString(KickMessage);
Esempio n. 17
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(DisplayName);
     packet.WriteInt(PlayerID);
 }
 public void Write(UdpPacket packet)
 {
     packet.WriteString(this.Error);
 }
Esempio n. 19
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(Name);
     packet.WriteString(UnityId);
     packet.WriteString(Version);
 }
Esempio n. 20
0
            public override void Write(UdpPacket packet)
            {
                base.Write(packet);

                packet.WriteString(PlayerName);
            }
Esempio n. 21
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(data);
     packet.WriteInt(playerIndex);
 }
Esempio n. 22
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(this.KickMessage);
 }
Esempio n. 23
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(RoomInfo);
     packet.WriteString(Gamemode);
     packet.WriteInt(PlayersCount);
 }
Esempio n. 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);
 }
Esempio n. 26
0
 public void Write(UdpPacket packet)
 {
     packet.WriteString(username);
 }
Esempio n. 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);
 }