cyzhao 3 жил өмнө
parent
commit
36dc126ffc

+ 1 - 1
Gameserver/Amfphp/configs/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-08-17 11:47:07
+ // 日期: 2021-09-23 11:04:16
 ////////////////////
 namespace loyalsoft;
 /**

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-08-17 11:47:07
+ // 日期: 2021-09-23 11:04:16
 ////////////////////
 
 /**

+ 1 - 1
Gameserver/Amfphp/model/Const/globalsettings.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-08-17 11:41:38
+ // 日期: 2021-08-18 15:47:11
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_drop.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-08-02 18:13:52
+ // 日期: 2021-09-14 10:48:09
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-08-10 16:41:40
+ // 日期: 2021-08-30 15:30:20
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_eventAction.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-07-22 11:18:23
+ // 日期: 2021-09-17 16:45:52
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-08-04 16:21:21
+ // 日期: 2021-08-23 14:29:45
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_heroextra_level.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-07-13 14:53:11
+ // 日期: 2021-09-23 10:37:06
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_heroextra_level_tupo.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-07-13 14:53:11
+ // 日期: 2021-09-23 10:37:06
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_item_base.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-08-16 10:28:50
+ // 日期: 2021-09-17 16:46:53
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_item_stones.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-06-04 16:53:45
+ // 日期: 2021-09-01 10:06:42
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_item_stones_type.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-06-04 16:53:45
+ // 日期: 2021-09-01 10:06:42
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-07-28 17:00:55
+ // 日期: 2021-09-23 09:56:23
 ////////////////////
 
 
@@ -28,6 +28,11 @@ class sm_item_taskcard
     */
     public $taskName;
 
+    /**
+    * @var Int32 类型:1:主线;2:日程;3:圣哲;4:商店 default(0) 
+    */
+    public $type;
+
     /**
     * @var String 任务描述 default(0) 
     */

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_plot.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-08-17 09:01:13
+ // 日期: 2021-09-23 09:53:49
 ////////////////////
 
 

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

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-08-16 11:36:25
+ // 日期: 2021-08-20 09:06:56
 ////////////////////
 
 

+ 1 - 1
Gameserver/Amfphp/model/Const/sm_taskcard_shop.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2021-07-14 16:18:39
+ // 日期: 2021-09-01 11:30:00
 ////////////////////
 
 

+ 24 - 5
Gameserver/Amfphp/process/StatisticsProc.php

@@ -32,14 +32,33 @@ class StatisticsProc {
      * 统计当前服下uid的最新的任务id
      * @param type $taskId
      */
-    static function TaskDataCollect($taskId) {  
+    static function TaskDataCollect($taskId) {
+        $taskMo = GameConfig::item_taskcard_getItem($taskId);
+//        if($taskMo->){
+//            
+//        }
+        
         $key = "TaskDataCollect-".req()->zoneid;           
         gMem()->hset($key, req()->uid, $taskId);                 
     }
     
-//    static function TaskDataCollect($taskId) {  
-//        $key = "TaskDataCollect-".req()->zoneid;           
-//        gMem()->hset($key, req()->uid, $taskId);                 
-//    }
+    /*
+     * 统计玩家最新解锁建筑
+     */
+    static function unlockBuild($buildId) {  
+        $key = "unlockBuild-".req()->zoneid;           
+        gMem()->hset($key, req()->uid, $buildId);                 
+    }
+    
+    /**
+     * 统计玩家最新解锁关卡
+     * @param type $gateId
+     */
+    static function unlockGate($gateId) {  
+        $key = "unlockGate-".req()->zoneid;           
+        gMem()->hset($key, req()->uid, $gateId);                 
+    }
+    
+    
     
 }