示例#1
0
 private void SetTimeOfDayState(TimeOfDayStateTypes state)
 {
     if (currentTimeOfDayState != state)
     {
         currentTimeOfDayState = state;
         TimeOfDayChanged?.Invoke(state);
     }
 }
示例#2
0
文件: Time.cs 项目: yeungchenhe/SMAPI
 internal static void InvokeTimeOfDayChanged(int priorInt, int newInt)
 {
     TimeOfDayChanged.Invoke(null, new EventArgsIntChanged(priorInt, newInt));
 }