Przeglądaj źródła

地图改版2022.3

王刚 3 lat temu
rodzic
commit
b650da0192

+ 1054 - 1016
Gameserver/Amfphp/configs/GameConfig.php

@@ -1,35 +1,41 @@
 <?php
 <?php
+
+namespace loyalsoft;
+
 ////////////////////
 ////////////////////
- // 由CodeGenerator创建。
- // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
- // author: gwang 
- // 日期: 2022-01-26 10:19:55
+// 由CodeGenerator创建。
+// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+// author: gwang 
+// 日期: 2022-03-11 17:33:08
 ////////////////////
 ////////////////////
-namespace loyalsoft;
+
 /**
 /**
  * 常量配置数据 
  * 常量配置数据 
  */
  */
 class GameConfig {
 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 分区是否使用独立的常量配置数据
      * @var bool 分区是否使用独立的常量配置数据
      */
      */
     private static $useZoneId = false;
     private static $useZoneId = false;
+
     /**
     /**
      * 追加分区列表字符串
      * 追加分区列表字符串
      * @return string
      * @return string
      */
      */
-    private static function zoneid()
-    {
+    private static function zoneid() {
         global $zoneid;
         global $zoneid;
         return self::$useZoneId ? "-zone$zoneid" : "";
         return self::$useZoneId ? "-zone$zoneid" : "";
     }
     }
+
     /**
     /**
      * 初始化指定变量, 非null的情况下直接跳出
      * 初始化指定变量, 非null的情况下直接跳出
      * 可能从文件中或者redis中获取原始数据对变量进行初始化
      * 可能从文件中或者redis中获取原始数据对变量进行初始化
@@ -37,8 +43,7 @@ class GameConfig {
      * @param string $modelName 用来初始化变量的资源名称
      * @param string $modelName 用来初始化变量的资源名称
      * @param bool $isHash 数据是否采用hash结构(否:普通字符串)
      * @param bool $isHash 数据是否采用hash结构(否:普通字符串)
      */
      */
-    static private function initValue(&$a, $modelName, $isHash = true)
-    {
+    static private function initValue(&$a, $modelName, $isHash = true) {
         $key = 'gamecfg-' . $modelName . self::zoneid();
         $key = 'gamecfg-' . $modelName . self::zoneid();
         if (is_null($a)) {
         if (is_null($a)) {
             if (self::isCG()) {
             if (self::isCG()) {
@@ -49,21 +54,21 @@ class GameConfig {
                         $value = JsonUtil::decode($value);                      # 取参数中的或者默认值
                         $value = JsonUtil::decode($value);                      # 取参数中的或者默认值
                     }
                     }
                     $a = arr2obj($para);
                     $a = arr2obj($para);
-                }			
+                }
             } else {
             } else {
                 $a = $isHash ? gMem()->hgetall($key) : gMem()->get($key);
                 $a = $isHash ? gMem()->hgetall($key) : gMem()->get($key);
             }
             }
         }
         }
         return $a;
         return $a;
     }
     }
-    /** 
+
+    /**
      * 获取hash结构的一个item
      * 获取hash结构的一个item
      * @param string $modelName 模块名称
      * @param string $modelName 模块名称
      * @param mixed/string/int $itemId 索引
      * @param mixed/string/int $itemId 索引
      * @return mixed
      * @return mixed
      */
      */
