|
@@ -93,16 +93,16 @@ class Info_UserBase extends Object_ext {
|
|
|
|
|
|
public function initialize() {
|
|
|
// my_Assert(GameConfig::primordial_data(), "找不到账号初始化数据"); # 防御
|
|
|
-// $this->gold = GameConfig::primordial_data()->User_Gold;
|
|
|
-// $this->cash = GameConfig::primordial_data()->User_Cash;
|
|
|
+ $this->gold = 0;
|
|
|
+ $this->cash = 0;
|
|
|
// $this->xp = GameConfig::primordial_data()->User_XP;
|
|
|
// $this->tili = GameConfig::globalsettings()->TiliMaxVal; # 最大体力
|
|
|
// $this->maxXp = 0;
|
|
|
-// $this->level = 1;
|
|
|
-// $this->name = '步惊云';
|
|
|
-// $this->spar = 0;
|
|
|
-// $this->headImg = GameConfig::primordial_data()->User_head;
|
|
|
-// $this->img = GameConfig::primordial_data()->User_img;
|
|
|
+ $this->level = 1;
|
|
|
+ $this->name = '';
|
|
|
+
|
|
|
+ $this->headImg = "";
|
|
|
+ $this->img = "";
|
|
|
}
|
|
|
|
|
|
// <editor-fold defaultstate="collapsed" desc=" 方法 ">
|