コード例 #1
0
 // Token: 0x060033E0 RID: 13280 RVA: 0x0015139A File Offset: 0x0014F79A
 public static void damage(Transform structure, bool isRepairing, Vector3 direction, float structureDamage, float times, out EPlayerKill kill)
 {
     kill = EPlayerKill.NONE;
     if (structure == null)
     {
         return;
     }
     if (isRepairing)
     {
         StructureManager.repair(structure, structureDamage, times);
     }
     else
     {
         StructureManager.damage(structure, direction, structureDamage, times, true);
     }
 }