-    private static function get_hash_item($modelName, $itemId)
-    {
+    private static function get_hash_item($modelName, $itemId) {
         if (self::isCG()) {
         if (self::isCG()) {
             $data = self::$modelName();
             $data = self::$modelName();
             if (property_exists($data, $itemId)) {
             if (property_exists($data, $itemId)) {
@@ -75,1603 +80,1636 @@ class GameConfig {
         }
         }
         return null;
         return null;
     }
     }
+
 // </editor-fold>
 // </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 self::initValue($a, 'globalsettings');
     }
     }
+
     /**
     /**
-    * 英雄模块
-    * @return \hero
-    */
-    public static function hero()
-    { 
-        static $a = null; 
+     * 英雄模块
+     * @return \hero
+     */
+    public static function hero() {
+        static $a = null;
         return self::initValue($a, 'hero');
         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 self::get_hash_item('hero', $itemid);
     }
     }
+
     /**
     /**
-    * 英雄的升级(属性加成)
-    * @return \heroextra_level
-    */
-    public static function heroextra_level()
-    { 
-        static $a = null; 
+     * 英雄的升级(属性加成)
+     * @return \heroextra_level
+     */
+    public static function heroextra_level() {
+        static $a = null;
         return self::initValue($a, 'heroextra_level');
         return self::initValue($a, 'heroextra_level');
     }
     }
+
     /**
     /**
-    * @return \sm_heroextra_level heroextra_level item数据 
-    */
-    public static function heroextra_level_getItem($heroId, $quality)
-    { 
+     * @return \sm_heroextra_level heroextra_level item数据 
+     */
+    public static function heroextra_level_getItem($heroId, $quality) {
         return self::get_hash_item('heroextra_level', $heroId)->$quality;
         return self::get_hash_item('heroextra_level', $heroId)->$quality;
     }
     }
+
     /**
     /**
-    * 武器等级,品质,等级双索引
-    * @return \weapon_levelexp
-    */
-    public static function weapon_levelexp()
-    { 
-        static $a = null; 
+     * 武器等级,品质,等级双索引
+     * @return \weapon_levelexp
+     */
+    public static function weapon_levelexp() {
+        static $a = null;
         return self::initValue($a, 'weapon_levelexp');
         return self::initValue($a, 'weapon_levelexp');
     }
     }
+
     /**
     /**
-    * @return \sm_weapon_levelexp weapon_levelexp item数据 
-    */
-    public static function weapon_levelexp_getItem($type, $level)
-    { 
+     * @return \sm_weapon_levelexp weapon_levelexp item数据 
+     */
+    public static function weapon_levelexp_getItem($type, $level) {
         return self::get_hash_item('weapon_levelexp', $type)->$level;
         return self::get_hash_item('weapon_levelexp', $type)->$level;
     }
     }
+
     /**
     /**
-    * [废弃]
-    * @return \item
-    */
-    public static function item()
-    { 
-        static $a = null; 
+     * [废弃]
+     * @return \item
+     */
+    public static function item() {
+        static $a = null;
         return self::initValue($a, 'item');
         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 self::get_hash_item('item', $itemid);
     }
     }
+
     /**
     /**
-    * [废弃]
-    * @return \itemlevel
-    */
-    public static function itemlevel()
-    { 
-        static $a = null; 
+     * [废弃]
+     * @return \itemlevel
+     */
+    public static function itemlevel() {
+        static $a = null;
         return self::initValue($a, 'itemlevel');
         return self::initValue($a, 'itemlevel');
     }
     }
+
     /**
     /**
-    * @return \sm_itemlevel itemlevel item数据 
-    */
-    public static function itemlevel_getItem($itemid)
-    { 
+     * @return \sm_itemlevel itemlevel item数据 
+     */
+    public static function itemlevel_getItem($itemid) {
         return self::get_hash_item('itemlevel', $itemid);
         return self::get_hash_item('itemlevel', $itemid);
     }
     }
+
     /**
     /**
-    * 武器突破
-    * @return \weaponextra_level
-    */
-    public static function weaponextra_level()
-    { 
-        static $a = null; 
+     * 武器突破
+     * @return \weaponextra_level
+     */
+    public static function weaponextra_level() {
+        static $a = null;
         return self::initValue($a, 'weaponextra_level');
         return self::initValue($a, 'weaponextra_level');
     }
     }
+
     /**
     /**
-    * @return \sm_weaponextra_level weaponextra_level item数据 
-    */
-    public static function weaponextra_level_getItem($weaponId, $starLv)
-    { 
+     * @return \sm_weaponextra_level weaponextra_level item数据 
+     */
+    public static function weaponextra_level_getItem($weaponId, $starLv) {
         return self::get_hash_item('weaponextra_level', $weaponId)->$starLv;
         return self::get_hash_item('weaponextra_level', $weaponId)->$starLv;
     }
     }
+
     /**
     /**
-    * 英雄的升级——每级成长消耗经验需求表
-    * @return \hero_levelexp
-    */
-    public static function hero_levelexp()
-    { 
-        static $a = null; 
+     * 英雄的升级——每级成长消耗经验需求表
+     * @return \hero_levelexp
+     */
+    public static function hero_levelexp() {
+        static $a = null;
         return self::initValue($a, 'hero_levelexp');
         return self::initValue($a, 'hero_levelexp');
     }
     }
+
     /**
     /**
-    * @return \sm_hero_levelexp hero_levelexp item数据 
-    */
-    public static function hero_levelexp_getItem($itemid)
-    { 
+     * @return \sm_hero_levelexp hero_levelexp item数据 
+     */
+    public static function hero_levelexp_getItem($itemid) {
         return self::get_hash_item('hero_levelexp', $itemid);
         return self::get_hash_item('hero_levelexp', $itemid);
     }
     }
+
     /**
     /**
-    * 英雄的升阶(消耗金币+ 属性加成)
-    * @return \heroextra_dengjie
-    */
-    public static function heroextra_dengjie()
-    { 
-        static $a = null; 
+     * 英雄的升阶(消耗金币+ 属性加成)
+     * @return \heroextra_dengjie
+     */
+    public static function heroextra_dengjie() {
+        static $a = null;
         return self::initValue($a, 'heroextra_dengjie');
         return self::initValue($a, 'heroextra_dengjie');
     }
     }
+
     /**
     /**
-    * @return \sm_heroextra_dengjie heroextra_dengjie item数据 
-    */
-    public static function heroextra_dengjie_getItem($itemid)
-    { 
+     * @return \sm_heroextra_dengjie heroextra_dengjie item数据 
+     */
+    public static function heroextra_dengjie_getItem($itemid) {
         return self::get_hash_item('heroextra_dengjie', $itemid);
         return self::get_hash_item('heroextra_dengjie', $itemid);
     }
     }
+
     /**
     /**
-    * 关卡
-    * @return \gate
-    */
-    public static function gate()
-    { 
-        static $a = null; 
+     * 关卡
+     * @return \gate
+     */
+    public static function gate() {
+        static $a = null;
         return self::initValue($a, 'gate');
         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 self::get_hash_item('gate', $itemid);
     }
     }
+
     /**
     /**
-    * 关卡波茨数据
-    * @return \gatelevel
-    */
-    public static function gatelevel()
-    { 
-        static $a = null; 
+     * 关卡波茨数据
+     * @return \gatelevel
+     */
+    public static function gatelevel() {
+        static $a = null;
         return self::initValue($a, 'gatelevel');
         return self::initValue($a, 'gatelevel');
     }
     }
+
     /**
     /**
-    * @return \sm_gatelevel gatelevel item数据 
-    */
-    public static function gatelevel_getItem($itemid)
-    { 
+     * @return \sm_gatelevel gatelevel item数据 
+     */
+    public static function gatelevel_getItem($itemid) {
         return self::get_hash_item('gatelevel', $itemid);
         return self::get_hash_item('gatelevel', $itemid);
     }
     }
+
     /**
     /**
-    * 关卡—— 星级奖励
-    * @return \gate_starreward
-    */
-    public static function gate_starreward()
-    { 
-        static $a = null; 
+     * 关卡—— 星级奖励
+     * @return \gate_starreward
+     */
+    public static function gate_starreward() {
+        static $a = null;
         return self::initValue($a, 'gate_starreward');
         return self::initValue($a, 'gate_starreward');
     }
     }
+
     /**
     /**
-    * @return \sm_gate_starreward gate_starreward item数据 
-    */
-    public static function gate_starreward_getItem($chapterId, $hardLevel)
-    { 
+     * @return \sm_gate_starreward gate_starreward item数据 
+     */
+    public static function gate_starreward_getItem($chapterId, $hardLevel) {
         return self::get_hash_item('gate_starreward', "$chapterId-$hardLevel");
         return self::get_hash_item('gate_starreward', "$chapterId-$hardLevel");
     }
     }
+
     /**
     /**
-    * 任务
-    * @return \task
-    */
-    public static function task()
-    { 
-        static $a = null; 
+     * 任务
+     * @return \task
+     */
+    public static function task() {
+        static $a = null;
         return self::initValue($a, 'task');
         return self::initValue($a, 'task');
     }
     }
+
     /**
     /**
-    * @return \sm_task task item数据 
-    */
-    public static function task_getItem($itemid)
-    { 
+     * @return \sm_task task item数据 
+     */
+    public static function task_getItem($itemid) {
         return self::get_hash_item('task', $itemid);
         return self::get_hash_item('task', $itemid);
     }
     }
+
     /**
     /**
-    * 
-    * @return \playerlevel
-    */
-    public static function playerlevel()
-    { 
-        static $a = null; 
+     * 
+     * @return \playerlevel
+     */
+    public static function playerlevel() {
+        static $a = null;
         return self::initValue($a, 'playerlevel');
         return self::initValue($a, 'playerlevel');
     }
     }
+
     /**
     /**
-    * @return \sm_playerlevel playerlevel item数据 
-    */
-    public static function playerlevel_getItem($itemid)
-    { 
+     * @return \sm_playerlevel playerlevel item数据 
+     */
+    public static function playerlevel_getItem($itemid) {
         return self::get_hash_item('playerlevel', $itemid);
         return self::get_hash_item('playerlevel', $itemid);
     }
     }
+
     /**
     /**
-    * 言灵类道具
-    * @return \item_yanling
-    */
-    public static function item_yanling()
-    { 
-        static $a = null; 
+     * 言灵类道具
+     * @return \item_yanling
+     */
+    public static function item_yanling() {
+        static $a = null;
         return self::initValue($a, 'item_yanling');
         return self::initValue($a, 'item_yanling');
     }
     }
+
     /**
     /**
-    * @return \sm_item_yanling item_yanling item数据 
-    */
-    public static function item_yanling_getItem($itemid)
-    { 
+     * @return \sm_item_yanling item_yanling item数据 
+     */
+    public static function item_yanling_getItem($itemid) {
         return self::get_hash_item('item_yanling', $itemid);
         return self::get_hash_item('item_yanling', $itemid);
     }
     }
+
     /**
     /**
-    * 无尽塔关卡数据
-    * @return \endless_tower
-    */
-    public static function endless_tower()
-    { 
-        static $a = null; 
+     * 无尽塔关卡数据
+     * @return \endless_tower
+     */
+    public static function endless_tower() {
+        static $a = null;
         return self::initValue($a, 'endless_tower');
         return self::initValue($a, 'endless_tower');
     }
     }
+
     /**
     /**
-    * @return \sm_endless_tower endless_tower item数据 
-    */
-    public static function endless_tower_getItem($itemid)
-    { 
+     * @return \sm_endless_tower endless_tower item数据 
+     */
+    public static function endless_tower_getItem($itemid) {
         return self::get_hash_item('endless_tower', $itemid);
         return self::get_hash_item('endless_tower', $itemid);
     }
     }
+
     /**
     /**
-    * 
-    * @return \heroextra_level_tupo
-    */
-    public static function heroextra_level_tupo()
-    { 
-        static $a = null; 
+     * 
+     * @return \heroextra_level_tupo
+     */
+    public static function heroextra_level_tupo() {
+        static $a = null;
         return self::initValue($a, 'heroextra_level_tupo');
         return self::initValue($a, 'heroextra_level_tupo');
     }
     }
+
     /**
     /**
-    * @return \sm_heroextra_level_tupo heroextra_level_tupo item数据 
-    */
-    public static function heroextra_level_tupo_getItem($heroId, $starLv)
-    { 
+     * @return \sm_heroextra_level_tupo heroextra_level_tupo item数据 
+     */
+    public static function heroextra_level_tupo_getItem($heroId, $starLv) {
         return self::get_hash_item('heroextra_level_tupo', $heroId)->$starLv;
         return self::get_hash_item('heroextra_level_tupo', $heroId)->$starLv;
     }
     }
+
     /**
     /**
-    * 商城
-    * @return \shop
-    */
-    public static function shop()
-    { 
-        static $a = null; 
+     * 商城
+     * @return \shop
+     */
+    public static function shop() {
+        static $a = null;
         return self::initValue($a, 'shop');
         return self::initValue($a, 'shop');
     }
     }
+
     /**
     /**
-    * @return \sm_shop shop item数据 
-    */
-    public static function shop_getItem($itemid)
-    { 
+     * @return \sm_shop shop item数据 
+     */
+    public static function shop_getItem($itemid) {
         return self::get_hash_item('shop', $itemid);
         return self::get_hash_item('shop', $itemid);
     }
     }
+
     /**
     /**
-    * 停服计划
-    * @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 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 self::get_hash_item('service_schedule', $itemid);
     }
     }
+
     /**
     /**
-    * 任务步骤
-    * @return \task_step
-    */
-    public static function task_step()
-    { 
-        static $a = null; 
+     * 任务步骤
+     * @return \task_step
+     */
+    public static function task_step() {
+        static $a = null;
         return self::initValue($a, 'task_step');
         return self::initValue($a, 'task_step');
     }
     }
+
     /**
     /**
-    * @return \sm_task_step task_step item数据 
-    */
-    public static function task_step_getItem($itemid)
-    { 
+     * @return \sm_task_step task_step item数据 
+     */
+    public static function task_step_getItem($itemid) {
         return self::get_hash_item('task_step', $itemid);
         return self::get_hash_item('task_step', $itemid);
     }
     }
+
     /**
     /**
-    * 任务卡
-    * @return \item_taskcard
-    */
-    public static function item_taskcard()
-    { 
-        static $a = null; 
+     * 任务卡
+     * @return \item_taskcard
+     */
+    public static function item_taskcard() {
+        static $a = null;
         return self::initValue($a, 'item_taskcard');
         return self::initValue($a, 'item_taskcard');
     }
     }
+
     /**
     /**
-    * @return \sm_item_taskcard item_taskcard item数据 
-    */
-    public static function item_taskcard_getItem($itemid)
-    { 
+     * @return \sm_item_taskcard item_taskcard item数据 
+     */
+    public static function item_taskcard_getItem($itemid) {
         return self::get_hash_item('item_taskcard', $itemid);
         return self::get_hash_item('item_taskcard', $itemid);
     }
     }
+
     /**
     /**
-    * 
-    * @return \shenmiaoActiveIdTs
-    */
-    public static function shenmiaoActiveIdTs()
-    { 
-        static $a = null; 
+     * 
+     * @return \shenmiaoActiveIdTs
+     */
+    public static function shenmiaoActiveIdTs() {
+        static $a = null;
         return self::initValue($a, 'shenmiaoActiveIdTs');
         return self::initValue($a, 'shenmiaoActiveIdTs');
     }
     }
+
     /**
     /**
-    * @return \sm_shenmiaoActiveIdTs shenmiaoActiveIdTs item数据 
-    */
-    public static function shenmiaoActiveIdTs_getItem($itemid)
-    { 
+     * @return \sm_shenmiaoActiveIdTs shenmiaoActiveIdTs item数据 
+     */
+    public static function shenmiaoActiveIdTs_getItem($itemid) {
         return self::get_hash_item('shenmiaoActiveIdTs', $itemid);
         return self::get_hash_item('shenmiaoActiveIdTs', $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 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 self::get_hash_item('sysmail', $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 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 self::get_hash_item('plot', $gateId)->$stage;
     }
     }
+
     /**
     /**
-    * 言灵附加随机表
-    * @return \item_additional
-    */
-    public static function item_additional()
-    { 
-        static $a = null; 
+     * 言灵附加随机表
+     * @return \item_additional
+     */
+    public static function item_additional() {
+        static $a = null;
         return self::initValue($a, 'item_additional');
         return self::initValue($a, 'item_additional');
     }
     }
+
     /**
     /**
-    * @return \sm_item_additional item_additional item数据 
-    */
-    public static function item_additional_getItem($itemid)
-    { 
+     * @return \sm_item_additional item_additional item数据 
+     */
+    public static function item_additional_getItem($itemid) {
         return self::get_hash_item('item_additional', $itemid);
         return self::get_hash_item('item_additional', $itemid);
     }
     }
+
     /**
     /**
-    * 活跃点奖励表
-    * @return \task_active_reward
-    */
-    public static function task_active_reward()
-    { 
-        static $a = null; 
+     * 活跃点奖励表
+     * @return \task_active_reward
+     */
+    public static function task_active_reward() {
+        static $a = null;
         return self::initValue($a, 'task_active_reward');
         return self::initValue($a, 'task_active_reward');
     }
     }
+
     /**
     /**
-    * @return \sm_task_active_reward task_active_reward item数据 
-    */
-    public static function task_active_reward_getItem($itemid)
-    { 
+     * @return \sm_task_active_reward task_active_reward item数据 
+     */
+    public static function task_active_reward_getItem($itemid) {
         return self::get_hash_item('task_active_reward', $itemid);
         return self::get_hash_item('task_active_reward', $itemid);
     }
     }
+
     /**
     /**
-    * 竞技场 上榜单奖励
-    * @return \pvp_rankreward
-    */
-    public static function pvp_rankreward()
-    { 
-        static $a = null; 
+     * 竞技场 上榜单奖励
+     * @return \pvp_rankreward
+     */
+    public static function pvp_rankreward() {
+        static $a = null;
         return self::initValue($a, 'pvp_rankreward');
         return self::initValue($a, 'pvp_rankreward');
     }
     }
+
     /**
     /**
-    * @return \sm_pvp_rankreward pvp_rankreward item数据 
-    */
-    public static function pvp_rankreward_getItem($itemid)
-    { 
+     * @return \sm_pvp_rankreward pvp_rankreward item数据 
+     */
+    public static function pvp_rankreward_getItem($itemid) {
         return self::get_hash_item('pvp_rankreward', $itemid);
         return self::get_hash_item('pvp_rankreward', $itemid);
     }
     }
+
     /**
     /**
-    * 竞技 商店
-    * @return \pvp_shop
-    */
-    public static function pvp_shop()
-    { 
-        static $a = null; 
+     * 竞技 商店
+     * @return \pvp_shop
+     */
+    public static function pvp_shop() {
+        static $a = null;
         return self::initValue($a, 'pvp_shop');
         return self::initValue($a, 'pvp_shop');
     }
     }
+
     /**
     /**
-    * @return \sm_pvp_shop pvp_shop item数据 
-    */
-    public static function pvp_shop_getItem($itemid)
-    { 
+     * @return \sm_pvp_shop pvp_shop item数据 
+     */
+    public static function pvp_shop_getItem($itemid) {
         return self::get_hash_item('pvp_shop', $itemid);
         return self::get_hash_item('pvp_shop', $itemid);
     }
     }
+
     /**
     /**
-    * 配置的关卡相关的战斗数据
-    * @return \gate_combat
-    */
-    public static function gate_combat()
-    { 
-        static $a = null; 
+     * 配置的关卡相关的战斗数据
+     * @return \gate_combat
+     */
+    public static function gate_combat() {
+        static $a = null;
         return self::initValue($a, 'gate_combat');
         return self::initValue($a, 'gate_combat');
     }
     }
+
     /**
     /**
-    * @return \sm_gate_combat gate_combat item数据 
-    */
-    public static function gate_combat_getItem($itemid)
-    { 
+     * @return \sm_gate_combat gate_combat item数据 
+     */
+    public static function gate_combat_getItem($itemid) {
         return self::get_hash_item('gate_combat', $itemid);
         return self::get_hash_item('gate_combat', $itemid);
     }
     }
+
     /**
     /**
-    * 根据类型找id
-    * @return \shenmiaoTypeList
-    */
-    public static function shenmiaoTypeList()
-    { 
-        static $a = null; 
+     * 根据类型找id
+     * @return \shenmiaoTypeList
+     */
+    public static function shenmiaoTypeList() {
+        static $a = null;
         return self::initValue($a, 'shenmiaoTypeList');
         return self::initValue($a, 'shenmiaoTypeList');
     }
     }
+
     /**
     /**
-    * @return \sm_shenmiaoTypeList shenmiaoTypeList itemArray 
-    */
-    public static function shenmiaoTypeList_getItemArray($key)
-    { 
+     * @return \sm_shenmiaoTypeList shenmiaoTypeList itemArray 
+     */
+    public static function shenmiaoTypeList_getItemArray($key) {
         return self::get_hash_item('shenmiaoTypeList', $key);
         return self::get_hash_item('shenmiaoTypeList', $key);
     }
     }
+
     /**
     /**
-    * 每日任务
-    * @return \task_daily
-    */
-    public static function task_daily()
-    { 
-        static $a = null; 
+     * 每日任务
+     * @return \task_daily
+     */
+    public static function task_daily() {
+        static $a = null;
         return self::initValue($a, 'task_daily');
         return self::initValue($a, 'task_daily');
     }
     }
+
     /**
     /**
-    * @return \sm_task_daily task_daily item数据 
-    */
-    public static function task_daily_getItem($itemid)
-    { 
+     * @return \sm_task_daily task_daily item数据 
+     */
+    public static function task_daily_getItem($itemid) {
         return self::get_hash_item('task_daily', $itemid);
         return self::get_hash_item('task_daily', $itemid);
     }
     }
+
     /**
     /**
-    * 神庙定期活动时间
-    * @return \shenmiaoActiveTs
-    */
-    public static function shenmiaoActiveTs()
-    { 
-        static $a = null; 
+     * 神庙定期活动时间
+     * @return \shenmiaoActiveTs
+     */
+    public static function shenmiaoActiveTs() {
+        static $a = null;
         return self::initValue($a, 'shenmiaoActiveTs');
         return self::initValue($a, 'shenmiaoActiveTs');
     }
     }
+
     /**
     /**
-    * @return \sm_shenmiaoActiveTs shenmiaoActiveTs item数据 
-    */
-    public static function shenmiaoActiveTs_getItem($itemid)
-    { 
+     * @return \sm_shenmiaoActiveTs shenmiaoActiveTs item数据 
+     */
+    public static function shenmiaoActiveTs_getItem($itemid) {
         return self::get_hash_item('shenmiaoActiveTs', $itemid);
         return self::get_hash_item('shenmiaoActiveTs', $itemid);
     }
     }
+
     /**
     /**
-    * 英雄的升级——成长可消耗的道具表
-    * @return \hero_levelexp_costitem
-    */
-    public static function hero_levelexp_costitem()
-    { 
-        static $a = null; 
+     * 英雄的升级——成长可消耗的道具表
+     * @return \hero_levelexp_costitem
+     */
+    public static function hero_levelexp_costitem() {
+        static $a = null;
         return self::initValue($a, 'hero_levelexp_costitem');
         return self::initValue($a, 'hero_levelexp_costitem');
     }
     }
+
     /**
     /**
-    * @return \sm_hero_levelexp_costitem hero_levelexp_costitem item数据 
-    */
-    public static function hero_levelexp_costitem_getItem($itemid)
-    { 
+     * @return \sm_hero_levelexp_costitem hero_levelexp_costitem item数据 
+     */
+    public static function hero_levelexp_costitem_getItem($itemid) {
         return self::get_hash_item('hero_levelexp_costitem', $itemid);
         return self::get_hash_item('hero_levelexp_costitem', $itemid);
     }
     }
+
     /**
     /**
-    * 言灵等级
-    * @return \yanlingLeve
-    */
-    public static function yanlingLeve()
-    { 
-        static $a = null; 
+     * 言灵等级
+     * @return \yanlingLeve
+     */
+    public static function yanlingLeve() {
+        static $a = null;
         return self::initValue($a, 'yanlingLeve');
         return self::initValue($a, 'yanlingLeve');
     }
     }
+
     /**
     /**
-    * @return \sm_yanlingLeve yanlingLeve item数据 
-    */
-    public static function yanlingLeve_getItem($itemid)
-    { 
+     * @return \sm_yanlingLeve yanlingLeve item数据 
+     */
+    public static function yanlingLeve_getItem($itemid) {
         return self::get_hash_item('yanlingLeve', $itemid);
         return self::get_hash_item('yanlingLeve', $itemid);
     }
     }
+
     /**
     /**
-    * 神庙
-    * @return \shenmiao
-    */
-    public static function shenmiao()
-    { 
-        static $a = null; 
+     * 神庙
+     * @return \shenmiao
+     */
+    public static function shenmiao() {
+        static $a = null;
         return self::initValue($a, 'shenmiao');
         return self::initValue($a, 'shenmiao');
     }
     }
+
     /**
     /**
-    * @return \sm_shenmiao shenmiao item数据 
-    */
-    public static function shenmiao_getItem($itemid)
-    { 
+     * @return \sm_shenmiao shenmiao item数据 
+     */
+    public static function shenmiao_getItem($itemid) {
         return self::get_hash_item('shenmiao', $itemid);
         return self::get_hash_item('shenmiao', $itemid);
     }
     }
+
     /**
     /**
-    * 圣哲学院表
-    * @return \college
-    */
-    public static function college()
-    { 
-        static $a = null; 
+     * 圣哲学院表
+     * @return \college
+     */
+    public static function college() {
+        static $a = null;
         return self::initValue($a, 'college');
         return self::initValue($a, 'college');
     }
     }
+
     /**
     /**
-    * @return \sm_college college item数据 
-    */
-    public static function college_getItem($itemid)
-    { 
+     * @return \sm_college college item数据 
+     */
+    public static function college_getItem($itemid) {
         return self::get_hash_item('college', $itemid);
         return self::get_hash_item('college', $itemid);
     }
     }
+
     /**
     /**
-    * 引导触发
-    * @return \guide_trigger
-    */
-    public static function guide_trigger()
-    { 
-        static $a = null; 
+     * 引导触发
+     * @return \guide_trigger
+     */
+    public static function guide_trigger() {
+        static $a = null;
         return self::initValue($a, 'guide_trigger');
         return self::initValue($a, 'guide_trigger');
     }
     }
+
     /**
     /**
-    * @return \sm_guide_trigger guide_trigger item数据 
-    */
-    public static function guide_trigger_getItem($itemid)
-    { 
+     * @return \sm_guide_trigger guide_trigger item数据 
+     */
+    public static function guide_trigger_getItem($itemid) {
         return self::get_hash_item('guide_trigger', $itemid);
         return self::get_hash_item('guide_trigger', $itemid);
     }
     }
+
     /**
     /**
-    * 任务节点
-    * @return \task_node
-    */
-    public static function task_node()
-    { 
-        static $a = null; 
+     * 任务节点
+     * @return \task_node
+     */
+    public static function task_node() {
+        static $a = null;
         return self::initValue($a, 'task_node');
         return self::initValue($a, 'task_node');
     }
     }
+
     /**
     /**
-    * @return \sm_task_node task_node item数据 
-    */
-    public static function task_node_getItem($itemid)
-    { 
+     * @return \sm_task_node task_node item数据 
+     */
+    public static function task_node_getItem($itemid) {
         return self::get_hash_item('task_node', $itemid);
         return self::get_hash_item('task_node', $itemid);
     }
     }
+
     /**
     /**
-    * 圣哲学院课程表
-    * @return \course
-    */
-    public static function course()
-    { 
-        static $a = null; 
+     * 圣哲学院课程表
+     * @return \course
+     */
+    public static function course() {
+        static $a = null;
         return self::initValue($a, 'course');
         return self::initValue($a, 'course');
     }
     }
+
     /**
     /**
-    * @return \sm_course course item数据 
-    */
-    public static function course_getItem($itemid)
-    { 
+     * @return \sm_course course item数据 
+     */
+    public static function course_getItem($itemid) {
         return self::get_hash_item('course', $itemid);
         return self::get_hash_item('course', $itemid);
     }
     }
+
     /**
     /**
-    * 
-    * @return \gate_mainland
-    */
-    public static function gate_mainland()
-    { 
-        static $a = null; 
+     * 
+     * @return \gate_mainland
+     */
+    public static function gate_mainland() {
+        static $a = null;
         return self::initValue($a, 'gate_mainland');
         return self::initValue($a, 'gate_mainland');
     }
     }
+
     /**
     /**
-    * @return \sm_gate_mainland gate_mainland item数据 
-    */
-    public static function gate_mainland_getItem($itemid)
-    { 
+     * @return \sm_gate_mainland gate_mainland item数据 
+     */
+    public static function gate_mainland_getItem($itemid) {
         return self::get_hash_item('gate_mainland', $itemid);
         return self::get_hash_item('gate_mainland', $itemid);
     }
     }
+
     /**
     /**
-    * 动作事件表
-    * @return \eventAction
-    */
-    public static function eventAction()
-    { 
-        static $a = null; 
+     * 动作事件表
+     * @return \eventAction
+     */
+    public static function eventAction() {
+        static $a = null;
         return self::initValue($a, 'eventAction');
         return self::initValue($a, 'eventAction');
     }
     }
+
     /**
     /**
-    * @return \sm_eventAction eventAction item数据 
-    */
-    public static function eventAction_getItem($itemid)
-    { 
+     * @return \sm_eventAction eventAction item数据 
+     */
+    public static function eventAction_getItem($itemid) {
         return self::get_hash_item('eventAction', $itemid);
         return self::get_hash_item('eventAction', $itemid);
     }
     }
+
     /**
     /**
-    * 碎片
-    * @return \segment
-    */
-    public static function segment()
-    { 
-        static $a = null; 
+     * 碎片
+     * @return \segment
+     */
+    public static function segment() {
+        static $a = null;
         return self::initValue($a, 'segment');
         return self::initValue($a, 'segment');
     }
     }
+
     /**
     /**
-    * @return \sm_segment segment item数据 
-    */
-    public static function segment_getItem($itemid)
-    { 
+     * @return \sm_segment segment item数据 
+     */
+    public static function segment_getItem($itemid) {
         return self::get_hash_item('segment', $itemid);
         return self::get_hash_item('segment', $itemid);
     }
     }
+
     /**
     /**
-    * 关卡-区域表
-    * @return \gate_zone
-    */
-    public static function gate_zone()
-    { 
-        static $a = null; 
+     * 关卡-区域表
+     * @return \gate_zone
+     */
+    public static function gate_zone() {
+        static $a = null;
         return self::initValue($a, 'gate_zone');
         return self::initValue($a, 'gate_zone');
     }
     }
+
     /**
     /**
-    * @return \sm_gate_zone gate_zone item数据 
-    */
-    public static function gate_zone_getItem($itemid)
-    { 
+     * @return \sm_gate_zone gate_zone item数据 
+     */
+    public static function gate_zone_getItem($itemid) {
         return self::get_hash_item('gate_zone', $itemid);
         return self::get_hash_item('gate_zone', $itemid);
     }
     }
+
     /**
     /**
-    * 建筑表_2021.2.5
-    * @return \build
-    */
-    public static function build()
-    { 
-        static $a = null; 
+     * 建筑表_2021.2.5
+     * @return \build
+     */
+    public static function build() {
+        static $a = null;
         return self::initValue($a, 'build');
         return self::initValue($a, 'build');
     }
     }
+
     /**
     /**
-    * @return \sm_build build item数据 
-    */
-    public static function build_getItem($itemid)
-    { 
+     * @return \sm_build build item数据 
+     */
+    public static function build_getItem($itemid) {
         return self::get_hash_item('build', $itemid);
         return self::get_hash_item('build', $itemid);
     }
     }
+
     /**
     /**
-    * 神秘商城道具表-by goodstype
-    * @return \secretshop_goodsType
-    */
-    public static function secretshop_goodsType()
-    { 
-        static $a = null; 
+     * 神秘商城道具表-by goodstype
+     * @return \secretshop_goodsType
+     */
+    public static function secretshop_goodsType() {
+        static $a = null;
         return self::initValue($a, 'secretshop_goodsType');
         return self::initValue($a, 'secretshop_goodsType');
     }
     }
+
     /**
     /**
-    * @return \sm_secretshop_goodsType secretshop_goodsType item数据 
-    */
-    public static function secretshop_goodsType_getItem($itemid)
-    { 
+     * @return \sm_secretshop_goodsType secretshop_goodsType item数据 
+     */
+    public static function secretshop_goodsType_getItem($itemid) {
         return self::get_hash_item('secretshop_goodsType', $itemid);
         return self::get_hash_item('secretshop_goodsType', $itemid);
     }
     }
+
     /**
     /**
-    * 神秘商城刷新价格表
-    * @return \secretshop_refresh
-    */
-    public static function secretshop_refresh()
-    { 
-        static $a = null; 
+     * 神秘商城刷新价格表
+     * @return \secretshop_refresh
+     */
+    public static function secretshop_refresh() {
+        static $a = null;
         return self::initValue($a, 'secretshop_refresh');
         return self::initValue($a, 'secretshop_refresh');
     }
     }
+
     /**
     /**
-    * @return \sm_secretshop_refresh secretshop_refresh item数据 
-    */
-    public static function secretshop_refresh_getItem($itemid)
-    { 
+     * @return \sm_secretshop_refresh secretshop_refresh item数据 
+     */
+    public static function secretshop_refresh_getItem($itemid) {
         return self::get_hash_item('secretshop_refresh', $itemid);
         return self::get_hash_item('secretshop_refresh', $itemid);
     }
     }
+
     /**
     /**
-    * 神秘商城道具表-by typeId
-    * @return \secretshop_typeId
-    */
-    public static function secretshop_typeId()
-    { 
-        static $a = null; 
+     * 神秘商城道具表-by typeId
+     * @return \secretshop_typeId
+     */
+    public static function secretshop_typeId() {
+        static $a = null;
         return self::initValue($a, 'secretshop_typeId');
         return self::initValue($a, 'secretshop_typeId');
     }
     }
+
     /**
     /**
-    * @return \sm_secretshop_typeId secretshop_typeId item数据 
-    */
-    public static function secretshop_typeId_getItem($itemid)
-    { 
+     * @return \sm_secretshop_typeId secretshop_typeId item数据 
+     */
+    public static function secretshop_typeId_getItem($itemid) {
         return self::get_hash_item('secretshop_typeId', $itemid);
         return self::get_hash_item('secretshop_typeId', $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 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 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 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 self::get_hash_item('zonelist', $itemid);
     }
     }
+
     /**
     /**
-    * 兑换码礼包
-    * @return \tokenGift
-    */
-    public static function tokenGift()
-    { 
-        static $a = null; 
+     * 兑换码礼包
+     * @return \tokenGift
+     */
+    public static function tokenGift() {
+        static $a = null;
         return self::initValue($a, 'tokenGift');
         return self::initValue($a, 'tokenGift');
     }
     }
+
     /**
     /**
-    * @return \sm_tokenGift tokenGift item数据 
-    */
-    public static function tokenGift_getItem($itemid)
-    { 
+     * @return \sm_tokenGift tokenGift item数据 
+     */
+    public static function tokenGift_getItem($itemid) {
         return self::get_hash_item('tokenGift', $itemid);
         return self::get_hash_item('tokenGift', $itemid);
     }
     }
+
     /**
     /**
-    * 活动配置
-    * @return \activity
-    */
-    public static function activity()
-    { 
-        static $a = null; 
+     * 活动配置
+     * @return \activity
+     */
+    public static function activity() {
+        static $a = null;
         return self::initValue($a, 'activity');
         return self::initValue($a, 'activity');
     }
     }
+
     /**
     /**
-    * @return \sm_activity activity item数据 
-    */
-    public static function activity_getItem($itemid)
-    { 
+     * @return \sm_activity activity item数据 
+     */
+    public static function activity_getItem($itemid) {
         return self::get_hash_item('activity', $itemid);
         return self::get_hash_item('activity', $itemid);
     }
     }
+
     /**
     /**
-    * 任务卡商店
-    * @return \taskcard_shop
-    */
-    public static function taskcard_shop()
-    { 
-        static $a = null; 
+     * 任务卡商店
+     * @return \taskcard_shop
+     */
+    public static function taskcard_shop() {
+        static $a = null;
         return self::initValue($a, 'taskcard_shop');
         return self::initValue($a, 'taskcard_shop');
     }
     }
+
     /**
     /**
-    * @return \sm_taskcard_shop taskcard_shop item数据 
-    */
-    public static function taskcard_shop_getItem($itemid)
-    { 
+     * @return \sm_taskcard_shop taskcard_shop item数据 
+     */
+    public static function taskcard_shop_getItem($itemid) {
         return self::get_hash_item('taskcard_shop', $itemid);
         return self::get_hash_item('taskcard_shop', $itemid);
     }
     }
+
     /**
     /**
-    * 碎片_按品质索引
-    * @return \segment_byPinzhi
-    */
-    public static function segment_byPinzhi()
-    { 
-        static $a = null; 
+     * 碎片_按品质索引
+     * @return \segment_byPinzhi
+     */
+    public static function segment_byPinzhi() {
+        static $a = null;
         return self::initValue($a, 'segment_byPinzhi');
         return self::initValue($a, 'segment_byPinzhi');
     }
     }
+
     /**
     /**
-    * @return \sm_segment_byPinzhi segment_byPinzhi item数据 
-    */
-    public static function segment_byPinzhi_getItem($quailty, $itemType)
-    { 
+     * @return \sm_segment_byPinzhi segment_byPinzhi item数据 
+     */
+    public static function segment_byPinzhi_getItem($quailty, $itemType) {
         return self::get_hash_item('segment_byPinzhi', $quailty)->$itemType;
         return self::get_hash_item('segment_byPinzhi', $quailty)->$itemType;
     }
     }
+
     /**
     /**
-    * 
-    * @return \npc
-    */
-    public static function npc()
-    { 
-        static $a = null; 
+     * 
+     * @return \npc
+     */
+    public static function npc() {
+        static $a = null;
         return self::initValue($a, 'npc');
         return self::initValue($a, 'npc');
     }
     }
+
     /**
     /**
-    * @return \sm_npc npc item数据 
-    */
-    public static function npc_getItem($itemid)
-    { 
+     * @return \sm_npc npc item数据 
+     */
+    public static function npc_getItem($itemid) {
         return self::get_hash_item('npc', $itemid);
         return self::get_hash_item('npc', $itemid);
     }
     }
+
     /**
     /**
-    * 活动: 在线礼包
-    * @return \activity_onlinegift
-    */
-    public static function activity_onlinegift()
-    { 
-        static $a = null; 
+     * 活动: 在线礼包
+     * @return \activity_onlinegift
+     */
+    public static function activity_onlinegift() {
+        static $a = null;
         return self::initValue($a, 'activity_onlinegift');
         return self::initValue($a, 'activity_onlinegift');
     }
     }
+
     /**
     /**
-    * @return \sm_activity_onlinegift activity_onlinegift item数据 
-    */
-    public static function activity_onlinegift_getItem($itemid)
-    { 
+     * @return \sm_activity_onlinegift activity_onlinegift item数据 
+     */
+    public static function activity_onlinegift_getItem($itemid) {
         return self::get_hash_item('activity_onlinegift', $itemid);
         return self::get_hash_item('activity_onlinegift', $itemid);
     }
     }
+
     /**
     /**
-    * GM号的UID
-    * @return \GM_uids
-    */
-    public static function GM_uids()
-    { 
-        static $a = null; 
+     * GM号的UID
+     * @return \GM_uids
+     */
+    public static function GM_uids() {
+        static $a = null;
         return self::initValue($a, 'GM_uids');
         return self::initValue($a, 'GM_uids');
     }
     }
+
     /**
     /**
-    * 活动, 全服注册礼包
-    * @return \activity_reggift
-    */
-    public static function activity_reggift()
-    { 
-        static $a = null; 
+     * 活动, 全服注册礼包
+     * @return \activity_reggift
+     */
+    public static function activity_reggift() {
+        static $a = null;
         return self::initValue($a, 'activity_reggift');
         return self::initValue($a, 'activity_reggift');
     }
     }
+
     /**
     /**
-    * @return \sm_activity_reggift activity_reggift item数据 
-    */
-    public static function activity_reggift_getItem($itemid)
-    { 
+     * @return \sm_activity_reggift activity_reggift item数据 
+     */
+    public static function activity_reggift_getItem($itemid) {
         return self::get_hash_item('activity_reggift', $itemid);
         return self::get_hash_item('activity_reggift', $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 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 self::get_hash_item('errmsg', $itemid);
     }
     }
+
     /**
     /**
-    * 公会捐献卡牌奖励
-    * @return \guilddonatereward
-    */
-    public static function guilddonatereward()
-    { 
-        static $a = null; 
+     * 公会捐献卡牌奖励
+     * @return \guilddonatereward
+     */
+    public static function guilddonatereward() {
+        static $a = null;
         return self::initValue($a, 'guilddonatereward');
         return self::initValue($a, 'guilddonatereward');
     }
     }
+
     /**
     /**
-    * @return \sm_guilddonatereward guilddonatereward item数据 
-    */
-    public static function guilddonatereward_getItem($itemid)
-    { 
+     * @return \sm_guilddonatereward guilddonatereward item数据 
+     */
+    public static function guilddonatereward_getItem($itemid) {
         return self::get_hash_item('guilddonatereward', $itemid);
         return self::get_hash_item('guilddonatereward', $itemid);
     }
     }
+
     /**
     /**
-    * 公会等级相关数据
-    * @return \guildlevel
-    */
-    public static function guildlevel()
-    { 
-        static $a = null; 
+     * 公会等级相关数据
+     * @return \guildlevel
+     */
+    public static function guildlevel() {
+        static $a = null;
         return self::initValue($a, 'guildlevel');
         return self::initValue($a, 'guildlevel');
     }
     }
+
     /**
     /**
-    * @return \sm_guildlevel guildlevel item数据 
-    */
-    public static function guildlevel_getItem($itemid)
-    { 
+     * @return \sm_guildlevel guildlevel item数据 
+     */
+    public static function guildlevel_getItem($itemid) {
         return self::get_hash_item('guildlevel', $itemid);
         return self::get_hash_item('guildlevel', $itemid);
     }
     }
+
     /**
     /**
-    * 公会礼包
-    * @return \guildlibao
-    */
-    public static function guildlibao()
-    { 
-        static $a = null; 
+     * 公会礼包
+     * @return \guildlibao
+     */
+    public static function guildlibao() {
+        static $a = null;
         return self::initValue($a, 'guildlibao');
         return self::initValue($a, 'guildlibao');
     }
     }
+
     /**
     /**
-    * @return \sm_guildlibao guildlibao item数据 
-    */
-    public static function guildlibao_getItem($itemid)
-    { 
+     * @return \sm_guildlibao guildlibao item数据 
+     */
+    public static function guildlibao_getItem($itemid) {
         return self::get_hash_item('guildlibao', $itemid);
         return self::get_hash_item('guildlibao', $itemid);
     }
     }
+
     /**
     /**
-    * 玩家初始化数据
-    * @return \primordial_data
-    */
-    public static function primordial_data()
-    { 
-        static $a = null; 
+     * 玩家初始化数据
+     * @return \primordial_data
+     */
+    public static function primordial_data() {
+        static $a = null;
         return self::initValue($a, 'primordial_data');
         return self::initValue($a, 'primordial_data');
     }
     }
+
     /**
     /**
-    * 英雄技能升级的限定
-    * @return \heroextra_skill_lv_limit
-    */
-    public static function heroextra_skill_lv_limit()
-    { 
-        static $a = null; 
+     * 英雄技能升级的限定
+     * @return \heroextra_skill_lv_limit
+     */
+    public static function heroextra_skill_lv_limit() {
+        static $a = null;
         return self::initValue($a, 'heroextra_skill_lv_limit');
         return self::initValue($a, 'heroextra_skill_lv_limit');
     }
     }
+
     /**
     /**
-    * @return \sm_heroextra_skill_lv_limit heroextra_skill_lv_limit item数据 
-    */
-    public static function heroextra_skill_lv_limit_getItem($itemid)
-    { 
+     * @return \sm_heroextra_skill_lv_limit heroextra_skill_lv_limit item数据 
+     */
+    public static function heroextra_skill_lv_limit_getItem($itemid) {
         return self::get_hash_item('heroextra_skill_lv_limit', $itemid);
         return self::get_hash_item('heroextra_skill_lv_limit', $itemid);
     }
     }
+
     /**
     /**
-    * 武器类道具
-    * @return \item_weapon
-    */
-    public static function item_weapon()
-    { 
-        static $a = null; 
+     * 武器类道具
+     * @return \item_weapon
+     */
+    public static function item_weapon() {
+        static $a = null;
         return self::initValue($a, 'item_weapon');
         return self::initValue($a, 'item_weapon');
     }
     }
+
     /**
     /**
-    * @return \sm_item_weapon item_weapon item数据 
-    */
-    public static function item_weapon_getItem($itemid)
-    { 
+     * @return \sm_item_weapon item_weapon item数据 
+     */
+    public static function item_weapon_getItem($itemid) {
         return self::get_hash_item('item_weapon', $itemid);
         return self::get_hash_item('item_weapon', $itemid);
     }
     }
+
     /**
     /**
-    * 礼包类道具
-    * @return \item_package
-    */
-    public static function item_package()
-    { 
-        static $a = null; 
+     * 礼包类道具
+     * @return \item_package
+     */
+    public static function item_package() {
+        static $a = null;
         return self::initValue($a, 'item_package');
         return self::initValue($a, 'item_package');
     }
     }
+
     /**
     /**
-    * @return \sm_item_package item_package item数据 
-    */
-    public static function item_package_getItem($itemid)
-    { 
+     * @return \sm_item_package item_package item数据 
+     */
+    public static function item_package_getItem($itemid) {
         return self::get_hash_item('item_package', $itemid);
         return self::get_hash_item('item_package', $itemid);
     }
     }
+
     /**
     /**
-    * 强化类道具
-    * @return \item_stones
-    */
-    public static function item_stones()
-    { 
-        static $a = null; 
+     * 强化类道具
+     * @return \item_stones
+     */
+    public static function item_stones() {
+        static $a = null;
         return self::initValue($a, 'item_stones');
         return self::initValue($a, 'item_stones');
     }
     }
+
     /**
     /**
-    * @return \sm_item_stones item_stones item数据 
-    */
-    public static function item_stones_getItem($itemid)
-    { 
+     * @return \sm_item_stones item_stones item数据 
+     */
+    public static function item_stones_getItem($itemid) {
         return self::get_hash_item('item_stones', $itemid);
         return self::get_hash_item('item_stones', $itemid);
     }
     }
+
     /**
     /**
-    * 药水类道具
-    * @return \item_pills
-    */
-    public static function item_pills()
-    { 
-        static $a = null; 
+     * 药水类道具
+     * @return \item_pills
+     */
+    public static function item_pills() {
+        static $a = null;
         return self::initValue($a, 'item_pills');
         return self::initValue($a, 'item_pills');
     }
     }
+
     /**
     /**
-    * @return \sm_item_pills item_pills item数据 
-    */
-    public static function item_pills_getItem($itemid)
-    { 
+     * @return \sm_item_pills item_pills item数据 
+     */
+    public static function item_pills_getItem($itemid) {
         return self::get_hash_item('item_pills', $itemid);
         return self::get_hash_item('item_pills', $itemid);
     }
     }
+
     /**
     /**
-    * buff类道具
-    * @return \item_buffcard
-    */
-    public static function item_buffcard()
-    { 
-        static $a = null; 
+     * buff类道具
+     * @return \item_buffcard
+     */
+    public static function item_buffcard() {
+        static $a = null;
         return self::initValue($a, 'item_buffcard');
         return self::initValue($a, 'item_buffcard');
     }
     }
+
     /**
     /**
-    * @return \sm_item_buffcard item_buffcard item数据 
-    */
-    public static function item_buffcard_getItem($itemid)
-    { 
+     * @return \sm_item_buffcard item_buffcard item数据 
+     */
+    public static function item_buffcard_getItem($itemid) {
         return self::get_hash_item('item_buffcard', $itemid);
         return self::get_hash_item('item_buffcard', $itemid);
     }
     }
+
     /**
     /**
-    * 碎片类道具
-    * @return \item_segment
-    */
-    public static function item_segment()
-    { 
-        static $a = null; 
+     * 碎片类道具
+     * @return \item_segment
+     */
+    public static function item_segment() {
+        static $a = null;
         return self::initValue($a, 'item_segment');
         return self::initValue($a, 'item_segment');
     }
     }
+
     /**
     /**
-    * @return \sm_item_segment item_segment item数据 
-    */
-    public static function item_segment_getItem($itemid)
-    { 
+     * @return \sm_item_segment item_segment item数据 
+     */
+    public static function item_segment_getItem($itemid) {
         return self::get_hash_item('item_segment', $itemid);
         return self::get_hash_item('item_segment', $itemid);
     }
     }
+
     /**
     /**
-    * 道具通用字段表
-    * @return \item_base
-    */
-    public static function item_base()
-    { 
-        static $a = null; 
+     * 道具通用字段表
+     * @return \item_base
+     */
+    public static function item_base() {
+        static $a = null;
         return self::initValue($a, 'item_base');
         return self::initValue($a, 'item_base');
     }
     }
+
     /**
     /**
-    * @return \sm_item_base item_base item数据 
-    */
-    public static function item_base_getItem($itemid)
-    { 
+     * @return \sm_item_base item_base item数据 
+     */
+    public static function item_base_getItem($itemid) {
         return self::get_hash_item('item_base', $itemid);
         return self::get_hash_item('item_base', $itemid);
     }
     }
+
     /**
     /**
-    * 子技能表
-    * @return \subSkill
-    */
-    public static function subSkill()
-    { 
-        static $a = null; 
+     * 子技能表
+     * @return \subSkill
+     */
+    public static function subSkill() {
+        static $a = null;
         return self::initValue($a, 'subSkill');
         return self::initValue($a, 'subSkill');
     }
     }
+
     /**
     /**
-    * @return \sm_subSkill subSkill item数据 
-    */
-    public static function subSkill_getItem($itemid)
-    { 
+     * @return \sm_subSkill subSkill item数据 
+     */
+    public static function subSkill_getItem($itemid) {
         return self::get_hash_item('subSkill', $itemid);
         return self::get_hash_item('subSkill', $itemid);
     }
     }
+
     /**
     /**
-    * 宝箱类道具
-    * @return \item_box
-    */
-    public static function item_box()
-    { 
-        static $a = null; 
+     * 宝箱类道具
+     * @return \item_box
+     */
+    public static function item_box() {
+        static $a = null;
         return self::initValue($a, 'item_box');
         return self::initValue($a, 'item_box');
     }
     }
+
     /**
     /**
-    * @return \sm_item_box item_box item数据 
-    */
-    public static function item_box_getItem($itemid)
-    { 
+     * @return \sm_item_box item_box item数据 
+     */
+    public static function item_box_getItem($itemid) {
         return self::get_hash_item('item_box', $itemid);
         return self::get_hash_item('item_box', $itemid);
     }
     }
+
     /**
     /**
-    * 关卡-通关条件
-    * @return \gate_passCondition
-    */
-    public static function gate_passCondition()
-    { 
-        static $a = null; 
+     * 关卡-通关条件
+     * @return \gate_passCondition
+     */
+    public static function gate_passCondition() {
+        static $a = null;
         return self::initValue($a, 'gate_passCondition');
         return self::initValue($a, 'gate_passCondition');
     }
     }
+
     /**
     /**
-    * @return \sm_gate_passCondition gate_passCondition item数据 
-    */
-    public static function gate_passCondition_getItem($itemid)
-    { 
+     * @return \sm_gate_passCondition gate_passCondition item数据 
+     */
+    public static function gate_passCondition_getItem($itemid) {
         return self::get_hash_item('gate_passCondition', $itemid);
         return self::get_hash_item('gate_passCondition', $itemid);
     }
     }
+
     /**
     /**
-    * 元素相克关系表
-    * @return \attack_relation
-    */
-    public static function attack_relation()
-    { 
-        static $a = null; 
+     * 元素相克关系表
+     * @return \attack_relation
+     */
+    public static function attack_relation() {
+        static $a = null;
         return self::initValue($a, 'attack_relation');
         return self::initValue($a, 'attack_relation');
     }
     }
+
     /**
     /**
-    * @return \sm_attack_relation attack_relation item数据 
-    */
-    public static function attack_relation_getItem($attack1, $attack2)
-    { 
+     * @return \sm_attack_relation attack_relation item数据 
+     */
+    public static function attack_relation_getItem($attack1, $attack2) {
         return self::get_hash_item('attack_relation', "$attack1-$attack2");
         return self::get_hash_item('attack_relation', "$attack1-$attack2");
     }
     }
+
     /**
     /**
-    * 战斗力榜全服突破奖励
-    * @return \rankreward_fpower
-    */
-    public static function rankreward_fpower()
-    { 
-        static $a = null; 
+     * 战斗力榜全服突破奖励
+     * @return \rankreward_fpower
+     */
+    public static function rankreward_fpower() {
+        static $a = null;
         return self::initValue($a, 'rankreward_fpower');
         return self::initValue($a, 'rankreward_fpower');
     }
     }
+
     /**
     /**
-    * @return \sm_rankreward_fpower rankreward_fpower item数据 
-    */
-    public static function rankreward_fpower_getItem($itemid)
-    { 
+     * @return \sm_rankreward_fpower rankreward_fpower item数据 
+     */
+    public static function rankreward_fpower_getItem($itemid) {
         return self::get_hash_item('rankreward_fpower', $itemid);
         return self::get_hash_item('rankreward_fpower', $itemid);
     }
     }
+
     /**
     /**
-    * 合体技能
-    * @return \skill_cross
-    */
-    public static function skill_cross()
-    { 
-        static $a = null; 
+     * 合体技能
+     * @return \skill_cross
+     */
+    public static function skill_cross() {
+        static $a = null;
         return self::initValue($a, 'skill_cross');
         return self::initValue($a, 'skill_cross');
     }
     }
+
     /**
     /**
-    * @return \sm_skill_cross skill_cross item数据 
-    */
-    public static function skill_cross_getItem($itemid)
-    { 
+     * @return \sm_skill_cross skill_cross item数据 
+     */
+    public static function skill_cross_getItem($itemid) {
         return self::get_hash_item('skill_cross', $itemid);
         return self::get_hash_item('skill_cross', $itemid);
     }
     }
+
     /**
     /**
-    * 通关榜突破奖励
-    * @return \rankreward_passgate
-    */
-    public static function rankreward_passgate()
-    { 
-        static $a = null; 
+     * 通关榜突破奖励
+     * @return \rankreward_passgate
+     */
+    public static function rankreward_passgate() {
+        static $a = null;
         return self::initValue($a, 'rankreward_passgate');
         return self::initValue($a, 'rankreward_passgate');
     }
     }
+
     /**
     /**
-    * @return \sm_rankreward_passgate rankreward_passgate item数据 
-    */
-    public static function rankreward_passgate_getItem($itemid)
-    { 
+     * @return \sm_rankreward_passgate rankreward_passgate item数据 
+     */
+    public static function rankreward_passgate_getItem($itemid) {
         return self::get_hash_item('rankreward_passgate', $itemid);
         return self::get_hash_item('rankreward_passgate', $itemid);
     }
     }
+
     /**
     /**
-    * 言灵召唤书
-    * @return \item_yanlingbook
-    */
-    public static function item_yanlingbook()
-    { 
-        static $a = null; 
+     * 言灵召唤书
+     * @return \item_yanlingbook
+     */
+    public static function item_yanlingbook() {
+        static $a = null;
         return self::initValue($a, 'item_yanlingbook');
         return self::initValue($a, 'item_yanlingbook');
     }
     }
+
     /**
     /**
-    * @return \sm_item_yanlingbook item_yanlingbook item数据 
-    */
-    public static function item_yanlingbook_getItem($itemid)
-    { 
+     * @return \sm_item_yanlingbook item_yanlingbook item数据 
+     */
+    public static function item_yanlingbook_getItem($itemid) {
         return self::get_hash_item('item_yanlingbook', $itemid);
         return self::get_hash_item('item_yanlingbook', $itemid);
     }
     }
+
     /**
     /**
-    * 言灵进阶表
-    * @return \yanling_upgrade
-    */
-    public static function yanling_upgrade()
-    { 
-        static $a = null; 
+     * 言灵进阶表
+     * @return \yanling_upgrade
+     */
+    public static function yanling_upgrade() {
+        static $a = null;
         return self::initValue($a, 'yanling_upgrade');
         return self::initValue($a, 'yanling_upgrade');
     }
     }
+
     /**
     /**
-    * @return \sm_yanling_upgrade yanling_upgrade item数据 
-    */
-    public static function yanling_upgrade_getItem($typeId, $grade)
-    { 
+     * @return \sm_yanling_upgrade yanling_upgrade item数据 
+     */
+    public static function yanling_upgrade_getItem($typeId, $grade) {
         return self::get_hash_item('yanling_upgrade', $typeId)->$grade;
         return self::get_hash_item('yanling_upgrade', $typeId)->$grade;
     }
     }
+
     /**
     /**
-    * 功能引导模块
-    * @return \guide_module
-    */
-    public static function guide_module()
-    { 
-        static $a = null; 
+     * 功能引导模块
+     * @return \guide_module
+     */
+    public static function guide_module() {
+        static $a = null;
         return self::initValue($a, 'guide_module');
         return self::initValue($a, 'guide_module');
     }
     }
+
     /**
     /**
-    * @return \sm_guide_module guide_module item数据 
-    */
-    public static function guide_module_getItem($itemid)
-    { 
+     * @return \sm_guide_module guide_module item数据 
+     */
+    public static function guide_module_getItem($itemid) {
         return self::get_hash_item('guide_module', $itemid);
         return self::get_hash_item('guide_module', $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 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 self::get_hash_item('activity_day7', $itemid);
     }
     }
+
     /**
     /**
-    * 限购商城
-    * @return \shop_limit
-    */
-    public static function shop_limit()
-    { 
-        static $a = null; 
+     * 限购商城
+     * @return \shop_limit
+     */
+    public static function shop_limit() {
+        static $a = null;
         return self::initValue($a, 'shop_limit');
         return self::initValue($a, 'shop_limit');
     }
     }
+
     /**
     /**
-    * @return \sm_shop_limit shop_limit item数据 
-    */
-    public static function shop_limit_getItem($itemid)
-    { 
+     * @return \sm_shop_limit shop_limit item数据 
+     */
+    public static function shop_limit_getItem($itemid) {
         return self::get_hash_item('shop_limit', $itemid);
         return self::get_hash_item('shop_limit', $itemid);
     }
     }
+
     /**
     /**
-    * 月卡商城
-    * @return \shop_monthVIP
-    */
-    public static function shop_monthVIP()
-    { 
-        static $a = null; 
+     * 月卡商城
+     * @return \shop_monthVIP
+     */
+    public static function shop_monthVIP() {
+        static $a = null;
         return self::initValue($a, 'shop_monthVIP');
         return self::initValue($a, 'shop_monthVIP');
     }
     }
+
     /**
     /**
-    * @return \sm_shop_monthVIP shop_monthVIP item数据 
-    */
-    public static function shop_monthVIP_getItem($itemid)
-    { 
+     * @return \sm_shop_monthVIP shop_monthVIP item数据 
+     */
+    public static function shop_monthVIP_getItem($itemid) {
         return self::get_hash_item('shop_monthVIP', $itemid);
         return self::get_hash_item('shop_monthVIP', $itemid);
     }
     }
+
     /**
     /**
-    * 掉落数据表
-    * @return \drop
-    */
-    public static function drop()
-    { 
-        static $a = null; 
+     * 掉落数据表
+     * @return \drop
+     */
+    public static function drop() {
+        static $a = null;
         return self::initValue($a, 'drop');
         return self::initValue($a, 'drop');
     }
     }
+
     /**
     /**
-    * @return \sm_drop drop item数据 
-    */
-    public static function drop_getItem($itemid)
-    { 
+     * @return \sm_drop drop item数据 
+     */
+    public static function drop_getItem($itemid) {
         return self::get_hash_item('drop', $itemid);
         return self::get_hash_item('drop', $itemid);
     }
     }
+
     /**
     /**
-    * 
-    * @return \item_stones_type
-    */
-    public static function item_stones_type()
-    { 
-        static $a = null; 
+     * 
+     * @return \item_stones_type
+     */
+    public static function item_stones_type() {
+        static $a = null;
         return self::initValue($a, 'item_stones_type');
         return self::initValue($a, 'item_stones_type');
     }
     }
+
     /**
     /**
-    * @return \sm_item_stones_type item_stones_type itemArray 
-    */
-    public static function item_stones_type_getItemArray($key)
-    { 
+     * @return \sm_item_stones_type item_stones_type itemArray 
+     */
+    public static function item_stones_type_getItemArray($key) {
         return self::get_hash_item('item_stones_type', $key);
         return self::get_hash_item('item_stones_type', $key);
     }
     }
+
     /**
     /**
-    * 
-    * @return \yanlingLevel_type
-    */
-    public static function yanlingLevel_type()
-    { 
-        static $a = null; 
+     * 
+     * @return \yanlingLevel_type
+     */
+    public static function yanlingLevel_type() {
+        static $a = null;
         return self::initValue($a, 'yanlingLevel_type');
         return self::initValue($a, 'yanlingLevel_type');
     }
     }
+
     /**
     /**
-    * @return \sm_yanlingLevel_type yanlingLevel_type item数据 
-    */
-    public static function yanlingLevel_type_getItem($type, $level)
-    { 
+     * @return \sm_yanlingLevel_type yanlingLevel_type item数据 
+     */
+    public static function yanlingLevel_type_getItem($type, $level) {
         return self::get_hash_item('yanlingLevel_type', $type)->$level;
         return self::get_hash_item('yanlingLevel_type', $type)->$level;
     }
     }
+
     /**
     /**
-    * 言灵突破
-    * @return \yanlingextra_level
-    */
-    public static function yanlingextra_level()
-    { 
-        static $a = null; 
+     * 言灵突破
+     * @return \yanlingextra_level
+     */
+    public static function yanlingextra_level() {
+        static $a = null;
         return self::initValue($a, 'yanlingextra_level');
         return self::initValue($a, 'yanlingextra_level');
     }
     }
+
     /**
     /**
-    * @return \sm_yanlingextra_level yanlingextra_level item数据 
-    */
-    public static function yanlingextra_level_getItem($yanlingId, $starLv)
-    { 
+     * @return \sm_yanlingextra_level yanlingextra_level item数据 
+     */
+    public static function yanlingextra_level_getItem($yanlingId, $starLv) {
         return self::get_hash_item('yanlingextra_level', $yanlingId)->$starLv;
         return self::get_hash_item('yanlingextra_level', $yanlingId)->$starLv;
     }
     }
+
     /**
     /**
-    * 世界boss排名奖励
-    * @return \worldboss_rankreward
-    */
-    public static function worldboss_rankreward()
-    { 
-        static $a = null; 
+     * 世界boss排名奖励
+     * @return \worldboss_rankreward
+     */
+    public static function worldboss_rankreward() {
+        static $a = null;
         return self::initValue($a, 'worldboss_rankreward');
         return self::initValue($a, 'worldboss_rankreward');
     }
     }
+
     /**
     /**
-    * @return \sm_worldboss_rankreward worldboss_rankreward item数据 
-    */
-    public static function worldboss_rankreward_getItem($itemid)
-    { 
+     * @return \sm_worldboss_rankreward worldboss_rankreward item数据 
+     */
+    public static function worldboss_rankreward_getItem($itemid) {
         return self::get_hash_item('worldboss_rankreward', $itemid);
         return self::get_hash_item('worldboss_rankreward', $itemid);
     }
     }
+
     /**
     /**
-    * 世界boss排名奖励2
-    * @return \worldboss_rankreward2
-    */
-    public static function worldboss_rankreward2()
-    { 
-        static $a = null; 
+     * 世界boss排名奖励2
+     * @return \worldboss_rankreward2
+     */
+    public static function worldboss_rankreward2() {
+        static $a = null;
         return self::initValue($a, 'worldboss_rankreward2');
         return self::initValue($a, 'worldboss_rankreward2');
     }
     }
+
     /**
     /**
-    * @return \sm_worldboss_rankreward2 worldboss_rankreward2 item数据 
-    */
-    public static function worldboss_rankreward2_getItem($itemid)
-    { 
+     * @return \sm_worldboss_rankreward2 worldboss_rankreward2 item数据 
+     */
+    public static function worldboss_rankreward2_getItem($itemid) {
         return self::get_hash_item('worldboss_rankreward2', $itemid);
         return self::get_hash_item('worldboss_rankreward2', $itemid);
     }
     }
+
     /**
     /**
-    * 学院积分兑换道具表
-    * @return \score
-    */
-    public static function score()
-    { 
-        static $a = null; 
+     * 学院积分兑换道具表
+     * @return \score
+     */
+    public static function score() {
+        static $a = null;
         return self::initValue($a, 'score');
         return self::initValue($a, 'score');
     }
     }
+
     /**
     /**
-    * @return \sm_score score item数据 
-    */
-    public static function score_getItem($itemid)
-    { 
+     * @return \sm_score score item数据 
+     */
+    public static function score_getItem($itemid) {
         return self::get_hash_item('score', $itemid);
         return self::get_hash_item('score', $itemid);
     }
     }
+
     /**
     /**
-    * 宝石配方表
-    * @return \gem_formula
-    */
-    public static function gem_formula()
-    { 
-        static $a = null; 
+     * 宝石配方表
+     * @return \gem_formula
+     */
+    public static function gem_formula() {
+        static $a = null;
         return self::initValue($a, 'gem_formula');
         return self::initValue($a, 'gem_formula');
     }
     }
+
     /**
     /**
-    * @return \sm_gem_formula gem_formula item数据 
-    */
-    public static function gem_formula_getItem($itemid)
-    { 
+     * @return \sm_gem_formula gem_formula item数据 
+     */
+    public static function gem_formula_getItem($itemid) {
         return self::get_hash_item('gem_formula', $itemid);
         return self::get_hash_item('gem_formula', $itemid);
     }
     }
+
     /**
     /**
-    * 宝石合成研究等级表
-    * @return \gem_researchlevel
-    */
-    public static function gem_researchlevel()
-    { 
-        static $a = null; 
+     * 宝石合成研究等级表
+     * @return \gem_researchlevel
+     */
+    public static function gem_researchlevel() {
+        static $a = null;
         return self::initValue($a, 'gem_researchlevel');
         return self::initValue($a, 'gem_researchlevel');
     }
     }
+
     /**
     /**
-    * @return \sm_gem_researchlevel gem_researchlevel item数据 
-    */
-    public static function gem_researchlevel_getItem($itemid)
-    { 
+     * @return \sm_gem_researchlevel gem_researchlevel item数据 
+     */
+    public static function gem_researchlevel_getItem($itemid) {
         return self::get_hash_item('gem_researchlevel', $itemid);
         return self::get_hash_item('gem_researchlevel', $itemid);
     }
     }
+
     /**
     /**
-    * 任务根据类型区别
-    * @return \item_taskcard_type
-    */
-    public static function item_taskcard_type()
-    { 
-        static $a = null; 
+     * 任务根据类型区别
+     * @return \item_taskcard_type
+     */
+    public static function item_taskcard_type() {
+        static $a = null;
         return self::initValue($a, 'item_taskcard_type');
         return self::initValue($a, 'item_taskcard_type');
     }
     }
+
     /**
     /**
-    * @return \sm_item_taskcard_type item_taskcard_type itemArray 
-    */
-    public static function item_taskcard_type_getItemArray($key)
-    { 
+     * @return \sm_item_taskcard_type item_taskcard_type itemArray 
+     */
+    public static function item_taskcard_type_getItemArray($key) {
         return self::get_hash_item('item_taskcard_type', $key);
         return self::get_hash_item('item_taskcard_type', $key);
     }
     }
+
     /**
     /**
-    * 背包扩容次数及消耗
-    * @return \expandStoreNum
-    */
-    public static function expandStoreNum()
-    { 
-        static $a = null; 
+     * 背包扩容次数及消耗
+     * @return \expandStoreNum
+     */
+    public static function expandStoreNum() {
+        static $a = null;
         return self::initValue($a, 'expandStoreNum');
         return self::initValue($a, 'expandStoreNum');
     }
     }
+
     /**
     /**
-    * @return \sm_expandStoreNum expandStoreNum item数据 
-    */
-    public static function expandStoreNum_getItem($itemid)
-    { 
+     * @return \sm_expandStoreNum expandStoreNum item数据 
+     */
+    public static function expandStoreNum_getItem($itemid) {
         return self::get_hash_item('expandStoreNum', $itemid);
         return self::get_hash_item('expandStoreNum', $itemid);
     }
     }
+
     /**
     /**
-    * 宝石属性
-    * @return \gemProperty
-    */
-    public static function gemProperty()
-    { 
-        static $a = null; 
+     * 宝石属性
+     * @return \gemProperty
+     */
+    public static function gemProperty() {
+        static $a = null;
         return self::initValue($a, 'gemProperty');
         return self::initValue($a, 'gemProperty');
     }
     }
+
     /**
     /**
-    * @return \sm_gemProperty gemProperty item数据 
-    */
-    public static function gemProperty_getItem($itemid)
-    { 
+     * @return \sm_gemProperty gemProperty item数据 
+     */
+    public static function gemProperty_getItem($itemid) {
         return self::get_hash_item('gemProperty', $itemid);
         return self::get_hash_item('gemProperty', $itemid);
     }
     }
+
     /**
     /**
-    * 充值
-    * @return \recharge
-    */
-    public static function recharge()
-    { 
-        static $a = null; 
+     * 充值
+     * @return \recharge
+     */
+    public static function recharge() {
+        static $a = null;
         return self::initValue($a, 'recharge');
         return self::initValue($a, 'recharge');
     }
     }
+
     /**
     /**
-    * @return \sm_recharge recharge item数据 
-    */
-    public static function recharge_getItem($itemid)
-    { 
+     * @return \sm_recharge recharge item数据 
+     */
+    public static function recharge_getItem($itemid) {
         return self::get_hash_item('recharge', $itemid);
         return self::get_hash_item('recharge', $itemid);
     }
     }
+
     /**
     /**
-    * 特惠区别
-    * @return \shop_limit_type
-    */
-    public static function shop_limit_type()
-    { 
-        static $a = null; 
+     * 特惠区别
+     * @return \shop_limit_type
+     */
+    public static function shop_limit_type() {
+        static $a = null;
         return self::initValue($a, 'shop_limit_type');
         return self::initValue($a, 'shop_limit_type');
     }
     }
+
     /**
     /**
-    * @return \sm_shop_limit_type shop_limit_type itemArray 
-    */
-    public static function shop_limit_type_getItemArray($key)
-    { 
+     * @return \sm_shop_limit_type shop_limit_type itemArray 
+     */
+    public static function shop_limit_type_getItemArray($key) {
         return self::get_hash_item('shop_limit_type', $key);
         return self::get_hash_item('shop_limit_type', $key);
     }
     }
+
     /**
     /**
-    * 累计充值返利
-    * @return \rechargeRebate
-    */
-    public static function rechargeRebate()
-    { 
-        static $a = null; 
+     * 累计充值返利
+     * @return \rechargeRebate
+     */
+    public static function rechargeRebate() {
+        static $a = null;
         return self::initValue($a, 'rechargeRebate');
         return self::initValue($a, 'rechargeRebate');
     }
     }
+
     /**
     /**
-    * @return \sm_rechargeRebate rechargeRebate item数据 
-    */
-    public static function rechargeRebate_getItem($itemid)
-    { 
+     * @return \sm_rechargeRebate rechargeRebate item数据 
+     */
+    public static function rechargeRebate_getItem($itemid) {
         return self::get_hash_item('rechargeRebate', $itemid);
         return self::get_hash_item('rechargeRebate', $itemid);
     }
     }
+
     /**
     /**
-    * 限时
-    * @return \shop_limitTs
-    */
-    public static function shop_limitTs()
-    { 
-        static $a = null; 
+     * 限时
+     * @return \shop_limitTs
+     */
+    public static function shop_limitTs() {
+        static $a = null;
         return self::initValue($a, 'shop_limitTs');
         return self::initValue($a, 'shop_limitTs');
     }
     }
+
     /**
     /**
-    * @return \sm_shop_limitTs shop_limitTs item数据 
-    */
-    public static function shop_limitTs_getItem($itemid)
-    { 
+     * @return \sm_shop_limitTs shop_limitTs item数据 
+     */
+    public static function shop_limitTs_getItem($itemid) {
         return self::get_hash_item('shop_limitTs', $itemid);
         return self::get_hash_item('shop_limitTs', $itemid);
     }
     }
+
     /**
     /**
-    * 限时类型区别
-    * @return \shop_limitTs_Type
-    */
-    public static function shop_limitTs_Type()
-    { 
-        static $a = null; 
+     * 限时类型区别
+     * @return \shop_limitTs_Type
+     */
+    public static function shop_limitTs_Type() {
+        static $a = null;
         return self::initValue($a, 'shop_limitTs_Type');
         return self::initValue($a, 'shop_limitTs_Type');
     }
     }
+
     /**
     /**
-    * @return \sm_shop_limitTs_Type shop_limitTs_Type itemArray 
-    */
-    public static function shop_limitTs_Type_getItemArray($key)
-    { 
+     * @return \sm_shop_limitTs_Type shop_limitTs_Type itemArray 
+     */
+    public static function shop_limitTs_Type_getItemArray($key) {
         return self::get_hash_item('shop_limitTs_Type', $key);
         return self::get_hash_item('shop_limitTs_Type', $key);
     }
     }
+
+    /**
+     * 场景地图
+     * @return \map_scene
+     */
+    public static function map_scene() {
+        static $a = null;
+        return self::initValue($a, 'map_scene');
+    }
+
+    /**
+     * @return \sm_map_scene map_scene item数据 
+     */
+    public static function map_scene_getItem($itemid) {
+        return self::get_hash_item('map_scene', $itemid);
+    }
+
+    /**
+     * 场景出口对应关系
+     * @return \map_scene_relation
+     */
+    public static function map_scene_relation() {
+        static $a = null;
+        return self::initValue($a, 'map_scene_relation');
+    }
+
     /**
     /**
-    * 当前版本(时间戳)
-    * @return \ver
-    */
-    public static function ver()
-    { 
-        static $a = null; 
+     * @return \sm_map_scene_relation map_scene_relation item数据 
+     */
+    public static function map_scene_relation_getItem($mapId, $pointId) {
+        return self::get_hash_item('map_scene_relation', $mapId)->$pointId;
+    }
+
+    /**
+     * 当前版本(时间戳)
+     * @return \ver
+     */
+    public static function ver() {
+        static $a = null;
         return self::initValue($a, 'ver', false);
         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);
         return self::initValue($a, 'client', false);
     }
     }
-}
 
 
+}

+ 0 - 1677
Gameserver/Amfphp/model/Const/GameConfig.php

@@ -1,1677 +0,0 @@
-<?php
-////////////////////
- // 由CodeGenerator创建。
- // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
- // author: gwang 
- // 日期: 2022-03-03 11:18:47
-////////////////////
-
-/**
- * 常量配置数据 
- */
-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" : "";
-    }
-    /**
-     * 初始化指定变量, 非null的情况下直接跳出
-     * 可能从文件中或者redis中获取原始数据对变量进行初始化
-     * @param mixed $a 变量
-     * @param string $modelName 用来初始化变量的资源名称
-     * @param bool $isHash 数据是否采用hash结构(否:普通字符串)
-     */
-    static private function initValue(&$a, $modelName, $isHash = true)
-    {
-        $key = 'gamecfg-' . $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-' . $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 \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 \heroextra_level
-    */
-    public static function heroextra_level()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'heroextra_level');
-    }
-    /**
-    * @return \sm_heroextra_level heroextra_level item数据 
-    */
-    public static function heroextra_level_getItem($heroId, $quality)
-    { 
-        return self::get_hash_item('heroextra_level', $heroId)->$quality;
-    }
-    /**
-    * 武器等级,品质,等级双索引
-    * @return \weapon_levelexp
-    */
-    public static function weapon_levelexp()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'weapon_levelexp');
-    }
-    /**
-    * @return \sm_weapon_levelexp weapon_levelexp item数据 
-    */
-    public static function weapon_levelexp_getItem($type, $level)
-    { 
-        return self::get_hash_item('weapon_levelexp', $type)->$level;
-    }
-    /**
-    * [废弃]
-    * @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 \itemlevel
-    */
-    public static function itemlevel()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'itemlevel');
-    }
-    /**
-    * @return \sm_itemlevel itemlevel item数据 
-    */
-    public static function itemlevel_getItem($itemid)
-    { 
-        return self::get_hash_item('itemlevel', $itemid);
-    }
-    /**
-    * 武器突破
-    * @return \weaponextra_level
-    */
-    public static function weaponextra_level()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'weaponextra_level');
-    }
-    /**
-    * @return \sm_weaponextra_level weaponextra_level item数据 
-    */
-    public static function weaponextra_level_getItem($weaponId, $starLv)
-    { 
-        return self::get_hash_item('weaponextra_level', $weaponId)->$starLv;
-    }
-    /**
-    * 英雄的升级——每级成长消耗经验需求表
-    * @return \hero_levelexp
-    */
-    public static function hero_levelexp()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'hero_levelexp');
-    }
-    /**
-    * @return \sm_hero_levelexp hero_levelexp item数据 
-    */
-    public static function hero_levelexp_getItem($itemid)
-    { 
-        return self::get_hash_item('hero_levelexp', $itemid);
-    }
-    /**
-    * 英雄的升阶(消耗金币+ 属性加成)
-    * @return \heroextra_dengjie
-    */
-    public static function heroextra_dengjie()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'heroextra_dengjie');
-    }
-    /**
-    * @return \sm_heroextra_dengjie heroextra_dengjie item数据 
-    */
-    public static function heroextra_dengjie_getItem($itemid)
-    { 
-        return self::get_hash_item('heroextra_dengjie', $itemid);
-    }
-    /**
-    * 关卡
-    * @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 \gatelevel
-    */
-    public static function gatelevel()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'gatelevel');
-    }
-    /**
-    * @return \sm_gatelevel gatelevel item数据 
-    */
-    public static function gatelevel_getItem($itemid)
-    { 
-        return self::get_hash_item('gatelevel', $itemid);
-    }
-    /**
-    * 关卡—— 星级奖励
-    * @return \gate_starreward
-    */
-    public static function gate_starreward()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'gate_starreward');
-    }
-    /**
-    * @return \sm_gate_starreward gate_starreward item数据 
-    */
-    public static function gate_starreward_getItem($chapterId, $hardLevel)
-    { 
-        return self::get_hash_item('gate_starreward', "$chapterId-$hardLevel");
-    }
-    /**
-    * 任务
-    * @return \task
-    */
-    public static function task()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'task');
-    }
-    /**
-    * @return \sm_task task item数据 
-    */
-    public static function task_getItem($itemid)
-    { 
-        return self::get_hash_item('task', $itemid);
-    }
-    /**
-    * 
-    * @return \playerlevel
-    */
-    public static function playerlevel()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'playerlevel');
-    }
-    /**
-    * @return \sm_playerlevel playerlevel item数据 
-    */
-    public static function playerlevel_getItem($itemid)
-    { 
-        return self::get_hash_item('playerlevel', $itemid);
-    }
-    /**
-    * 言灵类道具
-    * @return \item_yanling
-    */
-    public static function item_yanling()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_yanling');
-    }
-    /**
-    * @return \sm_item_yanling item_yanling item数据 
-    */
-    public static function item_yanling_getItem($itemid)
-    { 
-        return self::get_hash_item('item_yanling', $itemid);
-    }
-    /**
-    * 无尽塔关卡数据
-    * @return \endless_tower
-    */
-    public static function endless_tower()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'endless_tower');
-    }
-    /**
-    * @return \sm_endless_tower endless_tower item数据 
-    */
-    public static function endless_tower_getItem($itemid)
-    { 
-        return self::get_hash_item('endless_tower', $itemid);
-    }
-    /**
-    * 
-    * @return \heroextra_level_tupo
-    */
-    public static function heroextra_level_tupo()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'heroextra_level_tupo');
-    }
-    /**
-    * @return \sm_heroextra_level_tupo heroextra_level_tupo item数据 
-    */
-    public static function heroextra_level_tupo_getItem($heroId, $starLv)
-    { 
-        return self::get_hash_item('heroextra_level_tupo', $heroId)->$starLv;
-    }
-    /**
-    * 商城
-    * @return \shop
-    */
-    public static function shop()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'shop');
-    }
-    /**
-    * @return \sm_shop shop item数据 
-    */
-    public static function shop_getItem($itemid)
-    { 
-        return self::get_hash_item('shop', $itemid);
-    }
-    /**
-    * 停服计划
-    * @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 \task_step
-    */
-    public static function task_step()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'task_step');
-    }
-    /**
-    * @return \sm_task_step task_step item数据 
-    */
-    public static function task_step_getItem($itemid)
-    { 
-        return self::get_hash_item('task_step', $itemid);
-    }
-    /**
-    * 任务卡
-    * @return \item_taskcard
-    */
-    public static function item_taskcard()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_taskcard');
-    }
-    /**
-    * @return \sm_item_taskcard item_taskcard item数据 
-    */
-    public static function item_taskcard_getItem($itemid)
-    { 
-        return self::get_hash_item('item_taskcard', $itemid);
-    }
-    /**
-    * 
-    * @return \shenmiaoActiveIdTs
-    */
-    public static function shenmiaoActiveIdTs()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'shenmiaoActiveIdTs');
-    }
-    /**
-    * @return \sm_shenmiaoActiveIdTs shenmiaoActiveIdTs item数据 
-    */
-    public static function shenmiaoActiveIdTs_getItem($itemid)
-    { 
-        return self::get_hash_item('shenmiaoActiveIdTs', $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 \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 \item_additional
-    */
-    public static function item_additional()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_additional');
-    }
-    /**
-    * @return \sm_item_additional item_additional item数据 
-    */
-    public static function item_additional_getItem($itemid)
-    { 
-        return self::get_hash_item('item_additional', $itemid);
-    }
-    /**
-    * 活跃点奖励表
-    * @return \task_active_reward
-    */
-    public static function task_active_reward()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'task_active_reward');
-    }
-    /**
-    * @return \sm_task_active_reward task_active_reward item数据 
-    */
-    public static function task_active_reward_getItem($itemid)
-    { 
-        return self::get_hash_item('task_active_reward', $itemid);
-    }
-    /**
-    * 竞技场 上榜单奖励
-    * @return \pvp_rankreward
-    */
-    public static function pvp_rankreward()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'pvp_rankreward');
-    }
-    /**
-    * @return \sm_pvp_rankreward pvp_rankreward item数据 
-    */
-    public static function pvp_rankreward_getItem($itemid)
-    { 
-        return self::get_hash_item('pvp_rankreward', $itemid);
-    }
-    /**
-    * 竞技 商店
-    * @return \pvp_shop
-    */
-    public static function pvp_shop()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'pvp_shop');
-    }
-    /**
-    * @return \sm_pvp_shop pvp_shop item数据 
-    */
-    public static function pvp_shop_getItem($itemid)
-    { 
-        return self::get_hash_item('pvp_shop', $itemid);
-    }
-    /**
-    * 配置的关卡相关的战斗数据
-    * @return \gate_combat
-    */
-    public static function gate_combat()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'gate_combat');
-    }
-    /**
-    * @return \sm_gate_combat gate_combat item数据 
-    */
-    public static function gate_combat_getItem($itemid)
-    { 
-        return self::get_hash_item('gate_combat', $itemid);
-    }
-    /**
-    * 根据类型找id
-    * @return \shenmiaoTypeList
-    */
-    public static function shenmiaoTypeList()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'shenmiaoTypeList');
-    }
-    /**
-    * @return \sm_shenmiaoTypeList shenmiaoTypeList itemArray 
-    */
-    public static function shenmiaoTypeList_getItemArray($key)
-    { 
-        return self::get_hash_item('shenmiaoTypeList', $key);
-    }
-    /**
-    * 每日任务
-    * @return \task_daily
-    */
-    public static function task_daily()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'task_daily');
-    }
-    /**
-    * @return \sm_task_daily task_daily item数据 
-    */
-    public static function task_daily_getItem($itemid)
-    { 
-        return self::get_hash_item('task_daily', $itemid);
-    }
-    /**
-    * 神庙定期活动时间
-    * @return \shenmiaoActiveTs
-    */
-    public static function shenmiaoActiveTs()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'shenmiaoActiveTs');
-    }
-    /**
-    * @return \sm_shenmiaoActiveTs shenmiaoActiveTs item数据 
-    */
-    public static function shenmiaoActiveTs_getItem($itemid)
-    { 
-        return self::get_hash_item('shenmiaoActiveTs', $itemid);
-    }
-    /**
-    * 英雄的升级——成长可消耗的道具表
-    * @return \hero_levelexp_costitem
-    */
-    public static function hero_levelexp_costitem()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'hero_levelexp_costitem');
-    }
-    /**
-    * @return \sm_hero_levelexp_costitem hero_levelexp_costitem item数据 
-    */
-    public static function hero_levelexp_costitem_getItem($itemid)
-    { 
-        return self::get_hash_item('hero_levelexp_costitem', $itemid);
-    }
-    /**
-    * 言灵等级
-    * @return \yanlingLeve
-    */
-    public static function yanlingLeve()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'yanlingLeve');
-    }
-    /**
-    * @return \sm_yanlingLeve yanlingLeve item数据 
-    */
-    public static function yanlingLeve_getItem($itemid)
-    { 
-        return self::get_hash_item('yanlingLeve', $itemid);
-    }
-    /**
-    * 神庙
-    * @return \shenmiao
-    */
-    public static function shenmiao()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'shenmiao');
-    }
-    /**
-    * @return \sm_shenmiao shenmiao item数据 
-    */
-    public static function shenmiao_getItem($itemid)
-    { 
-        return self::get_hash_item('shenmiao', $itemid);
-    }
-    /**
-    * 圣哲学院表
-    * @return \college
-    */
-    public static function college()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'college');
-    }
-    /**
-    * @return \sm_college college item数据 
-    */
-    public static function college_getItem($itemid)
-    { 
-        return self::get_hash_item('college', $itemid);
-    }
-    /**
-    * 引导触发
-    * @return \guide_trigger
-    */
-    public static function guide_trigger()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'guide_trigger');
-    }
-    /**
-    * @return \sm_guide_trigger guide_trigger item数据 
-    */
-    public static function guide_trigger_getItem($itemid)
-    { 
-        return self::get_hash_item('guide_trigger', $itemid);
-    }
-    /**
-    * 任务节点
-    * @return \task_node
-    */
-    public static function task_node()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'task_node');
-    }
-    /**
-    * @return \sm_task_node task_node item数据 
-    */
-    public static function task_node_getItem($itemid)
-    { 
-        return self::get_hash_item('task_node', $itemid);
-    }
-    /**
-    * 圣哲学院课程表
-    * @return \course
-    */
-    public static function course()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'course');
-    }
-    /**
-    * @return \sm_course course item数据 
-    */
-    public static function course_getItem($itemid)
-    { 
-        return self::get_hash_item('course', $itemid);
-    }
-    /**
-    * 
-    * @return \gate_mainland
-    */
-    public static function gate_mainland()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'gate_mainland');
-    }
-    /**
-    * @return \sm_gate_mainland gate_mainland item数据 
-    */
-    public static function gate_mainland_getItem($itemid)
-    { 
-        return self::get_hash_item('gate_mainland', $itemid);
-    }
-    /**
-    * 动作事件表
-    * @return \eventAction
-    */
-    public static function eventAction()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'eventAction');
-    }
-    /**
-    * @return \sm_eventAction eventAction item数据 
-    */
-    public static function eventAction_getItem($itemid)
-    { 
-        return self::get_hash_item('eventAction', $itemid);
-    }
-    /**
-    * 碎片
-    * @return \segment
-    */
-    public static function segment()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'segment');
-    }
-    /**
-    * @return \sm_segment segment item数据 
-    */
-    public static function segment_getItem($itemid)
-    { 
-        return self::get_hash_item('segment', $itemid);
-    }
-    /**
-    * 关卡-区域表
-    * @return \gate_zone
-    */
-    public static function gate_zone()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'gate_zone');
-    }
-    /**
-    * @return \sm_gate_zone gate_zone item数据 
-    */
-    public static function gate_zone_getItem($itemid)
-    { 
-        return self::get_hash_item('gate_zone', $itemid);
-    }
-    /**
-    * 建筑表_2021.2.5
-    * @return \build
-    */
-    public static function build()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'build');
-    }
-    /**
-    * @return \sm_build build item数据 
-    */
-    public static function build_getItem($itemid)
-    { 
-        return self::get_hash_item('build', $itemid);
-    }
-    /**
-    * 神秘商城道具表-by goodstype
-    * @return \secretshop_goodsType
-    */
-    public static function secretshop_goodsType()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'secretshop_goodsType');
-    }
-    /**
-    * @return \sm_secretshop_goodsType secretshop_goodsType item数据 
-    */
-    public static function secretshop_goodsType_getItem($itemid)
-    { 
-        return self::get_hash_item('secretshop_goodsType', $itemid);
-    }
-    /**
-    * 神秘商城刷新价格表
-    * @return \secretshop_refresh
-    */
-    public static function secretshop_refresh()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'secretshop_refresh');
-    }
-    /**
-    * @return \sm_secretshop_refresh secretshop_refresh item数据 
-    */
-    public static function secretshop_refresh_getItem($itemid)
-    { 
-        return self::get_hash_item('secretshop_refresh', $itemid);
-    }
-    /**
-    * 神秘商城道具表-by typeId
-    * @return \secretshop_typeId
-    */
-    public static function secretshop_typeId()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'secretshop_typeId');
-    }
-    /**
-    * @return \sm_secretshop_typeId secretshop_typeId item数据 
-    */
-    public static function secretshop_typeId_getItem($itemid)
-    { 
-        return self::get_hash_item('secretshop_typeId', $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 \tokenGift
-    */
-    public static function tokenGift()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'tokenGift');
-    }
-    /**
-    * @return \sm_tokenGift tokenGift item数据 
-    */
-    public static function tokenGift_getItem($itemid)
-    { 
-        return self::get_hash_item('tokenGift', $itemid);
-    }
-    /**
-    * 活动配置
-    * @return \activity
-    */
-    public static function activity()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'activity');
-    }
-    /**
-    * @return \sm_activity activity item数据 
-    */
-    public static function activity_getItem($itemid)
-    { 
-        return self::get_hash_item('activity', $itemid);
-    }
-    /**
-    * 任务卡商店
-    * @return \taskcard_shop
-    */
-    public static function taskcard_shop()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'taskcard_shop');
-    }
-    /**
-    * @return \sm_taskcard_shop taskcard_shop item数据 
-    */
-    public static function taskcard_shop_getItem($itemid)
-    { 
-        return self::get_hash_item('taskcard_shop', $itemid);
-    }
-    /**
-    * 碎片_按品质索引
-    * @return \segment_byPinzhi
-    */
-    public static function segment_byPinzhi()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'segment_byPinzhi');
-    }
-    /**
-    * @return \sm_segment_byPinzhi segment_byPinzhi item数据 
-    */
-    public static function segment_byPinzhi_getItem($quailty, $itemType)
-    { 
-        return self::get_hash_item('segment_byPinzhi', $quailty)->$itemType;
-    }
-    /**
-    * 
-    * @return \npc
-    */
-    public static function npc()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'npc');
-    }
-    /**
-    * @return \sm_npc npc item数据 
-    */
-    public static function npc_getItem($itemid)
-    { 
-        return self::get_hash_item('npc', $itemid);
-    }
-    /**
-    * 活动: 在线礼包
-    * @return \activity_onlinegift
-    */
-    public static function activity_onlinegift()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'activity_onlinegift');
-    }
-    /**
-    * @return \sm_activity_onlinegift activity_onlinegift item数据 
-    */
-    public static function activity_onlinegift_getItem($itemid)
-    { 
-        return self::get_hash_item('activity_onlinegift', $itemid);
-    }
-    /**
-    * GM号的UID
-    * @return \GM_uids
-    */
-    public static function GM_uids()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'GM_uids');
-    }
-    /**
-    * 活动, 全服注册礼包
-    * @return \activity_reggift
-    */
-    public static function activity_reggift()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'activity_reggift');
-    }
-    /**
-    * @return \sm_activity_reggift activity_reggift item数据 
-    */
-    public static function activity_reggift_getItem($itemid)
-    { 
-        return self::get_hash_item('activity_reggift', $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 \guilddonatereward
-    */
-    public static function guilddonatereward()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'guilddonatereward');
-    }
-    /**
-    * @return \sm_guilddonatereward guilddonatereward item数据 
-    */
-    public static function guilddonatereward_getItem($itemid)
-    { 
-        return self::get_hash_item('guilddonatereward', $itemid);
-    }
-    /**
-    * 公会等级相关数据
-    * @return \guildlevel
-    */
-    public static function guildlevel()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'guildlevel');
-    }
-    /**
-    * @return \sm_guildlevel guildlevel item数据 
-    */
-    public static function guildlevel_getItem($itemid)
-    { 
-        return self::get_hash_item('guildlevel', $itemid);
-    }
-    /**
-    * 公会礼包
-    * @return \guildlibao
-    */
-    public static function guildlibao()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'guildlibao');
-    }
-    /**
-    * @return \sm_guildlibao guildlibao item数据 
-    */
-    public static function guildlibao_getItem($itemid)
-    { 
-        return self::get_hash_item('guildlibao', $itemid);
-    }
-    /**
-    * 玩家初始化数据
-    * @return \primordial_data
-    */
-    public static function primordial_data()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'primordial_data');
-    }
-    /**
-    * 英雄技能升级的限定
-    * @return \heroextra_skill_lv_limit
-    */
-    public static function heroextra_skill_lv_limit()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'heroextra_skill_lv_limit');
-    }
-    /**
-    * @return \sm_heroextra_skill_lv_limit heroextra_skill_lv_limit item数据 
-    */
-    public static function heroextra_skill_lv_limit_getItem($itemid)
-    { 
-        return self::get_hash_item('heroextra_skill_lv_limit', $itemid);
-    }
-    /**
-    * 武器类道具
-    * @return \item_weapon
-    */
-    public static function item_weapon()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_weapon');
-    }
-    /**
-    * @return \sm_item_weapon item_weapon item数据 
-    */
-    public static function item_weapon_getItem($itemid)
-    { 
-        return self::get_hash_item('item_weapon', $itemid);
-    }
-    /**
-    * 礼包类道具
-    * @return \item_package
-    */
-    public static function item_package()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_package');
-    }
-    /**
-    * @return \sm_item_package item_package item数据 
-    */
-    public static function item_package_getItem($itemid)
-    { 
-        return self::get_hash_item('item_package', $itemid);
-    }
-    /**
-    * 强化类道具
-    * @return \item_stones
-    */
-    public static function item_stones()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_stones');
-    }
-    /**
-    * @return \sm_item_stones item_stones item数据 
-    */
-    public static function item_stones_getItem($itemid)
-    { 
-        return self::get_hash_item('item_stones', $itemid);
-    }
-    /**
-    * 药水类道具
-    * @return \item_pills
-    */
-    public static function item_pills()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_pills');
-    }
-    /**
-    * @return \sm_item_pills item_pills item数据 
-    */
-    public static function item_pills_getItem($itemid)
-    { 
-        return self::get_hash_item('item_pills', $itemid);
-    }
-    /**
-    * buff类道具
-    * @return \item_buffcard
-    */
-    public static function item_buffcard()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_buffcard');
-    }
-    /**
-    * @return \sm_item_buffcard item_buffcard item数据 
-    */
-    public static function item_buffcard_getItem($itemid)
-    { 
-        return self::get_hash_item('item_buffcard', $itemid);
-    }
-    /**
-    * 碎片类道具
-    * @return \item_segment
-    */
-    public static function item_segment()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_segment');
-    }
-    /**
-    * @return \sm_item_segment item_segment item数据 
-    */
-    public static function item_segment_getItem($itemid)
-    { 
-        return self::get_hash_item('item_segment', $itemid);
-    }
-    /**
-    * 道具通用字段表
-    * @return \item_base
-    */
-    public static function item_base()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_base');
-    }
-    /**
-    * @return \sm_item_base item_base item数据 
-    */
-    public static function item_base_getItem($itemid)
-    { 
-        return self::get_hash_item('item_base', $itemid);
-    }
-    /**
-    * 子技能表
-    * @return \subSkill
-    */
-    public static function subSkill()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'subSkill');
-    }
-    /**
-    * @return \sm_subSkill subSkill item数据 
-    */
-    public static function subSkill_getItem($itemid)
-    { 
-        return self::get_hash_item('subSkill', $itemid);
-    }
-    /**
-    * 宝箱类道具
-    * @return \item_box
-    */
-    public static function item_box()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_box');
-    }
-    /**
-    * @return \sm_item_box item_box item数据 
-    */
-    public static function item_box_getItem($itemid)
-    { 
-        return self::get_hash_item('item_box', $itemid);
-    }
-    /**
-    * 关卡-通关条件
-    * @return \gate_passCondition
-    */
-    public static function gate_passCondition()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'gate_passCondition');
-    }
-    /**
-    * @return \sm_gate_passCondition gate_passCondition item数据 
-    */
-    public static function gate_passCondition_getItem($itemid)
-    { 
-        return self::get_hash_item('gate_passCondition', $itemid);
-    }
-    /**
-    * 元素相克关系表
-    * @return \attack_relation
-    */
-    public static function attack_relation()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'attack_relation');
-    }
-    /**
-    * @return \sm_attack_relation attack_relation item数据 
-    */
-    public static function attack_relation_getItem($attack1, $attack2)
-    { 
-        return self::get_hash_item('attack_relation', "$attack1-$attack2");
-    }
-    /**
-    * 战斗力榜全服突破奖励
-    * @return \rankreward_fpower
-    */
-    public static function rankreward_fpower()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'rankreward_fpower');
-    }
-    /**
-    * @return \sm_rankreward_fpower rankreward_fpower item数据 
-    */
-    public static function rankreward_fpower_getItem($itemid)
-    { 
-        return self::get_hash_item('rankreward_fpower', $itemid);
-    }
-    /**
-    * 合体技能
-    * @return \skill_cross
-    */
-    public static function skill_cross()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'skill_cross');
-    }
-    /**
-    * @return \sm_skill_cross skill_cross item数据 
-    */
-    public static function skill_cross_getItem($itemid)
-    { 
-        return self::get_hash_item('skill_cross', $itemid);
-    }
-    /**
-    * 通关榜突破奖励
-    * @return \rankreward_passgate
-    */
-    public static function rankreward_passgate()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'rankreward_passgate');
-    }
-    /**
-    * @return \sm_rankreward_passgate rankreward_passgate item数据 
-    */
-    public static function rankreward_passgate_getItem($itemid)
-    { 
-        return self::get_hash_item('rankreward_passgate', $itemid);
-    }
-    /**
-    * 言灵召唤书
-    * @return \item_yanlingbook
-    */
-    public static function item_yanlingbook()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_yanlingbook');
-    }
-    /**
-    * @return \sm_item_yanlingbook item_yanlingbook item数据 
-    */
-    public static function item_yanlingbook_getItem($itemid)
-    { 
-        return self::get_hash_item('item_yanlingbook', $itemid);
-    }
-    /**
-    * 言灵进阶表
-    * @return \yanling_upgrade
-    */
-    public static function yanling_upgrade()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'yanling_upgrade');
-    }
-    /**
-    * @return \sm_yanling_upgrade yanling_upgrade item数据 
-    */
-    public static function yanling_upgrade_getItem($typeId, $grade)
-    { 
-        return self::get_hash_item('yanling_upgrade', $typeId)->$grade;
-    }
-    /**
-    * 功能引导模块
-    * @return \guide_module
-    */
-    public static function guide_module()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'guide_module');
-    }
-    /**
-    * @return \sm_guide_module guide_module item数据 
-    */
-    public static function guide_module_getItem($itemid)
-    { 
-        return self::get_hash_item('guide_module', $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 \shop_limit
-    */
-    public static function shop_limit()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'shop_limit');
-    }
-    /**
-    * @return \sm_shop_limit shop_limit item数据 
-    */
-    public static function shop_limit_getItem($itemid)
-    { 
-        return self::get_hash_item('shop_limit', $itemid);
-    }
-    /**
-    * 月卡商城
-    * @return \shop_monthVIP
-    */
-    public static function shop_monthVIP()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'shop_monthVIP');
-    }
-    /**
-    * @return \sm_shop_monthVIP shop_monthVIP item数据 
-    */
-    public static function shop_monthVIP_getItem($itemid)
-    { 
-        return self::get_hash_item('shop_monthVIP', $itemid);
-    }
-    /**
-    * 掉落数据表
-    * @return \drop
-    */
-    public static function drop()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'drop');
-    }
-    /**
-    * @return \sm_drop drop item数据 
-    */
-    public static function drop_getItem($itemid)
-    { 
-        return self::get_hash_item('drop', $itemid);
-    }
-    /**
-    * 
-    * @return \item_stones_type
-    */
-    public static function item_stones_type()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_stones_type');
-    }
-    /**
-    * @return \sm_item_stones_type item_stones_type itemArray 
-    */
-    public static function item_stones_type_getItemArray($key)
-    { 
-        return self::get_hash_item('item_stones_type', $key);
-    }
-    /**
-    * 
-    * @return \yanlingLevel_type
-    */
-    public static function yanlingLevel_type()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'yanlingLevel_type');
-    }
-    /**
-    * @return \sm_yanlingLevel_type yanlingLevel_type item数据 
-    */
-    public static function yanlingLevel_type_getItem($type, $level)
-    { 
-        return self::get_hash_item('yanlingLevel_type', $type)->$level;
-    }
-    /**
-    * 言灵突破
-    * @return \yanlingextra_level
-    */
-    public static function yanlingextra_level()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'yanlingextra_level');
-    }
-    /**
-    * @return \sm_yanlingextra_level yanlingextra_level item数据 
-    */
-    public static function yanlingextra_level_getItem($yanlingId, $starLv)
-    { 
-        return self::get_hash_item('yanlingextra_level', $yanlingId)->$starLv;
-    }
-    /**
-    * 世界boss排名奖励
-    * @return \worldboss_rankreward
-    */
-    public static function worldboss_rankreward()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'worldboss_rankreward');
-    }
-    /**
-    * @return \sm_worldboss_rankreward worldboss_rankreward item数据 
-    */
-    public static function worldboss_rankreward_getItem($itemid)
-    { 
-        return self::get_hash_item('worldboss_rankreward', $itemid);
-    }
-    /**
-    * 世界boss排名奖励2
-    * @return \worldboss_rankreward2
-    */
-    public static function worldboss_rankreward2()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'worldboss_rankreward2');
-    }
-    /**
-    * @return \sm_worldboss_rankreward2 worldboss_rankreward2 item数据 
-    */
-    public static function worldboss_rankreward2_getItem($itemid)
-    { 
-        return self::get_hash_item('worldboss_rankreward2', $itemid);
-    }
-    /**
-    * 学院积分兑换道具表
-    * @return \score
-    */
-    public static function score()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'score');
-    }
-    /**
-    * @return \sm_score score item数据 
-    */
-    public static function score_getItem($itemid)
-    { 
-        return self::get_hash_item('score', $itemid);
-    }
-    /**
-    * 宝石配方表
-    * @return \gem_formula
-    */
-    public static function gem_formula()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'gem_formula');
-    }
-    /**
-    * @return \sm_gem_formula gem_formula item数据 
-    */
-    public static function gem_formula_getItem($itemid)
-    { 
-        return self::get_hash_item('gem_formula', $itemid);
-    }
-    /**
-    * 宝石合成研究等级表
-    * @return \gem_researchlevel
-    */
-    public static function gem_researchlevel()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'gem_researchlevel');
-    }
-    /**
-    * @return \sm_gem_researchlevel gem_researchlevel item数据 
-    */
-    public static function gem_researchlevel_getItem($itemid)
-    { 
-        return self::get_hash_item('gem_researchlevel', $itemid);
-    }
-    /**
-    * 任务根据类型区别
-    * @return \item_taskcard_type
-    */
-    public static function item_taskcard_type()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'item_taskcard_type');
-    }
-    /**
-    * @return \sm_item_taskcard_type item_taskcard_type itemArray 
-    */
-    public static function item_taskcard_type_getItemArray($key)
-    { 
-        return self::get_hash_item('item_taskcard_type', $key);
-    }
-    /**
-    * 背包扩容次数及消耗
-    * @return \expandStoreNum
-    */
-    public static function expandStoreNum()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'expandStoreNum');
-    }
-    /**
-    * @return \sm_expandStoreNum expandStoreNum item数据 
-    */
-    public static function expandStoreNum_getItem($itemid)
-    { 
-        return self::get_hash_item('expandStoreNum', $itemid);
-    }
-    /**
-    * 宝石属性
-    * @return \gemProperty
-    */
-    public static function gemProperty()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'gemProperty');
-    }
-    /**
-    * @return \sm_gemProperty gemProperty item数据 
-    */
-    public static function gemProperty_getItem($itemid)
-    { 
-        return self::get_hash_item('gemProperty', $itemid);
-    }
-    /**
-    * 充值
-    * @return \recharge
-    */
-    public static function recharge()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'recharge');
-    }
-    /**
-    * @return \sm_recharge recharge item数据 
-    */
-    public static function recharge_getItem($itemid)
-    { 
-        return self::get_hash_item('recharge', $itemid);
-    }
-    /**
-    * 特惠区别
-    * @return \shop_limit_type
-    */
-    public static function shop_limit_type()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'shop_limit_type');
-    }
-    /**
-    * @return \sm_shop_limit_type shop_limit_type itemArray 
-    */
-    public static function shop_limit_type_getItemArray($key)
-    { 
-        return self::get_hash_item('shop_limit_type', $key);
-    }
-    /**
-    * 累计充值返利
-    * @return \rechargeRebate
-    */
-    public static function rechargeRebate()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'rechargeRebate');
-    }
-    /**
-    * @return \sm_rechargeRebate rechargeRebate item数据 
-    */
-    public static function rechargeRebate_getItem($itemid)
-    { 
-        return self::get_hash_item('rechargeRebate', $itemid);
-    }
-    /**
-    * 限时
-    * @return \shop_limitTs
-    */
-    public static function shop_limitTs()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'shop_limitTs');
-    }
-    /**
-    * @return \sm_shop_limitTs shop_limitTs item数据 
-    */
-    public static function shop_limitTs_getItem($itemid)
-    { 
-        return self::get_hash_item('shop_limitTs', $itemid);
-    }
-    /**
-    * 限时类型区别
-    * @return \shop_limitTs_Type
-    */
-    public static function shop_limitTs_Type()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'shop_limitTs_Type');
-    }
-    /**
-    * @return \sm_shop_limitTs_Type shop_limitTs_Type itemArray 
-    */
-    public static function shop_limitTs_Type_getItemArray($key)
-    { 
-        return self::get_hash_item('shop_limitTs_Type', $key);
-    }
-    /**
-    * 当前版本(时间戳)
-    * @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);
-    }
-}
-

+ 62 - 0
Gameserver/Amfphp/model/Const/sm_map_scene.php

@@ -0,0 +1,62 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2022-03-10 11:13:28
+////////////////////
+
+
+/**
+ * Static Model map_scene 场景地图
+ */
+class sm_map_scene
+{
+
+    /**
+    * @var Int32 据点场景编号  
+    */
+    public $mapId;
+
+    /**
+    * @var String 据点名称  
+    */
+    public $name;
+
+    /**
+    * @var Int32 场景类型: 城镇0/据点1/非据点2/Boss点3/  
+    */
+    public $mapType;
+
+    /**
+    * @var String 据点所属区域ID  
+    */
+    public $zoneId;
+
+    /**
+    * @var String 在小地图上的图标  
+    */
+    public $icon;
+
+    /**
+    * @var String 据点描述信息  
+    */
+    public $desc;
+
+    /**
+    * @var String 怪物等级信息  
+    */
+    public $monsterLevel;
+
+    /**
+    * @var String 怪物特性信息  
+    */
+    public $monsterAttr;
+
+    /**
+    * @var String 探索完成奖励数据(itemid,num;itemid,num;...)  
+    */
+    public $exploreReward;
+
+}
+

