static void Prefix(AbstractAreaJob __instance, ref NPCBase.NPCState state) { npc = __instance.NPC; }
static void Postfix(AbstractAreaJob __instance, ref NPCBase.NPCState state) { npc = null; }
static void Postfix(AbstractAreaJob __instance, ref NPCBase.NPCState state) { DebugLog.Write(MethodBase.GetCurrentMethod().DeclaringType + "::" + MethodBase.GetCurrentMethod().Name); npc = null; }