2024-01-26 19:15:07 +08:00
|
|
|
|
using Plugins.JNGame.System;
|
2024-01-29 02:28:42 +08:00
|
|
|
|
using Plugins.JNGame.Util;
|
2024-01-26 19:15:07 +08:00
|
|
|
|
|
2024-02-01 19:06:51 +08:00
|
|
|
|
namespace Game.Plugins.App
|
2024-01-26 19:15:07 +08:00
|
|
|
|
{
|
|
|
|
|
public static class App
|
|
|
|
|
{
|
|
|
|
|
|
2024-01-29 19:07:52 +08:00
|
|
|
|
public static readonly JNGSocket Socket = new JNGSocket();
|
|
|
|
|
public static readonly JNGSyncFrame Sync = new JNGSyncFrame();
|
2024-02-04 16:17:39 +08:00
|
|
|
|
public static readonly JAPI Api = new(new JAPIConfig(){BaseURL = "http://127.0.0.1:8080"});
|
2024-01-29 19:07:52 +08:00
|
|
|
|
public static readonly EventDispatcher Event = EventDispatcher.Event;
|
2024-01-26 19:15:07 +08:00
|
|
|
|
|
|
|
|
|
public static SystemBase[] System()
|
|
|
|
|
{
|
|
|
|
|
return new SystemBase[]
|
|
|
|
|
{
|
|
|
|
|
Socket,
|
|
|
|
|
Sync
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|