1
0
mirror of https://github.com/soarqin/DSP_Mods_TO.git synced 2026-02-04 14:12:18 +08:00

format code

This commit is contained in:
2026-01-28 20:27:15 +08:00
parent d698e0afc1
commit 98abc31c6f
38 changed files with 2043 additions and 2043 deletions

View File

@@ -2,31 +2,31 @@
namespace ToolScripts
{
public static class _BlueprintBuildingExpands
{
static _BlueprintBuildingExpands()
{
BeltProtoDict.Add(2001, null);
BeltProtoDict.Add(2002, null);
BeltProtoDict.Add(2003, null);
SoltProtoDict.Add(2011, null);
SoltProtoDict.Add(2012, null);
SoltProtoDict.Add(2013, null);
public static class _BlueprintBuildingExpands
{
static _BlueprintBuildingExpands()
{
BeltProtoDict.Add(2001, null);
BeltProtoDict.Add(2002, null);
BeltProtoDict.Add(2003, null);
SoltProtoDict.Add(2011, null);
SoltProtoDict.Add(2012, null);
SoltProtoDict.Add(2013, null);
SoltProtoDict.Add(2014, null);
}
}
public static bool IsBelt(this BlueprintBuilding bb)
{
return BeltProtoDict.ContainsKey(bb.itemId);
}
public static bool IsBelt(this BlueprintBuilding bb)
{
return BeltProtoDict.ContainsKey(bb.itemId);
}
public static bool IsSlot(this BlueprintBuilding bb)
{
return SoltProtoDict.ContainsKey(bb.itemId);
}
public static bool IsSlot(this BlueprintBuilding bb)
{
return SoltProtoDict.ContainsKey(bb.itemId);
}
private static readonly Dictionary<int, ItemProto> BeltProtoDict = new();
private static readonly Dictionary<int, ItemProto> SoltProtoDict = new();
}
}
}