/* Sog 游戏基础库 2016 by zouwei */ using System; using System.Collections.Generic; using Sog; namespace Friend { public class FriendServerData : IServerDataObj { public ServerApp m_app; public StructPacketSender m_packetSender; // 服务器自己用的配置文件 public FriendServerConfig m_friendConfig; // 前一天开始时间 public long m_lastDayStartTime; //public HashSet m_playerOnline = new HashSet(); public long m_lastGetRealmTime; public Dictionary m_realmInfosMap; public FriendServerData(ServerApp app) { m_app = app; m_packetSender = new StructPacketSender(); m_packetSender.Init(app.ServerID, app.GetCluster()); m_realmInfosMap = new Dictionary(); } public override int GetDataType() { return FriendDataObjType.FriendServerData; } } }