Info_PrivateState.php 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  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. /**
  49. * 登录天数
  50. * @var array[]
  51. */
  52. #[ArrayType]
  53. public $LoginDays = array();
  54. /**
  55. * @var array[] 7日签到领取数据
  56. */
  57. #[ArrayType]
  58. public $day7_drawed = array();
  59. /**
  60. * 7日 累计
  61. * @var type
  62. */
  63. public $day7_accumulate = 0;
  64. /**
  65. * 7日签到 累计宝箱奖励 7天为一轮循环
  66. * @var type
  67. */
  68. public $day7_accumulate_loopNum = 1;
  69. /**
  70. * 7日 累计奖励领取记录
  71. * @var type
  72. */
  73. #[ArrayType]
  74. public $day7_accumulateDrawed = array();
  75. /**
  76. * 普通宝石免费领取时间记录
  77. * @var long
  78. */
  79. public $lastFreeGetTs_ShopBoxCommon = 0;
  80. /**
  81. * 璀璨宝石免费领取时间记录
  82. * @var type
  83. */
  84. public $lastFreeGetTs_ShopBoxBright = 0;
  85. /**
  86. * 普通装备免费领取时间记录
  87. * @var long
  88. */
  89. public $lastFreeGetTs_ShopBoxCommon_equip = 0;
  90. /**
  91. * 璀璨装备免费领取时间记录
  92. * @var type
  93. */
  94. public $lastFreeGetTs_ShopBoxBright_equip = 0;
  95. /**
  96. * 普通宝石购买次数记录
  97. * @var type
  98. */
  99. public $buyNum_ShopBoxCommon = 0;
  100. /**
  101. * 璀璨宝石购买次数记录
  102. * @var type
  103. */
  104. public $buyNum_ShopBoxBright = 0;
  105. /**
  106. * 普通装备购买次数记录
  107. * @var type
  108. */
  109. public $buyNum_ShopBoxCommon_equip = 0;
  110. /**
  111. * 璀璨装备购买次数记录
  112. * @var type
  113. */
  114. public $buyNum_ShopBoxBright_equip = 0;
  115. /**
  116. * 金币商城第一个冷却时间记录
  117. * @var type
  118. */
  119. public $goldShop_CoolDownTs_1 = 0;
  120. public $goldShop_GuangGaoNum = 0;
  121. /**
  122. * 金币商城第二个冷却时间记录
  123. * @var type
  124. */
  125. public $goldShop_CoolDownTs_2 = 0;
  126. /**
  127. * 金币商城第三个冷却时间记录
  128. * @var type
  129. */
  130. public $goldShop_CoolDownTs_3 = 0;
  131. /**
  132. * 月卡
  133. * @var type
  134. */
  135. //public $monthCardShop_Received = array();
  136. /**
  137. * 资源月卡购买时间记录
  138. * @var int
  139. */
  140. public $monthCardShop_ts = 0;
  141. /**
  142. * 特权月卡购买时间记录
  143. * @var int
  144. */
  145. public $honourCardShop_ts = 0;
  146. /**
  147. * 关看广告得到体力次数
  148. * @var type
  149. */
  150. public $guanggaoGetTiliNum = 0;
  151. /**
  152. * 每日购买体力的次数
  153. * @var type
  154. */
  155. public $buyTiliNum = 0;
  156. /**
  157. * 广告得体力倒计时
  158. * @var type
  159. */
  160. public $guanggaoGetTili_ts = 0;
  161. /*
  162. * 通关荣誉榜奖励领取记录
  163. */
  164. #[ArrayType]
  165. public $rankReward_drawed_MainGate = array();
  166. /**
  167. * 战力荣誉榜奖励领取记录
  168. * @var type
  169. */
  170. #[ArrayType]
  171. public $rankReward_drawed_fightPower = array();
  172. /**
  173. * @var array[] 领取激活码记录
  174. */
  175. #[ArrayType]
  176. public $usedTokens = array();
  177. /**
  178. * 读公告记录
  179. * @var array()
  180. */
  181. #[ArrayType]
  182. public $announcement_drawed = array();
  183. /**
  184. * 0:没有红点 1:有红点
  185. */
  186. public $redTip_Mail = 0;
  187. /**
  188. * 关卡榜里的荣誉榜红点
  189. * @var type
  190. */
  191. public $redTip_RewardMainGateRank = 0;
  192. /**
  193. * 战力榜里的荣誉榜红点
  194. * @var type
  195. */
  196. public $redTip_RewardFightPowerRank = 0;
  197. /**
  198. * 解锁的功能记录
  199. * @var array()
  200. */
  201. #[ArrayType]
  202. public $funUnlockRecord = array();
  203. /**
  204. * 解锁的功能记录 不做删除 为了防止有两种解锁条件的功能 重复解锁
  205. * @var array()
  206. */
  207. #[ArrayType]
  208. public $funUnlockRecord_2 = array();
  209. /**
  210. * 为启灵 坊市的引导 用的
  211. * @var type
  212. */
  213. #[ArrayType]
  214. public $funUnlockRecord_3 = 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. /**
  245. * 首充奖励领取记录
  246. */
  247. #[ArrayType]
  248. public $firstRechargeRewardRecord = array();
  249. /**
  250. * 首充 充值后可以登录领奖的标志
  251. * @var type
  252. */
  253. public $firstRecharge_receiveTag = 0;
  254. /**
  255. * 首充弹出提示
  256. * @var type
  257. */
  258. public $firstRechargeUI_OpenTip = 1;
  259. /**
  260. * 累计奖励领取记录
  261. * @var type
  262. */
  263. #[ArrayType]
  264. public $accumulateRechargeRewardRecord = array();
  265. /**
  266. * 次级功能开启时间记录
  267. * @var type
  268. */
  269. //public $subFunStartTs = null;
  270. /**
  271. * @var array 曾用名列表
  272. */
  273. #[ArrayType]
  274. public $HistoryNames = array();
  275. /**
  276. * @var int 上次改名时间戳
  277. */
  278. public $lastRenameTs = 0;
  279. /**
  280. * 转盘抽奖累计次数
  281. * @var type
  282. */
  283. public $lotteryNum = 0;
  284. /**
  285. * 转盘抽奖免费次数
  286. * @var type
  287. */
  288. public $lotteryNum_free = 0;
  289. /*
  290. *
  291. */
  292. public $activity_lottery_guanggaoTs = 0;
  293. /**
  294. * 抽奖得到过紫色品阶的宝石
  295. * @var type
  296. */
  297. public $lottery_qualGem_4 = 0;
  298. /**
  299. * 抽奖累计次数宝箱奖励领取记录
  300. */
  301. #[ArrayType]
  302. public $lotteryNumRewardReceived = array();
  303. /**
  304. * 兑换记录
  305. * @var type
  306. */
  307. #[ArrayType]
  308. public $lotteryExchange = array();
  309. /**
  310. * 限时贩售 刷新时间
  311. * @var type
  312. */
  313. public $nextDayLogin = 0;
  314. /**
  315. * 章节礼包选中哪页下次进来还是哪页
  316. * @var type
  317. */
  318. public $shop_gateGift_showGateId = 0;
  319. /**
  320. * 限时贩售 商品
  321. * @var type
  322. */
  323. #[ArrayType]
  324. public $limitTsBuy_RandIds = array();
  325. /**
  326. * 限时贩售购买记录
  327. * @var type
  328. */
  329. #[ArrayType]
  330. public $limitTsBuy_RewardRecord = array();
  331. /**
  332. * 战令奖励领取记录
  333. */
  334. #[ArrayType]
  335. public $battlePassRewardReceived = array();
  336. /**
  337. * 关卡战令高级战令购买时间戳记录
  338. * @var type
  339. */
  340. public $battlePass_gate_cost_ts = 0;
  341. /**
  342. * 活跃点战令高级战令购买时间戳记录
  343. * @var type
  344. */
  345. public $battlePass_activePoint_cost_ts = 0;
  346. /**
  347. * 体力战令高级战令购买时间戳记录
  348. * @var type
  349. */
  350. public $battlePass_tili_cost_ts = 0;
  351. /**
  352. * 关卡战令开启时间戳记录
  353. * @var type
  354. */
  355. //public $battlePass_gate_open_ts = 0;
  356. /**
  357. * 活跃点战令开启时间戳记录
  358. * @var type
  359. */
  360. public $battlePass_activePoint_refersh_ts = 0;
  361. /**
  362. * 体力战令开启时间戳记录
  363. * @var type
  364. */
  365. public $battlePass_tili_refersh_ts = 0;
  366. /**
  367. * 战令统计的 日常周常 活跃点
  368. * @var type
  369. */
  370. public $battlePass_taskPoint = 0;
  371. /**
  372. *
  373. * @var type
  374. */
  375. public $battlePass_tili = 0;
  376. /**
  377. * 7日签到领取数据 新手签到
  378. */
  379. #[ArrayType]
  380. public $day7_drawed_newPlayer = array();
  381. /**
  382. * 7日签到 新手签到 开始时间
  383. */
  384. public $day7_drawed_newPlayer_startTs = 0;
  385. /**
  386. * 7日签到 新手签到 登录时间记录
  387. */
  388. #[ArrayType]
  389. public $day7_drawed_newPlayer_LoginDays = array();
  390. /**
  391. * @var int 在线礼包累计时长
  392. */
  393. public $onlineGiftts = 1;
  394. /**
  395. * @var [int] 当前在线礼包ID(每天清空)
  396. */
  397. #[ArrayType]
  398. public $onlineGiftIDs = array();
  399. public function initialize() {
  400. $this->onlineGiftts = 1;
  401. }
  402. public function __construct($arg = null) {
  403. if ($arg == null) {
  404. $this->skillLockerNumber = glc()->Skill_LockBtn_InitCount; # 初始值
  405. $this->onlineGiftts = 1;
  406. } else {
  407. parent::__construct($arg);
  408. if ($this->skillLockerNumber < glc()->Skill_LockBtn_InitCount) {
  409. $this->skillLockerNumber = glc()->Skill_LockBtn_InitCount; # 初始值
  410. }
  411. }
  412. }
  413. }