|
@@ -40,6 +40,7 @@ class Data_UserGame extends HashSaver {
|
|
|
//my_Assert(GameConfig::primordial_data(), "找不到账号初始化数据"); # 防御
|
|
|
//$this->baseInfo = new Info_UserBase();
|
|
|
$this->baseInfo->initialize();
|
|
|
+ $this->store->initialize();
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -48,7 +49,8 @@ class Data_UserGame extends HashSaver {
|
|
|
*/
|
|
|
public function __construct($arg = null) {
|
|
|
if (null === $arg) { # 未传参数的情况下
|
|
|
- $this->baseInfo = new Info_UserBase();
|
|
|
+ $this->baseInfo = new Info_UserBase();
|
|
|
+ $this->store = new Info_Store();
|
|
|
} else { # 实参
|
|
|
parent::__construct($arg); # 调用Object的构造函数
|
|
|
|