ReadVector2() public method

public ReadVector2 ( ) : Vector2
return Vector2
Ejemplo n.º 1
0
 public void Deserialize(Deserializer deserializer)
 {
     byte unknown0Length = deserializer.ReadByte();
     if (unknown0Length > 81)
     {
         throw new InvalidDataException();
     }
     Unknown0 = new Vector2[unknown0Length];
     for (int i = 0; i < Unknown0.Length; i++)
     {
         Unknown0[i] = deserializer.ReadVector2();
     }
     this.Unknown1 = deserializer.ReadVarint();
 }
Ejemplo n.º 2
0
 public void Deserialize(Deserializer deserializer)
 {
     this.Unknown0 = deserializer.ReadVector2();
     this.Unknown1 = deserializer.ReadByte();
 }