Exemple #1
0
 private static void Postfix(PlayerAmmoStorage __instance, InventorySlotAmmo ammo, int clip)
 {
     if (__instance.m_playerBackpack.IsLocal)
     {
         InventoryAmmoEvents.AmmoUpdate(ammo, clip);
     }
 }
Exemple #2
0
 static void Postfix(InventorySlotAmmo ammo, int clip, PlayerBackpack ___m_playerBackpack)
 {
     if (___m_playerBackpack.IsLocal)
     {
         InventoryAmmoEvents.AmmoUpdate(ammo, clip);
     }
 }