gwang 4 years ago
parent
commit
83eb5210a9

+ 10 - 249
Gameserver/Amfphp/configs/GameConfig.php

@@ -6,15 +6,15 @@ namespace loyalsoft;
 // 由CodeGenerator创建。
 // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
 // author: gwang 
-// 日期: 2020-11-24 15:46:47
+// 日期: 2020-12-14 09:58:03
 ////////////////////
 
 /**
  * 常量配置数据 
  */
 class GameConfig {
-
 // <editor-fold defaultstate="collapsed" desc="  基础代码 ">    
+
     /**
      * 是否启用codegen 
      */
@@ -82,6 +82,7 @@ class GameConfig {
     }
 
 // </editor-fold>
+
     /**
      * 全局参数
      * @return \globalsettings
@@ -123,22 +124,6 @@ class GameConfig {
         return self::get_hash_item('heroextra_level', $heroId)->$quality;
     }
 
-    /**
-     * 开服七天活动
-     * @return \day7
-     */
-    public static function day7() {
-        static $a = null;
-        return self::initValue($a, 'day7');
-    }
-
-    /**
-     * @return \sm_day7 day7 item数据 
-     */
-    public static function day7_getItem($itemid) {
-        return self::get_hash_item('day7', $itemid);
-    }
-
     /**
      * [废弃]
      * @return \item
@@ -171,22 +156,6 @@ class GameConfig {
         return self::get_hash_item('itemlevel', $itemid);
     }
 
-    /**
-     * 英雄的好感度提升(消耗金币)
-     * @return \heroextra_favor
-     */
-    public static function heroextra_favor() {
-        static $a = null;
-        return self::initValue($a, 'heroextra_favor');
-    }
-
-    /**
-     * @return \sm_heroextra_favor heroextra_favor item数据 
-     */
-    public static function heroextra_favor_getItem($itemid) {
-        return self::get_hash_item('heroextra_favor', $itemid);
-    }
-
     /**
      * 英雄的升级——每级成长消耗经验需求表
      * @return \hero_levelexp
@@ -203,22 +172,6 @@ class GameConfig {
         return self::get_hash_item('hero_levelexp', $itemid);
     }
 
-    /**
-     * 英雄的升星(消耗金币+ 属性加成)
-     * @return \heroextra_star
-     */
-    public static function heroextra_star() {
-        static $a = null;
-        return self::initValue($a, 'heroextra_star');
-    }
-
-    /**
-     * @return \sm_heroextra_star heroextra_star item数据 
-     */
-    public static function heroextra_star_getItem($itemid) {
-        return self::get_hash_item('heroextra_star', $itemid);
-    }
-
     /**
      * 英雄的升阶(消耗金币+ 属性加成)
      * @return \heroextra_dengjie
@@ -331,22 +284,6 @@ class GameConfig {
         return self::get_hash_item('item_yanling', $itemid);
     }
 
-    /**
-     * 技能升级消耗金币
-     * @return \skill_upgrade_cost
-     */
-    public static function skill_upgrade_cost() {
-        static $a = null;
-        return self::initValue($a, 'skill_upgrade_cost');
-    }
-
-    /**
-     * @return \sm_skill_upgrade_cost skill_upgrade_cost item数据 
-     */
-    public static function skill_upgrade_cost_getItem($itemid) {
-        return self::get_hash_item('skill_upgrade_cost', $itemid);
-    }
-
     /**
      * 商城
      * @return \shop
@@ -411,22 +348,6 @@ class GameConfig {
         return self::get_hash_item('item_taskcard', $itemid);
     }
 
-    /**
-     * 无穷无尽关卡模式
-     * @return \gate_forever
-     */
-    public static function gate_forever() {
-        static $a = null;
-        return self::initValue($a, 'gate_forever');
-    }
-
-    /**
-     * @return \sm_gate_forever gate_forever item数据 
-     */
-    public static function gate_forever_getItem($itemid) {
-        return self::get_hash_item('gate_forever', $itemid);
-    }
-
     /**
      * 系统邮件
      * @return \sysmail
@@ -507,22 +428,6 @@ class GameConfig {
         return self::get_hash_item('pvp_shop', $itemid);
     }
 
-    /**
-     * 熔炼实验室
-     * @return \smelting
-     */
-    public static function smelting() {
-        static $a = null;
-        return self::initValue($a, 'smelting');
-    }
-
-    /**
-     * @return \sm_smelting smelting item数据 
-     */
-    public static function smelting_getItem($itemid) {
-        return self::get_hash_item('smelting', $itemid);
-    }
-
     /**
      * 配置的关卡相关的战斗数据
      * @return \gate_combat
@@ -539,22 +444,6 @@ class GameConfig {
         return self::get_hash_item('gate_combat', $itemid);
     }
 
-    /**
-     * [废弃]
-     * @return \gate_carbon_content
-     */
-    public static function gate_carbon_content() {
-        static $a = null;
-        return self::initValue($a, 'gate_carbon_content');
-    }
-
-    /**
-     * @return \sm_gate_carbon_content gate_carbon_content item数据 
-     */
-    public static function gate_carbon_content_getItem($itemid) {
-        return self::get_hash_item('gate_carbon_content', $itemid);
-    }
-
     /**
      * 每日任务
      * @return \task_daily
@@ -571,22 +460,6 @@ class GameConfig {
         return self::get_hash_item('task_daily', $itemid);
     }
 
-    /**
-     * 抽奖保底数据
-     * @return \choujiang_baodi
-     */
-    public static function choujiang_baodi() {
-        static $a = null;
-        return self::initValue($a, 'choujiang_baodi');
-    }
-
-    /**
-     * @return \sm_choujiang_baodi choujiang_baodi item数据 
-     */
-    public static function choujiang_baodi_getItem($typeId, $cishu) {
-        return self::get_hash_item('choujiang_baodi', "$typeId-$cishu");
-    }
-
     /**
      * 英雄的升级——成长可消耗的道具表
      * @return \hero_levelexp_costitem
@@ -603,38 +476,6 @@ class GameConfig {
         return self::get_hash_item('hero_levelexp_costitem', $itemid);
     }
 
-    /**
-     * 抽奖设置数据
-     * @return \choujiang_settings
-     */
-    public static function choujiang_settings() {
-        static $a = null;
-        return self::initValue($a, 'choujiang_settings');
-    }
-
-    /**
-     * @return \sm_choujiang_settings choujiang_settings item数据 
-     */
-    public static function choujiang_settings_getItem($itemid) {
-        return self::get_hash_item('choujiang_settings', $itemid);
-    }
-
-    /**
-     * 引导步骤
-     * @return \guide_step
-     */
-    public static function guide_step() {
-        static $a = null;
-        return self::initValue($a, 'guide_step');
-    }
-
-    /**
-     * @return \sm_guide_step guide_step item数据 
-     */
-    public static function guide_step_getItem($itemid) {
-        return self::get_hash_item('guide_step', $itemid);
-    }
-
     /**
      * 引导触发
      * @return \guide_trigger
@@ -667,54 +508,6 @@ class GameConfig {
         return self::get_hash_item('task_node', $itemid);
     }
 
-    /**
-     * 宝箱
-     * @return \box
-     */
-    public static function box() {
-        static $a = null;
-        return self::initValue($a, 'box');
-    }
-
-    /**
-     * @return \sm_box box item数据 
-     */
-    public static function box_getItem($itemid) {
-        return self::get_hash_item('box', $itemid);
-    }
-
-    /**
-     * 宝箱的奖池
-     * @return \boxpool
-     */
-    public static function boxpool() {
-        static $a = null;
-        return self::initValue($a, 'boxpool');
-    }
-
-    /**
-     * @return \sm_boxpool boxpool item数据 
-     */
-    public static function boxpool_getItem($itemid) {
-        return self::get_hash_item('boxpool', $itemid);
-    }
-
-    /**
-     * 英雄————神血系统
-     * @return \heroextra_godblood
-     */
-    public static function heroextra_godblood() {
-        static $a = null;
-        return self::initValue($a, 'heroextra_godblood');
-    }
-
-    /**
-     * @return \sm_heroextra_godblood heroextra_godblood item数据 
-     */
-    public static function heroextra_godblood_getItem($itemid) {
-        return self::get_hash_item('heroextra_godblood', $itemid);
-    }
-
     /**
      * 碎片
      * @return \segment
@@ -747,22 +540,6 @@ class GameConfig {
         return self::get_hash_item('gate_world', $itemid);
     }
 
-    /**
-     * [废弃]
-     * @return \gate_city
-     */
-    public static function gate_city() {
-        static $a = null;
-        return self::initValue($a, 'gate_city');
-    }
-
-    /**
-     * @return \sm_gate_city gate_city item数据 
-     */
-    public static function gate_city_getItem($itemid) {
-        return self::get_hash_item('gate_city', $itemid);
-    }
-
     /**
      * 神秘商城道具表-by goodstype
      * @return \secretshop_goodsType
@@ -876,19 +653,19 @@ class GameConfig {
     }
 
     /**
-     * 碎片融合的概率表
-     * @return \segment_ronghe
+     * 任务卡商店
+     * @return \taskcard_shop
      */
-    public static function segment_ronghe() {
+    public static function taskcard_shop() {
         static $a = null;
-        return self::initValue($a, 'segment_ronghe');
+        return self::initValue($a, 'taskcard_shop');
     }
 
     /**
-     * @return \sm_segment_ronghe segment_ronghe item数据 
+     * @return \sm_taskcard_shop taskcard_shop item数据 
      */
-    public static function segment_ronghe_getItem($itemid) {
-        return self::get_hash_item('segment_ronghe', $itemid);
+    public static function taskcard_shop_getItem($itemid) {
+        return self::get_hash_item('taskcard_shop', $itemid);
     }
 
     /**
@@ -907,22 +684,6 @@ class GameConfig {
         return self::get_hash_item('segment_byPinzhi', $quailty)->$itemType;
     }
 
-    /**
-     * 宝箱经验卡掉落数据
-     * @return \boxJingYanCards
-     */
-    public static function boxJingYanCards() {
-        static $a = null;
-        return self::initValue($a, 'boxJingYanCards');
-    }
-
-    /**
-     * @return \sm_boxJingYanCards boxJingYanCards item数据 
-     */
-    public static function boxJingYanCards_getItem($itemid) {
-        return self::get_hash_item('boxJingYanCards', $itemid);
-    }
-
     /**
      * 活动: 在线礼包
      * @return \activity_onlinegift

+ 17 - 1
Gameserver/Amfphp/model/Const/GameConfig.php

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2020-12-12 14:33:24
+ // 日期: 2020-12-14 09:58:03
 ////////////////////
 
 /**
@@ -647,6 +647,22 @@ class GameConfig {
         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
     */

+ 48 - 0
Gameserver/Amfphp/model/Const/sm_taskcard_shop.php

@@ -0,0 +1,48 @@
+<?php
+
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2020-12-14 09:14:43
+////////////////////
+
+
+/**
+ * Static Model taskcard_shop 任务卡商店
+ */
+class sm_taskcard_shop
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。  
+    */
+    public $id;
+
+    /**
+    * @var Int32 商品ID(任务卡道具id)  
+    */
+    public $typeId;
+
+    /**
+    * @var Int32 物品售价,起步价, 按照购买次数翻倍  
+    */
+    public $price;
+
+    /**
+    * @var Int32 定价类型: 0.RMB, 1.钻石, 2.金币  
+    */
+    public $pricetype;
+
+    /**
+    * @var Int32 解锁所需(玩家)等级【保留】 default(1) 
+    */
+    public $unlock_level;
+
+    /**
+    * @var Int32 在商店中展示的基础概率(权重,所有卡的随机池)  
+    */
+    public $probability;
+
+}
+

+ 12 - 13
Gameserver/nbproject/private/private.xml

@@ -12,24 +12,23 @@
     </editor-bookmarks>
     <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
         <group>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/del_Info_MissInfo.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/del_MissProc.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Data_UserZoneInfo.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/del_Ins_MissEventInfo.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Enum_EventType.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/StoreProc.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Enum_TaskCmdType.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/TaskProc.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Data_UserProfile.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Info_UserTask.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/del_Ins_MissEventCode.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Ins_TaskParams.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/del_MissProc.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Ins_TaskEventArgs.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/del_Ins_MisStatus.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Ins_TaskCard.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Ins_TaskStep.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Ins_TaskInfo.php</file>
             <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/base/CmdCode.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Info_UserShop.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Info_Store.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/del_Ins_MisStatus.php</file>
-            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Data_UserGame.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/del_Ins_MissEventInfo.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/TaskProc.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Ins_TaskStep.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Enum_PropelType.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Enum_TaskCardStateType.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/process/EventProc/NormalEventProc.php</file>
+            <file>file:/D:/local_svn/0_ylsj2019/ylsj2019Server/Gameserver/Amfphp/model/User/Ins_TaskParams.php</file>
         </group>
     </open-files>
 </project-private>