Make LightmapInfo a class
This commit is contained in:
parent
013a3b845a
commit
ea72c3af4a
|
@ -116,7 +116,7 @@ public class WorldRep : IChunk
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct LightmapInfo
|
public class LightmapInfo
|
||||||
{
|
{
|
||||||
public (short, short) Bases { get; set; }
|
public (short, short) Bases { get; set; }
|
||||||
public short PaddedWidth { get; set; }
|
public short PaddedWidth { get; set; }
|
||||||
|
@ -137,7 +137,7 @@ public class WorldRep : IChunk
|
||||||
AnimLightBitmask = reader.ReadUInt32();
|
AnimLightBitmask = reader.ReadUInt32();
|
||||||
}
|
}
|
||||||
|
|
||||||
public readonly void Write(BinaryWriter writer)
|
public void Write(BinaryWriter writer)
|
||||||
{
|
{
|
||||||
writer.Write(Bases.Item1);
|
writer.Write(Bases.Item1);
|
||||||
writer.Write(Bases.Item2);
|
writer.Write(Bases.Item2);
|
||||||
|
|
Loading…
Reference in New Issue