public void Read(UdpPacket packet) { LocalPlayerName = packet.ReadString(); Name = packet.ReadString(); Map = packet.ReadString(); Version = packet.ReadString(); }
public void Read(UdpPacket packet) { UserName = packet.ReadString(); DisplayName = packet.ReadString(); IP = packet.ReadString(); AuthLevel = packet.ReadInt(); }
public void Read(UdpPacket packet) { try { Name = packet.ReadString(); UnityId = packet.ReadString(); Version = packet.ReadString(); PrefferedClass = (ClassType)packet.ReadInt(); } catch (Exception) { IsValid = false; } }
public override void Read(UdpPacket packet) { base.Read(packet); CustomName = packet.ReadString(); CreatureInfoId = packet.ReadInt(); }
public void Read(UdpPacket packet) { this.AdminPassword = packet.ReadString(); this.ServerPassword = packet.ReadString(); if (packet.CanRead()) { int num = packet.ReadInt(); if (num > 0) { this.steamBlobToken = new byte[num]; for (int i = 0; i < this.steamBlobToken.Length; i++) { this.steamBlobToken[i] = packet.ReadByte(); } } } }
public void Read(UdpPacket packet) { ServerName = packet.ReadString(); Version = packet.ReadString(); GameMode = packet.ReadString(); MapName = packet.ReadString(); Public = packet.ReadBool(); GameStarted = packet.ReadBool(); CanBeJoined = packet.ReadBool(); MaxPlayers = packet.ReadInt(); CurrentPlayers = packet.ReadInt(); PlayersNicknames.Clear(); for (int i = 0; i < CurrentPlayers; i++) { PlayersNicknames.Add(packet.ReadString()); } }
public void Read(UdpPacket packet) { this.AdminPassword = packet.ReadString(); this.ServerPassword = packet.ReadString(); }
public void Read(UdpPacket packet) { Username = packet.ReadString(); Password = packet.ReadString(); }
public void Read(UdpPacket packet) => KickMessage = packet.ReadString();
public void Read(UdpPacket packet) { playerName = packet.ReadString(); colorPreference = packet.ReadColorRGB(); }
public override void Read(UdpPacket packet) { base.Read(packet); PlayerName = packet.ReadString(); }
public void Read(UdpPacket packet) { DisplayName = packet.ReadString(); PlayerID = packet.ReadInt(); }
public void Read(UdpPacket packet) { SceneFrom = packet.ReadString(); SceneTo = packet.ReadString(); Reason = packet.ReadString(); }
public void Read(UdpPacket packet) { this.Error = packet.ReadString(); }
public void Read(UdpPacket packet) { Name = packet.ReadString(); UnityId = packet.ReadString(); Version = packet.ReadString(); }
public void Read(UdpPacket packet) { Nickname = packet.ReadString(); }
public void Read(UdpPacket packet) { playerName = packet.ReadString(); playerNumber = packet.ReadInt(); playerColor = packet.ReadColorRGB(); }
public override void Read(UdpPacket packet) { base.Read(packet); CustomNameId = packet.ReadString(); }
public void Read(UdpPacket packet) { Won = packet.ReadBool(); EndGameReason = packet.ReadString(); }
public void Read(UdpPacket packet) { this.KickMessage = packet.ReadString(); }
public void Read(UdpPacket packet) { ArbitraryData = packet.ReadString(); password = packet.ReadString(); }
void IProtocolToken.Read(UdpPacket packet) { this.PlayerName = packet.ReadString(); }
public void Read(UdpPacket packet) { data = packet.ReadString(); playerIndex = packet.ReadInt(); }
public void Read(UdpPacket packet) { username = packet.ReadString(); }
public void Read(UdpPacket packet) { RoomInfo = packet.ReadString(); Gamemode = packet.ReadString(); PlayersCount = packet.ReadInt(); }
public void Read(UdpPacket packet) { data = packet.ReadString(); }
public void Read(UdpPacket packet) { levelName = packet.ReadString(); playersInGame = packet.ReadInt(); messageOfTheDay = packet.ReadString(); }