using Sog; using ProtoCSStruct; namespace Game { /// /// cache数据, /// /// public static class GameStructDef { //排行榜最大数量 public const int MaxGameListCount = 50; } public struct GameOneDataCacheStruct : 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 bool NeedSave; public void setNeedSave(bool b) { NeedSave = b; } public bool getNeedSave() { return NeedSave; } public long Uid; //RoleID public long RankID; //排行榜排名 } public struct BattleReplayRecordingOneCacheStruct : 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 bool NeedSave; public void setNeedSave(bool b) { NeedSave = b; } public bool getNeedSave() { return NeedSave; } } }