MCU/Program.Main.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Text;
using MoltenMercury;
using MoltenMercury.Interop;
using System.IO;
/* ============================================================================
* Program.Main.cs
* ----------------------------------------------------------------------------
* 2012 (C) Jieni Luchijinzhou a.k.a Aragorn Wyvernzora
*
* Main entries of MCU are located here.
* Main() is the default entry used when MCU is started as a separate process.
* MC_Main() is the entry used by MoltenChara when this program is loaded
* via reflection.
*
* THerefore this program has an MC Interop Mode which is triggered when MC_Main
* is called.
*
*/
namespace MCU
{
partial class Program
{
enum MessageType
{
Routine,
Error
}
//static CommandLineArguments cmdargs;
static Boolean mcInteropMode = false;
// Entry for MC
public static int MC_Main(TextWriter stdout, TextWriter stderr, String args)
{
mcInteropMode = true;
Console.SetOut(stdout);
Console.SetError(stderr);
CommandLineArguments cmdargs = new CommandLineArguments(args);
return InnerMain(cmdargs);
}
// Entry for system
static void Main()
{
mcInteropMode = false;
Console.Title = "Project Molten Mercury - Developer Tools";
Console.Clear();
InnerMain(new CommandLineArguments());
}
// Actual inner that executes commands
static int InnerMain(CommandLineArguments cmdargs)
{
后面还有 101 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。