Exemplo n.º 1
0
 public override void Entry(IModHelper helper)
 {
     ModConfig = helper.ReadConfig <SocialConfig>();
     helper.Events.GameLoop.OneSecondUpdateTicked += GameEvents_OneSecondTick;
     helper.Events.GameLoop.DayStarted            += OnNewDay;
     Monitor.Log("zDailyIncrease => Initialized");
 }
Exemplo n.º 2
0
 public override void Entry(IModHelper helper)
 {
     ModConfig = helper.ReadConfig <SocialConfig>();
     GameEvents.OneSecondTick   += GameEvents_OneSecondTick;
     TimeEvents.AfterDayStarted += OnNewDay;
     Monitor.Log("zDailyIncrease => Initialized");
 }