public static void Postfix(Farmer __instance) { if (__instance.itemToEat == null) { return; } SpaceEvents.InvokeOnItemEaten(__instance); }
/********* ** Private methods *********/ /// <summary>The method to call after <see cref="Farmer.doneEating"/>.</summary> public static void After_DoneEating(Farmer __instance) { if (__instance.itemToEat == null) { return; } SpaceEvents.InvokeOnItemEaten(__instance); }
public static void Postfix(Farmer __instance) { SpaceEvents.InvokeOnItemEaten(__instance); }
public static void Postfix() { SpaceEvents.InvokeOnItemEaten(); }