public static void ReloadNightWorkData(ref ScheduleScene scheduleScene, int slotNo)
        {
            PostProcessNightEventArgs args = new PostProcessNightEventArgs
            {
                ScheduleScene = scheduleScene,
                SlotID        = slotNo
            };

            ProcessNightWorkData?.Invoke(null, args);
        }
        private void ReloadNightWorkData(object sender, PostProcessNightEventArgs args)
        {
            Maid m = args.ScheduleScene.slot[args.SlotID].maid;
            if (m == null || !IsMaidLoaded(m))
                return;

            Debugger.WriteLine("Reloading all night works...");
            UpdateNightWorksData(args.ScheduleScene.slot[args.SlotID]);
        }
 public static void ReloadNightWorkData(ref ScheduleScene scheduleScene, int slotNo)
 {
     PostProcessNightEventArgs args = new PostProcessNightEventArgs
     {
         ScheduleScene = scheduleScene,
         SlotID = slotNo
     };
     ProcessNightWorkData?.Invoke(args);
 }