+ 37 - 0
Gameserver/Amfphp/model/Const/sm_map_scene_relation.php

@@ -0,0 +1,37 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2022-03-10 11:33:23
+////////////////////
+
+
+/**
+ * Static Model map_scene_relation 场景出口对应关系
+ */
+class sm_map_scene_relation
+{
+
+    /**
+    * @var Int32 场景ID  
+    */
+    public $mapId;
+
+    /**
+    * @var Int32 出入口ID  
+    */
+    public $pointId;
+
+    /**
+    * @var Int32 前往目标场景id  
+    */
+    public $targetMapId;
+
+    /**
+    * @var Int32 前往目标场景的出入口id  
+    */
+    public $targetPointId;
+
+}
+

+ 6 - 1
Gameserver/Amfphp/model/Const/sm_npc.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
  // author: gwang 
- // 日期: 2021-12-21 14:37:53
+ // 日期: 2022-03-08 16:10:51
 ////////////////////
 ////////////////////
 
 
 
 
@@ -73,5 +73,10 @@ class sm_npc
     */
     */
     public $functionParam;
     public $functionParam;
 
 
+    /**
+    * @var String 随机对话State列表,[1,2] default(0) 
+    */
+    public $dialogList;
+
 }
 }
 
 

+ 20 - 0
Gameserver/Amfphp/model/User/Data_UserGame.php

