示例#1
0
 public static void JobDriver_PostFix(JobDriver __instance, bool __result)
 {
     if (__result)
     {
         StoryHandler.Notify_JobStarted(__instance.job.def, __instance.GetActor());
     }
 }
 public static void JobDriver_PostFix(JobDriver __instance, bool __result)
 {
     if (__result)
     {
         Action newAction = delegate
         {
             StoryHandler.Notify_JobStarted(__instance.job.def, __instance.GetActor());
         };
         LongEventHandler.ExecuteWhenFinished(newAction);
     }
 }