public IVector2D InventoryLocation; // Row, column

        public void Parse(GameBitBuffer buffer)
        {
            OwnerID = buffer.ReadUInt(32);
            EquipmentSlot = buffer.ReadInt(5) + (-1);
            InventoryLocation = new IVector2D();
            InventoryLocation.Parse(buffer);
        }
Esempio n. 2
0
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = new IVector2D();
     Field1.Parse(buffer);
     arSnoLevelAreas = new int /* sno */[4];
     for (int i = 0; i < arSnoLevelAreas.Length; i++) arSnoLevelAreas[i] = buffer.ReadInt(32);
     snoPrevWorld = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     snoPrevLevelArea = buffer.ReadInt(32);
     snoNextWorld = buffer.ReadInt(32);
     Field7 = buffer.ReadInt(32);
     snoNextLevelArea = buffer.ReadInt(32);
     snoMusic = buffer.ReadInt(32);
     snoCombatMusic = buffer.ReadInt(32);
     snoAmbient = buffer.ReadInt(32);
     snoReverb = buffer.ReadInt(32);
     snoWeather = buffer.ReadInt(32);
     snoPresetWorld = buffer.ReadInt(32);
     Field15 = buffer.ReadInt(32);
     Field16 = buffer.ReadInt(32);
     Field17 = buffer.ReadInt(32);
     Field18 = buffer.ReadInt(32);
     tCachedValues = new SceneCachedValues();
     tCachedValues.Parse(buffer);
 }
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(5) + (-1);
     Field2 = new IVector2D();
     Field2.Parse(buffer);
 }