using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Sog; namespace Version { public class ClientConnectInfo { public long iConnectSessionID; public long iConnectTime; public uint uGateServerID; public string ip; } public class SysNoticeData { public int id { get; set; } public string title { get; set; } public string content { get; set; } public long m_startTime { get; set; } public long m_endTime { get; set; } public int sort { get; set; } public string pic { get; set; } public bool aotupop { get; set; } public string language { get; set; } } public class VersionServerData : IServerDataObj { public ServerApp m_app; public StructPacketSender m_packetSender; public List m_NoticeData; public Dictionary m_ClientConnectDict; public VersionServerData(ServerApp app) { m_app = app; m_packetSender = new StructPacketSender(); m_packetSender.Init(app.ServerID, app.GetCluster()); m_NoticeData = new List(); m_ClientConnectDict = new Dictionary(); } public override int GetDataType() { return VersionDataObjType.VersionServerData; } } }