コード例 #1
0
        public override void Entry(IModHelper helper)
        {
            _instance = this;
            config    = helper.ReadConfig <Config>();

            helper.Events.GameLoop.GameLaunched += OnGameLaunched;
        }
コード例 #2
0
        public override void Entry(IModHelper helper)
        {
            _instance = this;
            config    = helper.ReadConfig <Config>();

            helper.Events.GameLoop.GameLaunched   += OnGameLaunched;
            helper.Events.Player.InventoryChanged += Player_InventoryChanged;
            helper.Events.GameLoop.SaveLoaded     += GameLoop_SaveLoaded;
        }