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.
46 lines
860 B
46 lines
860 B
|
|
using ProtoCSStruct;
|
|
using Sog;
|
|
using Sog.Data;
|
|
|
|
namespace World
|
|
{
|
|
|
|
public enum RoleCacheDef
|
|
{
|
|
MaxRoleCacheCount = 10000,
|
|
}
|
|
|
|
public struct OneRoleCacheStruct : IStructObject
|
|
{
|
|
public int m_objectID;
|
|
public int GetObjectID()
|
|
{
|
|
return m_objectID;
|
|
}
|
|
public void SetObjectID(int id)
|
|
{
|
|
m_objectID = id;
|
|
}
|
|
public bool IsNull()
|
|
{
|
|
return m_objectID == -1;
|
|
}
|
|
|
|
//数据
|
|
public QueryRoleShowInfo showInfo;
|
|
|
|
public DBSysData sysData;
|
|
//public DBRoleBase roleBase;
|
|
|
|
//public DBRoleData roleData;
|
|
|
|
|
|
//操作
|
|
public long LastAccessTime; //最后一次访问时间,用来淘汰
|
|
public long LastUpdateTime; //最后一次更新时间,用来判断需不需要去game取
|
|
public int realmId;
|
|
}
|
|
|
|
|
|
}
|
|
|