王刚 1 год назад
Родитель
Сommit
d42d5aa000
1 измененных файлов с 11 добавлено и 17 удалено
  1. 11 17
      Gameserver/App/model/User/Info_PrivateState.php

+ 11 - 17
Gameserver/App/model/User/Info_PrivateState.php

@@ -14,7 +14,7 @@ namespace loyalsoft;
  * @author c'y'zhao
  */
 class Info_PrivateState extends Object_ext {
-    
+
     /**
      * 章节宝箱的购买记录
      * @var type
@@ -35,7 +35,7 @@ class Info_PrivateState extends Object_ext {
      */
     #[ArrayType]
     public $dailyShopRandItems = array();
-  
+
     /**
      * 金币商店购买记录
      */
@@ -47,10 +47,8 @@ class Info_PrivateState extends Object_ext {
      */
     #[ArrayType]
     public $cashShopReceived = array();
-
-    
     public $supplyBichuDic = null;
-    
+
 //    public $supplyShopNum_JunyongBox = 0;
 //
 //    public $supplyShopNum_BujiBox = 0;
@@ -65,7 +63,6 @@ class Info_PrivateState extends Object_ext {
 //     * @var type
 //     */
 //    public $supplyShop_BujiBoxBichuNum = 0;
-    
 //    /**
 //     * 军用物资箱是否已经有必出了
 //     * @var type
@@ -77,38 +74,35 @@ class Info_PrivateState extends Object_ext {
 //     * @var type
 //     */
 //    public $supplyShop_BujiBoxBichu = 0;
-    
+
     /**
      * 每天买的数量,每日重置(S级军备和补给箱)
      * @var type
      */
     public $junbeiShopNumRecord = null;
-    
+
     /**
      * 总的数量,每日不重置,必出后重置
      * @var type
      */
     public $junbeiShop_AllNumRecord = null;
-
-
     public $junbeiShop_XinYuan = null;
-    
-    public function initialize() {              
+
+    public function initialize() {
         $this->junbeiShopNumRecord = new \stdClass();
         $this->junbeiShop_AllNumRecord = new \stdClass();
         $this->junbeiShop_XinYuan = new \stdClass();
     }
-    
+
     public function __construct($arg = null) {
-        if($tag == null){
-            if($this->junbeiShopNumRecord == null){
+        if ($arg == null) {
+            if ($this->junbeiShopNumRecord == null) {
                 $this->junbeiShopNumRecord = new \stdClass();
                 $this->junbeiShop_AllNumRecord = new \stdClass();
                 $this->junbeiShop_XinYuan = new \stdClass();
                 $this->supplyBichuDic = new \stdClass();
             }
-                       
-        }else{			
+        } else {
             parent::__construct($arg);
         }
     }