Exemplo n.º 1
0
		public static bool EffectiveSize_Prefix(Bush __instance, ref int __result)
		{
			if (!(__instance is CustomBush bush))
				return true;
			__result = CustomBush.GetEffectiveSizeBehaviour(bush);
			return false;
		}
Exemplo n.º 2
0
		public static bool Shake_Prefix(Bush __instance, Vector2 tileLocation)
		{
			if (!(__instance is CustomBush bush))
				return true;
			CustomBush.ShakeBehaviour(bush, tileLocation);
			return true;
		}
Exemplo n.º 3
0
		public static bool IsDestroyable_Prefix(Bush __instance, ref bool __result)
		{
			if (!(__instance is CustomBush bush))
				return true;
			__result = CustomBush.IsDestroyableBehaviour(bush);
			return false;
		}
Exemplo n.º 4
0
 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);
 }
Exemplo n.º 5
0
 public static bool Shake_Prefix(Bush __instance, Vector2 tileLocation)
 {
     if (__instance is not CustomBush bush)
     {
         return(true);
     }
     CustomBush.ShakeBehaviour(bush, tileLocation);
     return(true);
 }
Exemplo n.º 6
0
 public static bool EffectiveSize_Prefix(Bush __instance, ref int __result)
 {
     if (__instance is not CustomBush bush)
     {
         return(true);
     }
     __result = CustomBush.GetEffectiveSizeBehaviour(bush);
     return(false);
 }
Exemplo n.º 7
0
 public static bool IsDestroyable_Prefix(Bush __instance, ref bool __result)
 {
     if (__instance is not CustomBush bush)
     {
         return(true);
     }
     __result = CustomBush.IsDestroyableBehaviour(bush);
     return(false);
 }