public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; Field0 = stream.ReadValueS32(); stream.Position = offset + 4; TriggerEvent = new TriggerEvent(); TriggerEvent.FileRead(stream, stream.Position); }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); TriggerEvent = new TriggerEvent(); TriggerEvent.Parse(buffer); }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadFloat32(); Field1 = new TriggerEvent(); Field1.Parse(buffer); }