|
@@ -45,27 +45,16 @@ class Info_Store extends Object_ext {
|
|
|
*/
|
|
|
public $segement;
|
|
|
|
|
|
-// /**
|
|
|
-// * 石头,叠加
|
|
|
-// * @var object
|
|
|
-// * @deprecated since version 0
|
|
|
-// */
|
|
|
-// public $stones;
|
|
|
-
|
|
|
/**
|
|
|
* 玩家注册时初始化
|
|
|
*/
|
|
|
public function initialize() {
|
|
|
$this->boxes = GameConfig::primordial_data()->User_Store_boxes;
|
|
|
- //array('701001' => 0, '702002' => 0, '703003' => 0, '704004' => 0);
|
|
|
$this->taskcards = ObjectInit();
|
|
|
$this->items = JsonUtil::decode(GameConfig::primordial_data()->User_Store_items); # 初始含有一张黄金通知书
|
|
|
$this->equipment = JsonUtil::decode(GameConfig::primordial_data()->User_Store_equipment); # 装备初始化数据
|
|
|
$this->yanling = JsonUtil::decode(GameConfig::primordial_data()->User_Store_yanling); # 言灵初始化数据
|
|
|
$this->segement = JsonUtil::decode(GameConfig::primordial_data()->User_Store_segment); # 碎片
|
|
|
-// $this->stones = ObjectInit();
|
|
|
-// $this->element = GameConfig::primordial_data()->User_Store_element;
|
|
|
- //array('388001' => 0, '388002' => 0, '388003' => 0, '388004' => 0, '388005' => 0, '388006' => 0, '388007' => 0);
|
|
|
}
|
|
|
|
|
|
/**
|