public override void Parse(GameBitBuffer buffer) { SpawnType = new GizmoLocSpawnType[26]; for(int i = 0;i < _SpawnType.Length;i++) { _SpawnType[i] = new GizmoLocSpawnType(); _SpawnType[i].Parse(buffer); } }
public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; SpawnType = new GizmoLocSpawnType[26]; for(int loop12=0; loop12 < 26; loop12++ ) { GizmoLocSpawnType temp12_SpawnType; temp12_SpawnType = new GizmoLocSpawnType(); temp12_SpawnType.FileRead(stream, stream.Position); _SpawnType[loop12] = temp12_SpawnType; } }