mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
22 lines
503 B
C#
22 lines
503 B
C#
using TEngineCore.Net;
|
|
|
|
namespace TEngineCore
|
|
{
|
|
public class TEngineNetDemo : TEngineCore.TEngine
|
|
{
|
|
protected override void RegisterAllSystem()
|
|
{
|
|
base.RegisterAllSystem();
|
|
AddLogicSys(UISys.Instance);
|
|
AddLogicSys(DataCenterSys.Instance);
|
|
}
|
|
|
|
protected override void StartGame()
|
|
{
|
|
UISys.Mgr.ShowWindow<TEngineLoginUI>();
|
|
|
|
GameClient.Instance.Connect("127.0.0.1", 54809,true);
|
|
}
|
|
}
|
|
}
|