LeagueData.cs 2.3 KB

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