cyzhao 1 jaar geleden
bovenliggende
commit
1c5dc5f60d
1 gewijzigde bestanden met toevoegingen van 12 en 3 verwijderingen
  1. 12 3
      Gameserver/App/model/User/Info_Store.php

+ 12 - 3
Gameserver/App/model/User/Info_Store.php

@@ -13,22 +13,31 @@ namespace loyalsoft;
  *
  * @author c'y'zhao
  */
-class Info_Store {
+class Info_Store extends Object_ext {
     
     /**
      * 道具
      * @var type
      */
-    public $items = null;
+    public $items;
     
     /**
      * 装备
      * @var type
      */
-    public $equip = null;
+    public $equip;
     
     public function initialize() {
         $this->items = new \stdClass();
         $this->equip = new \stdClass();
     }
+    
+    public function __construct($arg = null) {
+        if($tag == null){
+            $this->items = new \stdClass();
+            $this->equip = new \stdClass();        
+        }else{			
+            parent::__construct($arg);
+        }
+    }
 }