Parse() public method

public Parse ( GameBitBuffer buffer ) : void
buffer GameBitBuffer
return void
Exemplo n.º 1
0
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = new IVector2D();
     Field1.Parse(buffer);
     arSnoLevelAreas = new int[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);
 }
Exemplo n.º 2
0
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(5) + (-1);
     Field2 = new IVector2D();
     Field2.Parse(buffer);
 }
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     dwWidth = buffer.ReadInt(32);
     dwHeight = buffer.ReadInt(32);
     dwFaceCount = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     dwMipMapLevelMax = buffer.ReadInt(32);
     Field6 = new SerializeData[60];
     for(int i = 0;i < _Field6.Length;i++)
     {
         _Field6[i] = new SerializeData();
         _Field6[i].Parse(buffer);
     }
     Field7 = buffer.ReadInt(32);
     serFrame = new SerializeData();
     serFrame.Parse(buffer);
     Field9 = new DT_VARIABLEARRAY();
     Field9.Parse(buffer);
     Field10 = new IVector2D();
     Field10.Parse(buffer);
     Field11 = buffer.ReadInt(32);
     Field12 = buffer.ReadInt(32);
     Field13 = buffer.ReadInt(32);
     Field14 = buffer.ReadInt64(64);
     Field15 = buffer.ReadInt(32);
     Field16 = (byte)buffer.ReadInt(8);
     Field17 = (byte)buffer.ReadInt(8);
     Field18 = (byte)buffer.ReadInt(8);
     Field19 = buffer.ReadCharArray(256);
     Field20 = new DT_VARIABLEARRAY();
     Field20.Parse(buffer);
     serImageFileIDs = new SerializeData();
     serImageFileIDs.Parse(buffer);
     Field22 = buffer.ReadInt(32);
     Field23 = buffer.ReadInt(32);
     Field24 = buffer.ReadInt(32);
 }
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
     Field3 = buffer.ReadInt(32);
     Field4 = buffer.ReadInt(32);
     Field5 = buffer.ReadInt(32);
     Field6 = new IVector2D();
     Field6.Parse(buffer);
 }
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(2);
     Field1 = buffer.ReadInt(32);
     Field2 = buffer.ReadInt(32);
     Field3 = new IVector2D();
     Field3.Parse(buffer);
     serTiles = new SerializeData();
     serTiles.Parse(buffer);
     Field5 = new DT_VARIABLEARRAY();
     Field5.Parse(buffer);
 }
 public void Parse(GameBitBuffer buffer)
 {
     Field0 = buffer.ReadInt(32);
     Field1 = new DT_VARIABLEARRAY();
     Field1.Parse(buffer);
     serNavCells = new SerializeData();
     serNavCells.Parse(buffer);
     Field3 = buffer.ReadInt(32);
     Field4 = new DT_VARIABLEARRAY();
     Field4.Parse(buffer);
     serNavCellNeighbors = new SerializeData();
     serNavCellNeighbors.Parse(buffer);
     Field6 = buffer.ReadFloat32();
     Field7 = buffer.ReadFloat32();
     Field8 = buffer.ReadInt(32);
     Field9 = new IVector2D();
     Field9.Parse(buffer);
     Field10 = new DT_VARIABLEARRAY();
     Field10.Parse(buffer);
     serGridSquares = new SerializeData();
     serGridSquares.Parse(buffer);
     Field12 = buffer.ReadInt(32);
     Field13 = new DT_VARIABLEARRAY();
     Field13.Parse(buffer);
     serCellLookups = new SerializeData();
     serCellLookups.Parse(buffer);
     Field15 = buffer.ReadInt(32);
     Field16 = new DT_VARIABLEARRAY();
     Field16.Parse(buffer);
     serBorderData = new SerializeData();
     serBorderData.Parse(buffer);
 }