You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
905 B
39 lines
905 B
|
|
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<RealmBriefInfo> m_configRealm;
|
|
|
|
|
|
public RacehorseServerData(ServerApp app)
|
|
{
|
|
m_app = app;
|
|
m_packetSender = new StructPacketSender();
|
|
m_packetSender.Init(app.ServerID, app.GetCluster());
|
|
m_configRealm = new List<RealmBriefInfo>();
|
|
}
|
|
|
|
public override int GetDataType()
|
|
{
|
|
return RacehorseDataObjType.RacehorseServerData;
|
|
}
|
|
}
|
|
}
|
|
|