20 lines
661 B
C#
20 lines
661 B
C#
using Fleck;
|
|
using System;
|
|
|
|
|
|
namespace BattleServer
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
Console.WriteLine("外部参数:{0}", args[0]);
|
|
HotUpdateScripts.FightRunnerMgr.Instance.Init("./GameConfig/");
|
|
HotUpdateScripts.FightDebug.OpenLog = false;
|
|
Console.WriteLine($"当前战斗服版本号:{HotUpdateScripts.FightVersions.CurrentVersion}, 构建时间:{HotUpdateScripts.FightVersions.BuildTime}");
|
|
Service service = new Service(args[0]);
|
|
Console.WriteLine("BattleServer Start!");
|
|
Thread.Sleep(Timeout.Infinite);
|
|
}
|
|
}
|
|
} |