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
|
|
|
|
using Script.AppImpl;
|
|
|
|
|
|
|
|
|
|
namespace Script
|
|
|
|
|
{
|
|
|
|
|
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-01-31 02:29:59 +08:00
|
|
|
|
public static readonly JAPI Api = new(new JAPIConfig(){BaseURL = "http://192.168.1.23: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
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|