public override void Parse(GameBitBuffer buffer) { Center = new Vector2D(); Center.Parse(buffer); Radius = buffer.ReadFloat32(); }
public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; Center = new Vector2D(); Center.FileRead(stream, stream.Position); stream.Position = offset + 8; Radius = stream.ReadValueF32(); }