王刚 1 年之前
父节点
当前提交
2f84650240
共有 36 个文件被更改,包括 3822 次插入314 次删除
  1. 2 2
      DevOps/flscfg/settings.json
  2. 311 0
      DevOps/flscfg/sqlback/jzhj2023_cfg20230907113558.sql
  3. 311 0
      DevOps/flscfg/sqlback/jzhj2023_cfg20230907114747.sql
  4. 311 0
      DevOps/flscfg/sqlback/jzhj2023_cfg20230907120021.sql
  5. 314 311
      Gameserver/App/configs/GameConfig.php
  6. 562 0
      Gameserver/App/model/Const/GameConfig.php
  7. 87 0
      Gameserver/App/model/Const/globalsettings.php
  8. 37 0
      Gameserver/App/model/Const/sm_activity_day7.php
  9. 47 0
      Gameserver/App/model/Const/sm_activity_levelgift.php
  10. 47 0
      Gameserver/App/model/Const/sm_activity_tiligift.php
  11. 32 0
      Gameserver/App/model/Const/sm_clientVersionHistory.php
  12. 72 0
      Gameserver/App/model/Const/sm_equip.php
  13. 42 0
      Gameserver/App/model/Const/sm_equip_compose.php
  14. 57 0
      Gameserver/App/model/Const/sm_equip_evolve.php
  15. 32 0
      Gameserver/App/model/Const/sm_equip_levelupgrade.php
  16. 37 0
      Gameserver/App/model/Const/sm_errmsg.php
  17. 62 0
      Gameserver/App/model/Const/sm_evolve.php
  18. 62 0
      Gameserver/App/model/Const/sm_evolveSpecific.php
  19. 142 0
      Gameserver/App/model/Const/sm_gate.php
  20. 37 0
      Gameserver/App/model/Const/sm_gate_challenge.php
  21. 87 0
      Gameserver/App/model/Const/sm_hero.php
  22. 52 0
      Gameserver/App/model/Const/sm_item.php
  23. 148 0
      Gameserver/App/model/Const/sm_plot.php
  24. 37 0
      Gameserver/App/model/Const/sm_service_schedule.php
  25. 52 0
      Gameserver/App/model/Const/sm_shop_cash.php
  26. 57 0
      Gameserver/App/model/Const/sm_shop_daily.php
  27. 62 0
      Gameserver/App/model/Const/sm_shop_gategift.php
  28. 57 0
      Gameserver/App/model/Const/sm_shop_gold.php
  29. 97 0
      Gameserver/App/model/Const/sm_shop_junbei.php
  30. 72 0
      Gameserver/App/model/Const/sm_shop_supply.php
  31. 165 0
      Gameserver/App/model/Const/sm_skillTypeArr.php
  32. 165 0
      Gameserver/App/model/Const/sm_skills.php
  33. 62 0
      Gameserver/App/model/Const/sm_sysmail.php
  34. 52 0
      Gameserver/App/model/Const/sm_token_PublicGift.php
  35. 47 0
      Gameserver/App/model/Const/sm_zonelist.php
  36. 6 1
      Gameserver/App/model/User/Info_UserBase.php

+ 2 - 2
DevOps/flscfg/settings.json

@@ -27,12 +27,12 @@
       "cmdStr": "oss_up.bat"
     }
   },
-  "Gen_PHP": false,
+  "Gen_PHP": true,
   "Gen_Cs": true,
   "Gen_Lua": true,
   "Gen_Bytes": true,
   "Gen_Json": false,
-  "PHP_OutDir": "",
+  "PHP_OutDir": "D:\\local_svn\\0_ylsj2019\\jzhj2023server\\Gameserver\\App\\model\\Const",
   "Cs_OutDir": "D:\\local_svn\\0_ylsj2019\\jzhj2023_hot\\Assets\\__Scripts\\Server\\Proxy\\ConstMo_Auto",
   "Lua_OutDir": "",
   "Json_OutDir": null,

文件差异内容过多而无法显示
+ 311 - 0
DevOps/flscfg/sqlback/jzhj2023_cfg20230907113558.sql


文件差异内容过多而无法显示
+ 311 - 0
DevOps/flscfg/sqlback/jzhj2023_cfg20230907114747.sql


文件差异内容过多而无法显示
+ 311 - 0
DevOps/flscfg/sqlback/jzhj2023_cfg20230907120021.sql


+ 314 - 311
Gameserver/App/configs/GameConfig.php

@@ -1,38 +1,41 @@
 <?php
+
 ////////////////////
