gwang 4 лет назад
Родитель
Сommit
7d5a5d03fd

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

@@ -4,7 +4,7 @@
  // 由CodeGenerator创建。
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
  // author: gwang 
- // 日期: 2020-12-09 19:06:04
+ // 日期: 2020-12-11 10:14:50
 ////////////////////
 ////////////////////
 
 
 /**
 /**

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

@@ -35,28 +35,23 @@ class sm_item_taskcard
     public $taskDesc;
     public $taskDesc;
 
 
     /**
     /**
-    * @var Int32 0 不自动 1 自动  
+    * @var Int32 【废弃2020.12.11,全部需要手动点击领取】0 不自动 1 自动  
     */
     */
     public $isAutoSettle;
     public $isAutoSettle;
 
 
     /**
     /**
-    * @var Int32 任务标签(主线,支线...)  
+    * @var Int32 【暂时不用2020.12.11】任务标签(主线,支线...)  
     */
     */
     public $tab;
     public $tab;
 
 
     /**
     /**
-    * @var String 常规任务卡--浅绿色
-    *  日常任务卡--深绿色
-    *  隐藏关卡任务卡--深蓝色
-    *  隐藏剧情任务卡--浅蓝色
-    *  言灵任务卡--紫色
-    *  言灵进阶任务卡--橙色
-    *  限时任务卡--红色  
+    * @var String 常规任务卡, 言灵任务卡,
+    *    
     */
     */
-    public $color;
+    public $cardType;
 
 
     /**
     /**
-    * @var String 任务步骤:逗号分隔【注意这里是初始步骤,并列关系】 default(0) 
+    * @var String 任务步骤id default(0) 
     */
     */
     public $tasksteps;
     public $tasksteps;
 
 

+ 1 - 1
Gameserver/Amfphp/model/User/Ins_TaskStep.php

@@ -56,7 +56,7 @@ class Ins_TaskStep extends Object_ext {
             return true;
             return true;
         }
         }
 
 
-        if ($taskParam->taskType == $this->mo()->tasktype) {
+        if ($taskParam->taskType == $this->mo()->cmd) {
 
 
             if (null == $this->mo()->canshu1) {
             if (null == $this->mo()->canshu1) {
                 $this->progress = 1;
                 $this->progress = 1;

+ 6 - 6
Gameserver/Amfphp/test.php

@@ -16,9 +16,9 @@ echoLine("phpver: " . PHP_VERSION . PHP_EOL);
 //var_dump(GameConfig::primordial_data());
 //var_dump(GameConfig::primordial_data());
 
 
 
 
-//test(function() {
-//    $key = "test";
-//    $v = gMem()->get($key);
-////    var_dump($v);
-//    gMem()->set($key, \loyalsoft\TimeUtil::dtCurrent());
-//}, 100);
+test(function() {
+    $key = "test";
+    $v = gMem()->get($key);
+//    var_dump($v);
+    gMem()->set($key, \loyalsoft\TimeUtil::dtCurrent());
+}, 100);