public void Read(UdpPacket packet) { ID = (WeaponID)packet.ReadInt(); currentAmmo = packet.ReadInt(); totalAmmo = packet.ReadInt(); networkId = new NetworkId(packet.ReadULong()); }
public void Read(UdpPacket packet) { int ticketLength = packet.ReadInt(); ticket = packet.ReadByteArray(ticketLength); steamid = packet.ReadULong(); }
public void Read(UdpPacket packet) { steamid = packet.ReadULong(); }