Esempio n. 1
0
 private static bool serverSetBleeding(PlayerLife __instance, bool newBleeding)
 {
     return(!(newBleeding && (OnStatUpdating?.Invoke(__instance) ?? false)));
 }
Esempio n. 2
0
 private static bool serverSetLegsBroken(PlayerLife __instance, bool newLegsBroken)
 {
     return(!(newLegsBroken && (OnStatUpdating?.Invoke(__instance) ?? false)));
 }
Esempio n. 3
0
 private static bool askInfect(PlayerLife __instance)
 {
     return(!OnStatUpdating?.Invoke(__instance) ?? true);
 }