- // 由CodeGenerator创建。
- // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
- // author: gwang 
- // 日期: 2023-09-01 15:47:11
+// 由CodeGenerator创建。
+// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+// author: gwang
+// 日期: 2023-09-07 11:47:46
 ////////////////////
 
 namespace loyalsoft;
 
 /**
- * 常量配置数据 
+ * 常量配置数据
  */
 class GameConfig {
-// <editor-fold defaultstate="collapsed" desc="  基础代码 ">    
+// <editor-fold defaultstate="collapsed" desc="  基础代码 ">
+
     /**
-     * 是否启用codegen 
+     * 是否启用codegen
      */
-    private static function isCG()  {
-        return defined('CodeGen_Enabled') && CodeGen_Enabled; 
+    private static function isCG() {
+        return defined('CodeGen_Enabled') && CodeGen_Enabled;
     }
+
     /**
      * @var bool 分区是否使用独立的常量配置数据
      */
     private static $useZoneId = false;
+
     /**
      * 追加分区列表字符串
      * @return string
      */
-    private static function zoneid()
-    {
+    private static function zoneid() {
         global $zoneid;
         return self::$useZoneId ? "-zone$zoneid" : "";
     }
-	
+
     /**
      * @return ClientVersion
      */
@@ -84,481 +87,481 @@ class GameConfig {
         }
         return null;
     }
+
 // </editor-fold>
+
     /**
-    * 全局参数
-    * @return \globalsettings
-    */
-    public static function globalsettings()
-    { 
-        static $a = null; 
+     * 全局参数
+     * @return \globalsettings
+     */
+    public static function globalsettings() {
+        static $a = null;
         return self::initValue($a, 'globalsettings');
     }
+
     /**
-    * 停服计划
-    * @return \service_schedule
-    */
-    public static function service_schedule()
-    { 
-        static $a = null; 
+     * 停服计划
+     * @return \service_schedule
+     */
+    public static function service_schedule() {
+        static $a = null;
         return self::initValue($a, 'service_schedule');
     }
+
     /**
-    * @return \sm_service_schedule service_schedule item数据 
-    */
-    public static function service_schedule_getItem($itemid)
-    { 
+     * @return \sm_service_schedule service_schedule item数据
+     */
+    public static function service_schedule_getItem($itemid) {
         return self::get_hash_item('service_schedule', $itemid);
     }
+
     /**
-    * 道具表
-    * @return \item
-    */
-    public static function item()
-    { 
-        static $a = null; 
+     * 道具表
+     * @return \item
+     */
+    public static function item() {
+        static $a = null;
         return self::initValue($a, 'item');
     }
+
     /**
-    * @return \sm_item item item数据 
-    */
-    public static function item_getItem($itemid)
-    { 
+     * @return \sm_item item item数据
+     */
+    public static function item_getItem($itemid) {
         return self::get_hash_item('item', $itemid);
     }
+
     /**
-    * 系统邮件
-    * @return \sysmail
-    */
-    public static function sysmail()
-    { 
-        static $a = null; 
+     * 系统邮件
+     * @return \sysmail
+     */
+    public static function sysmail() {
+        static $a = null;
         return self::initValue($a, 'sysmail');
     }
+
     /**
-    * @return \sm_sysmail sysmail item数据 
-    */
-    public static function sysmail_getItem($itemid)
-    { 
+     * @return \sm_sysmail sysmail item数据
+     */
+    public static function sysmail_getItem($itemid) {
         return self::get_hash_item('sysmail', $itemid);
     }
+
     /**
-    * 客户端版本信息
-    * @return \clientVersionHistory
-    */
-    public static function clientVersionHistory()
-    { 
-        static $a = null; 
+     * 客户端版本信息
+     * @return \clientVersionHistory
+     */
+    public static function clientVersionHistory() {
+        static $a = null;
         return self::initValue($a, 'clientVersionHistory');
     }
+
     /**
-    * @return \sm_clientVersionHistory clientVersionHistory item数据 
-    */
-    public static function clientVersionHistory_getItem($itemid)
-    { 
+     * @return \sm_clientVersionHistory clientVersionHistory item数据
+     */
+    public static function clientVersionHistory_getItem($itemid) {
         return self::get_hash_item('clientVersionHistory', $itemid);
     }
+
     /**
-    * 分区列表
-    * @return \zonelist
-    */
-    public static function zonelist()
-    { 
-        static $a = null; 
+     * 分区列表
+     * @return \zonelist
+     */
+    public static function zonelist() {
+        static $a = null;
         return self::initValue($a, 'zonelist');
     }
+
     /**
-    * @return \sm_zonelist zonelist item数据 
-    */
-    public static function zonelist_getItem($itemid)
-    { 
+     * @return \sm_zonelist zonelist item数据
+     */
+    public static function zonelist_getItem($itemid) {
         return self::get_hash_item('zonelist', $itemid);
     }
+
     /**
-    * 错误信息表
-    * @return \errmsg
-    */
-    public static function errmsg()
-    { 
-        static $a = null; 
+     * 错误信息表
+     * @return \errmsg
+     */
+    public static function errmsg() {
+        static $a = null;
         return self::initValue($a, 'errmsg');
     }
+
     /**
-    * @return \sm_errmsg errmsg item数据 
-    */
-    public static function errmsg_getItem($itemid)
-    { 
+     * @return \sm_errmsg errmsg item数据
+     */
+    public static function errmsg_getItem($itemid) {
         return self::get_hash_item('errmsg', $itemid);
     }
+
     /**
-    * 技能表
-    * @return \skills
-    */
-    public static function skills()
-    { 
-        static $a = null; 
+     * 技能表
+     * @return \skills
+     */
+    public static function skills() {
+        static $a = null;
         return self::initValue($a, 'skills');
     }
+
     /**
-    * @return \sm_skills skills item数据 
-    */
-    public static function skills_getItem($itemid)
-    { 
+     * @return \sm_skills skills item数据
+     */
+    public static function skills_getItem($itemid) {
         return self::get_hash_item('skills', $itemid);
     }
+
     /**
-    * 活动: 七日签到
-    * @return \activity_day7
-    */
-    public static function activity_day7()
-    { 
-        static $a = null; 
+     * 活动: 七日签到
+     * @return \activity_day7
+     */
+    public static function activity_day7() {
+        static $a = null;
         return self::initValue($a, 'activity_day7');
     }
+
     /**
-    * @return \sm_activity_day7 activity_day7 item数据 
-    */
-    public static function activity_day7_getItem($itemid)
-    { 
+     * @return \sm_activity_day7 activity_day7 item数据
+     */
+    public static function activity_day7_getItem($itemid) {
         return self::get_hash_item('activity_day7', $itemid);
     }
+
     /**
-    * 公共兑换码
-    * @return \token_PublicGift
-    */
-    public static function token_PublicGift()
-    { 
-        static $a = null; 
+     * 公共兑换码
+     * @return \token_PublicGift
+     */
+    public static function token_PublicGift() {
+        static $a = null;
         return self::initValue($a, 'token_PublicGift');
     }
+
     /**
-    * @return \sm_token_PublicGift token_PublicGift item数据 
-    */
-    public static function token_PublicGift_getItem($itemid)
-    { 
+     * @return \sm_token_PublicGift token_PublicGift item数据
+     */
+    public static function token_PublicGift_getItem($itemid) {
         return self::get_hash_item('token_PublicGift', $itemid);
     }
+
     /**
-    * 活动: 体力加油站
-    * @return \activity_tiligift
-    */
-    public static function activity_tiligift()
-    { 
-        static $a = null; 
+     * 活动: 体力加油站
+     * @return \activity_tiligift
+     */
+    public static function activity_tiligift() {
+        static $a = null;
         return self::initValue($a, 'activity_tiligift');
     }
+
     /**
-    * @return \sm_activity_tiligift activity_tiligift item数据 
-    */
-    public static function activity_tiligift_getItem($itemid)
-    { 
+     * @return \sm_activity_tiligift activity_tiligift item数据
+     */
+    public static function activity_tiligift_getItem($itemid) {
         return self::get_hash_item('activity_tiligift', $itemid);
     }
+
     /**
-    * 活动: 等级礼包
-    * @return \activity_levelgift
-    */
-    public static function activity_levelgift()
-    { 
-        static $a = null; 
+     * 活动: 等级礼包
+     * @return \activity_levelgift
+     */
+    public static function activity_levelgift() {
+        static $a = null;
         return self::initValue($a, 'activity_levelgift');
     }
+
     /**
-    * @return \sm_activity_levelgift activity_levelgift item数据 
-    */
-    public static function activity_levelgift_getItem($itemid)
-    { 
+     * @return \sm_activity_levelgift activity_levelgift item数据
+     */
+    public static function activity_levelgift_getItem($itemid) {
         return self::get_hash_item('activity_levelgift', $itemid);
     }
+
     /**
-    * 技能表根据分类分组
-    * @return \skillTypeArr
-    */
-    public static function skillTypeArr()
-    { 
-        static $a = null; 
+     * 技能表根据分类分组
+     * @return \skillTypeArr
+     */
+    public static function skillTypeArr() {
+        static $a = null;
         return self::initValue($a, 'skillTypeArr');
     }
+
     /**
-    * @return \sm_skillTypeArr skillTypeArr itemArray 
-    */
-    public static function skillTypeArr_getItemArray($key)
-    { 
+     * @return \sm_skillTypeArr skillTypeArr itemArray
+     */
+    public static function skillTypeArr_getItemArray($key) {
         return self::get_hash_item('skillTypeArr', $key);
     }
+
     /**
-    * 章节表
-    * @return \gate
-    */
-    public static function gate()
-    { 
-        static $a = null; 
+     * 章节表
+     * @return \gate
+     */
+    public static function gate() {
+        static $a = null;
         return self::initValue($a, 'gate');
     }
+
     /**
-    * @return \sm_gate gate item数据 
-    */
-    public static function gate_getItem($itemid)
-    { 
+     * @return \sm_gate gate item数据
+     */
+    public static function gate_getItem($itemid) {
         return self::get_hash_item('gate', $itemid);
     }
+
     /**
-    * 角色
-    * @return \hero
-    */
-    public static function hero()
-    { 
-        static $a = null; 
+     * 角色
+     * @return \hero
+     */
+    public static function hero() {
+        static $a = null;
         return self::initValue($a, 'hero');
     }
+
     /**
-    * @return \sm_hero hero item数据 
-    */
-    public static function hero_getItem($itemid)
-    { 
+     * @return \sm_hero hero item数据
+     */
+    public static function hero_getItem($itemid) {
         return self::get_hash_item('hero', $itemid);
     }
+
     /**
-    * 装备表
-    * @return \equip
-    */
-    public static function equip()
-    { 
-        static $a = null; 
+     * 装备表
+     * @return \equip
+     */
+    public static function equip() {
+        static $a = null;
         return self::initValue($a, 'equip');
     }
+
     /**
-    * @return \sm_equip equip item数据 
-    */
-    public static function equip_getItem($itemid)
-    { 
+     * @return \sm_equip equip item数据
+     */
+    public static function equip_getItem($itemid) {
         return self::get_hash_item('equip', $itemid);
     }
+
     /**
-    * 装备升级表
-    * @return \equip_levelupgrade
-    */
-    public static function equip_levelupgrade()
-    { 
-        static $a = null; 
+     * 装备升级表
+     * @return \equip_levelupgrade
+     */
+    public static function equip_levelupgrade() {
+        static $a = null;
         return self::initValue($a, 'equip_levelupgrade');
     }
+
     /**
-    * @return \sm_equip_levelupgrade equip_levelupgrade item数据 
-    */
-    public static function equip_levelupgrade_getItem($itemid)
-    { 
+     * @return \sm_equip_levelupgrade equip_levelupgrade item数据
+     */
+    public static function equip_levelupgrade_getItem($itemid) {
         return self::get_hash_item('equip_levelupgrade', $itemid);
     }
+
     /**
-    * 章节礼包表
-    * @return \shop_gategift
-    */
-    public static function shop_gategift()
-    { 
-        static $a = null; 
+     * 章节礼包表
+     * @return \shop_gategift
+     */
+    public static function shop_gategift() {
+        static $a = null;
         return self::initValue($a, 'shop_gategift');
     }
+
     /**
-    * @return \sm_shop_gategift shop_gategift item数据 
-    */
-    public static function shop_gategift_getItem($itemid)
-    { 
+     * @return \sm_shop_gategift shop_gategift item数据
+     */
+    public static function shop_gategift_getItem($itemid) {
         return self::get_hash_item('shop_gategift', $itemid);
     }
+
     /**
-    * 每日商店
-    * @return \shop_daily
-    */
-    public static function shop_daily()
-    { 
-        static $a = null; 
+     * 每日商店
+     * @return \shop_daily
+     */
+    public static function shop_daily() {
+        static $a = null;
         return self::initValue($a, 'shop_daily');
     }
+
     /**
-    * @return \sm_shop_daily shop_daily item数据 
-    */
-    public static function shop_daily_getItem($itemid)
-    { 
+     * @return \sm_shop_daily shop_daily item数据
+     */
+    public static function shop_daily_getItem($itemid) {
         return self::get_hash_item('shop_daily', $itemid);
     }
+
     /**
-    * 钻石
-    * @return \shop_cash
-    */
-    public static function shop_cash()
-    { 
-        static $a = null; 
+     * 钻石
+     * @return \shop_cash
+     */
+    public static function shop_cash() {
+        static $a = null;
         return self::initValue($a, 'shop_cash');
     }
+
     /**
-    * @return \sm_shop_cash shop_cash item数据 
-    */
-    public static function shop_cash_getItem($itemid)
-    { 
+     * @return \sm_shop_cash shop_cash item数据
+     */
+    public static function shop_cash_getItem($itemid) {
         return self::get_hash_item('shop_cash', $itemid);
     }
+
     /**
-    * 金币
-    * @return \shop_gold
-    */
-    public static function shop_gold()
-    { 
-        static $a = null; 
+     * 金币
+     * @return \shop_gold
+     */
+    public static function shop_gold() {
+        static $a = null;
         return self::initValue($a, 'shop_gold');
     }
+
     /**
-    * @return \sm_shop_gold shop_gold item数据 
-    */
-    public static function shop_gold_getItem($itemid)
-    { 
+     * @return \sm_shop_gold shop_gold item数据
+     */
+    public static function shop_gold_getItem($itemid) {
         return self::get_hash_item('shop_gold', $itemid);
     }
+
     /**
-    * 
-    * @return \shop_supply
-    */
-    public static function shop_supply()
-    { 
-        static $a = null; 
+     *
+     * @return \shop_supply
+     */
+    public static function shop_supply() {
+        static $a = null;
         return self::initValue($a, 'shop_supply');
     }
+
     /**
-    * @return \sm_shop_supply shop_supply item数据 
-    */
-    public static function shop_supply_getItem($itemid)
-    { 
+     * @return \sm_shop_supply shop_supply item数据
+     */
+    public static function shop_supply_getItem($itemid) {
         return self::get_hash_item('shop_supply', $itemid);
     }
+
     /**
-    * 商城军备
-    * @return \shop_junbei
-    */
-    public static function shop_junbei()
-    { 
-        static $a = null; 
+     * 商城军备
+     * @return \shop_junbei
+     */
+    public static function shop_junbei() {
+        static $a = null;
         return self::initValue($a, 'shop_junbei');
     }
+
     /**
-    * @return \sm_shop_junbei shop_junbei item数据 
-    */
-    public static function shop_junbei_getItem($itemid)
-    { 
+     * @return \sm_shop_junbei shop_junbei item数据
+     */
+    public static function shop_junbei_getItem($itemid) {
         return self::get_hash_item('shop_junbei', $itemid);
     }
+
     /**
-    * 挑战表
-    * @return \gate_challenge
-    */
-    public static function gate_challenge()
-    { 
-        static $a = null; 
+     * 挑战表
+     * @return \gate_challenge
+     */
+    public static function gate_challenge() {
+        static $a = null;
         return self::initValue($a, 'gate_challenge');
     }
+
     /**
-    * @return \sm_gate_challenge gate_challenge item数据 
-    */
-    public static function gate_challenge_getItem($itemid)
-    { 
+     * @return \sm_gate_challenge gate_challenge item数据
+     */
+    public static function gate_challenge_getItem($itemid) {
         return self::get_hash_item('gate_challenge', $itemid);
     }
+
     /**
-    * 进化表
-    * @return \evolve
-    */
-    public static function evolve()
-    { 
-        static $a = null; 
+     * 进化表
+     * @return \evolve
+     */
+    public static function evolve() {
+        static $a = null;
         return self::initValue($a, 'evolve');
     }
+
     /**
-    * @return \sm_evolve evolve item数据 
-    */
-    public static function evolve_getItem($itemid)
-    { 
+     * @return \sm_evolve evolve item数据
+     */
+    public static function evolve_getItem($itemid) {
         return self::get_hash_item('evolve', $itemid);
     }
+
     /**
-    * 进化功能里的特定磁条信息
-    * @return \evolveSpecific
-    */
-    public static function evolveSpecific()
-    { 
-        static $a = null; 
+     * 进化功能里的特定磁条信息
+     * @return \evolveSpecific
+     */
+    public static function evolveSpecific() {
+        static $a = null;
         return self::initValue($a, 'evolveSpecific');
     }
+
     /**
-    * @return \sm_evolveSpecific evolveSpecific item数据 
-    */
-    public static function evolveSpecific_getItem($itemid)
-    { 
+     * @return \sm_evolveSpecific evolveSpecific item数据
+     */
+    public static function evolveSpecific_getItem($itemid) {
         return self::get_hash_item('evolveSpecific', $itemid);
     }
+
     /**
-    * 装备: 品阶表
-    * @return \equip_evolve
-    */
-    public static function equip_evolve()
-    { 
-        static $a = null; 
+     * 装备: 品阶表
+     * @return \equip_evolve
+     */
+    public static function equip_evolve() {
+        static $a = null;
         return self::initValue($a, 'equip_evolve');
     }
+
     /**
-    * @return \sm_equip_evolve equip_evolve item数据 
-    */
-    public static function equip_evolve_getItem($qual, $posId)
-    { 
+     * @return \sm_equip_evolve equip_evolve item数据
+     */
+    public static function equip_evolve_getItem($qual, $posId) {
         return self::get_hash_item('equip_evolve', $qual)->$posId;
     }
+
     /**
-    * 装备合成表
-    * @return \equip_compose
-    */
-    public static function equip_compose()
-    { 
-        static $a = null; 
+     * 装备合成表
+     * @return \equip_compose
+     */
+    public static function equip_compose() {
+        static $a = null;
         return self::initValue($a, 'equip_compose');
     }
+
     /**
-    * @return \sm_equip_compose equip_compose item数据 
-    */
-    public static function equip_compose_getItem($itemid)
-    { 
+     * @return \sm_equip_compose equip_compose item数据
+     */
+    public static function equip_compose_getItem($itemid) {
         return self::get_hash_item('equip_compose', $itemid);
     }
+
     /**
-    * 剧情表
-    * @return \plot
-    */
-    public static function plot()
-    { 
-        static $a = null; 
+     * 剧情表
+     * @return \plot
+     */
+    public static function plot() {
+        static $a = null;
         return self::initValue($a, 'plot');
     }
+
     /**
-    * @return \sm_plot plot item数据 
-    */
-    public static function plot_getItem($gateId, $stage)
-    { 
+     * @return \sm_plot plot item数据
+     */
+    public static function plot_getItem($gateId, $stage) {
         return self::get_hash_item('plot', $gateId)->$stage;
     }
+
     /**
-    * 当前版本(时间戳)
-    * @return \ver
-    */
-    public static function ver()
-    { 
-        static $a = null; 
+     * 当前版本(时间戳)
+     * @return \ver
+     */
+    public static function ver() {
+        static $a = null;
         return self::initValue($a, 'ver', false);
     }
+
     /**
-    * 客户端配置数据
-    * @return \client
-    */
-    public static function client()
-    { 
-        static $a = null; 
+     * 客户端配置数据
+     * @return \client
+     */
+    public static function client() {
+        static $a = null;
         return self::initValue($a, 'client', false);
     }
 }
-

+ 562 - 0
Gameserver/App/model/Const/GameConfig.php

@@ -0,0 +1,562 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-09-07 12:00:20
+////////////////////
+
+/**
+ * 常量配置数据 
+ */
+class GameConfig {
+// <editor-fold defaultstate="collapsed" desc="  基础代码 ">    
+    /**
+     * 是否启用codegen 
+     */
+    private static function isCG()  {
+        return defined('CodeGen_Enabled') && CodeGen_Enabled; 
+    }
+    /**
+     * @var bool 分区是否使用独立的常量配置数据
+     */
+    private static $useZoneId = false;
+    /**
+     * 追加分区列表字符串
+     * @return string
+     */
+    private static function zoneid()
+    {
+        global $zoneid;
+        return self::$useZoneId ? "-zone$zoneid" : "";
+    }
+	
+    /**
+     * @return ClientVersion
+     */
+    private static function CV() {
+        return req() ? req()->CV . '-' : "";
+    }
+
+    /**
+     * 初始化指定变量, 非null的情况下直接跳出
+     * 可能从文件中或者redis中获取原始数据对变量进行初始化
+     * @param mixed $a 变量
+     * @param string $modelName 用来初始化变量的资源名称
+     * @param bool $isHash 数据是否采用hash结构(否:普通字符串)
+     */
+    static private function initValue(&$a, $modelName, $isHash = true) {
+        $key = 'gamecfg-' . self::CV() . $modelName . self::zoneid();
+        if (is_null($a)) {
+            if (self::isCG()) {
+                $a = include $key . '.php';
+                if ($isHash) {
+                    $para = is_array($a) ? $a : (array) $a;                     # 转关联数组
+                    foreach ($para as $name => &$value) {
+                        $value = JsonUtil::decode($value);                      # 取参数中的或者默认值
+                    }
+                    $a = arr2obj($para);
+                }
+            } else {
+                $a = $isHash ? gMem()->hgetall($key) : gMem()->get($key);
+            }
+        }
+        return $a;
+    }
+
+    /**
+     * 获取hash结构的一个item
+     * @param string $modelName 模块名称
+     * @param mixed/string/int $itemId 索引
+     * @return mixed
+     */
+    private static function get_hash_item($modelName, $itemId) {
+        if (self::isCG()) {
+            $data = self::$modelName();
+            if (property_exists($data, $itemId)) {
+                return $data->$itemId;
+            }
+        } else {
+            $key = 'gamecfg-' . self::CV() . $modelName . self::zoneid();
+            return gMem()->hget($key, $itemId);
+        }
+        return null;
+    }
+// </editor-fold>
+    /**
+    * 全局参数
+    * @return \globalsettings
+    */
+    public static function globalsettings()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'globalsettings');
+    }
+    /**
+    * 停服计划
+    * @return \service_schedule
+    */
+    public static function service_schedule()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'service_schedule');
+    }
+    /**
+    * @return \sm_service_schedule service_schedule item数据 
+    */
+    public static function service_schedule_getItem($itemid)
+    { 
+        return self::get_hash_item('service_schedule', $itemid);
+    }
+    /**
+    * 道具表
+    * @return \item
+    */
+    public static function item()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'item');
+    }
+    /**
+    * @return \sm_item item item数据 
+    */
+    public static function item_getItem($itemid)
+    { 
+        return self::get_hash_item('item', $itemid);
+    }
+    /**
+    * 系统邮件
+    * @return \sysmail
+    */
+    public static function sysmail()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'sysmail');
+    }
+    /**
+    * @return \sm_sysmail sysmail item数据 
+    */
+    public static function sysmail_getItem($itemid)
+    { 
+        return self::get_hash_item('sysmail', $itemid);
+    }
+    /**
+    * 客户端版本信息
+    * @return \clientVersionHistory
+    */
+    public static function clientVersionHistory()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'clientVersionHistory');
+    }
+    /**
+    * @return \sm_clientVersionHistory clientVersionHistory item数据 
+    */
+    public static function clientVersionHistory_getItem($itemid)
+    { 
+        return self::get_hash_item('clientVersionHistory', $itemid);
+    }
+    /**
+    * 分区列表
+    * @return \zonelist
+    */
+    public static function zonelist()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'zonelist');
+    }
+    /**
+    * @return \sm_zonelist zonelist item数据 
+    */
+    public static function zonelist_getItem($itemid)
+    { 
+        return self::get_hash_item('zonelist', $itemid);
+    }
+    /**
+    * 错误信息表
+    * @return \errmsg
+    */
+    public static function errmsg()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'errmsg');
+    }
+    /**
+    * @return \sm_errmsg errmsg item数据 
+    */
+    public static function errmsg_getItem($itemid)
+    { 
+        return self::get_hash_item('errmsg', $itemid);
+    }
+    /**
+    * 技能表
+    * @return \skills
+    */
+    public static function skills()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'skills');
+    }
+    /**
+    * @return \sm_skills skills item数据 
+    */
+    public static function skills_getItem($itemid)
+    { 
+        return self::get_hash_item('skills', $itemid);
+    }
+    /**
+    * 活动: 七日签到
+    * @return \activity_day7
+    */
+    public static function activity_day7()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'activity_day7');
+    }
+    /**
+    * @return \sm_activity_day7 activity_day7 item数据 
+    */
+    public static function activity_day7_getItem($itemid)
+    { 
+        return self::get_hash_item('activity_day7', $itemid);
+    }
+    /**
+    * 公共兑换码
+    * @return \token_PublicGift
+    */
+    public static function token_PublicGift()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'token_PublicGift');
+    }
+    /**
+    * @return \sm_token_PublicGift token_PublicGift item数据 
+    */
+    public static function token_PublicGift_getItem($itemid)
+    { 
+        return self::get_hash_item('token_PublicGift', $itemid);
+    }
+    /**
+    * 活动: 体力加油站
+    * @return \activity_tiligift
+    */
+    public static function activity_tiligift()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'activity_tiligift');
+    }
+    /**
+    * @return \sm_activity_tiligift activity_tiligift item数据 
+    */
+    public static function activity_tiligift_getItem($itemid)
+    { 
+        return self::get_hash_item('activity_tiligift', $itemid);
+    }
+    /**
+    * 活动: 等级礼包
+    * @return \activity_levelgift
+    */
+    public static function activity_levelgift()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'activity_levelgift');
+    }
+    /**
+    * @return \sm_activity_levelgift activity_levelgift item数据 
+    */
+    public static function activity_levelgift_getItem($itemid)
+    { 
+        return self::get_hash_item('activity_levelgift', $itemid);
+    }
+    /**
+    * 技能表根据分类分组
+    * @return \skillTypeArr
+    */
+    public static function skillTypeArr()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'skillTypeArr');
+    }
+    /**
+    * @return \sm_skillTypeArr skillTypeArr itemArray 
+    */
+    public static function skillTypeArr_getItemArray($key)
+    { 
+        return self::get_hash_item('skillTypeArr', $key);
+    }
+    /**
+    * 章节表
+    * @return \gate
+    */
+    public static function gate()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'gate');
+    }
+    /**
+    * @return \sm_gate gate item数据 
+    */
+    public static function gate_getItem($itemid)
+    { 
+        return self::get_hash_item('gate', $itemid);
+    }
+    /**
+    * 角色
+    * @return \hero
+    */
+    public static function hero()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'hero');
+    }
+    /**
+    * @return \sm_hero hero item数据 
+    */
+    public static function hero_getItem($itemid)
+    { 
+        return self::get_hash_item('hero', $itemid);
+    }
+    /**
+    * 装备表
+    * @return \equip
+    */
+    public static function equip()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'equip');
+    }
+    /**
+    * @return \sm_equip equip item数据 
+    */
+    public static function equip_getItem($itemid)
+    { 
+        return self::get_hash_item('equip', $itemid);
+    }
+    /**
+    * 装备升级表
+    * @return \equip_levelupgrade
+    */
+    public static function equip_levelupgrade()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'equip_levelupgrade');
+    }
+    /**
+    * @return \sm_equip_levelupgrade equip_levelupgrade item数据 
+    */
+    public static function equip_levelupgrade_getItem($itemid)
+    { 
+        return self::get_hash_item('equip_levelupgrade', $itemid);
+    }
+    /**
+    * 章节礼包表
+    * @return \shop_gategift
+    */
+    public static function shop_gategift()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'shop_gategift');
+    }
+    /**
+    * @return \sm_shop_gategift shop_gategift item数据 
+    */
+    public static function shop_gategift_getItem($itemid)
+    { 
+        return self::get_hash_item('shop_gategift', $itemid);
+    }
+    /**
+    * 每日商店
+    * @return \shop_daily
+    */
+    public static function shop_daily()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'shop_daily');
+    }
+    /**
+    * @return \sm_shop_daily shop_daily item数据 
+    */
+    public static function shop_daily_getItem($itemid)
+    { 
+        return self::get_hash_item('shop_daily', $itemid);
+    }
+    /**
+    * 钻石
+    * @return \shop_cash
+    */
+    public static function shop_cash()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'shop_cash');
+    }
+    /**
+    * @return \sm_shop_cash shop_cash item数据 
+    */
+    public static function shop_cash_getItem($itemid)
+    { 
+        return self::get_hash_item('shop_cash', $itemid);
+    }
+    /**
+    * 金币
+    * @return \shop_gold
+    */
+    public static function shop_gold()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'shop_gold');
+    }
+    /**
+    * @return \sm_shop_gold shop_gold item数据 
+    */
+    public static function shop_gold_getItem($itemid)
+    { 
+        return self::get_hash_item('shop_gold', $itemid);
+    }
+    /**
+    * 
+    * @return \shop_supply
+    */
+    public static function shop_supply()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'shop_supply');
+    }
+    /**
+    * @return \sm_shop_supply shop_supply item数据 
+    */
+    public static function shop_supply_getItem($itemid)
+    { 
+        return self::get_hash_item('shop_supply', $itemid);
+    }
+    /**
+    * 商城军备
+    * @return \shop_junbei
+    */
+    public static function shop_junbei()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'shop_junbei');
+    }
+    /**
+    * @return \sm_shop_junbei shop_junbei item数据 
+    */
+    public static function shop_junbei_getItem($itemid)
+    { 
+        return self::get_hash_item('shop_junbei', $itemid);
+    }
+    /**
+    * 挑战表
+    * @return \gate_challenge
+    */
+    public static function gate_challenge()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'gate_challenge');
+    }
+    /**
+    * @return \sm_gate_challenge gate_challenge item数据 
+    */
+    public static function gate_challenge_getItem($itemid)
+    { 
+        return self::get_hash_item('gate_challenge', $itemid);
+    }
+    /**
+    * 进化表
+    * @return \evolve
+    */
+    public static function evolve()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'evolve');
+    }
+    /**
+    * @return \sm_evolve evolve item数据 
+    */
+    public static function evolve_getItem($itemid)
+    { 
+        return self::get_hash_item('evolve', $itemid);
+    }
+    /**
+    * 进化功能里的特定磁条信息
+    * @return \evolveSpecific
+    */
+    public static function evolveSpecific()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'evolveSpecific');
+    }
+    /**
+    * @return \sm_evolveSpecific evolveSpecific item数据 
+    */
+    public static function evolveSpecific_getItem($itemid)
+    { 
+        return self::get_hash_item('evolveSpecific', $itemid);
+    }
+    /**
+    * 装备: 品阶表
+    * @return \equip_evolve
+    */
+    public static function equip_evolve()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'equip_evolve');
+    }
+    /**
+    * @return \sm_equip_evolve equip_evolve item数据 
+    */
+    public static function equip_evolve_getItem($qual, $posId)
+    { 
+        return self::get_hash_item('equip_evolve', $qual)->$posId;
+    }
+    /**
+    * 装备合成表
+    * @return \equip_compose
+    */
+    public static function equip_compose()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'equip_compose');
+    }
+    /**
+    * @return \sm_equip_compose equip_compose item数据 
+    */
+    public static function equip_compose_getItem($itemid)
+    { 
+        return self::get_hash_item('equip_compose', $itemid);
+    }
+    /**
+    * 剧情表
+    * @return \plot
+    */
+    public static function plot()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'plot');
+    }
+    /**
+    * @return \sm_plot plot item数据 
+    */
+    public static function plot_getItem($gateId, $stage)
+    { 
+        return self::get_hash_item('plot', $gateId)->$stage;
+    }
+    /**
+    * 当前版本(时间戳)
+    * @return \ver
+    */
+    public static function ver()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'ver', false);
+    }
+    /**
+    * 客户端配置数据
+    * @return \client
+    */
+    public static function client()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'client', false);
+    }
+}
+

