Пример #1
0
 public static void SetDestroy(this WeaponEntity weaponEntity)
 {
     if (weaponEntity.hasOwnerId)
     {
         weaponEntity.RemoveOwnerId();
     }
     weaponEntity.isFlagSyncSelf    = false;
     weaponEntity.isFlagSyncNonSelf = false;
     weaponEntity.isFlagDestroy     = true;
 }
Пример #2
0
 internal static void SetFlagNoOwner(this WeaponEntity weaponEntity)
 {
     weaponEntity.isFlagSyncSelf = false;
     weaponEntity.isFlagDestroy  = true;
     weaponEntity.RemoveOwnerId();
 }