Example #1
0
 internal static void DestroyStructure(StructureRegion region, ushort index)
 {
     ThreadUtil.assertIsGameThread();
     OnBuildableDestroyed?.Invoke(region.drops[index].instanceID, true);
 }
Example #2
0
 internal static void DestroyBarricade(BarricadeRegion region, ushort index)
 {
     ThreadUtil.assertIsGameThread();
     OnBuildableDestroyed?.Invoke(region.drops[index].instanceID, false);
 }