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

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