LeagueData.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using System.Collections.Generic;
  2. namespace GFGGame
  3. {
  4. public class LeagueData
  5. {
  6. public long LeagueId;//联盟id
  7. public string Name;//联盟名字
  8. public string Icon;//联盟徽章(资源名)
  9. public string Notice;//联盟公告
  10. public int Num;//联盟人数
  11. public int AdEndTime;//广告结束时间
  12. public long HallLevel { get; set; } //会客厅等级 影响 小酒馆等级上限,小金库等级上限,
  13. public long HotelLevel { get; set; } //小酒馆等级 影响 人数上限 会花上限 每日新加入联盟成员上限 招募额外增加的成员上限,
  14. public long StoreLevel { get; set; } //金库等级 影响 联盟资金储存上限
  15. public long LowKeepDay { get; set; } //低维护天数
  16. public long LeagueCoin { get; set; } //联盟资金
  17. public long DayAdd { get; set; } //新加入联盟成员人数
  18. public long NeedAudit { get; set; } //是否需要审核 0不用 1需要
  19. public Dictionary<long, LeagueMemberData> LeagueMemberDatas = new Dictionary<long, LeagueMemberData>();//联盟成员
  20. }
  21. public class LeagueMemberData
  22. {
  23. public OtherRoleInfoData RoleInfo;
  24. public int Pos;//有 LeaguePos 定义
  25. public long WeekContribution;//本周贡献值
  26. public long AllContribution;//累计贡献值
  27. public long JoinLeagueTime;//加入联盟时间
  28. }
  29. public class LeagueListData
  30. {
  31. public long LeagueId;//联盟id
  32. public string Name;//联盟名字
  33. public string Icon;//联盟徽章(资源名)
  34. public int Num;//联盟人数
  35. public bool NeedAudit;//是否需要审核
  36. public bool IsAd;//是否是广告
  37. public int ApplyStatus;//0:可申请,1:申请中, 3:拒绝
  38. }
  39. public class LeagueLogData
  40. {
  41. public int Type;//LeagueJoinQuitLogType 1:加入 2:退出 3:变更 4:踢掉
  42. public OtherRoleInfoData RoleInfo = new OtherRoleInfoData();
  43. public long Time;//操作时间
  44. public int OldPos;//旧职位 职位变更时需要
  45. public int NewPos;//新职位 职位变更时需要
  46. }
  47. }