Renamed Obj to BodyTemplate

This commit is contained in:
2026-06-13 21:30:02 +02:00
parent 659ddb7a10
commit 24926d01d3
6 changed files with 46 additions and 45 deletions

View File

@@ -156,16 +156,16 @@ namespace _2DGAMELIB
GetMinMaxY(ShapePart, ref MM[1].Y, ref MM[0].Y);
}
public static Obj ObjLoad(this byte[] bd)
public static BodyTemplate ObjLoad(this byte[] bd)
{
return bd.Load<byte[]>().ToDeserialObject<Obj>().SetDefaultR();
return bd.Load<byte[]>().ToDeserialObject<BodyTemplate>().SetDefaultR();
}
public static Obj? ObjLoadRaw(this byte[] bd)
public static BodyTemplate? ObjLoadRaw(this byte[] bd)
{
try
{
return bd.Load<byte[]>().ToDeserialObject<Obj>();
return bd.Load<byte[]>().ToDeserialObject<BodyTemplate>();
}
catch
{