+ 87 - 0
Gameserver/App/model/Const/globalsettings.php

@@ -0,0 +1,87 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-09-01 10:34:51
+////////////////////
+
+
+/**
+ * Static Model globalsettings 全局参数
+ */
+class globalsettings
+{
+
+    /**
+    * @var string demo  
+    */
+    public $key;
+
+    /**
+    * @var string 升级武器需要的图纸  
+    */
+    public $equipLeveUpTuzhi;
+
+    /**
+    * @var string   
+    */
+    public $equipQualUnlockSkillId;
+
+    /**
+    * @var string 装备品阶+1+2的记录  
+    */
+    public $equipQualAdd;
+
+    /**
+    * @var string 有限地图战场中小木箱刷新时间间隔和数量(50,3)(50秒刷新3个小木箱)  
+    */
+    public $ClosedMapSmallBoxFreq;
+
+    /**
+    * @var int 游戏内玩家账号的最高等级限制  
+    */
+    public $Game_MaxPlayerLevel;
+
+    /**
+    * @var string 开放地图战场中小木箱刷新时间间隔和数量(50,3)(50秒刷新3个小木箱)  
+    */
+    public $OpenMapSmallBoxFreq;
+
+    /**
+    * @var int 默认背包最大数量  
+    */
+    public $Item_Packet_MaxNum;
+
+    /**
+    * @var int 体力恢复的最大值(购买或者邮件领取的可以超出,超出后体力恢复失效)  
+    */
+    public $tili_RecoverrMax;
+
+    /**
+    * @var string 【废弃】当前客户端版本号  
+    */
+    public $clientVer;
+
+    /**
+    * @var int 支付模块是否开放  
+    */
+    public $Game_Pay_Open;
+
+    /**
+    * @var int 更新开始时间戳  
+    */
+    public $updatingBeginTs;
+
+    /**
+    * @var int 更新结束时间戳  
+    */
+    public $updatingEndTs;
+
+    /**
+    * @var int 恢复一点体力所需时间(秒)  
+    */
+    public $tili_RecoverTS;
+
+}
+

