public static bool EffectiveSize_Prefix(Bush __instance, ref int __result) { if (!(__instance is CustomBush bush)) return true; __result = CustomBush.GetEffectiveSizeBehaviour(bush); return false; }
public static bool Shake_Prefix(Bush __instance, Vector2 tileLocation) { if (!(__instance is CustomBush bush)) return true; CustomBush.ShakeBehaviour(bush, tileLocation); return true; }
public static bool IsDestroyable_Prefix(Bush __instance, ref bool __result) { if (!(__instance is CustomBush bush)) return true; __result = CustomBush.IsDestroyableBehaviour(bush); return false; }
public static bool InBloom_Prefix(Bush __instance, ref bool __result, string season, int dayOfMonth) { if (!(__instance is CustomBush bush)) { return(true); } __result = CustomBush.InBloomBehaviour(bush, season, dayOfMonth); return(false); }
public static bool Shake_Prefix(Bush __instance, Vector2 tileLocation) { if (__instance is not CustomBush bush) { return(true); } CustomBush.ShakeBehaviour(bush, tileLocation); return(true); }
public static bool EffectiveSize_Prefix(Bush __instance, ref int __result) { if (__instance is not CustomBush bush) { return(true); } __result = CustomBush.GetEffectiveSizeBehaviour(bush); return(false); }
public static bool IsDestroyable_Prefix(Bush __instance, ref bool __result) { if (__instance is not CustomBush bush) { return(true); } __result = CustomBush.IsDestroyableBehaviour(bush); return(false); }