Info_PrivateState.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?php
  2. /*
  3. * To change this license header, choose License Headers in Project Properties.
  4. * To change this template file, choose Tools | Templates
  5. * and open the template in the editor.
  6. */
  7. namespace loyalsoft;
  8. /**
  9. * Description of Info_PrivateState
  10. *
  11. * @author c'y'zhao
  12. */
  13. class Info_PrivateState extends Object_ext {
  14. /**
  15. * 章节宝箱的购买记录
  16. * @var type
  17. */
  18. #[ArrayType]
  19. public $gateGiftReceived = array();
  20. /**
  21. * 每日商店的购买记录
  22. * @var type
  23. */
  24. #[ArrayType]
  25. public $dailyShopReceived = array();
  26. /**
  27. * 每日随机到的信息
  28. * @var type
  29. */
  30. #[ArrayType]
  31. public $dailyShopRandItems = array();
  32. /**
  33. * 金币商店购买记录
  34. */
  35. #[ArrayType]
  36. public $goldShopReceived = array();
  37. /**
  38. * 钻石商城的购买记录
  39. */
  40. #[ArrayType]
  41. public $cashShopReceived = array();
  42. public $supplyBichuDic = null;
  43. // public $supplyShopNum_JunyongBox = 0;
  44. //
  45. // public $supplyShopNum_BujiBox = 0;
  46. // /**
  47. // * 军用物资箱 X次必出后重置
  48. // * @var type
  49. // */
  50. // public $supplyShop_JunyongBoxBichuNum = 0;
  51. //
  52. // /**
  53. // * 补给箱 X次必出后重置
  54. // * @var type
  55. // */
  56. // public $supplyShop_BujiBoxBichuNum = 0;
  57. // /**
  58. // * 军用物资箱是否已经有必出了
  59. // * @var type
  60. // */
  61. // public $supplyShop_JunyongBoxBichu = 0;
  62. //
  63. // /**
  64. // * 补给箱 是否已经有必出了
  65. // * @var type
  66. // */
  67. // public $supplyShop_BujiBoxBichu = 0;
  68. /**
  69. * 每天买的数量,每日重置(S级军备和补给箱)
  70. * @var type
  71. */
  72. public $junbeiShopNumRecord = null;
  73. /**
  74. * 总的数量,每日不重置,必出后重置
  75. * @var type
  76. */
  77. public $junbeiShop_AllNumRecord = null;
  78. public $junbeiShop_XinYuan = null;
  79. /**
  80. * 登录天数
  81. * @var array[]
  82. */
  83. #[ArrayType]
  84. public $LoginDays = array();
  85. /**
  86. * @var array[] 7日签到领取数据
  87. */
  88. #[ArrayType]
  89. public $day7_drawed = array();
  90. /**
  91. * 7日 累计
  92. * @var type
  93. */
  94. public $day7_accumulate = 0;
  95. /**
  96. * 7日 累计奖励领取记录
  97. * @var type
  98. */
  99. #[ArrayType]
  100. public $day7_accumulateDrawed = array();
  101. public function initialize() {
  102. $this->junbeiShopNumRecord = new \stdClass();
  103. $this->junbeiShop_AllNumRecord = new \stdClass();
  104. $this->junbeiShop_XinYuan = new \stdClass();
  105. }
  106. public function __construct($arg = null) {
  107. if ($arg == null) {
  108. if ($this->junbeiShopNumRecord == null) {
  109. $this->junbeiShopNumRecord = new \stdClass();
  110. $this->junbeiShop_AllNumRecord = new \stdClass();
  111. $this->junbeiShop_XinYuan = new \stdClass();
  112. $this->supplyBichuDic = new \stdClass();
  113. }
  114. } else {
  115. parent::__construct($arg);
  116. }
  117. }
  118. }