cyzhao 1 rok temu
rodzic
commit
e0d9dbd2ab

+ 3 - 1
Gameserver/App/model/User/Data_UserGame.php

@@ -70,7 +70,9 @@ class Data_UserGame extends HashSaver {
         } else {                                                                # 实参
             parent::__construct($arg);                                          # 调用Object的构造函数
 
-            $this->base()->fixArray();          
+            $this->base()->fixArray();
+            
+            
         }
     }
 

+ 1 - 1
Gameserver/App/model/User/Info_Gates.php

@@ -42,7 +42,7 @@ class Info_Gates extends Object_ext {
     
     public function __construct($arg = null) {
         if($tag == null){            
-            if($this->CurrentGateId == 0 ){
+            if($this->CurrentGateId == 0){
                 $startId= 1;
                 $this->CurrentGateId = $startId;
                 $this->UnlockedGatesMaxId = $startId;

+ 0 - 4
Gameserver/App/model/User/Ins_Equip.php

@@ -24,8 +24,4 @@ class Ins_Equip {
     public $qual;
     
     public $posId;
-    
-    public function __construct($arg = null) {
-        parent::__construct($arg);
-    }
 }

+ 0 - 4
Gameserver/App/model/User/Ins_GateInfo.php

@@ -34,8 +34,4 @@ class Ins_GateInfo {
      */
     public $pass = 0; 
     
-    
-    public function __construct($arg = null) {
-        parent::__construct($arg);
-    }
 }

+ 9 - 9
Gameserver/App/model/User/Ins_Hero.php

@@ -23,13 +23,13 @@ class Ins_Hero {
     
     public $equipPosition = null;
 
-    public function __construct($arg = null) {
-        if($arg == null){
-            //$this->equipPosition = new \stdClass();
-        } else {
-            parent::__construct($arg);
-        }
-        
-        
-    }
+//    public function __construct($arg = null) {
+//        if($arg == null){
+//            //$this->equipPosition = new \stdClass();
+//        } else {
+//            parent::__construct($arg);
+//        }
+//        
+//        
+//    }
 }