LeagueData.cs 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 long NeedAudit { get; set; } //是否需要审核 0不用 1需要
  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 string Name;//联盟名字
  36. public string Icon;//联盟徽章(资源名)
  37. public int Num;//联盟人数
  38. public int MaxNum;//联盟人数上限
  39. public bool NeedAudit;//是否需要审核
  40. public bool IsAd;//是否是广告
  41. public int ApplyStatus;//0:可申请,1:申请中, 3:拒绝
  42. }
  43. public class LeagueLogData
  44. {
  45. public int Type;//LeagueJoinQuitLogType 1:加入 2:退出 3:变更 4:踢掉
  46. public OtherRoleInfoData RoleInfo = new OtherRoleInfoData();
  47. public long Time;//操作时间
  48. public int OldPos;//旧职位 职位变更时需要
  49. public int NewPos;//新职位 职位变更时需要
  50. }
  51. }