Przeglądaj źródła

”战令配置“

cyzhao 7 miesięcy temu
rodzic
commit
cf6e09dca4

+ 33 - 1
Gameserver/App/configs/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-10 10:09:20
+ // 日期: 2024-10-16 12:02:32
 ////////////////////
 
 namespace loyalsoft;
@@ -927,6 +927,38 @@ class GameConfig {
         return self::get_hash_item('activity_promopackinfo_type', $key);
     }
     /**
+    * 战令表
+    * @return \activity_battlepass
+    */
+    public static function activity_battlepass()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'activity_battlepass');
+    }
+    /**
+    * @return \sm_activity_battlepass activity_battlepass item数据 
+    */
+    public static function activity_battlepass_getItem($itemid)
+    { 
+        return self::get_hash_item('activity_battlepass', $itemid);
+    }
+    /**
+    * 战令类型区别
+    * @return \activity_battlepass_type
+    */
+    public static function activity_battlepass_type()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'activity_battlepass_type');
+    }
+    /**
+    * @return \sm_activity_battlepass_type activity_battlepass_type itemArray 
+    */
+    public static function activity_battlepass_type_getItemArray($key)
+    { 
+        return self::get_hash_item('activity_battlepass_type', $key);
+    }
+    /**
     * 当前版本(时间戳)
     * @return \ver
     */

+ 33 - 1
Gameserver/App/model/Const/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-11 17:37:58
+ // 日期: 2024-10-16 12:02:32
 ////////////////////
 
 /**
@@ -925,6 +925,38 @@ class GameConfig {
         return self::get_hash_item('activity_promopackinfo_type', $key);
     }
     /**
+    * 战令表
+    * @return \activity_battlepass
+    */
+    public static function activity_battlepass()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'activity_battlepass');
+    }
+    /**
+    * @return \sm_activity_battlepass activity_battlepass item数据 
+    */
+    public static function activity_battlepass_getItem($itemid)
+    { 
+        return self::get_hash_item('activity_battlepass', $itemid);
+    }
+    /**
+    * 战令类型区别
+    * @return \activity_battlepass_type
+    */
+    public static function activity_battlepass_type()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'activity_battlepass_type');
+    }
+    /**
+    * @return \sm_activity_battlepass_type activity_battlepass_type itemArray 
+    */
+    public static function activity_battlepass_type_getItemArray($key)
+    { 
+        return self::get_hash_item('activity_battlepass_type', $key);
+    }
+    /**
     * 当前版本(时间戳)
     * @return \ver
     */

+ 50 - 0
Gameserver/App/model/Const/sm_activity_battlepass.php

@@ -0,0 +1,50 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2024-10-15 15:06:52
+////////////////////
+
+
+/**
+ * Static Model activity_battlepass 战令表
+ */
+class sm_activity_battlepass
+{
+
+    /**
+    * @var Int32 自增  
+    */
+    public $id;
+
+    /**
+    * @var Int32 不同战令类型: 跟sub解锁表的保持一致 default(0) 
+    */
+    public $type;
+
+    /**
+    * @var Int32 解锁条件和战令类型相匹配
+    *  关卡战令:关卡ID
+    *  日周常战令:活跃点
+    *  体力战令:体力点  
+    */
+    public $typeId;
+
+    /**
+    * @var String id条件名称  
+    */
+    public $name;
+
+    /**
+    * @var String 初级奖励  
+    */
+    public $rewards_base;
+
+    /**
+    * @var String 高级奖励  
+    */
+    public $rewards_high;
+
+}
+

+ 50 - 0
Gameserver/App/model/Const/sm_activity_battlepass_type.php

