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.
 
 
 
 
 
 

49 lines
1.1 KiB

/*
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<string, List<DevicdIDFBAccountInfo>> m_devicdIdMap;
public List<CSRealmInfo> 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<string, List<DevicdIDFBAccountInfo>>();
m_allRealm = new List<CSRealmInfo>();
m_uniqueIdMgr = new ServerUniqueIDMgr(app.ServerID);
}
public override int GetDataType()
{
return AccountDataObjType.AccountServerData;
}
}
}