Ejemplo n.º 1
0
        public R2API()
        {
            Logger = base.Logger;
            CheckForIncompatibleAssemblies();


            Environment.SetEnvironmentVariable("MONOMOD_DMD_TYPE", "Cecil");

            InitConfig();

            Hooks.InitializeHooks();


            RoR2Application.isModded = IsModded.Value;

            Logger.LogInfo("Init finished");
        }