mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-22 12:09:34 +08:00
25 lines
943 B
C#
25 lines
943 B
C#
namespace Milimoe.FunGame.Desktop.Library
|
|
{
|
|
/// <summary>
|
|
/// 运行时单例
|
|
/// 插件接口可以从这里拿Socket和窗体
|
|
/// </summary>
|
|
public class RunTime
|
|
{
|
|
public static Core.Library.Common.Network.Socket? Socket { get; set; } = null;
|
|
public static Controller.RunTimeController? Connector { get; set; } = null;
|
|
public static UI.Main? Main { get; set; } = null;
|
|
public static UI.Login? Login { get; set; } = null;
|
|
public static UI.Register? Register { get; set; } = null;
|
|
public static UI.StoreUI? Store { get; set; } = null;
|
|
public static UI.InventoryUI? Inventory { get; set; } = null;
|
|
public static UI.RoomSetting? RoomSetting { get; set; } = null;
|
|
public static UI.UserCenter? UserCenter { get; set; } = null;
|
|
|
|
public static void WritelnSystemInfo(string msg)
|
|
{
|
|
Main?.GetMessage(msg);
|
|
}
|
|
}
|
|
}
|