Exemplo n.º 1
0
        public static bool BuildAllDlls()
        {
            ColoredConsole.ConsoleWriteWhiteWithOut("Building external C# scripts, please wait...");
            int itemsDll = DllBuilder.BuildDll(World.Path + "/Scripts/Global", null);

            if (itemsDll == 2)
            {
                ColoredConsole.ConsoleWriteGreenWithOut("Global scripts successfully rebuilt!");
            }
            else
            {
                ColoredConsole.ConsoleWriteGreenWithOut("Global scripts successfully loaded!");
            }
            return(true);
        }