using System; using System.Collections.Generic; using ProtoCSStruct; using Sog; namespace Racehorse { public class RacehorseServerData : IServerDataObj { public ServerApp m_app; public StructPacketSender m_packetSender; // 配置 public RacehorseServerConfig m_RacehorseConfig; // 前一天开始时间 public long m_lastDayStartTime; public long m_lastGetRealmTime; public List m_configRealm; public RacehorseServerData(ServerApp app) { m_app = app; m_packetSender = new StructPacketSender(); m_packetSender.Init(app.ServerID, app.GetCluster()); m_configRealm = new List(); } public override int GetDataType() { return RacehorseDataObjType.RacehorseServerData; } } }