+ 37 - 0
Gameserver/App/model/Const/sm_activity_day7.php

@@ -0,0 +1,37 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-06-28 17:36:03
+////////////////////
+
+
+/**
+ * Static Model activity_day7 活动: 七日签到
+ */
+class sm_activity_day7
+{
+
+    /**
+    * @var Int32 主键  
+    */
+    public $tid;
+
+    /**
+    * @var Int32 第x天(1~7)  
+    */
+    public $day;
+
+    /**
+    * @var String 奖励:itemId,num  
+    */
+    public $reward;
+
+    /**
+    * @var String 备注  
+    */
+    public $desc;
+
+}
+

+ 47 - 0
Gameserver/App/model/Const/sm_activity_levelgift.php

@@ -0,0 +1,47 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-06-28 18:04:50
+////////////////////
+
+
+/**
+ * Static Model activity_levelgift 活动: 等级礼包
+ */
+class sm_activity_levelgift
+{
+
+    /**
+    * @var Int32 自动编号  
+    */
+    public $id;
+
+    /**
+    * @var String 名称  
+    */
+    public $name;
+
+    /**
+    * @var String 图标  
+    */
+    public $icon;
+
+    /**
+    * @var String 描述  
+    */
+    public $desc;
+
+    /**
+    * @var String 奖励内容字符串: itemid,num;itemid,num....  
+    */
+    public $rewardstr;
+
+    /**
+    * @var Int32 奖励领取等级 default(1) 
+    */
+    public $level;
+
+}
+

