コード例 #1
0
        public override void Load()
        {
            base.Load();
            LoadingHelper.Load();

            Instance  = ModContent.GetInstance <PboneUtils>();
            textures  = new ModTextureManager();
            recipes   = new ModRecipeManager();
            ui        = new ModUIManager();
            bagValues = new TreasureBagValueCalculator();

            modPacketManager = new ModPacketManager(this);
            crossModManager  = new CrossModManager();
            crossModManager.Load();

            Load_IL();
            Load_On();
            textures.Initialize();
            ui.Initialize();
        }