Info_PrivateState.php 5.8 KB

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