diff --git a/project/code/LGS/Database/Chunks/Property.cs b/project/code/LGS/Database/Chunks/Property.cs index 001efeb..28804c8 100644 --- a/project/code/LGS/Database/Chunks/Property.cs +++ b/project/code/LGS/Database/Chunks/Property.cs @@ -54,6 +54,28 @@ public class PropGeneric : Property } } +public class PropBool : Property +{ + public bool value; + + public override void Read(BinaryReader reader) + { + base.Read(reader); + value = reader.ReadInt32() != 0; + } +} + +public class PropInt : Property +{ + public int value; + + public override void Read(BinaryReader reader) + { + base.Read(reader); + value = reader.ReadInt32(); + } +} + public class PropLabel : Property { public string value;