예제 #1
0
 /*********
 ** Private methods
 *********/
 /// <summary>The method to call before <see cref="NPC.tryToReceiveActiveObject"/>.</summary>
 private static bool Before_TryToReceiveActiveObject(NPC __instance, Farmer who)
 {
     return(!SpaceEvents.InvokeBeforeReceiveObject(__instance, who.ActiveObject, who));
 }
예제 #2
0
 public static bool Prefix(NPC __instance, Farmer who)
 {
     return(!SpaceEvents.InvokeBeforeReceiveObject(__instance, who.ActiveObject, who));
 }