Info_PrivateState.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. public function initialize() {
  80. $this->junbeiShopNumRecord = new \stdClass();
  81. $this->junbeiShop_AllNumRecord = new \stdClass();
  82. $this->junbeiShop_XinYuan = new \stdClass();
  83. }
  84. public function __construct($arg = null) {
  85. if ($arg == null) {
  86. if ($this->junbeiShopNumRecord == null) {
  87. $this->junbeiShopNumRecord = new \stdClass();
  88. $this->junbeiShop_AllNumRecord = new \stdClass();
  89. $this->junbeiShop_XinYuan = new \stdClass();
  90. $this->supplyBichuDic = new \stdClass();
  91. }
  92. } else {
  93. parent::__construct($arg);
  94. }
  95. }
  96. }