+ 47 - 0
Gameserver/App/model/Const/sm_activity_tiligift.php

@@ -0,0 +1,47 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-06-28 17:36:03
+////////////////////
+
+
+/**
+ * Static Model activity_tiligift 活动: 体力加油站
+ */
+class sm_activity_tiligift
+{
+
+    /**
+    * @var Int32 自动编号  
+    */
+    public $id;
+
+    /**
+    * @var String 名称  
+    */
+    public $name;
+
+    /**
+    * @var TimeSpan 起始时间  
+    */
+    public $start_time;
+
+    /**
+    * @var TimeSpan 结束时间  
+    */
+    public $end_time;
+
+    /**
+    * @var Int32 获得体力  
+    */
+    public $tili;
+
+    /**
+    * @var Int32 补领消耗钻石  
+    */
+    public $late_cost;
+
+}
+

+ 32 - 0
Gameserver/App/model/Const/sm_clientVersionHistory.php

@@ -0,0 +1,32 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-06-28 17:36:03
+////////////////////
+
+
+/**
+ * Static Model clientVersionHistory 客户端版本信息
+ */
+class sm_clientVersionHistory
+{
+
+    /**
+    * @var String 版本号 default(0) 
+    */
+    public $ver;
+
+    /**
+    * @var String 发布时间 default(0) 
+    */
+    public $releaseTime;
+
+    /**
+    * @var String 版本说明 default(0) 
+    */
+    public $description;
+
+}
+

+ 72 - 0
Gameserver/App/model/Const/sm_equip.php

@@ -0,0 +1,72 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-09-06 11:20:04
+////////////////////
+
+
+/**
+ * Static Model equip 装备表
+ */
+class sm_equip
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 装备id(稀有度9_部位99_品质99_道具编号999) default(0) 
+    */
+    public $typeId;
+
+    /**
+    * @var String 名称  
+    */
+    public $name;
+
+    /**
+    * @var Int32 品阶: 白绿蓝紫 default(0) 
+    */
+    public $qual;
+
+    /**
+    * @var Int32 稀有度: default(0) 
+    */
+    public $rarity;
+
+    /**
+    * @var Int32 部位: 1 武器, 2 护甲, 3 项链, 4 腰带, 5 手套, 6 靴子 default(1) 
+    */
+    public $position;
+
+    /**
+    * @var String 描述信息  
+    */
+    public $desc;
+
+    /**
+    * @var String 图片  
+    */
+    public $icon;
+
+    /**
+    * @var Int32 附赠技能id default(0) 
+    */
+    public $skillId;
+
+    /**
+    * @var Int32 基础属性值(1,3,5加攻击,246加hp) default(0) 
+    */
+    public $attrNum;
+
+    /**
+    * @var String 解锁词条ID (品质提升,多条词条逗号分隔,各词条是叠加关系)(从红色往前排,倒着填)  
+    */
+    public $qual_predicateId;
+
+}
+

+ 42 - 0
Gameserver/App/model/Const/sm_equip_compose.php

@@ -0,0 +1,42 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-31 10:40:29
+////////////////////
+
+
+/**
+ * Static Model equip_compose 装备合成表
+ */
+class sm_equip_compose
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 品阶 default(0) 
+    */
+    public $qual;
+
+    /**
+    * @var Int32 1:typeId一样的 2:同一部位 3:本体(typeId一样)但是品质不同 default(0) 
+    */
+    public $type;
+
+    /**
+    * @var Int32 合成需要的品阶要求  
+    */
+    public $costQual;
+
+    /**
+    * @var Int32 消耗装备的数量  
+    */
+    public $num;
+
+}
+

+ 57 - 0
Gameserver/App/model/Const/sm_equip_evolve.php

@@ -0,0 +1,57 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-31 10:40:15
+////////////////////
+
+
+/**
+ * Static Model equip_evolve 装备: 品阶表
+ */
+class sm_equip_evolve
+{
+
+    /**
+    * @var Int32 品阶(1白,2绿,3蓝,4紫,5紫+1,6紫+2,7黄,8黄+1,9黄+2,10黄+3,11红,12红+1,13红+2,14红+3,15红+4) default(0) 
+    */
+    public $qual;
+
+    /**
+    * @var Int32 部位: 1 武器, 2 护甲, 3 项链, 4 腰带, 5 手套, 6 靴子  
+    */
+    public $posId;
+
+    /**
+    * @var Int32 回退等级限制(黄+只能退到黄, 红+只能退到红)  
+    */
+    public $recycleQual;
+
+    /**
+    * @var Int32 当前品阶的等级上限  
+    */
+    public $levelMax;
+
+    /**
+    * @var Int32 当前品阶的基础数值 default(0) 
+    */
+    public $baseAttrNum;
+
+    /**
+    * @var Int32 当前品阶每升一级提升的基础数值  
+    */
+    public $lvlupAddAttrNum;
+
+    /**
+    * @var String '白','绿','蓝','紫','黄','红' default(白) 
+    */
+    public $color;
+
+    /**
+    * @var String 下一品阶需消耗同阶数量(消耗规则待完善)  
+    */
+    public $next_cost;
+
+}
+

+ 32 - 0
Gameserver/App/model/Const/sm_equip_levelupgrade.php

@@ -0,0 +1,32 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-31 10:39:58
+////////////////////
+
+
+/**
+ * Static Model equip_levelupgrade 装备升级表
+ */
+class sm_equip_levelupgrade
+{
+
+    /**
+    * @var Int32 等级 default(0) 
+    */
+    public $level;
+
+    /**
+    * @var Int32 需要金币数量  
+    */
+    public $needGold;
+
+    /**
+    * @var Int32 需要消耗图纸的数量 default(0) 
+    */
+    public $needItemNum;
+
+}
+

+ 37 - 0
Gameserver/App/model/Const/sm_errmsg.php

@@ -0,0 +1,37 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-06-28 18:04:50
+////////////////////
+
+
+/**
+ * Static Model errmsg 错误信息表
+ */
+class sm_errmsg
+{
+
+    /**
+    * @var String ERR_ID  
+    */
+    public $err;
+
+    /**
+    * @var Int32 错误码  
+    */
+    public $no;
+
+    /**
+    * @var Int32 错误类型: 继续=0.重启=1. default(0) 
+    */
+    public $type;
+
+    /**
+    * @var String 描述信息  
+    */
+    public $msg;
+
+}
+

