|
@@ -13,22 +13,31 @@ namespace loyalsoft;
|
|
*
|
|
*
|
|
* @author c'y'zhao
|
|
* @author c'y'zhao
|
|
*/
|
|
*/
|
|
-class Info_Store {
|
|
|
|
|
|
+class Info_Store extends Object_ext {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 道具
|
|
* 道具
|
|
* @var type
|
|
* @var type
|
|
*/
|
|
*/
|
|
- public $items = null;
|
|
|
|
|
|
+ public $items;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 装备
|
|
* 装备
|
|
* @var type
|
|
* @var type
|
|
*/
|
|
*/
|
|
- public $equip = null;
|
|
|
|
|
|
+ public $equip;
|
|
|
|
|
|
public function initialize() {
|
|
public function initialize() {
|
|
$this->items = new \stdClass();
|
|
$this->items = new \stdClass();
|
|
$this->equip = 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);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|