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