+ 62 - 0
Gameserver/App/model/Const/sm_evolve.php

@@ -0,0 +1,62 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-23 11:20:07
+////////////////////
+
+
+/**
+ * Static Model evolve 进化表
+ */
+class sm_evolve
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 磁条块 default(0) 
+    */
+    public $typeId;
+
+    /**
+    * @var Int32 对应的磁条Id  
+    */
+    public $predicateId;
+
+    /**
+    * @var Int32 解锁磁条需要的金币数量  
+    */
+    public $needGold_unlock;
+
+    /**
+    * @var Int32 等级  
+    */
+    public $level;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $specificEvolveId;
+
+    /**
+    * @var Int32 关键进化锁  
+    */
+    public $specificPredicateId;
+
+    /**
+    * @var String 关键进化基因锁解锁需要的道具信息  
+    */
+    public $specificEvolveCost;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $icon;
+
+}
+

+ 62 - 0
Gameserver/App/model/Const/sm_evolveSpecific.php

@@ -0,0 +1,62 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-23 11:20:07
+////////////////////
+
+
+/**
+ * Static Model evolveSpecific 进化功能里的特定磁条信息
+ */
+class sm_evolveSpecific
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 磁条块 default(0) 
+    */
+    public $typeId;
+
+    /**
+    * @var Int32 对应的磁条Id  
+    */
+    public $predicateId;
+
+    /**
+    * @var Int32 解锁磁条需要的金币数量  
+    */
+    public $needGold_unlock;
+
+    /**
+    * @var Int32 等级  
+    */
+    public $level;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $specificEvolveId;
+
+    /**
+    * @var Int32 关键进化锁  
+    */
+    public $specificPredicateId;
+
+    /**
+    * @var String 关键进化基因锁解锁需要的道具信息  
+    */
+    public $specificEvolveCost;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $icon;
+
+}
+

+ 142 - 0
Gameserver/App/model/Const/sm_gate.php

@@ -0,0 +1,142 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-09-06 16:21:17
+////////////////////
+
+
+/**
+ * Static Model gate 章节表
+ */
+class sm_gate
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 关卡id  
+    */
+    public $gateId;
+
+    /**
+    * @var String 名称  
+    */
+    public $gateName;
+
+    /**
+    * @var String 章节描述文字  
+    */
+    public $desc;
+
+    /**
+    * @var String 通关奖励字符串(包含首次和再刷)  
+    */
+    public $reward_win;
+
+    /**
+    * @var String 通关失败奖励  
+    */
+    public $reward_fail;
+
+    /**
+    * @var String 5分钟  
+    */
+    public $first_ts1;
+
+    /**
+    * @var String 首次超过5分钟奖励宝箱id  
+    */
+    public $first_reward1;
+
+    /**
+    * @var String 10分钟  
+    */
+    public $first_ts2;
+
+    /**
+    * @var String 首次超过10分钟奖励宝箱id  
+    */
+    public $first_reward2;
+
+    /**
+    * @var String 通过  
+    */
+    public $first_ts3;
+
+    /**
+    * @var String 首次通关奖励宝箱id  
+    */
+    public $first_reward3;
+
+    /**
+    * @var Int32 复活次数限制: 1(次)/0(无)/999(无限) default(0) 
+    */
+    public $reliveLimit;
+
+    /**
+    * @var Int32 金币补给宝箱金币基础值 default(100) 
+    */
+    public $goldBujiBox;
+
+    /**
+    * @var Int32 是否开放地图: 0 否, 1 是(默认) default(1) 
+    */
+    public $isOpenMap;
+
+    /**
+    * @var Int32 地图编号:  default(1) 
+    */
+    public $mapId;
+
+    /**
+    * @var Int32 地图类型: 0 四周开放, 1 上下开放, 2 有限区域 default(0) 
+    */
+    public $mapType;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $icon;
+
+    /**
+    * @var Int32 巡逻每小时产生金币  
+    */
+    public $gold_xunluo;
+
+    /**
+    * @var Int32 巡逻每小时产生经验  
+    */
+    public $exp_xunluo;
+
+    /**
+    * @var String 产生精华道具时间(单位)分钟;例:开始分钟数,结束分钟数,两者间隔时间分钟数-道具ItemId,num;开始分钟数,结束分钟数,两者间隔时间分钟数-道具ItemId,num  
+    */
+    public $xunluo_item_ts;
+
+    /**
+    * @var String 产生装备的时间信息(单位)分钟  
+    */
+    public $xunluo_equip_ts;
+
+    /**
+    * @var String 产生图纸的时间信息(单位)分钟  
+    */
+    public $xunluo_tuzhi_ts;
+
+    /**
+    * @var String 快速巡逻奖励信息  
+    */
+    public $xueluo_quick_reward;
+
+    /**
+    * @var Int32 快速巡逻每日可领取次数限制  
+    */
+    public $xueluo_quick_num;
+
+}
+

+ 37 - 0
Gameserver/App/model/Const/sm_gate_challenge.php

@@ -0,0 +1,37 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-21 17:37:03
+////////////////////
+
+
+/**
+ * Static Model gate_challenge 挑战表
+ */
+class sm_gate_challenge
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 对应关卡Id  
+    */
+    public $gateId;
+
+    /**
+    * @var String 通关奖励  
+    */
+    public $reward;
+
+    /**
+    * @var String 每一章节的关卡逗号隔开  
+    */
+    public $gates;
+
+}
+

+ 87 - 0
Gameserver/App/model/Const/sm_hero.php

@@ -0,0 +1,87 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-09-07 12:03:02
+////////////////////
+
+
+/**
+ * Static Model hero 角色
+ */
+class sm_hero
+{
+
+    /**
+    * @var Int32 角色编号  
+    */
+    public $id;
+
+    /**
+    * @var String 名称  
+    */
+    public $name;
+
+    /**
+    * @var Int32 初始伤害(值)  
+    */
+    public $attack;
+
+    /**
+    * @var Single 初始速度(倍率)  
+    */
+    public $speed;
+
+    /**
+    * @var Int32 初始生命(值)  
+    */
+    public $hp;
+
+    /**
+    * @var String 备注  
+    */
+    public $desc;
+
+    /**
+    * @var Single 伤害增加(值)  
+    */
+    public $inc_demage;
+
+    /**
+    * @var Single 伤害减免(值)  
+    */
+    public $dec_demage;
+
+    /**
+    * @var Single 重击率  
+    */
+    public $bigHit_rate;
+
+    /**
+    * @var Single 重击倍率: 初始2  
+    */
+    public $bigHit_Multi;
+
+    /**
+    * @var Single 神圣一击率  
+    */
+    public $sentHit_rate;
+
+    /**
+    * @var Single 拾取半径(倍率)  
+    */
+    public $pickup_radius;
+
+    /**
+    * @var Single 生命上限  
+    */
+    public $hp_max;
+
+    /**
+    * @var Single 体积  
+    */
+    public $size;
+
+}
+

+ 52 - 0
Gameserver/App/model/Const/sm_item.php

@@ -0,0 +1,52 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-09-05 15:04:51
+////////////////////
+
+
+/**
+ * Static Model item 道具表
+ */
+class sm_item
+{
+
+    /**
+    * @var Int32 查询用的ID  
+    */
+    public $typeId;
+
+    /**
+    * @var String 物品名称 default(物品名称) 
+    */
+    public $name;
+
+    /**
+    * @var String 物品icon名  
+    */
+    public $icon;
+
+    /**
+    * @var String 物品描述 default(物品描述) 
+    */
+    public $desc;
+
+    /**
+    * @var Int32 物品归类 100:图纸; 701:关卡礼包里的图纸随机礼盒 default(0) 
+    */
+    public $itemType;
+
+    /**
+    * @var Int32 道具可叠加展示的数量上限, 0 代表不可叠加 default(0) 
+    */
+    public $pileNum;
+
+    /**
+    * @var Int32 品质/稀有度 1白2绿3蓝 default(1) 
+    */
+    public $quality;
+
+}
+

+ 148 - 0
Gameserver/App/model/Const/sm_plot.php

