Exemple #1
0
        public static InvVect FromStream(Stream s)
        {
            InvVect x = new InvVect();

            x.Read(s);
            return(x);
        }
Exemple #2
0
 public void Read(Stream s)
 {
     inventory = new InvVect[VarInt.FromStream(s)];
     for (int i = 0; i < inventory.Length; i++)
     {
         inventory[i] = InvVect.FromStream(s);
     }
 }