Info_PrivateState.php 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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. public $dailyShop_GuangGaoNum = 0;
  31. public $dailyShop_GuangGaoTs = 0;
  32. /**
  33. * 每日随机到的信息
  34. * @var type
  35. */
  36. #[ArrayType]
  37. public $dailyShopRandItems = array();
  38. /**
  39. * 金币商店购买记录
  40. */
  41. #[ArrayType]
  42. public $goldShopReceived = array();
  43. /**
  44. * 钻石商城的购买记录
  45. */
  46. #[ArrayType]
  47. public $cashShopReceived = array();
  48. public $supplyBichuDic = null;
  49. // public $supplyShopNum_JunyongBox = 0;
  50. //
  51. // public $supplyShopNum_BujiBox = 0;
  52. // /**
  53. // * 军用物资箱 X次必出后重置
  54. // * @var type
  55. // */
  56. // public $supplyShop_JunyongBoxBichuNum = 0;
  57. //
  58. // /**
  59. // * 补给箱 X次必出后重置
  60. // * @var type
  61. // */
  62. // public $supplyShop_BujiBoxBichuNum = 0;
  63. // /**
  64. // * 军用物资箱是否已经有必出了
  65. // * @var type
  66. // */
  67. // public $supplyShop_JunyongBoxBichu = 0;
  68. //
  69. // /**
  70. // * 补给箱 是否已经有必出了
  71. // * @var type
  72. // */
  73. // public $supplyShop_BujiBoxBichu = 0;
  74. /**
  75. * 每天买的数量,每日重置(S级军备和补给箱)
  76. * @var type
  77. */
  78. public $junbeiShopNumRecord = null;
  79. /**
  80. * 总的数量,每日不重置,必出后重置
  81. * @var type
  82. */
  83. public $junbeiShop_AllNumRecord = null;
  84. public $junbeiShop_XinYuan = null;
  85. /**
  86. * 登录天数
  87. * @var array[]
  88. */
  89. #[ArrayType]
  90. public $LoginDays = array();
  91. /**
  92. * @var array[] 7日签到领取数据
  93. */
  94. #[ArrayType]
  95. public $day7_drawed = array();
  96. /**
  97. * 7日 累计
  98. * @var type
  99. */
  100. public $day7_accumulate = 0;
  101. /**
  102. * 7日 累计奖励领取记录
  103. * @var type
  104. */
  105. #[ArrayType]
  106. public $day7_accumulateDrawed = array();
  107. /**
  108. * 普通宝石免费领取时间记录
  109. * @var long
  110. */
  111. public $lastFreeGetTs_ShopBoxCommon = 0;
  112. /**
  113. * 璀璨宝石免费领取时间记录
  114. * @var type
  115. */
  116. public $lastFreeGetTs_ShopBoxBright = 0;
  117. /**
  118. * 普通宝石购买次数记录
  119. * @var type
  120. */
  121. public $buyNum_ShopBoxCommon = 0;
  122. /**
  123. * 璀璨宝石购买次数记录
  124. * @var type
  125. */
  126. public $buyNum_ShopBoxBright = 0;
  127. /**
  128. * 金币商城第一个冷却时间记录
  129. * @var type
  130. */
  131. public $goldShop_CoolDownTs_1 = 0;
  132. public $goldShop_GuangGaoNum = 0;
  133. /**
  134. * 金币商城第二个冷却时间记录
  135. * @var type
  136. */
  137. public $goldShop_CoolDownTs_2 = 0;
  138. /**
  139. * 金币商城第三个冷却时间记录
  140. * @var type
  141. */
  142. public $goldShop_CoolDownTs_3 = 0;
  143. /**
  144. * 月卡
  145. * @var type
  146. */
  147. //public $monthCardShop_Received = array();
  148. /**
  149. * 资源月卡购买时间记录
  150. * @var int
  151. */
  152. public $monthCardShop_ts = 0;
  153. /**
  154. * 特权月卡购买时间记录
  155. * @var int
  156. */
  157. public $honourCardShop_ts = 0;
  158. /**
  159. * 关看广告得到体力次数
  160. * @var type
  161. */
  162. public $guanggaoGetTiliNum = 0;
  163. /**
  164. * 每日购买体力的次数
  165. * @var type
  166. */
  167. public $buyTiliNum = 0;
  168. /**
  169. * 广告得体力倒计时
  170. * @var type
  171. */
  172. public $guanggaoGetTili_ts = 0;
  173. /*
  174. * 通关荣誉榜奖励领取记录
  175. */
  176. #[ArrayType]
  177. public $rankReward_drawed_MainGate = array();
  178. /**
  179. * 战力荣誉榜奖励领取记录
  180. * @var type
  181. */
  182. #[ArrayType]
  183. public $rankReward_drawed_fightPower = array();
  184. /**
  185. * @var array[] 领取激活码记录
  186. */
  187. #[ArrayType]
  188. public $usedTokens = array();
  189. /**
  190. * 读公告记录
  191. * @var array()
  192. */
  193. #[ArrayType]
  194. public $announcement_drawed = array();
  195. /**
  196. * 0:没有红点 1:有红点
  197. */
  198. public $redTip_Mail = 0;
  199. /**
  200. * 关卡榜里的荣誉榜红点
  201. * @var type
  202. */
  203. public $redTip_RewardMainGateRank = 0;
  204. /**
  205. * 战力榜里的荣誉榜红点
  206. * @var type
  207. */
  208. public $redTip_RewardFightPowerRank = 0;
  209. /**
  210. * 解锁的功能记录
  211. * @var array()
  212. */
  213. #[ArrayType]
  214. public $funUnlockRecord = array();
  215. /**
  216. * 解锁的技能记录
  217. * @var array()
  218. */
  219. #[ArrayType]
  220. public $skillUnlockRecord = array();
  221. /**
  222. * @var int 技能锁定数量(解锁后)
  223. */
  224. public $skillLockerNumber = 0;
  225. /**
  226. * @var array (解锁后)封印技能记录
  227. */
  228. #[ArrayType]
  229. public $skillReLocked = array();
  230. /**
  231. * @var int 玩家升级前等级
  232. */
  233. public $oldLevel = 0;
  234. /**
  235. *
  236. * @var int 玩家升级后等级
  237. */
  238. public $upLevel = 0;
  239. /**
  240. * 挑战红点
  241. * @var type
  242. */
  243. public $challange_RedMask = 0;
  244. public function initialize() {
  245. $this->junbeiShopNumRecord = new \stdClass();
  246. $this->junbeiShop_AllNumRecord = new \stdClass();
  247. $this->junbeiShop_XinYuan = new \stdClass();
  248. }
  249. public function __construct($arg = null) {
  250. if ($arg == null) {
  251. if ($this->junbeiShopNumRecord == null) {
  252. $this->junbeiShopNumRecord = new \stdClass();
  253. $this->junbeiShop_AllNumRecord = new \stdClass();
  254. $this->junbeiShop_XinYuan = new \stdClass();
  255. $this->supplyBichuDic = new \stdClass();
  256. $this->skillLockerNumber = glc()->Skill_LockBtn_InitCount; # 初始值
  257. }
  258. } else {
  259. parent::__construct($arg);
  260. if ($this->skillLockerNumber < glc()->Skill_LockBtn_InitCount) {
  261. $this->skillLockerNumber = glc()->Skill_LockBtn_InitCount; # 初始值
  262. }
  263. }
  264. }
  265. }