@@ -0,0 +1,50 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2024-10-15 15:06:52
+////////////////////
+
+
+/**
+ * Static Model activity_battlepass_type 战令类型区别
+ */
+class sm_activity_battlepass_type
+{
+
+    /**
+    * @var Int32 自增  
+    */
+    public $id;
+
+    /**
+    * @var Int32 不同战令类型: 跟sub解锁表的保持一致 default(0) 
+    */
+    public $type;
+
+    /**
+    * @var Int32 解锁条件和战令类型相匹配
+    *  关卡战令:关卡ID
+    *  日周常战令:活跃点
+    *  体力战令:体力点  
+    */
+    public $typeId;
+
+    /**
+    * @var String id条件名称  
+    */
+    public $name;
+
+    /**
+    * @var String 初级奖励  
+    */
+    public $rewards_base;
+
+    /**
+    * @var String 高级奖励  
+    */
+    public $rewards_high;
+
+}
+

+ 6 - 5
Gameserver/App/model/Const/sm_activity_promopackinfo.php

@@ -36,10 +36,8 @@ class sm_activity_promopackinfo
     /**
     * @var Int32 奖励类别
     *  1、资源补给礼包
-    *  2、关卡等级礼包 
-    *  3、洗练石相关礼包 
-    *  4、角色相关礼包
-    *  5、角色碎片相关礼包  
+    *  2、洗练石相关礼包 
+    *  3、角色相关礼包  
     */
     public $type;
 
@@ -54,7 +52,10 @@ class sm_activity_promopackinfo
     public $limitNum;
 
     /**
-    * @var String 购买金钱消耗  
+    * @var String 购买金钱消耗:类型,数量
+    *  1:金币
+    *  2:元宝
+    *  3:RMB  
     */
     public $cost;
 

+ 6 - 5
Gameserver/App/model/Const/sm_activity_promopackinfo_type.php

@@ -36,10 +36,8 @@ class sm_activity_promopackinfo_type
     /**
     * @var Int32 奖励类别
     *  1、资源补给礼包
-    *  2、关卡等级礼包 
-    *  3、洗练石相关礼包 
-    *  4、角色相关礼包
-    *  5、角色碎片相关礼包  
+    *  2、洗练石相关礼包 
+    *  3、角色相关礼包  
     */
     public $type;
 
@@ -54,7 +52,10 @@ class sm_activity_promopackinfo_type
     public $limitNum;
 
     /**
-    * @var String 购买金钱消耗  
+    * @var String 购买金钱消耗:类型,数量
+    *  1:金币
+    *  2:元宝
+    *  3:RMB  
     */
     public $cost;
 

+ 1 - 1
Gameserver/App/model/Const/sm_fun_unlock.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-30 12:05:51
+ // 日期: 2024-10-15 15:35:52
 ////////////////////
 
 

+ 21 - 1
Gameserver/App/model/Const/sm_globalsettings.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-11 17:33:35
+ // 日期: 2024-10-15 15:16:03
 ////////////////////
 
 
@@ -313,5 +313,25 @@ class sm_globalsettings
     */
     public $activity_limitTsBuy_giftTypeNum;
 
+    /**
+    * @var Int32 邮件数据保留时间(秒)(14天)  
+    */
+    public $MailData_RemainSeconds;
+
+    /**
+    * @var Int32 关卡高级战令购买金额  
+    */
+    public $activity_battlepass_gate_buyCost;
+
+    /**
+    * @var Int32 活跃点高级战令购买金额  
+    */
+    public $activity_battlepass_activePoint_buyCost;
+
+    /**
+    * @var Int32 体力战令高级购买  
+    */
+    public $activity_battlepass_tili_buyCost;
+
 }
 

+ 1 - 1
Gameserver/App/model/Const/sm_skills.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-10-09 17:33:16
+ // 日期: 2024-10-16 11:35:52
 ////////////////////
 
 

+ 2 - 1
Gameserver/App/model/Const/sm_subfun_unlock.php

@@ -50,7 +50,8 @@ class sm_subfun_unlock
     public $endTs;
 
     /**
-    * @var String 活动持续时间(单秒:秒)
+    * @var String 活动持续时间:填写类型(天)
+    *  日常周常写死固定 
     *    
     */
     public $ts;