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

            x.Read(s);
            return(x);
        }
Beispiel #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);
     }
 }
 public static InvVect FromStream(Stream s)
 {
     InvVect x = new InvVect();
     x.Read(s);
     return x;
 }
Beispiel #4
0
 public GetData(InvVect[] inventory)
 {
     this.inventory = inventory;
 }