@@ -0,0 +1,148 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-09-01 15:39:00
+////////////////////
+
+
+/**
+ * Static Model plot 剧情表
+ */
+class sm_plot
+{
+
+    /**
+    * @var Int32 关卡id  
+    */
+    public $gateId;
+
+    /**
+    * @var Int32 阶段步骤  
+    */
+    public $stage;
+
+    /**
+    * @var Int32 序号  
+    */
+    public $order;
+
+    /**
+    * @var Boolean 是否关键帧 任务对话完成  default(0) 
+    */
+    public $isKeyOrder;
+
+    /**
+    * @var Int32 位置  
+    */
+    public $position;
+
+    /**
+    * @var Int32 位置(Center,         // 0 中间 1人时    Left,           // 1 两人 左边 刷新 高亮     Right,          //2  两人 右边 刷新 高亮    OnlyLeft,       //3  单人 左边 唯一    OnlyRight,      //4  单人 右边 唯一 Narrator,       //5  旁白 不显示 演讲者
+    *      Player,         //6 玩家 当前 显示的演讲者 全部灰质)  
+    */
+    public $leftright;
+
+    /**
+    * @var String 角色编号  
+    */
+    public $icon;
+
+    /**
+    * @var String 角色对话美术资源  
+    */
+    public $speakerRes;
+
+    /**
+    * @var String 角色播放动画  
+    */
+    public $speakerAnim;
+
+    /**
+    * @var String 背景  
+    */
+    public $backgroundRes;
+
+    /**
+    * @var String 背景动画  
+    */
+    public $backgroundAnim;
+
+    /**
+    * @var Int32 字幕震动等级 default(0) 
+    */
+    public $shake;
+
+    /**
+    * @var String 对白文本  
+    */
+    public $dialogue;
+
+    /**
+    * @var String 赠与道具ID,num   
+    */
+    public $presentItem;
+
+    /**
+    * @var String 赠与效果  
+    */
+    public $presentEffect;
+
+    /**
+    * @var String 持有道具ID,num  
+    */
+    public $havingItem;
+
+    /**
+    * @var String 回收道具ID,num  
+    */
+    public $recycleItem;
+
+    /**
+    * @var String 回收效果  
+    */
+    public $recycleEffect;
+
+    /**
+    * @var Single 打印字幕速度 default(0.1) 
+    */
+    public $printTime;
+
+    /**
+    * @var Int32 动画循环模式 0 循环 其他播放次数 default(1) 
+    */
+    public $AnimLoop;
+
+    /**
+    * @var String 选择orderIndex 列表,[选择描述语句:orderIndex,选择描述语句:orderIndex]  
+    */
+    public $selectOrder;
+
+    /**
+    * @var Int32 下一句对话orderIndex ,默认为0时 order + 1  
+    */
+    public $nextOrder;
+
+    /**
+    * @var Int32 0:选择所有选项,1:选择唯一选项 default(0) 
+    */
+    public $selectType;
+
+    /**
+    * @var String 开始转场效果 动画名称 WhiteToBlack,BlackToWhite,WhiteToLucency,BlackToLucency,LucencyToWhite,LucencyToBlack,Transmitimg_in,Transmitimg_out,Transmitimg_1_out  
+    */
+    public $changeEffectStart;
+
+    /**
+    * @var String 结束转场效果 动画名称 WhiteToBlack,BlackToWhite,WhiteToLucency,BlackToLucency,LucencyToWhite,LucencyToBlack,Transmitimg_in,Transmitimg_out,Transmitimg_1_out  
+    */
+    public $changeEffectEnd;
+
+    /**
+    * @var String 激活孵化器Id 孵化器类型需要是 Event触发  
+    */
+    public $enableSpawnerId;
+
+}
+

+ 37 - 0
Gameserver/App/model/Const/sm_service_schedule.php

@@ -0,0 +1,37 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-06-28 17:52:31
+////////////////////
+
+
+/**
+ * Static Model service_schedule 停服计划
+ */
+class sm_service_schedule
+{
+
+    /**
+    * @var Int32 固定为1 default(1) 
+    */
+    public $id;
+
+    /**
+    * @var Int32 开始时间戳 default(0) 
+    */
+    public $startts;
+
+    /**
+    * @var Int32 结束时间戳 default(0) 
+    */
+    public $endts;
+
+    /**
+    * @var String 原因 default(0) 
+    */
+    public $reason;
+
+}
+

+ 52 - 0
Gameserver/App/model/Const/sm_shop_cash.php

@@ -0,0 +1,52 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-08 15:14:14
+////////////////////
+
+
+/**
+ * Static Model shop_cash 钻石
+ */
+class sm_shop_cash
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $typeId;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $name;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $desc;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $price;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $reward;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $icon;
+
+}
+

+ 57 - 0
Gameserver/App/model/Const/sm_shop_daily.php

@@ -0,0 +1,57 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-08 14:24:32
+////////////////////
+
+
+/**
+ * Static Model shop_daily 每日商店
+ */
+class sm_shop_daily
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 物品id  
+    */
+    public $typeId;
+
+    /**
+    * @var Int32 物品的类型,1钻石;2图纸;3装备;4配件宝箱  
+    */
+    public $type;
+
+    /**
+    * @var Int32 花费钱的类型 1:免费;2金币;3钻石;  
+    */
+    public $costType;
+
+    /**
+    * @var Int32 花费钱的数量  
+    */
+    public $costNum;
+
+    /**
+    * @var Int32 折扣  
+    */
+    public $discount;
+
+    /**
+    * @var Int32 广告的次数 default(0) 
+    */
+    public $num;
+
+    /**
+    * @var String 奖励内容  
+    */
+    public $reward;
+
+}
+

+ 62 - 0
Gameserver/App/model/Const/sm_shop_gategift.php

@@ -0,0 +1,62 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-08 11:59:15
+////////////////////
+
+
+/**
+ * Static Model shop_gategift 章节礼包表
+ */
+class sm_shop_gategift
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 礼包id  
+    */
+    public $typeId;
+
+    /**
+    * @var String 礼包名称  
+    */
+    public $name;
+
+    /**
+    * @var String 奖励内容  
+    */
+    public $reward;
+
+    /**
+    * @var Int32 原价  
+    */
+    public $yuanjia;
+
+    /**
+    * @var Int32 现价  
+    */
+    public $curPrice;
+
+    /**
+    * @var Int32 限制购买次数  
+    */
+    public $limitNum;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $icon;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $desc;
+
+}
+

+ 57 - 0
Gameserver/App/model/Const/sm_shop_gold.php

@@ -0,0 +1,57 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-08 15:16:14
+////////////////////
+
+
+/**
+ * Static Model shop_gold 金币
+ */
+class sm_shop_gold
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $typeId;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $name;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $desc;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $price;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $reward;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $icon;
+
+    /**
+    * @var Int32 免费次数 default(0) 
+    */
+    public $freeNum;
+
+}
+

+ 97 - 0
Gameserver/App/model/Const/sm_shop_junbei.php

@@ -0,0 +1,97 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-14 17:30:30
+////////////////////
+
+
+/**
+ * Static Model shop_junbei 商城军备
+ */
+class sm_shop_junbei
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $typeId;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $name;
+
+    /**
+    * @var String 暂时弃用  
+    */
+    public $desc;
+
+    /**
+    * @var String 暂时弃用  
+    */
+    public $desc2;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $icon;
+
+    /**
+    * @var Int32 999  
+    */
+    public $limitNum;
+
+    /**
+    * @var String 补给箱和s级军备都可以用钥匙道具购买  
+    */
+    public $cost_item;
+
+    /**
+    * @var Int32 买一个花费钻石数量  
+    */
+    public $cost_one;
+
+    /**
+    * @var Int32 买10个花费钻石数量  
+    */
+    public $cost_ten;
+
+    /**
+    * @var String 装备获得的概率  
+    */
+    public $percent;
+
+    /**
+    * @var Int32 金币奖励  
+    */
+    public $gold;
+
+    /**
+    * @var String 必出:1 普通某品质;2S级某品质;3 特定typeId的装备;例:50次、杰出品阶、稀有度为2  ;10,4,2  
+    */
+    public $bichu_1;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $bichu_2;
+
+    /**
+    * @var String 开始时间  
+    */
+    public $startTs;
+
+    /**
+    * @var String 结束时间  
+    */
+    public $endTs;
+
+}
+

+ 72 - 0
Gameserver/App/model/Const/sm_shop_supply.php

@@ -0,0 +1,72 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-08-08 16:16:19
+////////////////////
+
+
+/**
+ * Static Model shop_supply 
+ */
+class sm_shop_supply
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $typeId;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $name;
+
+    /**
+    * @var Int32 s级军备:1;军用物资箱: 2  补给箱:3  
+    */
+    public $type;
+
+    /**
+    * @var String 暂时弃用  
+    */
+    public $desc;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $icon;
+
+    /**
+    * @var Int32 每日购买次数限制  
+    */
+    public $limitNum;
+
+    /**
+    * @var String 补给箱和s级军备都可以用钥匙道具购买  
+    */
+    public $cost;
+
+    /**
+    * @var String 不同品阶的装备随机的概率,2,1,0.7中2是品阶,1稀有度,0.7是概率  
+    */
+    public $percent;
+
+    /**
+    * @var Int32 获得金币 default(0) 
+    */
+    public $gold;
+
+    /**
+    * @var String 补给箱的X次必出精良 例子:次数,稀有度,必出的品阶  
+    */
+    public $bichu;
+
+}
+

+ 165 - 0
Gameserver/App/model/Const/sm_skillTypeArr.php

