瀏覽代碼

加字段

cyzhao 1 年之前
父節點
當前提交
219b224c4c
共有 1 個文件被更改,包括 14 次插入2 次删除
  1. 14 2
      Gameserver/App/model/User/Info_Gates.php

+ 14 - 2
Gameserver/App/model/User/Info_Gates.php

@@ -29,6 +29,12 @@ class Info_Gates extends Object_ext {
      */
     public $GateList = null;
     
+    /**
+     * 
+     * @var type
+     */
+    public $GatesChallengeRecord = null;
+    
     public function initialize() {       
         $startId= 1;
         $this->CurrentGateId = $startId;
@@ -37,7 +43,9 @@ class Info_Gates extends Object_ext {
         $this->GateList = new \stdClass();    
         $Ins_GateInfo = new Ins_GateInfo();
         $Ins_GateInfo->GateId = $this->CurrentGateId;
-        $this->GateList->$startId=$Ins_GateInfo;           
+        $this->GateList->$startId=$Ins_GateInfo;     
+        
+        $this->GatesChallengeRecord = new \stdClass();
     }
     
     public function __construct($arg = null) {
@@ -50,9 +58,13 @@ class Info_Gates extends Object_ext {
                 $this->GateList = new \stdClass();    
                 $Ins_GateInfo = new Ins_GateInfo();
                 $Ins_GateInfo->GateId = $this->CurrentGateId;
-                $this->GateList->$startId=$Ins_GateInfo;                              
+                $this->GateList->$startId=$Ins_GateInfo;        
+                
+                
             }
             
+            $this->GatesChallengeRecord = new \stdClass();
+            
         }else{			
             parent::__construct($arg);
         }