@@ -55,6 +55,12 @@ class Data_UserGame extends HashSaver {
      */
      */
     public $map;
     public $map;
 
 
+    /**
+     * 新版地图信息v2022.3
+     * @var Info_NewMap
+     */
+    public $newMap;
+
 //    /**
 //    /**
 //     * @var Info_UserTask 玩家任务数据
 //     * @var Info_UserTask 玩家任务数据
 //     */
 //     */
@@ -155,6 +161,7 @@ class Data_UserGame extends HashSaver {
 //            $this->heros->InitializeHero();                                     # 添加初始英雄
 //            $this->heros->InitializeHero();                                     # 添加初始英雄
             $this->gates = new Info_UserGateDifficulty();                            # 初始化关卡默认数据
             $this->gates = new Info_UserGateDifficulty();                            # 初始化关卡默认数据
             $this->map = new Info_Map();                                        # 初始化地图解锁数据
             $this->map = new Info_Map();                                        # 初始化地图解锁数据
+            $this->newMap = new Info_NewMap();                                  # 初始化改版地图2022.3
 //            $this->heroManual = new HeroManualModel();                          # 初始化图鉴数据结构
 //            $this->heroManual = new HeroManualModel();                          # 初始化图鉴数据结构
             $this->NewbieGuide = new Info_NewbieGuide();                        # 初始化新手引导结构
             $this->NewbieGuide = new Info_NewbieGuide();                        # 初始化新手引导结构
 //            $this->pvp = new UserPVPModel();                                  # 初始化pvp模块
 //            $this->pvp = new UserPVPModel();                                  # 初始化pvp模块
@@ -277,6 +284,19 @@ class Data_UserGame extends HashSaver {
         return $this->map;
         return $this->map;
     }
     }
 
 
+    /**
+     * 新地图数据
+     * @param bool $save 是否需要回存
+     * @return Info_NewMap
+     */
+    public function newMap($save = true) {
+        $this->newMap = new Info_NewMap($this->newMap);
+        if ($save) {
+            self::save_tag(__FUNCTION__);
+        }
+        return $this->newMap;
+    }
+
     /**
     /**
      * 任务卡商店
      * 任务卡商店
      * @param bool $save 是否需要回存
      * @param bool $save 是否需要回存

+ 34 - 0
Gameserver/Amfphp/model/User/Enum_FootHoldType.php

@@ -0,0 +1,34 @@
+<?php
+
+namespace loyalsoft;
+
+/**
+ * Description of Enum_FootHoldType
+ * 据点类型
+ * @author gwang
+ * @version 
+ *     2022.3.11 Created.
+ */
+class Enum_FootHoldType extends Enum {
+
+    /**
+     * 城镇 (类似于回城时的那个城镇)
+     */
+    const Town = 0;
+
+    /**
+     * 据点
+     */
+    const FootHold = 1;
+
+    /**
+     * 非据点 (孵化器不刷新怪物)
+     */
+    const NoneFootHold = 2;
+
+    /**
+     * Boss怪 据点( Boss具有特定性?)
+     */
+    const BossFootHold = 3;
+
+}

+ 41 - 0
Gameserver/Amfphp/model/User/Info_NewMap.php

@@ -0,0 +1,41 @@
+<?php
+
+namespace loyalsoft;
+
+/**
+ * Description of Info_NewMap
+ * 玩家地图数据 
+ * @author gwang
+ * @version 
+ *        2022.3.11 改版 据点 >> 大地图 >> 世界地图模式
+ */
+class Info_NewMap extends Object_ext {
+
+    /**
+     * 当前所在据点id
+     * @var type
+     */
+    public $curMapId;
+
+    /**
+     * 已解锁据点列表
+     * @var <据点id,Ins_FootHold>
+     */
+    public $unlockedFootholds;
+
+    function __construct($arg = null) {
+        if (null === $arg) {
+            // 直接初始化8个大陆的基本数据
+            $initMapid = 1001;                                                  # 新手村的id
+            $this->curMapId = $initMapid;                                       # 当前位置为新手村
+            $this->unlockedFootholds = ObjectInit();
+            $mo = GameConfig::map_scene_getItem($initMapid);
+            $footHold = new Ins_FootHold();
+            $footHold->curMapType = $mo->mapType;
+            $this->unlockedFootholds->$initMapid = $footHold;                   # 初始化解锁新手村据点数据
+        } else {
+            parent::__construct($arg);
+        }
+    }
+
+}

+ 35 - 0
Gameserver/Amfphp/model/User/Ins_FootHold.php

@@ -0,0 +1,35 @@
+<?php
+
+namespace loyalsoft;
+
+/**
+ * Description of Ins_FootHold
+ * 据点信息数据结构
+ * @author gwang
+ * @version 
+ *         2022.3.11 created. 
+ */
+class Ins_FootHold extends Object_ext {
+
+    /**
+     * @var Enum_FootHoldType 当前地图类型(某些条件下可以修改地图类型从据点转为非据点)
+     */
+    public $curMapType;
+
+    /**
+     * 探索进度
+     * @var type
+     */
+    public $curExploreProgress = 0;
+
+    /**
+     * @var bool 探索奖励是否已经领取
+     */
+    public $exploreRewardGeted = false;
+
+    /**
+     * @var bool 传送阵是否可用
+     */
+    public $transmissionIsOk = false;
+
+}