cyzhao 9 miesięcy temu
rodzic
commit
064a7faf8d

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-04 16:28:27
+ // 日期: 2024-09-06 10:15:03
 ////////////////////
 
 namespace loyalsoft;
@@ -799,6 +799,22 @@ class GameConfig {
         return self::get_hash_item('firstrecharge_reward', $itemid);
     }
     /**
+    * 累计充值
+    * @return \accumulaterecharge
+    */
+    public static function accumulaterecharge()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'accumulaterecharge');
+    }
+    /**
+    * @return \sm_accumulaterecharge accumulaterecharge item数据 
+    */
+    public static function accumulaterecharge_getItem($itemid)
+    { 
+        return self::get_hash_item('accumulaterecharge', $itemid);
+    }
+    /**
     * 当前版本(时间戳)
     * @return \ver
     */

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-04 16:28:27
+ // 日期: 2024-09-06 10:15:03
 ////////////////////
 
 /**
@@ -797,6 +797,22 @@ class GameConfig {
         return self::get_hash_item('firstrecharge_reward', $itemid);
     }
     /**
+    * 累计充值
+    * @return \accumulaterecharge
+    */
+    public static function accumulaterecharge()
+    { 
+        static $a = null; 
+        return self::initValue($a, 'accumulaterecharge');
+    }
+    /**
+    * @return \sm_accumulaterecharge accumulaterecharge item数据 
+    */
+    public static function accumulaterecharge_getItem($itemid)
+    { 
+        return self::get_hash_item('accumulaterecharge', $itemid);
+    }
+    /**
     * 当前版本(时间戳)
     * @return \ver
     */

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

@@ -0,0 +1,32 @@
+<?php
+////////////////////
+ // 由CodeGenerator创建。
+ // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
+ // author: gwang 
+ // 日期: 2024-09-05 17:01:24
+////////////////////
+
+
+/**
+ * Static Model accumulaterecharge 累计充值
+ */
+class sm_accumulaterecharge
+{
+
+    /**
+    * @var Int32 用途未知!!请到数据库中添加字段注释。 default(0) 
+    */
+    public $id;
+
+    /**
+    * @var Int32 元宝数量 default(0) 
+    */
+    public $yuanbao;
+
+    /**
+    * @var String 奖励  
+    */
+    public $reward;
+
+}
+

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-08-29 17:20:26
+ // 日期: 2024-09-06 10:05:38
 ////////////////////
 
 

+ 14 - 4
Gameserver/App/model/Const/sm_globalsettings.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-04 16:04:44
+ // 日期: 2024-09-05 16:05:50
 ////////////////////
 
 
@@ -24,12 +24,12 @@ class sm_globalsettings
     public $equipLeveUpTuzhi;
 
     /**
-    * @var string   
+    * @var string [废弃]  
     */
     public $equipQualUnlockSkillId;
 
     /**
-    * @var string 装备品阶+1+2的记录  
+    * @var string [废弃]装备品阶+1+2的记录  
     */
     public $equipQualAdd;
 
@@ -254,7 +254,7 @@ class sm_globalsettings
     public $FirstMainTaskId;
 
     /**
-    * @var int 技能封印按钮可用条件(已解锁技能总数达到X)  
+    * @var int 法术书技能封印按钮可用条件(已解锁技能总数达到X)  
     */
     public $Skill_LockBtn_EnableCount;
 
@@ -273,5 +273,15 @@ class sm_globalsettings
     */
     public $FirstRechargeDesc;
 
+    /**
+    * @var string 改名->花费  
+    */
+    public $Rename_Cost;
+
+    /**
+    * @var int 改名->冷却时间  
+    */
+    public $Rename_Cooldown;
+
 }
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-04 14:35:50
+ // 日期: 2024-09-05 17:35:50
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-09-04 14:35:50
+ // 日期: 2024-09-05 17:35:50
 ////////////////////
 
 

+ 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-09-04 12:05:50
+ // 日期: 2024-09-05 10:23:34
 ////////////////////
 
 

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

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

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

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

+ 1 - 1
Gameserver/App/process/PayProc.php

@@ -896,7 +896,7 @@ class PayProc {
 //        $sTs = $ts + $day -1;
 //        my_Assert(TimeUtil::totalDays() >= $sTs, ErrCode::pay_rewardReceive_ts_limit);    
        
-        for ($i = 1; $i < ctx()->privateState->firstRecharge_receiveTag; $i++) {
+        for ($i = 1; $i <= ctx()->privateState->firstRecharge_receiveTag; $i++) {
             if(!in_array($i,ctx()->privateState->firstRechargeRewardRecord)){
                 ctx()->privateState->firstRechargeRewardRecord[] = $i;               
                 $mo = GameConfig::firstrecharge_reward_getItem($i);