Procházet zdrojové kódy

活跃度数据类型变化

cyzhao před 1 rokem
rodič
revize
993809e06f
27 změnil soubory, kde provedl 40 přidání a 50 odebrání
  1. 4 20
      Gameserver/App/configs/GameConfig.php
  2. 1 1
      Gameserver/App/model/Const/GameConfig.php
  3. 1 1
      Gameserver/App/model/Const/sm_achieve_new.php
  4. 2 2
      Gameserver/App/model/Const/sm_activeTask.php
  5. 2 2
      Gameserver/App/model/Const/sm_activeTask_type.php
  6. 1 1
      Gameserver/App/model/Const/sm_active_day7_accumulate.php
  7. 1 1
      Gameserver/App/model/Const/sm_activity.php
  8. 1 1
      Gameserver/App/model/Const/sm_activity_day7.php
  9. 1 1
      Gameserver/App/model/Const/sm_announcement.php
  10. 1 1
      Gameserver/App/model/Const/sm_clientVersionHistory.php
  11. 1 1
      Gameserver/App/model/Const/sm_equip.php
  12. 1 1
      Gameserver/App/model/Const/sm_equip_levelupgrade.php
  13. 1 1
      Gameserver/App/model/Const/sm_errmsg.php
  14. 1 1
      Gameserver/App/model/Const/sm_evolve.php
  15. 1 1
      Gameserver/App/model/Const/sm_gate.php
  16. 1 1
      Gameserver/App/model/Const/sm_gate_sbox.php
  17. 1 1
      Gameserver/App/model/Const/sm_gem.php
  18. 6 1
      Gameserver/App/model/Const/sm_globalsettings.php
  19. 1 1
      Gameserver/App/model/Const/sm_hero.php
  20. 1 1
      Gameserver/App/model/Const/sm_heroattr.php
  21. 1 1
      Gameserver/App/model/Const/sm_item.php
  22. 1 1
      Gameserver/App/model/Const/sm_plots.php
  23. 1 1
      Gameserver/App/model/Const/sm_predicate.php
  24. 1 1
      Gameserver/App/model/Const/sm_service_schedule.php
  25. 1 1
      Gameserver/App/model/Const/sm_shop_cash.php
  26. 1 1
      Gameserver/App/model/Const/sm_sysmail.php
  27. 4 3
      Gameserver/App/process/TaskProc.php

+ 4 - 20
Gameserver/App/configs/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-05-14 10:31:17
+ // 日期: 2024-05-22 09:31:15
 ////////////////////
 namespace loyalsoft;
 /**
@@ -285,7 +285,7 @@ class GameConfig {
         return self::get_hash_item('shop_daily', $itemid);
     }
     /**
-    * 钻石
+    * 钻石商店
     * @return \shop_cash
     */
     public static function shop_cash()
@@ -301,7 +301,7 @@ class GameConfig {
         return self::get_hash_item('shop_cash', $itemid);
     }
     /**
-    * 金币
+    * 金币商店
     * @return \shop_gold
     */
     public static function shop_gold()
@@ -317,7 +317,7 @@ class GameConfig {
         return self::get_hash_item('shop_gold', $itemid);
     }
     /**
-    * 
+    * 商城供给表-应该是废弃了
     * @return \shop_supply
     */
     public static function shop_supply()
@@ -589,22 +589,6 @@ class GameConfig {
         return self::get_hash_item('announcement', $itemid);
     }
     /**
-    * 战斗: 挑战关卡
-    * @return \tower_gate
-    */
-    public static function tower_gate()
-    { 
-        static $a = null; 
-        return self::initValue($a, 'tower_gate');
-    }
-    /**
-    * @return \sm_tower_gate tower_gate item数据 
-    */
-    public static function tower_gate_getItem($itemid)
-    { 
-        return self::get_hash_item('tower_gate', $itemid);
-    }
-    /**
     * 当前版本(时间戳)
     * @return \ver
     */

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-05-17 11:49:42
+ // 日期: 2024-05-22 09:31:15
 ////////////////////
 
 /**

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

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

+ 2 - 2
Gameserver/App/model/Const/sm_activeTask.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-04-30 15:32:55
+ // 日期: 2024-05-22 09:21:15
 ////////////////////
 
 
@@ -69,7 +69,7 @@ class sm_activeTask
     public $etc;
 
     /**
-    * @var Int32 活跃点 default(0) 
+    * @var String 活跃点  
     */
     public $activePoint;
 

+ 2 - 2
Gameserver/App/model/Const/sm_activeTask_type.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-04-30 15:32:55
+ // 日期: 2024-05-22 09:21:15
 ////////////////////
 
 
@@ -69,7 +69,7 @@ class sm_activeTask_type
     public $etc;
 
     /**
-    * @var Int32 活跃点 default(0) 
+    * @var String 活跃点  
     */
     public $activePoint;
 

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

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

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-05-06 11:25:42
+ // 日期: 2024-05-21 15:01:12
 ////////////////////
 
 

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

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

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

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

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

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

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

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

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

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

+ 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-04-22 17:07:05
+ // 日期: 2024-05-20 17:15:17
 ////////////////////
 
 

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

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

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

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

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-04-26 11:02:55
+ // 日期: 2024-05-20 17:15:17
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-04-22 17:07:06
+ // 日期: 2024-05-20 17:15:18
 ////////////////////
 
 

+ 6 - 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-05-17 11:49:38
+ // 日期: 2024-05-22 09:13:17
 ////////////////////
 
 
@@ -173,5 +173,10 @@ class sm_globalsettings
     */
     public $tower_refreshCost;
 
+    /**
+    * @var int 通关第5关解锁7日活动  
+    */
+    public $GateUnlock_7DayActive;
+
 }
 

+ 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-05-11 10:32:56
+ // 日期: 2024-05-20 17:15:18
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-04-22 17:07:06
+ // 日期: 2024-05-20 17:15:18
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-05-10 16:26:44
+ // 日期: 2024-05-20 17:15:18
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-05-17 11:22:10
+ // 日期: 2024-05-20 17:15:19
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-05-11 10:07:06
+ // 日期: 2024-05-20 17:15:19
 ////////////////////
 
 

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

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

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-05-11 14:32:56
+ // 日期: 2024-05-20 17:15:19
 ////////////////////
 
 

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

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

+ 4 - 3
Gameserver/App/process/TaskProc.php

@@ -90,15 +90,16 @@ class TaskProc {
         ctx()->task->activeTaskInfo->$uid->state = Enum_TaskCardStateType::drawed;
         ctx()->task->activeTaskInfo->$uid->drawTs = now();
 
+        $activePointArr = explode(',', $ins_activeTaskInfo->mo()->activePoint);
         switch ($ins_activeTaskInfo->mo()->type) {
             case Enum_ActiveTaskType::Day7:
-                ctx()->task->day7Point += $ins_activeTaskInfo->mo()->activePoint;
+                ctx()->task->day7Point += $activePointArr[1];
                 break;
             case Enum_ActiveTaskType::DailyTask:
-                ctx()->task->dailyTaskPoint += $ins_activeTaskInfo->mo()->activePoint;
+                ctx()->task->dailyTaskPoint += $activePointArr[1];
                 break;
             case Enum_ActiveTaskType::WeekTask:
-                ctx()->task->weekTaskPoint += $ins_activeTaskInfo->mo()->activePoint;
+                ctx()->task->weekTaskPoint += $activePointArr[1];
                 break;
             default:
                 break;