源战役
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
3.5 KiB

1 개월 전
  1. -- 跨服国战
  2. CREATE TABLE `guild_cgwar_room` (
  3. `guild_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '帮派Id',
  4. `room` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '房间',
  5. PRIMARY KEY (`guild_id`)
  6. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='跨服国战可参与社团(合服保留主服)';
  7. CREATE TABLE `cross_guild_war_guild_info` (
  8. `guild_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '帮派Id',
  9. `server_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '游戏服ServerId',
  10. `server_num` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '服务器编号(玩家可见的服编号)',
  11. `zone_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '分区Id',
  12. `room_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '房间Id',
  13. `guild_name` varchar(100) NOT NULL DEFAULT '' COMMENT '帮派名称',
  14. `guild_power` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '帮派战力',
  15. `chief_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '帮主Id',
  16. `chief_name` varchar(50) NOT NULL DEFAULT '' COMMENT '帮主名称',
  17. `chief_power` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '帮主战力',
  18. `sign_ups` varchar(6000) NOT NULL DEFAULT '[]' COMMENT '报名列表',
  19. `supports` text NOT NULL COMMENT '支援列表',
  20. `support_num` int(11) NOT NULL DEFAULT '0' COMMENT '支援人数',
  21. PRIMARY KEY (`guild_id`)
  22. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='跨服帮战-参战(报名)帮派信息(在跨服中使用-保留主跨服的)';
  23. CREATE TABLE `cross_guild_war_last_zone` (
  24. `server_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '游戏服ServerId',
  25. `zone_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '分区Id',
  26. PRIMARY KEY (`server_id`)
  27. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='跨服帮战-上一次分区信息(在跨服中使用-保留主跨服的)';
  28. CREATE TABLE `cross_guild_war_city_info` (
  29. `zone_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '分区Id',
  30. `room_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '房间Id',
  31. `city_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '城池Id',
  32. `server_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '游戏服ServerId',
  33. `server_num` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '游戏服编号(玩家看到的服数)',
  34. `guild_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '帮派Id',
  35. `guild_name` varchar(50) NOT NULL DEFAULT '' COMMENT '帮派名称',
  36. `guild_power` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '帮派战力',
  37. `chief_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '帮主Id',
  38. `chief_name` varchar(50) NOT NULL DEFAULT '' COMMENT '帮主名称',
  39. `chief_power` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '帮主战力',
  40. PRIMARY KEY (`zone_id`,`room_id`,`city_id`)
  41. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='跨服帮战-城池占领信息(在跨服中使用-保留主跨服的)';
  42. CREATE TABLE `cross_guild_war_role` (
  43. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  44. `support_num` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '应援次数',
  45. `use_free_num` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '已使用免费应援次数',
  46. `support_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '最近一次应援时间戳',
  47. `city_award` varchar(100) NOT NULL DEFAULT '[]' COMMENT '领取占领城池奖励记录[CityId]',
  48. `award_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '最近一次领取占领城池奖励时间戳',
  49. PRIMARY KEY (`role_id`)
  50. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='跨服帮战-角色相关数据(保存在游戏服-合服时保留合并数据)';