/* Sog 游戏基础库 2016 by zouwei */ using System.Collections.Generic; using ProtoCSStruct; using Sog; namespace Account { public class DevicdIDFBAccountInfo { public string AccountID; public long LastLoginTime;//上次登录时间,需要CD } public class AccountServerData : IServerDataObj { public ServerApp m_app; public StructPacketSender m_packetSender; public Dictionary> m_devicdIdMap; public List m_allRealm; public ServerUniqueIDMgr m_uniqueIdMgr; public AccountServerData(ServerApp app) { m_app = app; m_packetSender = new StructPacketSender(); m_packetSender.Init(app.ServerID, app.GetCluster()); m_devicdIdMap = new Dictionary>(); m_allRealm = new List(); m_uniqueIdMgr = new ServerUniqueIDMgr(app.ServerID); } public override int GetDataType() { return AccountDataObjType.AccountServerData; } } }