Пример #1
0
 private static void PostAskDehydrate(PlayerLife __instance, byte __state)
 {
     if (__instance.water != __state)
     {
         OnWaterUpdated?.Invoke(__instance.player, __instance.water);
     }
 }
Пример #2
0
 public static void PostAskDrink(PlayerLife __instance, byte __state)
 {
     if (__instance.water != __state)
     {
         OnWaterUpdated?.Invoke(__instance.player, __instance.water);
     }
 }