Example #1
0
 private static bool IsBattery(TechType techType)
 {
     return(TechUtil.TechTypePrefabContains <Battery>(techType));
 }
Example #2
0
 private static bool IsPlayerToolWithEnergyMixin(TechType techType)
 {
     return(TechUtil.TechTypePrefabContains <PlayerTool>(techType) && TechUtil.TechTypePrefabContains <EnergyMixin>(techType));
 }