コード例 #1
0
 public override void Entry(IModHelper helper)
 {
     //Load up the Config. This will be basic for now, it can be worked on later.
     _config = helper.ReadConfig<BetterMeteorsConfig>();
     helper.Events.GameLoop.GameLaunched += GameLaunched;
     //helper.Events.GameLoop.SaveLoaded += SaveLoaded;
     helper.Events.Player.Warped += SaveLoaded;
     helper.Events.Input.ButtonPressed += ButtonPressed;
 }
コード例 #2
0
 public PerformToolActionPatch(IMonitor _monitor, IModHelper _helper, BetterMeteorsConfig _config)
 {
     monitor = _monitor;
     helper  = _helper;
     config  = _config;
 }