Переглянути джерело

fixed: 适配presentItem特殊字符串.

gwang 4 роки тому
батько
коміт
eadfbee4d8

+ 775 - 778
Gameserver/Amfphp/model/Const/GameConfig.php

@@ -1,9 +1,9 @@
 <?php
-
 ////////////////////
-// 由CodeGenerator创建。
-// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
-// author: gwang    
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2021-04-02 09:42:30
 ////////////////////
 
 /**
@@ -11,28 +11,25 @@
  */
 class GameConfig {
 // <editor-fold defaultstate="collapsed" desc="  基础代码 ">    
-
     /**
      * 是否启用codegen 
      */
-    private static function isCG() {
-        return defined('CodeGen_Enabled') && CodeGen_Enabled;
+    private static function isCG()  {
+        return defined('CodeGen_Enabled') && CodeGen_Enabled; 
     }
-
     /**
      * @var bool 分区是否使用独立的常量配置数据
      */
     private static $useZoneId = false;
-
     /**
      * 追加分区列表字符串
      * @return string
      */
-    private static function zoneid() {
+    private static function zoneid()
+    {
         global $zoneid;
         return self::$useZoneId ? "-zone$zoneid" : "";
     }
-
     /**
      * 初始化指定变量, 非null的情况下直接跳出
      * 可能从文件中或者redis中获取原始数据对变量进行初始化
@@ -40,7 +37,8 @@ class GameConfig {
      * @param string $modelName 用来初始化变量的资源名称
      * @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();
         if (is_null($a)) {
             if (self::isCG()) {
@@ -51,21 +49,21 @@ class GameConfig {
                         $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) {
+    private static function get_hash_item($modelName, $itemId)
+    {
         if (self::isCG()) {
             $data = self::$modelName();
             if (property_exists($data, $itemId)) {
@@ -77,1220 +75,1219 @@ class GameConfig {
         }
         return null;
     }
-
 // </editor-fold>
-
     /**
-     * 全局参数
-     * @return \globalsettings
-     */
-    public static function globalsettings() {
-        static $a = null;
+    * 全局参数
+    * @return \globalsettings
+    */
+    public static function globalsettings()
+    { 
+        static $a = null; 
         return self::initValue($a, 'globalsettings');
     }
-
     /**
-     * 英雄模块
-     * @return \hero
-     */
-    public static function hero() {
-        static $a = null;
+    * 英雄模块
+    * @return \hero
+    */
+    public static function hero()
+    { 
+        static $a = null; 
         return self::initValue($a, 'hero');
     }
-
     /**
-     * @return \sm_hero hero item数据 
-     */
-    public static function hero_getItem($itemid) {
+    * @return \sm_hero hero item数据 
+    */
+    public static function hero_getItem($itemid)
+    { 
         return self::get_hash_item('hero', $itemid);
     }
-
     /**
-     * 英雄的升级(属性加成)
-     * @return \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 \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 \item
-     */
-    public static function item() {
-        static $a = null;
+    * [废弃]
+    * @return \item
+    */
+    public static function item()
+    { 
+        static $a = null; 
         return self::initValue($a, 'item');
     }
-
     /**
-     * @return \sm_item item item数据 
-     */
-    public static function item_getItem($itemid) {
+    * @return \sm_item item item数据 
+    */
+    public static function item_getItem($itemid)
+    { 
         return self::get_hash_item('item', $itemid);
     }
-
     /**
-     * [废弃]
-     * @return \itemlevel
-     */
-    public static function itemlevel() {
-        static $a = null;
+    * [废弃]
+    * @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 \sm_itemlevel itemlevel item数据 
+    */
+    public static function itemlevel_getItem($itemid)
+    { 
         return self::get_hash_item('itemlevel', $itemid);
     }
-
     /**
-     * 英雄的升级——每级成长消耗经验需求表
-     * @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 \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 \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 \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 \gate
-     */
-    public static function gate() {
-        static $a = null;
+    * 关卡
+    * @return \gate
+    */
+    public static function gate()
+    { 
+        static $a = null; 
         return self::initValue($a, 'gate');
     }
-
     /**
-     * @return \sm_gate gate item数据 
-     */
-    public static function gate_getItem($itemid) {
+    * @return \sm_gate gate item数据 
+    */
+    public static function gate_getItem($itemid)
+    { 
         return self::get_hash_item('gate', $itemid);
     }
-
     /**
-     * 关卡波茨数据
-     * @return \gatelevel
-     */
-    public static function gatelevel() {
-        static $a = null;
+    * 关卡波茨数据
+    * @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 \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 \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 \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 \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 \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 \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 \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 \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 \sm_item_yanling item_yanling item数据 
+    */
+    public static function item_yanling_getItem($itemid)
+    { 
         return self::get_hash_item('item_yanling', $itemid);
     }
-
     /**
-     * 商城
-     * @return \shop
-     */
-    public static function shop() {
-        static $a = null;
+    * 商城
+    * @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 \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 \service_schedule
+    */
+    public static function service_schedule()
+    { 
+        static $a = null; 
         return self::initValue($a, 'service_schedule');
     }
-
     /**
-     * @return \sm_service_schedule service_schedule item数据 
-     */
-    public static function service_schedule_getItem($itemid) {
+    * @return \sm_service_schedule service_schedule item数据 
+    */
+    public static function service_schedule_getItem($itemid)
+    { 
         return self::get_hash_item('service_schedule', $itemid);
     }
-
     /**
-     * 任务步骤
-     * @return \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 \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 \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 \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 \sysmail
-     */
-    public static function sysmail() {
-        static $a = null;
+    * 系统邮件
+    * @return \sysmail
+    */
+    public static function sysmail()
+    { 
+        static $a = null; 
         return self::initValue($a, 'sysmail');
     }
-
     /**
-     * @return \sm_sysmail sysmail item数据 
-     */
-    public static function sysmail_getItem($itemid) {
+    * @return \sm_sysmail sysmail item数据 
+    */
+    public static function sysmail_getItem($itemid)
+    { 
         return self::get_hash_item('sysmail', $itemid);
     }
-
     /**
-     * 剧情对话
-     * @return \plot
-     */
-    public static function plot() {
-        static $a = null;
+    * 剧情对话
+    * @return \plot
+    */
+    public static function plot()
+    { 
+        static $a = null; 
         return self::initValue($a, 'plot');
     }
-
     /**
-     * @return \sm_plot plot item数据 
-     */
-    public static function plot_getItem($gateId, $stage) {
+    * @return \sm_plot plot item数据 
+    */
+    public static function plot_getItem($gateId, $stage)
+    { 
         return self::get_hash_item('plot', $gateId)->$stage;
     }
-
     /**
-     * 言灵附加随机表
-     * @return \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \yanlingLeve
-     */
-    public static function yanlingLeve() {
-        static $a = null;
+    * 言灵等级
+    * @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 \sm_yanlingLeve yanlingLeve item数据 
+    */
+    public static function yanlingLeve_getItem($itemid)
+    { 
         return self::get_hash_item('yanlingLeve', $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 \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 \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 \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 \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 \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 \course
-     */
-    public static function course() {
-        static $a = null;
+    * 圣哲学院课程表
+    * @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 \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 \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 \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 \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 \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 \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 \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 \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 \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;
+    * 建筑表_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 \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;
+    * 神秘商城道具表-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 \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 \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 \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;
+    * 神秘商城道具表-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 \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 \clientVersionHistory
+    */
+    public static function clientVersionHistory()
+    { 
+        static $a = null; 
         return self::initValue($a, 'clientVersionHistory');
     }
-
     /**
-     * @return \sm_clientVersionHistory clientVersionHistory item数据 
-     */
-    public static function clientVersionHistory_getItem($itemid) {
+    * @return \sm_clientVersionHistory clientVersionHistory item数据 
+    */
+    public static function clientVersionHistory_getItem($itemid)
+    { 
         return self::get_hash_item('clientVersionHistory', $itemid);
     }
-
     /**
-     * 分区列表
-     * @return \zonelist
-     */
-    public static function zonelist() {
-        static $a = null;
+    * 分区列表
+    * @return \zonelist
+    */
+    public static function zonelist()
+    { 
+        static $a = null; 
         return self::initValue($a, 'zonelist');
     }
-
     /**
-     * @return \sm_zonelist zonelist item数据 
-     */
-    public static function zonelist_getItem($itemid) {
+    * @return \sm_zonelist zonelist item数据 
+    */
+    public static function zonelist_getItem($itemid)
+    { 
         return self::get_hash_item('zonelist', $itemid);
     }
-
     /**
-     * 兑换码礼包
-     * @return \tokenGift
-     */
-    public static function tokenGift() {
-        static $a = null;
+    * 兑换码礼包
+    * @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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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;
+    * 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 \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 \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 \errmsg
+    */
+    public static function errmsg()
+    { 
+        static $a = null; 
         return self::initValue($a, 'errmsg');
     }
-
     /**
-     * @return \sm_errmsg errmsg item数据 
-     */
-    public static function errmsg_getItem($itemid) {
+    * @return \sm_errmsg errmsg item数据 
+    */
+    public static function errmsg_getItem($itemid)
+    { 
         return self::get_hash_item('errmsg', $itemid);
     }
-
     /**
-     * 公会捐献卡牌奖励
-     * @return \guilddonatereward
-     */
-    public static function guilddonatereward() {
-        static $a = null;
+    * 公会捐献卡牌奖励
+    * @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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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;
+    * 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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \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 \activity_day7
+    */
+    public static function activity_day7()
+    { 
+        static $a = null; 
         return self::initValue($a, 'activity_day7');
     }
-
     /**
-     * @return \sm_activity_day7 activity_day7 item数据 
-     */
-    public static function activity_day7_getItem($itemid) {
+    * @return \sm_activity_day7 activity_day7 item数据 
+    */
+    public static function activity_day7_getItem($itemid)
+    { 
         return self::get_hash_item('activity_day7', $itemid);
     }
-
     /**
-     * 限购商城
-     * @return \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 \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 \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 \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 \drop
-     */
-    public static function drop() {
-        static $a = null;
+    * 掉落数据表
+    * @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 \sm_drop drop item数据 
+    */
+    public static function drop_getItem($itemid)
+    { 
         return self::get_hash_item('drop', $itemid);
     }
-
     /**
-     * 当前版本(时间戳)
-     * @return \ver
-     */
-    public static function ver() {
-        static $a = null;
+    * 当前版本(时间戳)
+    * @return \ver
+    */
+    public static function ver()
+    { 
+        static $a = null; 
         return self::initValue($a, 'ver', false);
     }
-
     /**
-     * 客户端配置数据
-     * @return \client
-     */
-    public static function client() {
-        static $a = null;
+    * 客户端配置数据
+    * @return \client
+    */
+    public static function client()
+    { 
+        static $a = null; 
         return self::initValue($a, 'client', false);
     }
-
 }
+

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-02-24 10:58:42
+ // 日期: 2021-04-01 20:32:21
 ////////////////////
 
 
@@ -53,6 +53,11 @@ class sm_build
     */
     public $playerLevelLimit;
 
+    /**
+    * @var String 解锁特效资源  
+    */
+    public $unlockRes;
+
     /**
     * @var String 房间描述信息  
     */

+ 17 - 15
Gameserver/Amfphp/model/Const/sm_eventAction.php

@@ -1,33 +1,35 @@
 <?php
-
 ////////////////////
-// 由CodeGenerator创建。
-// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
-// author: gwang  
-// 日期: 2021-03-31 16:57:44
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2021-03-31 16:57:44
 ////////////////////
 
+
 /**
  * Static Model eventAction 动作事件表
  */
-class sm_eventAction {
+class sm_eventAction
+{
 
     /**
-     * @var Int32 动作id(枚举值)
-     *  101触发场景剧情: 场景id, 剧情stageid
-     *  102
-     *  103 解锁建筑: 建筑id default(0) 
-     */
+    * @var Int32 动作id(枚举值)
+    *  101触发场景剧情: 场景id, 剧情stageid
+    *  102
+    *  103 解锁建筑: 建筑id default(0) 
+    */
     public $cmd;
 
     /**
-     * @var String 动作所需参数:逗号分隔,(约定: 每个参数都是int)  
-     */
+    * @var String 动作所需参数:逗号分隔,(约定: 每个参数都是int)  
+    */
     public $parameters;
 
     /**
-     * @var String 备注(每个动作类型,自己注释好自己的参数解析方案)  
-     */
+    * @var String 备注(每个动作类型,自己注释好自己的参数解析方案)  
+    */
     public $desc;
 
 }
+

+ 84 - 81
Gameserver/Amfphp/model/Const/sm_gate.php

@@ -1,204 +1,207 @@
 <?php
-
 ////////////////////
-// 由CodeGenerator创建。
-// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
-// author: gwang    
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2021-03-26 10:29:17
 ////////////////////
 
+
 /**
  * Static Model gate 关卡
  */
-class sm_gate {
+class sm_gate
+{
 
     /**
-     * @var Int32 用途未知!!请到数据库中添加字段注释。  
-     */
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
     public $gateId;
 
     /**
-     * @var String 用途未知!!请到数据库中添加字段注释。  
-     */
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
     public $gateName;
 
     /**
-     * @var String 预制体名称  
-     */
+    * @var String 预制体名称  
+    */
     public $prefabName;
 
     /**
-     * @var String 用途未知!!请到数据库中添加字段注释。  
-     */
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
     public $desc;
 
     /**
-     * @var Int32 所在页码(0开始算第一页) default(0) 
-     */
+    * @var Int32 所在页码(0开始算第一页) default(0) 
+    */
     public $pageId;
 
     /**
-     * @var String 关卡的头像  
-     */
+    * @var String 关卡的头像  
+    */
     public $gateIcon;
 
     /**
-     * @var Int32 用途未知!!请到数据库中添加字段注释。  
-     */
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
     public $tili1;
 
     /**
-     * @var Int32 用途未知!!请到数据库中添加字段注释。  
-     */
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
     public $tili2;
 
     /**
-     * @var Int32 用途未知!!请到数据库中添加字段注释。  
-     */
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
     public $tili3;
 
     /**
-     * @var Int32 普通难度达到对应关卡解锁此关的精英难度 default(0) 
-     */
+    * @var Int32 普通难度达到对应关卡解锁此关的精英难度 default(0) 
+    */
     public $requireNormalLevel;
 
     /**
-     * @var Int32 精英关卡达到对应关卡解锁此关的噩梦难度 default(0) 
-     */
+    * @var Int32 精英关卡达到对应关卡解锁此关的噩梦难度 default(0) 
+    */
     public $requireHardLevel;
 
     /**
-     * @var Int32 用途未知!!请到数据库中添加字段注释。  
-     */
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
     public $cishu1;
 
     /**
-     * @var Int32 用途未知!!请到数据库中添加字段注释。  
-     */
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
     public $cishu2;
 
     /**
-     * @var Int32 用途未知!!请到数据库中添加字段注释。  
-     */
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
     public $cishu3;
 
     /**
-     * @var String 关卡奖励字符串  
-     */
+    * @var String 关卡奖励字符串  
+    */
     public $reward1;
 
     /**
-     * @var String 关卡奖励字符串(困难难度)  
-     */
+    * @var String 关卡奖励字符串(困难难度)  
+    */
     public $reward2;
 
     /**
-     * @var String 关卡奖励字符串  
-     */
+    * @var String 关卡奖励字符串  
+    */
     public $reward3;
 
     /**
-     * @var String 首次通关奖励(普通难度)  
-     */
+    * @var String 首次通关奖励(普通难度)  
+    */
     public $first_reward1;
 
     /**
-     * @var String 首次通关奖励(困难难度)  
-     */
+    * @var String 首次通关奖励(困难难度)  
+    */
     public $first_reward2;
 
     /**
-     * @var String 首次通关奖励(噩梦难度)  
-     */
+    * @var String 首次通关奖励(噩梦难度)  
+    */
     public $first_reward3;
 
     /**
-     * @var Int32 掉落金币(普通难度) default(0) 
-     */
+    * @var Int32 掉落金币(普通难度) default(0) 
+    */
     public $gold1;
 
     /**
-     * @var Int32 掉落金币(困难难度) default(0) 
-     */
+    * @var Int32 掉落金币(困难难度) default(0) 
+    */
     public $gold2;
 
     /**
-     * @var Int32 掉落金币(噩梦难度) default(0) 
-     */
+    * @var Int32 掉落金币(噩梦难度) default(0) 
+    */
     public $gold3;
 
     /**
-     * @var Int32 首次通关掉落的指挥官经验(普通难度) default(0) 
-     */
+    * @var Int32 首次通关掉落的指挥官经验(普通难度) default(0) 
+    */
     public $first_exp1;
 
     /**
-     * @var Int32 首次通关掉落的指挥官经验(困难难度) default(0) 
-     */
+    * @var Int32 首次通关掉落的指挥官经验(困难难度) default(0) 
+    */
     public $first_exp2;
 
     /**
-     * @var Int32 首次通关掉落的指挥官经验(噩梦难度) default(0) 
-     */
+    * @var Int32 首次通关掉落的指挥官经验(噩梦难度) default(0) 
+    */
     public $first_exp3;
 
     /**
-     * @var Int32 首次通关解锁英雄ID(普通难度) default(0) 
-     */
+    * @var Int32 首次通关解锁英雄ID(普通难度) default(0) 
+    */
     public $first_hero1;
 
     /**
-     * @var Int32 首次通关解锁英雄ID(困难难度) default(0) 
-     */
+    * @var Int32 首次通关解锁英雄ID(困难难度) default(0) 
+    */
     public $first_hero2;
 
     /**
-     * @var Int32 首次通关解锁英雄ID(噩梦难度) default(0) 
-     */
+    * @var Int32 首次通关解锁英雄ID(噩梦难度) default(0) 
+    */
     public $first_hero3;
 
     /**
-     * @var Int32 常规通关掉落玩家经验(普通难度) default(0) 
-     */
+    * @var Int32 常规通关掉落玩家经验(普通难度) default(0) 
+    */
     public $exp1;
 
     /**
-     * @var Int32 常规通关掉落玩家经验(困难难度) default(0) 
-     */
+    * @var Int32 常规通关掉落玩家经验(困难难度) default(0) 
+    */
     public $exp2;
 
     /**
-     * @var Int32 常规通关掉落玩家经验(噩梦难度) default(0) 
-     */
+    * @var Int32 常规通关掉落玩家经验(噩梦难度) default(0) 
+    */
     public $exp3;
 
     /**
-     * @var Int32 掉落英雄经验(普通难度) default(0) 
-     */
+    * @var Int32 掉落英雄经验(普通难度) default(0) 
+    */
     public $heroExp1;
 
     /**
-     * @var Int32 掉落英雄经验(困难难度) default(0) 
-     */
+    * @var Int32 掉落英雄经验(困难难度) default(0) 
+    */
     public $heroExp2;
 
     /**
-     * @var Int32 掉落英雄经验(噩梦难度) default(0) 
-     */
+    * @var Int32 掉落英雄经验(噩梦难度) default(0) 
+    */
     public $heroExp3;
 
     /**
-     * @var String 通关条件(逗号分隔通关条件的ID)  
-     */
+    * @var String 通关条件(逗号分隔通关条件的ID)  
+    */
     public $passCondition;
 
     /**
-     * @var String 战斗类型(0普通 怪物全部创建 1Boss站 2引导剧情 3竞技场 4非战斗场景)  
-     */
+    * @var String 战斗类型(0普通 怪物全部创建 1Boss站 2引导剧情 3竞技场 4非战斗场景)  
+    */
     public $battleType;
 
     /**
-     * @var String 关卡奖励  
-     */
+    * @var String 关卡奖励  
+    */
     public $reward;
 
 }
+

+ 79 - 76
Gameserver/Amfphp/model/Const/sm_item_base.php

@@ -1,130 +1,133 @@
 <?php
-
 ////////////////////
-// 由CodeGenerator创建。
-// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
-// author: gwang    
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2021-03-25 16:40:17
 ////////////////////
 
+
 /**
  * Static Model item_base 道具通用字段表
  */
-class sm_item_base {
+class sm_item_base
+{
 
     /**
-     * @var Int32 查询用的ID  
-     */
+    * @var Int32 查询用的ID  
+    */
     public $typeId;
 
     /**
-     * @var String 物品名称 default(物品名称) 
-     */
+    * @var String 物品名称 default(物品名称) 
+    */
     public $name;
 
     /**
-     * @var String 物品icon名  
-     */
+    * @var String 物品icon名  
+    */
     public $icon;
 
     /**
-     * @var String 物品大图片名  
-     */
+    * @var String 物品大图片名  
+    */
     public $img;
 
     /**
-     * @var String item的关卡途径  
-     */
-    public $gateChannel;
-
-    /**
-     * @var String 物品模型资源  
-     */
+    * @var String 物品模型资源  
+    */
     public $res;
 
     /**
-     * @var String 用途未知!!请到数据库中添加字段注释。  
-     */
+    * @var String 用途未知!!请到数据库中添加字段注释。  
+    */
     public $pfbRes;
 
     /**
-     * @var String 物品描述 default(物品描述) 
-     */
+    * @var String 物品描述 default(物品描述) 
+    */
     public $itemDesc;
 
     /**
-     * @var Int32 物品大归类 0 系统 1武器,2碎片,3材料, 4 言灵, 5 礼包 default(0) 
-     */
+    * @var Int32 物品大归类 0 系统 1武器,2碎片,3材料, 4 言灵, 5 礼包 default(0) 
+    */
     public $itemType;
 
     /**
-     * @var Int32 物品大归类 0 系统 1武器,2碎片,3材料, 4 言灵
-     *  物品小分类,
-     *  详细区分每类物品的作用: 
-     *      Gold = 1, // 金币
-     *      Gem = 2,  // 钻石
-     *      Weapon = 101,             // 武器
-     *      Segment = 201,            // 英雄碎片
-     *      YanlingBookSegement =202, // 言灵书碎片
-     *      BuffCard = 301,           // 消耗品 
-     *   经验卡
-     *      Package = 302,            // 消耗品 
-     *   礼包
-     *      Pill = 303,               // 药品(体力)
-     *      Gene = 311,               // 基础材料 
-     *   基因(角色经验丹)
-     *      StrengthStone = 312,      // 基础材料 
-     *   强化石(用于武器、言灵强化)
-     *      AdvancedStone = 321,      // 进阶材料 
-     *   进阶石(用于武器、言灵升阶)
-     *      AdvancedFineStone = 322,  // 进阶材料 
-     *   进阶 精华石(用于武器、言灵的升阶)
-     *      ForgingMaterial = 323,    // 锻造材料 
-     *   用于武器言灵锻造
-     *      Box = 331,                 // 活动道具 
-     *   宝箱
-     *      // 备注
-     *      BattleItem_HP = 341,       // 战场道具 
-     *   血瓶
-     *      BattleItem_MP = 342,       // 战场道具 
-     *   蓝瓶
-     *      BattleItem_Box = 343,      // 战场道具 
-     *   箱子
-     *      YanlingBook =351,          // 言灵召唤书 
-     *     
-     *      YanLing = 401,            // 言灵
-     *      Package_limit =501,    // 限购礼包
-     *      TaskCard =601,                // 任务卡 default(0) 
-     */
+    * @var Int32 物品大归类 0 系统 1武器,2碎片,3材料, 4 言灵
+    *  物品小分类,
+    *  详细区分每类物品的作用: 
+    *      Gold = 1, // 金币
+    *      Gem = 2,  // 钻石
+    *      Weapon = 101,             // 武器
+    *      Segment = 201,            // 英雄碎片
+    *      YanlingBookSegement =202, // 言灵书碎片
+    *      BuffCard = 301,           // 消耗品 
+    *   经验卡
+    *      Package = 302,            // 消耗品 
+    *   礼包
+    *      Pill = 303,               // 药品(体力)
+    *      Gene = 311,               // 基础材料 
+    *   基因(角色经验丹)
+    *      StrengthStone = 312,      // 基础材料 
+    *   强化石(用于武器、言灵强化)
+    *      AdvancedStone = 321,      // 进阶材料 
+    *   进阶石(用于武器、言灵升阶)
+    *      AdvancedFineStone = 322,  // 进阶材料 
+    *   进阶 精华石(用于武器、言灵的升阶)
+    *      ForgingMaterial = 323,    // 锻造材料 
+    *   用于武器言灵锻造
+    *      Box = 331,                 // 活动道具 
+    *   宝箱
+    *      // 备注
+    *      BattleItem_HP = 341,       // 战场道具 
+    *   血瓶
+    *      BattleItem_MP = 342,       // 战场道具 
+    *   蓝瓶
+    *      BattleItem_Box = 343,      // 战场道具 
+    *   箱子
+    *      YanlingBook =351,          // 言灵召唤书 
+    *     
+    *      YanLing = 401,            // 言灵
+    *      Package_limit =501,    // 限购礼包
+    *      TaskCard =601,                // 任务卡 default(0) 
+    */
     public $subType;
 
     /**
-     * @var Int32 道具可叠加展示的数量上限, 0 代表不可叠加 default(0) 
-     */
+    * @var Int32 道具可叠加展示的数量上限, 0 代表不可叠加 default(0) 
+    */
     public $pileNum;
 
     /**
-     * @var Int32 是否可以从包裹中卖掉 default(0) 
-     */
+    * @var Int32 是否可以从包裹中卖掉 default(0) 
+    */
     public $canSell;
 
     /**
-     * @var Int32 道具的回收(从包裹中卖掉)价格 default(0) 
-     */
+    * @var Int32 道具的回收(从包裹中卖掉)价格 default(0) 
+    */
     public $sellPrice;
 
     /**
-     * @var Int32 是否可以在包裹中使用 default(0) 
-     */
+    * @var Int32 是否可以在包裹中使用 default(0) 
+    */
     public $canUse;
 
     /**
-     * @var Int32 一次可以使用的数量上限 default(0) 
-     */
+    * @var Int32 一次可以使用的数量上限 default(0) 
+    */
     public $maxUseNum;
 
     /**
-     * @var Int32 品质/稀有度 default(1) 
-     */
+    * @var Int32 品质/稀有度 default(1) 
+    */
     public $quality;
 
+    /**
+    * @var String item的关卡途径  
+    */
+    public $channel;
+
 }
+

+ 33 - 30
Gameserver/Amfphp/model/Const/sm_item_taskcard.php

@@ -1,75 +1,78 @@
 <?php
-
 ////////////////////
-// 由CodeGenerator创建。
-// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
-// author: gwang      
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2021-03-31 15:37:46
 ////////////////////
 
+
 /**
  * Static Model item_taskcard 任务卡
  */
-class sm_item_taskcard {
+class sm_item_taskcard
+{
 
     /**
-     * @var Int32 查询用的ID  
-     */
+    * @var Int32 查询用的ID  
+    */
     public $typeId;
 
     /**
-     * @var String 【废弃2020.12.8】任务类型: 1. 串 2. 并 default(0) 
-     */
+    * @var String 【废弃2020.12.8】任务类型: 1. 串 2. 并 default(0) 
+    */
     public $stepType;
 
     /**
-     * @var String 任务名称 default(0) 
-     */
+    * @var String 任务名称 default(0) 
+    */
     public $taskName;
 
     /**
-     * @var String 任务描述 default(0) 
-     */
+    * @var String 任务描述 default(0) 
+    */
     public $taskDesc;
 
     /**
-     * @var String 前往  
-     */
+    * @var String 前往  
+    */
     public $goto_module;
 
     /**
-     * @var Int32 【废弃2020.12.11,全部需要手动点击领取】0 不自动 1 自动  
-     */
+    * @var Int32 【废弃2020.12.11,全部需要手动点击领取】0 不自动 1 自动  
+    */
     public $isAutoSettle;
 
     /**
-     * @var Int32 【暂时不用2020.12.11】任务标签(主线,支线...)  
-     */
+    * @var Int32 【暂时不用2020.12.11】任务标签(主线,支线...)  
+    */
     public $tab;
 
     /**
-     * @var String 常规任务卡, 言灵任务卡,
-     *    
-     */
+    * @var String 常规任务卡, 言灵任务卡,
+    *    
+    */
     public $cardType;
 
     /**
-     * @var String 任务步骤id default(0) 
-     */
+    * @var String 任务步骤id default(0) 
+    */
     public $tasksteps;
 
     /**
-     * @var String 完成任务后的奖励物品id,num;id,num  
-     */
+    * @var String 完成任务后的奖励物品id,num;id,num  
+    */
     public $reward;
 
     /**
-     * @var Int32 完成后奖励指挥官经验. default(0) 
-     */
+    * @var Int32 完成后奖励指挥官经验. default(0) 
+    */
     public $exp;
 
     /**
-     * @var String 完成后获得的新任务卡id  
-     */
+    * @var String 完成后获得的新任务卡id  
+    */
     public $newTaskCard;
 
 }
+

+ 49 - 47
Gameserver/Amfphp/model/Const/sm_plot.php

@@ -1,116 +1,118 @@
 <?php
-
 ////////////////////
-// 由CodeGenerator创建。
-// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
-// author: gwang 
-// 日期: 2021-03-31 17:31:53  
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2021-04-01 21:41:32
 ////////////////////
 
+
 /**
  * Static Model plot 剧情对话
  */
-class sm_plot {
+class sm_plot
+{
 
     /**
-     * @var Int32 关卡id  
-     */
+    * @var Int32 关卡id  
+    */
     public $gateId;
 
     /**
-     * @var Int32 阶段步骤  
-     */
+    * @var Int32 阶段步骤  
+    */
     public $stage;
 
     /**
-     * @var Int32 序号  
-     */
+    * @var Int32 序号  
+    */
     public $order;
 
     /**
-     * @var Boolean 是否关键帧 任务对话完成  default(0) 
-     */
+    * @var Boolean 是否关键帧 任务对话完成  default(0) 
+    */
     public $isKeyOrder;
 
     /**
-     * @var Int32 位置  
-     */
+    * @var Int32 位置  
+    */
     public $position;
 
     /**
-     * @var Int32 位置(Center,         // 0 中间 1人时    Left,           // 1 两人 左边 刷新 高亮     Right,          //2  两人 右边 刷新 高亮    OnlyLeft,       //3  单人 左边 唯一    OnlyRight,      //4  单人 右边 唯一 Narrator,       //5  旁白 不显示 演讲者
-     *      Player,         //6 玩家 当前 显示的演讲者 全部灰质)  
-     */
+    * @var Int32 位置(Center,         // 0 中间 1人时    Left,           // 1 两人 左边 刷新 高亮     Right,          //2  两人 右边 刷新 高亮    OnlyLeft,       //3  单人 左边 唯一    OnlyRight,      //4  单人 右边 唯一 Narrator,       //5  旁白 不显示 演讲者
+    *      Player,         //6 玩家 当前 显示的演讲者 全部灰质)  
+    */
     public $leftright;
 
     /**
-     * @var String 角色编号  
-     */
+    * @var String 角色编号  
+    */
     public $icon;
 
     /**
-     * @var String 角色对话美术资源  
-     */
+    * @var String 角色对话美术资源  
+    */
     public $speakerRes;
 
     /**
-     * @var String 角色播放动画  
-     */
+    * @var String 角色播放动画  
+    */
     public $speakerAnim;
 
     /**
-     * @var String 背景  
-     */
+    * @var String 背景  
+    */
     public $backgroundRes;
 
     /**
-     * @var String 背景动画  
-     */
+    * @var String 背景动画  
+    */
     public $backgroundAnim;
 
     /**
-     * @var Int32 字幕震动等级 default(0) 
-     */
+    * @var Int32 字幕震动等级 default(0) 
+    */
     public $shake;
 
     /**
-     * @var String 对白文本  
-     */
+    * @var String 对白文本  
+    */
     public $dialogue;
 
     /**
-     * @var String 赠与道具ID,num   
-     */
+    * @var String 赠与道具ID,num   
+    */
     public $presentItem;
 
     /**
-     * @var String 赠与效果  
-     */
+    * @var String 赠与效果  
+    */
     public $presentEffect;
 
     /**
-     * @var String 持有道具ID,num  
-     */
+    * @var String 持有道具ID,num  
+    */
     public $havingItem;
 
     /**
-     * @var String 回收道具ID,num  
-     */
+    * @var String 回收道具ID,num  
+    */
     public $recycleItem;
 
     /**
-     * @var String 回收效果  
-     */
+    * @var String 回收效果  
+    */
     public $recycleEffect;
 
     /**
-     * @var Single 打印字幕速度 default(0.1) 
-     */
+    * @var Single 打印字幕速度 default(0.1) 
+    */
     public $printTime;
 
     /**
-     * @var Int32 动画循环模式 0 循环 其他播放次数 default(1) 
-     */
+    * @var Int32 动画循环模式 0 循环 其他播放次数 default(1) 
+    */
     public $AnimLoop;
 
 }
+

+ 1 - 1
Gameserver/Amfphp/model/User/Ins_TaskCard.php

@@ -94,7 +94,7 @@ class Ins_TaskCard extends Object_ext {
         if (!$exists) {
             $newstp = new Ins_TaskStep($stpid);
             $this->curSteps[] = $newstp;
-            $newstp->doStartAct();
+//            $newstp->doStartAct();
         }
     }
 

+ 6 - 1
Gameserver/Amfphp/model/User/Ins_TaskStep.php

@@ -107,7 +107,12 @@ class Ins_TaskStep extends Object_ext {
                 foreach ($arr as $plot) {
                     isEditor() and $plot = new \sm_plot();
                     if (!empty($plot->presentItem)) {
-                        StoreProc::AddMultiItemInStore(req(), $plot->presentItem);
+                        if (strtolower($plot->presentItem) == strtolower("unlockBuild")  //
+                                || strtolower($plot->presentItem) == strtolower("rename")) {
+                            // 跳过特殊字符串
+                        } else {
+                            StoreProc::AddMultiItemInStore(req(), $plot->presentItem);
+                        }
                     }
                     if (!empty($plot->recycleItem)) {
                         $val = explode(",", $plot->recycleItem);

+ 1 - 0
Gameserver/Amfphp/process/StoreProc.php

@@ -296,6 +296,7 @@ class StoreProc {
         $ary = explode(";", $goodsStr);
         foreach ($ary as $value) {
             $val = explode(",", $value);
+            var_dump($ary);
             my_Assert(count($val) > 1, "解析奖励字符串出错");
             list( $itemId, $num) = $val;                                        # ID, 数量
             $smItem = GameConfig::item_base_getItem($itemId);                   # 道具mo

+ 2 - 2
Gameserver/Amfphp/process/TaskProc.php

@@ -301,7 +301,7 @@ class TaskProc {
             if ($tsp->isStatusType()) {                                         # 如果是道具收集类的, 扣除所收集道具
                 $tsp->autoCalcStatusCur();
             }
-            $tsp->doStartAct();
+//            $tsp->doStartAct();
         }
         if ($taskCard->IsFinish()) {                                            # 检查是否任务卡的所有步骤都已完成
             $taskCard->state = Enum_TaskCardStateType::finish;
@@ -871,7 +871,7 @@ class TaskProc {
                     NormalEventProc::OnTaskCardStep_Process($task->uid, $tsp->typeId); # 任务进度更新
                     if ($tsp->isFinish()) {
                         NormalEventProc::OnTaskCardStep_Complete($task->uid, $tsp->typeId); # 广播任务步骤完成事件
-                        $tsp->doFinishAct();
+//                        $tsp->doFinishAct();
                     }
                 }
             }

+ 2 - 1
Gameserver/Amfphp/test.php

@@ -9,4 +9,5 @@ echoLine("phpver: " . PHP_VERSION . PHP_EOL);
 //
 //set_time_limit(15);                                                           # 设置执行超时时间
 //
-// 
+// 
+