public void Read(UdpKit.UdpPacket packet) { name = packet.ReadString(); team = (Team)packet.ReadShort(); characterClass = (CharacterClass)packet.ReadShort(); playerSquadID = (PlayerSquadID)packet.ReadShort(); }
public void Read(UdpKit.UdpPacket packet) { name = packet.ReadString(); team = (Team)packet.ReadShort(); characterClass = (CharacterClass)packet.ReadShort(); playerSquadID = (PlayerSquadID)packet.ReadShort(); }