Exemple #1
0
        public static NetworkId ReadNetworkId(this BasePacket packet)
        {
            uint connection = packet.ReadUIntVB();
            uint entity     = packet.ReadUIntVB();

            NetAssert.True(connection != uint.MaxValue);
            return(new NetworkId(connection, entity));
        }
Exemple #2
0
 public static int ReadIntVB(this BasePacket packet)
 {
     return((int)packet.ReadUIntVB());
 }