@@ -0,0 +1,165 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-09-07 09:34:51
+////////////////////
+
+
+/**
+ * Static Model skillTypeArr 技能表根据分类分组
+ */
+class sm_skillTypeArr
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 技能id default(0) 
+    */
+    public $skillId;
+
+    /**
+    * @var Int32 下一等级  
+    */
+    public $next;
+
+    /**
+    * @var Int32 同一种技能的类别区分(1~6星是同一个id) default(0) 
+    */
+    public $typeId;
+
+    /**
+    * @var Int32 星级(6代表终极武器) default(0) 
+    */
+    public $starLv;
+
+    /**
+    * @var String 技能名称  
+    */
+    public $name;
+
+    /**
+    * @var String 图标  
+    */
+    public $icon;
+
+    /**
+    * @var Int32 类型:主动还是被动1:主动;2:被动;3:金币鸡腿技能 default(0) 
+    */
+    public $skillType;
+
+    /**
+    * @var String 组合技能  
+    */
+    public $composeSkill;
+
+    /**
+    * @var String 描述信息  
+    */
+    public $desc;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $etc;
+
+    /**
+    * @var Single 伤害倍率  
+    */
+    public $atkRate;
+
+    /**
+    * @var Int32 子弹数量  
+    */
+    public $bullet_num;
+
+    /**
+    * @var Single 子弹体积(倍率)  
+    */
+    public $bullet_size;
+
+    /**
+    * @var Single 子弹飞行速度修正(倍率)  
+    */
+    public $bullet_speed;
+
+    /**
+    * @var Single 子弹转动速度修正(倍率) default(0) 
+    */
+    public $bullet_rotationSpeed;
+
+    /**
+    * @var Single 子弹发射间隔(秒) default(0.1) 
+    */
+    public $bullet_ejectInterval;
+
+    /**
+    * @var Single 技能持续(生存)时间(具体值则指秒数, 0 代表无限制) default(0.000) 
+    */
+    public $bullet_sustainTime;
+
+    /**
+    * @var String 子弹命中效果: 0(默认,无:错误值)1 命中消失 2(爆炸)3(穿透)4(击退(包含击退距离))5(边缘回弹)6(怪物+边缘回弹)7(自动锁定)  
+    */
+    public $bullet_hitType;
+
+    /**
+    * @var Single 子弹爆炸范围(倍率) default(1) 
+    */
+    public $bullet_explodeRange;
+
+    /**
+    * @var Single 击退距离% default(0) 
+    */
+    public $repulse_distance;
+
+    /**
+    * @var Int32 子弹伤害次数(0,无限,具体值则按数量执行)  
+    */
+    public $bullet_damageTimes;
+
+    /**
+    * @var Int32 0默认值
+    *  1自己
+    *  2敌方
+    *    
+    */
+    public $aim_type;
+
+    /**
+    * @var Single 攻击距离或范围(倍率值)  
+    */
+    public $aim_para;
+
+    /**
+    * @var Single 冷却时间(秒)  
+    */
+    public $coolTime;
+
+    /**
+    * @var Int32 buffid: 灼烧/流血、减速或麻痹等  
+    */
+    public $buffId;
+
+    /**
+    * @var String 词条编号,如有多条, 逗号分隔 default(0) 
+    */
+    public $predicates;
+
+    /**
+    * @var Int32 立即: 获得金币num  
+    */
+    public $immediate_gold;
+
+    /**
+    * @var Single 立即: 获得生命%  
+    */
+    public $immediate_hp;
+
+}
+

+ 165 - 0
Gameserver/App/model/Const/sm_skills.php

@@ -0,0 +1,165 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-09-07 09:34:51
+////////////////////
+
+
+/**
+ * Static Model skills 技能表
+ */
+class sm_skills
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 技能id default(0) 
+    */
+    public $skillId;
+
+    /**
+    * @var Int32 下一等级  
+    */
+    public $next;
+
+    /**
+    * @var Int32 同一种技能的类别区分(1~6星是同一个id) default(0) 
+    */
+    public $typeId;
+
+    /**
+    * @var Int32 星级(6代表终极武器) default(0) 
+    */
+    public $starLv;
+
+    /**
+    * @var String 技能名称  
+    */
+    public $name;
+
+    /**
+    * @var String 图标  
+    */
+    public $icon;
+
+    /**
+    * @var Int32 类型:主动还是被动1:主动;2:被动;3:金币鸡腿技能 default(0) 
+    */
+    public $skillType;
+
+    /**
+    * @var String 组合技能  
+    */
+    public $composeSkill;
+
+    /**
+    * @var String 描述信息  
+    */
+    public $desc;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $etc;
+
+    /**
+    * @var Single 伤害倍率  
+    */
+    public $atkRate;
+
+    /**
+    * @var Int32 子弹数量  
+    */
+    public $bullet_num;
+
+    /**
+    * @var Single 子弹体积(倍率)  
+    */
+    public $bullet_size;
+
+    /**
+    * @var Single 子弹飞行速度修正(倍率)  
+    */
+    public $bullet_speed;
+
+    /**
+    * @var Single 子弹转动速度修正(倍率) default(0) 
+    */
+    public $bullet_rotationSpeed;
+
+    /**
+    * @var Single 子弹发射间隔(秒) default(0.1) 
+    */
+    public $bullet_ejectInterval;
+
+    /**
+    * @var Single 技能持续(生存)时间(具体值则指秒数, 0 代表无限制) default(0.000) 
+    */
+    public $bullet_sustainTime;
+
+    /**
+    * @var String 子弹命中效果: 0(默认,无:错误值)1 命中消失 2(爆炸)3(穿透)4(击退(包含击退距离))5(边缘回弹)6(怪物+边缘回弹)7(自动锁定)  
+    */
+    public $bullet_hitType;
+
+    /**
+    * @var Single 子弹爆炸范围(倍率) default(1) 
+    */
+    public $bullet_explodeRange;
+
+    /**
+    * @var Single 击退距离% default(0) 
+    */
+    public $repulse_distance;
+
+    /**
+    * @var Int32 子弹伤害次数(0,无限,具体值则按数量执行)  
+    */
+    public $bullet_damageTimes;
+
+    /**
+    * @var Int32 0默认值
+    *  1自己
+    *  2敌方
+    *    
+    */
+    public $aim_type;
+
+    /**
+    * @var Single 攻击距离或范围(倍率值)  
+    */
+    public $aim_para;
+
+    /**
+    * @var Single 冷却时间(秒)  
+    */
+    public $coolTime;
+
+    /**
+    * @var Int32 buffid: 灼烧/流血、减速或麻痹等  
+    */
+    public $buffId;
+
+    /**
+    * @var String 词条编号,如有多条, 逗号分隔 default(0) 
+    */
+    public $predicates;
+
+    /**
+    * @var Int32 立即: 获得金币num  
+    */
+    public $immediate_gold;
+
+    /**
+    * @var Single 立即: 获得生命%  
+    */
+    public $immediate_hp;
+
+}
+

+ 62 - 0
Gameserver/App/model/Const/sm_sysmail.php

@@ -0,0 +1,62 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-06-28 17:36:03
+////////////////////
+
+
+/**
+ * Static Model sysmail 系统邮件
+ */
+class sm_sysmail
+{
+
+    /**
+    * @var Int32 邮件统一编号,只能递增,不能重复使用  
+    */
+    public $id;
+
+    /**
+    * @var String 标题  
+    */
+    public $title;
+
+    /**
+    * @var String 内容  
+    */
+    public $content;
+
+    /**
+    * @var Int32 【废弃】道具id  
+    */
+    public $itemid;
+
+    /**
+    * @var Int32 【废弃】道具数量  
+    */
+    public $num;
+
+    /**
+    * @var Int32 生效时间ts  
+    */
+    public $startts;
+
+    /**
+    * @var Int32 过期/失效时间ts default(1999999999) 
+    */
+    public $endts;
+
+    /**
+    * @var String 附件(奖励字符串:id,num;id,num;...)  
+    */
+    public $appendix;
+
+    /**
+    * @var String 附加数据  
+    */
+    public $tag;
+
+}
+

+ 52 - 0
Gameserver/App/model/Const/sm_token_PublicGift.php

@@ -0,0 +1,52 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-07-19 17:33:16
+////////////////////
+
+
+/**
+ * Static Model token_PublicGift 公共兑换码
+ */
+class sm_token_PublicGift
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var String 兑换码  
+    */
+    public $tokenCode;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $plat;
+
+    /**
+    * @var String 奖品  
+    */
+    public $reward;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $startTs;
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $expirets;
+
+    /**
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $desc;
+
+}
+

+ 47 - 0
Gameserver/App/model/Const/sm_zonelist.php

@@ -0,0 +1,47 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2023-07-26 16:04:51
+////////////////////
+
+
+/**
+ * Static Model zonelist 分区列表
+ */
+class sm_zonelist
+{
+
+    /**
+    * @var Int32 分区id  
+    */
+    public $zoneid;
+
+    /**
+    * @var String 分区名称  
+    */
+    public $name;
+
+    /**
+    * @var UInt64 是否新区: 0,否; 1,新区 default(b'0') 
+    */
+    public $isNew;
+
+    /**
+    * @var UInt64 是否推荐: 0,否; 1,推荐 default(b'1') 
+    */
+    public $isRecommended;
+
+    /**
+    * @var Int32 分区状态:1,new;2,maintain;3,hot default(1) 
+    */
+    public $status;
+
+    /**
+    * @var Int32 分区什么时候开放的时间戳,设置确定后不要再改 default(0) 
+    */
+    public $publicTs;
+
+}
+

+ 6 - 1
Gameserver/App/model/User/Info_UserBase.php

@@ -68,6 +68,11 @@ class Info_UserBase extends Object_ext {
      */
     public $tili = 120;
 
+    /**
+     * @var int 体力时间戳
+     */
+    public $tili_ts = 0;
+
     /**
      * 当前经验
      */
@@ -102,7 +107,7 @@ class Info_UserBase extends Object_ext {
         $this->gold = 1000000;
         $this->cash = 5000;
 //        $this->xp = GameConfig::primordial_data()->User_XP;
-//        $this->tili = GameConfig::globalsettings()->TiliMaxVal;                 # 最大体力
+        $this->tili = GameConfig::globalsettings()->tili_RecoverrMax;           # 恢复体力上限
 //        $this->maxXp = 0;
         $this->level = 1;
         $this->name = '';

部分文件因为文件数量过多而无法显示