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

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

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

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