GameConfig.php 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677
  1. <?php
  2. ////////////////////
  3. // 由CodeGenerator创建。
  4. // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  5. // author: gwang
  6. // 日期: 2021-12-27 10:21:39
  7. ////////////////////
  8. namespace loyalsoft;
  9. /**
  10. * 常量配置数据
  11. */
  12. class GameConfig {
  13. // <editor-fold defaultstate="collapsed" desc=" 基础代码 ">
  14. /**
  15. * 是否启用codegen
  16. */
  17. private static function isCG() {
  18. return defined('CodeGen_Enabled') && CodeGen_Enabled;
  19. }
  20. /**
  21. * @var bool 分区是否使用独立的常量配置数据
  22. */
  23. private static $useZoneId = false;
  24. /**
  25. * 追加分区列表字符串
  26. * @return string
  27. */
  28. private static function zoneid()
  29. {
  30. global $zoneid;
  31. return self::$useZoneId ? "-zone$zoneid" : "";
  32. }
  33. /**
  34. * 初始化指定变量, 非null的情况下直接跳出
  35. * 可能从文件中或者redis中获取原始数据对变量进行初始化
  36. * @param mixed $a 变量
  37. * @param string $modelName 用来初始化变量的资源名称
  38. * @param bool $isHash 数据是否采用hash结构(否:普通字符串)
  39. */
  40. static private function initValue(&$a, $modelName, $isHash = true)
  41. {
  42. $key = 'gamecfg-' . $modelName . self::zoneid();
  43. if (is_null($a)) {
  44. if (self::isCG()) {
  45. $a = include $key . '.php';
  46. if ($isHash) {
  47. $para = is_array($a) ? $a : (array) $a; # 转关联数组
  48. foreach ($para as $name => &$value) {
  49. $value = JsonUtil::decode($value); # 取参数中的或者默认值
  50. }
  51. $a = arr2obj($para);
  52. }
  53. } else {
  54. $a = $isHash ? gMem()->hgetall($key) : gMem()->get($key);
  55. }
  56. }
  57. return $a;
  58. }
  59. /**
  60. * 获取hash结构的一个item
  61. * @param string $modelName 模块名称
  62. * @param mixed/string/int $itemId 索引
  63. * @return mixed
  64. */
  65. private static function get_hash_item($modelName, $itemId)
  66. {
  67. if (self::isCG()) {
  68. $data = self::$modelName();
  69. if (property_exists($data, $itemId)) {
  70. return $data->$itemId;
  71. }
  72. } else {
  73. $key = 'gamecfg-' . $modelName . self::zoneid();
  74. return gMem()->hget($key, $itemId);
  75. }
  76. return null;
  77. }
  78. // </editor-fold>
  79. /**
  80. * 全局参数
  81. * @return \globalsettings
  82. */
  83. public static function globalsettings()
  84. {
  85. static $a = null;
  86. return self::initValue($a, 'globalsettings');
  87. }
  88. /**
  89. * 英雄模块
  90. * @return \hero
  91. */
  92. public static function hero()
  93. {
  94. static $a = null;
  95. return self::initValue($a, 'hero');
  96. }
  97. /**
  98. * @return \sm_hero hero item数据
  99. */
  100. public static function hero_getItem($itemid)
  101. {
  102. return self::get_hash_item('hero', $itemid);
  103. }
  104. /**
  105. * 英雄的升级(属性加成)
  106. * @return \heroextra_level
  107. */
  108. public static function heroextra_level()
  109. {
  110. static $a = null;
  111. return self::initValue($a, 'heroextra_level');
  112. }
  113. /**
  114. * @return \sm_heroextra_level heroextra_level item数据
  115. */
  116. public static function heroextra_level_getItem($heroId, $quality)
  117. {
  118. return self::get_hash_item('heroextra_level', $heroId)->$quality;
  119. }
  120. /**
  121. * 武器等级,品质,等级双索引
  122. * @return \weapon_levelexp
  123. */
  124. public static function weapon_levelexp()
  125. {
  126. static $a = null;
  127. return self::initValue($a, 'weapon_levelexp');
  128. }
  129. /**
  130. * @return \sm_weapon_levelexp weapon_levelexp item数据
  131. */
  132. public static function weapon_levelexp_getItem($type, $level)
  133. {
  134. return self::get_hash_item('weapon_levelexp', $type)->$level;
  135. }
  136. /**
  137. * [废弃]
  138. * @return \item
  139. */
  140. public static function item()
  141. {
  142. static $a = null;
  143. return self::initValue($a, 'item');
  144. }
  145. /**
  146. * @return \sm_item item item数据
  147. */
  148. public static function item_getItem($itemid)
  149. {
  150. return self::get_hash_item('item', $itemid);
  151. }
  152. /**
  153. * [废弃]
  154. * @return \itemlevel
  155. */
  156. public static function itemlevel()
  157. {
  158. static $a = null;
  159. return self::initValue($a, 'itemlevel');
  160. }
  161. /**
  162. * @return \sm_itemlevel itemlevel item数据
  163. */
  164. public static function itemlevel_getItem($itemid)
  165. {
  166. return self::get_hash_item('itemlevel', $itemid);
  167. }
  168. /**
  169. * 武器突破
  170. * @return \weaponextra_level
  171. */
  172. public static function weaponextra_level()
  173. {
  174. static $a = null;
  175. return self::initValue($a, 'weaponextra_level');
  176. }
  177. /**
  178. * @return \sm_weaponextra_level weaponextra_level item数据
  179. */
  180. public static function weaponextra_level_getItem($weaponId, $starLv)
  181. {
  182. return self::get_hash_item('weaponextra_level', $weaponId)->$starLv;
  183. }
  184. /**
  185. * 英雄的升级——每级成长消耗经验需求表
  186. * @return \hero_levelexp
  187. */
  188. public static function hero_levelexp()
  189. {
  190. static $a = null;
  191. return self::initValue($a, 'hero_levelexp');
  192. }
  193. /**
  194. * @return \sm_hero_levelexp hero_levelexp item数据
  195. */
  196. public static function hero_levelexp_getItem($itemid)
  197. {
  198. return self::get_hash_item('hero_levelexp', $itemid);
  199. }
  200. /**
  201. * 英雄的升阶(消耗金币+ 属性加成)
  202. * @return \heroextra_dengjie
  203. */
  204. public static function heroextra_dengjie()
  205. {
  206. static $a = null;
  207. return self::initValue($a, 'heroextra_dengjie');
  208. }
  209. /**
  210. * @return \sm_heroextra_dengjie heroextra_dengjie item数据
  211. */
  212. public static function heroextra_dengjie_getItem($itemid)
  213. {
  214. return self::get_hash_item('heroextra_dengjie', $itemid);
  215. }
  216. /**
  217. * 关卡
  218. * @return \gate
  219. */
  220. public static function gate()
  221. {
  222. static $a = null;
  223. return self::initValue($a, 'gate');
  224. }
  225. /**
  226. * @return \sm_gate gate item数据
  227. */
  228. public static function gate_getItem($itemid)
  229. {
  230. return self::get_hash_item('gate', $itemid);
  231. }
  232. /**
  233. * 关卡波茨数据
  234. * @return \gatelevel
  235. */
  236. public static function gatelevel()
  237. {
  238. static $a = null;
  239. return self::initValue($a, 'gatelevel');
  240. }
  241. /**
  242. * @return \sm_gatelevel gatelevel item数据
  243. */
  244. public static function gatelevel_getItem($itemid)
  245. {
  246. return self::get_hash_item('gatelevel', $itemid);
  247. }
  248. /**
  249. * 关卡—— 星级奖励
  250. * @return \gate_starreward
  251. */
  252. public static function gate_starreward()
  253. {
  254. static $a = null;
  255. return self::initValue($a, 'gate_starreward');
  256. }
  257. /**
  258. * @return \sm_gate_starreward gate_starreward item数据
  259. */
  260. public static function gate_starreward_getItem($chapterId, $hardLevel)
  261. {
  262. return self::get_hash_item('gate_starreward', "$chapterId-$hardLevel");
  263. }
  264. /**
  265. * 任务
  266. * @return \task
  267. */
  268. public static function task()
  269. {
  270. static $a = null;
  271. return self::initValue($a, 'task');
  272. }
  273. /**
  274. * @return \sm_task task item数据
  275. */
  276. public static function task_getItem($itemid)
  277. {
  278. return self::get_hash_item('task', $itemid);
  279. }
  280. /**
  281. *
  282. * @return \playerlevel
  283. */
  284. public static function playerlevel()
  285. {
  286. static $a = null;
  287. return self::initValue($a, 'playerlevel');
  288. }
  289. /**
  290. * @return \sm_playerlevel playerlevel item数据
  291. */
  292. public static function playerlevel_getItem($itemid)
  293. {
  294. return self::get_hash_item('playerlevel', $itemid);
  295. }
  296. /**
  297. * 言灵类道具
  298. * @return \item_yanling
  299. */
  300. public static function item_yanling()
  301. {
  302. static $a = null;
  303. return self::initValue($a, 'item_yanling');
  304. }
  305. /**
  306. * @return \sm_item_yanling item_yanling item数据
  307. */
  308. public static function item_yanling_getItem($itemid)
  309. {
  310. return self::get_hash_item('item_yanling', $itemid);
  311. }
  312. /**
  313. * 无尽塔关卡数据
  314. * @return \endless_tower
  315. */
  316. public static function endless_tower()
  317. {
  318. static $a = null;
  319. return self::initValue($a, 'endless_tower');
  320. }
  321. /**
  322. * @return \sm_endless_tower endless_tower item数据
  323. */
  324. public static function endless_tower_getItem($itemid)
  325. {
  326. return self::get_hash_item('endless_tower', $itemid);
  327. }
  328. /**
  329. *
  330. * @return \heroextra_level_tupo
  331. */
  332. public static function heroextra_level_tupo()
  333. {
  334. static $a = null;
  335. return self::initValue($a, 'heroextra_level_tupo');
  336. }
  337. /**
  338. * @return \sm_heroextra_level_tupo heroextra_level_tupo item数据
  339. */
  340. public static function heroextra_level_tupo_getItem($heroId, $starLv)
  341. {
  342. return self::get_hash_item('heroextra_level_tupo', $heroId)->$starLv;
  343. }
  344. /**
  345. * 商城
  346. * @return \shop
  347. */
  348. public static function shop()
  349. {
  350. static $a = null;
  351. return self::initValue($a, 'shop');
  352. }
  353. /**
  354. * @return \sm_shop shop item数据
  355. */
  356. public static function shop_getItem($itemid)
  357. {
  358. return self::get_hash_item('shop', $itemid);
  359. }
  360. /**
  361. * 停服计划
  362. * @return \service_schedule
  363. */
  364. public static function service_schedule()
  365. {
  366. static $a = null;
  367. return self::initValue($a, 'service_schedule');
  368. }
  369. /**
  370. * @return \sm_service_schedule service_schedule item数据
  371. */
  372. public static function service_schedule_getItem($itemid)
  373. {
  374. return self::get_hash_item('service_schedule', $itemid);
  375. }
  376. /**
  377. * 任务步骤
  378. * @return \task_step
  379. */
  380. public static function task_step()
  381. {
  382. static $a = null;
  383. return self::initValue($a, 'task_step');
  384. }
  385. /**
  386. * @return \sm_task_step task_step item数据
  387. */
  388. public static function task_step_getItem($itemid)
  389. {
  390. return self::get_hash_item('task_step', $itemid);
  391. }
  392. /**
  393. * 任务卡
  394. * @return \item_taskcard
  395. */
  396. public static function item_taskcard()
  397. {
  398. static $a = null;
  399. return self::initValue($a, 'item_taskcard');
  400. }
  401. /**
  402. * @return \sm_item_taskcard item_taskcard item数据
  403. */
  404. public static function item_taskcard_getItem($itemid)
  405. {
  406. return self::get_hash_item('item_taskcard', $itemid);
  407. }
  408. /**
  409. *
  410. * @return \shenmiaoActiveIdTs
  411. */
  412. public static function shenmiaoActiveIdTs()
  413. {
  414. static $a = null;
  415. return self::initValue($a, 'shenmiaoActiveIdTs');
  416. }
  417. /**
  418. * @return \sm_shenmiaoActiveIdTs shenmiaoActiveIdTs item数据
  419. */
  420. public static function shenmiaoActiveIdTs_getItem($itemid)
  421. {
  422. return self::get_hash_item('shenmiaoActiveIdTs', $itemid);
  423. }
  424. /**
  425. * 系统邮件
  426. * @return \sysmail
  427. */
  428. public static function sysmail()
  429. {
  430. static $a = null;
  431. return self::initValue($a, 'sysmail');
  432. }
  433. /**
  434. * @return \sm_sysmail sysmail item数据
  435. */
  436. public static function sysmail_getItem($itemid)
  437. {
  438. return self::get_hash_item('sysmail', $itemid);
  439. }
  440. /**
  441. * 剧情对话
  442. * @return \plot
  443. */
  444. public static function plot()
  445. {
  446. static $a = null;
  447. return self::initValue($a, 'plot');
  448. }
  449. /**
  450. * @return \sm_plot plot item数据
  451. */
  452. public static function plot_getItem($gateId, $stage)
  453. {
  454. return self::get_hash_item('plot', $gateId)->$stage;
  455. }
  456. /**
  457. * 言灵附加随机表
  458. * @return \item_additional
  459. */
  460. public static function item_additional()
  461. {
  462. static $a = null;
  463. return self::initValue($a, 'item_additional');
  464. }
  465. /**
  466. * @return \sm_item_additional item_additional item数据
  467. */
  468. public static function item_additional_getItem($itemid)
  469. {
  470. return self::get_hash_item('item_additional', $itemid);
  471. }
  472. /**
  473. * 活跃点奖励表
  474. * @return \task_active_reward
  475. */
  476. public static function task_active_reward()
  477. {
  478. static $a = null;
  479. return self::initValue($a, 'task_active_reward');
  480. }
  481. /**
  482. * @return \sm_task_active_reward task_active_reward item数据
  483. */
  484. public static function task_active_reward_getItem($itemid)
  485. {
  486. return self::get_hash_item('task_active_reward', $itemid);
  487. }
  488. /**
  489. * 竞技场 上榜单奖励
  490. * @return \pvp_rankreward
  491. */
  492. public static function pvp_rankreward()
  493. {
  494. static $a = null;
  495. return self::initValue($a, 'pvp_rankreward');
  496. }
  497. /**
  498. * @return \sm_pvp_rankreward pvp_rankreward item数据
  499. */
  500. public static function pvp_rankreward_getItem($itemid)
  501. {
  502. return self::get_hash_item('pvp_rankreward', $itemid);
  503. }
  504. /**
  505. * 竞技 商店
  506. * @return \pvp_shop
  507. */
  508. public static function pvp_shop()
  509. {
  510. static $a = null;
  511. return self::initValue($a, 'pvp_shop');
  512. }
  513. /**
  514. * @return \sm_pvp_shop pvp_shop item数据
  515. */
  516. public static function pvp_shop_getItem($itemid)
  517. {
  518. return self::get_hash_item('pvp_shop', $itemid);
  519. }
  520. /**
  521. * 配置的关卡相关的战斗数据
  522. * @return \gate_combat
  523. */
  524. public static function gate_combat()
  525. {
  526. static $a = null;
  527. return self::initValue($a, 'gate_combat');
  528. }
  529. /**
  530. * @return \sm_gate_combat gate_combat item数据
  531. */
  532. public static function gate_combat_getItem($itemid)
  533. {
  534. return self::get_hash_item('gate_combat', $itemid);
  535. }
  536. /**
  537. * 根据类型找id
  538. * @return \shenmiaoTypeList
  539. */
  540. public static function shenmiaoTypeList()
  541. {
  542. static $a = null;
  543. return self::initValue($a, 'shenmiaoTypeList');
  544. }
  545. /**
  546. * @return \sm_shenmiaoTypeList shenmiaoTypeList itemArray
  547. */
  548. public static function shenmiaoTypeList_getItemArray($key)
  549. {
  550. return self::get_hash_item('shenmiaoTypeList', $key);
  551. }
  552. /**
  553. * 每日任务
  554. * @return \task_daily
  555. */
  556. public static function task_daily()
  557. {
  558. static $a = null;
  559. return self::initValue($a, 'task_daily');
  560. }
  561. /**
  562. * @return \sm_task_daily task_daily item数据
  563. */
  564. public static function task_daily_getItem($itemid)
  565. {
  566. return self::get_hash_item('task_daily', $itemid);
  567. }
  568. /**
  569. * 神庙定期活动时间
  570. * @return \shenmiaoActiveTs
  571. */
  572. public static function shenmiaoActiveTs()
  573. {
  574. static $a = null;
  575. return self::initValue($a, 'shenmiaoActiveTs');
  576. }
  577. /**
  578. * @return \sm_shenmiaoActiveTs shenmiaoActiveTs item数据
  579. */
  580. public static function shenmiaoActiveTs_getItem($itemid)
  581. {
  582. return self::get_hash_item('shenmiaoActiveTs', $itemid);
  583. }
  584. /**
  585. * 英雄的升级——成长可消耗的道具表
  586. * @return \hero_levelexp_costitem
  587. */
  588. public static function hero_levelexp_costitem()
  589. {
  590. static $a = null;
  591. return self::initValue($a, 'hero_levelexp_costitem');
  592. }
  593. /**
  594. * @return \sm_hero_levelexp_costitem hero_levelexp_costitem item数据
  595. */
  596. public static function hero_levelexp_costitem_getItem($itemid)
  597. {
  598. return self::get_hash_item('hero_levelexp_costitem', $itemid);
  599. }
  600. /**
  601. * 言灵等级
  602. * @return \yanlingLeve
  603. */
  604. public static function yanlingLeve()
  605. {
  606. static $a = null;
  607. return self::initValue($a, 'yanlingLeve');
  608. }
  609. /**
  610. * @return \sm_yanlingLeve yanlingLeve item数据
  611. */
  612. public static function yanlingLeve_getItem($itemid)
  613. {
  614. return self::get_hash_item('yanlingLeve', $itemid);
  615. }
  616. /**
  617. * 神庙
  618. * @return \shenmiao
  619. */
  620. public static function shenmiao()
  621. {
  622. static $a = null;
  623. return self::initValue($a, 'shenmiao');
  624. }
  625. /**
  626. * @return \sm_shenmiao shenmiao item数据
  627. */
  628. public static function shenmiao_getItem($itemid)
  629. {
  630. return self::get_hash_item('shenmiao', $itemid);
  631. }
  632. /**
  633. * 圣哲学院表
  634. * @return \college
  635. */
  636. public static function college()
  637. {
  638. static $a = null;
  639. return self::initValue($a, 'college');
  640. }
  641. /**
  642. * @return \sm_college college item数据
  643. */
  644. public static function college_getItem($itemid)
  645. {
  646. return self::get_hash_item('college', $itemid);
  647. }
  648. /**
  649. * 引导触发
  650. * @return \guide_trigger
  651. */
  652. public static function guide_trigger()
  653. {
  654. static $a = null;
  655. return self::initValue($a, 'guide_trigger');
  656. }
  657. /**
  658. * @return \sm_guide_trigger guide_trigger item数据
  659. */
  660. public static function guide_trigger_getItem($itemid)
  661. {
  662. return self::get_hash_item('guide_trigger', $itemid);
  663. }
  664. /**
  665. * 任务节点
  666. * @return \task_node
  667. */
  668. public static function task_node()
  669. {
  670. static $a = null;
  671. return self::initValue($a, 'task_node');
  672. }
  673. /**
  674. * @return \sm_task_node task_node item数据
  675. */
  676. public static function task_node_getItem($itemid)
  677. {
  678. return self::get_hash_item('task_node', $itemid);
  679. }
  680. /**
  681. * 圣哲学院课程表
  682. * @return \course
  683. */
  684. public static function course()
  685. {
  686. static $a = null;
  687. return self::initValue($a, 'course');
  688. }
  689. /**
  690. * @return \sm_course course item数据
  691. */
  692. public static function course_getItem($itemid)
  693. {
  694. return self::get_hash_item('course', $itemid);
  695. }
  696. /**
  697. *
  698. * @return \gate_mainland
  699. */
  700. public static function gate_mainland()
  701. {
  702. static $a = null;
  703. return self::initValue($a, 'gate_mainland');
  704. }
  705. /**
  706. * @return \sm_gate_mainland gate_mainland item数据
  707. */
  708. public static function gate_mainland_getItem($itemid)
  709. {
  710. return self::get_hash_item('gate_mainland', $itemid);
  711. }
  712. /**
  713. * 动作事件表
  714. * @return \eventAction
  715. */
  716. public static function eventAction()
  717. {
  718. static $a = null;
  719. return self::initValue($a, 'eventAction');
  720. }
  721. /**
  722. * @return \sm_eventAction eventAction item数据
  723. */
  724. public static function eventAction_getItem($itemid)
  725. {
  726. return self::get_hash_item('eventAction', $itemid);
  727. }
  728. /**
  729. * 碎片
  730. * @return \segment
  731. */
  732. public static function segment()
  733. {
  734. static $a = null;
  735. return self::initValue($a, 'segment');
  736. }
  737. /**
  738. * @return \sm_segment segment item数据
  739. */
  740. public static function segment_getItem($itemid)
  741. {
  742. return self::get_hash_item('segment', $itemid);
  743. }
  744. /**
  745. * 关卡-区域表
  746. * @return \gate_zone
  747. */
  748. public static function gate_zone()
  749. {
  750. static $a = null;
  751. return self::initValue($a, 'gate_zone');
  752. }
  753. /**
  754. * @return \sm_gate_zone gate_zone item数据
  755. */
  756. public static function gate_zone_getItem($itemid)
  757. {
  758. return self::get_hash_item('gate_zone', $itemid);
  759. }
  760. /**
  761. * 建筑表_2021.2.5
  762. * @return \build
  763. */
  764. public static function build()
  765. {
  766. static $a = null;
  767. return self::initValue($a, 'build');
  768. }
  769. /**
  770. * @return \sm_build build item数据
  771. */
  772. public static function build_getItem($itemid)
  773. {
  774. return self::get_hash_item('build', $itemid);
  775. }
  776. /**
  777. * 神秘商城道具表-by goodstype
  778. * @return \secretshop_goodsType
  779. */
  780. public static function secretshop_goodsType()
  781. {
  782. static $a = null;
  783. return self::initValue($a, 'secretshop_goodsType');
  784. }
  785. /**
  786. * @return \sm_secretshop_goodsType secretshop_goodsType item数据
  787. */
  788. public static function secretshop_goodsType_getItem($itemid)
  789. {
  790. return self::get_hash_item('secretshop_goodsType', $itemid);
  791. }
  792. /**
  793. * 神秘商城刷新价格表
  794. * @return \secretshop_refresh
  795. */
  796. public static function secretshop_refresh()
  797. {
  798. static $a = null;
  799. return self::initValue($a, 'secretshop_refresh');
  800. }
  801. /**
  802. * @return \sm_secretshop_refresh secretshop_refresh item数据
  803. */
  804. public static function secretshop_refresh_getItem($itemid)
  805. {
  806. return self::get_hash_item('secretshop_refresh', $itemid);
  807. }
  808. /**
  809. * 神秘商城道具表-by typeId
  810. * @return \secretshop_typeId
  811. */
  812. public static function secretshop_typeId()
  813. {
  814. static $a = null;
  815. return self::initValue($a, 'secretshop_typeId');
  816. }
  817. /**
  818. * @return \sm_secretshop_typeId secretshop_typeId item数据
  819. */
  820. public static function secretshop_typeId_getItem($itemid)
  821. {
  822. return self::get_hash_item('secretshop_typeId', $itemid);
  823. }
  824. /**
  825. * 客户端版本信息
  826. * @return \clientVersionHistory
  827. */
  828. public static function clientVersionHistory()
  829. {
  830. static $a = null;
  831. return self::initValue($a, 'clientVersionHistory');
  832. }
  833. /**
  834. * @return \sm_clientVersionHistory clientVersionHistory item数据
  835. */
  836. public static function clientVersionHistory_getItem($itemid)
  837. {
  838. return self::get_hash_item('clientVersionHistory', $itemid);
  839. }
  840. /**
  841. * 分区列表
  842. * @return \zonelist
  843. */
  844. public static function zonelist()
  845. {
  846. static $a = null;
  847. return self::initValue($a, 'zonelist');
  848. }
  849. /**
  850. * @return \sm_zonelist zonelist item数据
  851. */
  852. public static function zonelist_getItem($itemid)
  853. {
  854. return self::get_hash_item('zonelist', $itemid);
  855. }
  856. /**
  857. * 兑换码礼包
  858. * @return \tokenGift
  859. */
  860. public static function tokenGift()
  861. {
  862. static $a = null;
  863. return self::initValue($a, 'tokenGift');
  864. }
  865. /**
  866. * @return \sm_tokenGift tokenGift item数据
  867. */
  868. public static function tokenGift_getItem($itemid)
  869. {
  870. return self::get_hash_item('tokenGift', $itemid);
  871. }
  872. /**
  873. * 活动配置
  874. * @return \activity
  875. */
  876. public static function activity()
  877. {
  878. static $a = null;
  879. return self::initValue($a, 'activity');
  880. }
  881. /**
  882. * @return \sm_activity activity item数据
  883. */
  884. public static function activity_getItem($itemid)
  885. {
  886. return self::get_hash_item('activity', $itemid);
  887. }
  888. /**
  889. * 任务卡商店
  890. * @return \taskcard_shop
  891. */
  892. public static function taskcard_shop()
  893. {
  894. static $a = null;
  895. return self::initValue($a, 'taskcard_shop');
  896. }
  897. /**
  898. * @return \sm_taskcard_shop taskcard_shop item数据
  899. */
  900. public static function taskcard_shop_getItem($itemid)
  901. {
  902. return self::get_hash_item('taskcard_shop', $itemid);
  903. }
  904. /**
  905. * 碎片_按品质索引
  906. * @return \segment_byPinzhi
  907. */
  908. public static function segment_byPinzhi()
  909. {
  910. static $a = null;
  911. return self::initValue($a, 'segment_byPinzhi');
  912. }
  913. /**
  914. * @return \sm_segment_byPinzhi segment_byPinzhi item数据
  915. */
  916. public static function segment_byPinzhi_getItem($quailty, $itemType)
  917. {
  918. return self::get_hash_item('segment_byPinzhi', $quailty)->$itemType;
  919. }
  920. /**
  921. *
  922. * @return \npc
  923. */
  924. public static function npc()
  925. {
  926. static $a = null;
  927. return self::initValue($a, 'npc');
  928. }
  929. /**
  930. * @return \sm_npc npc item数据
  931. */
  932. public static function npc_getItem($itemid)
  933. {
  934. return self::get_hash_item('npc', $itemid);
  935. }
  936. /**
  937. * 活动: 在线礼包
  938. * @return \activity_onlinegift
  939. */
  940. public static function activity_onlinegift()
  941. {
  942. static $a = null;
  943. return self::initValue($a, 'activity_onlinegift');
  944. }
  945. /**
  946. * @return \sm_activity_onlinegift activity_onlinegift item数据
  947. */
  948. public static function activity_onlinegift_getItem($itemid)
  949. {
  950. return self::get_hash_item('activity_onlinegift', $itemid);
  951. }
  952. /**
  953. * GM号的UID
  954. * @return \GM_uids
  955. */
  956. public static function GM_uids()
  957. {
  958. static $a = null;
  959. return self::initValue($a, 'GM_uids');
  960. }
  961. /**
  962. * 活动, 全服注册礼包
  963. * @return \activity_reggift
  964. */
  965. public static function activity_reggift()
  966. {
  967. static $a = null;
  968. return self::initValue($a, 'activity_reggift');
  969. }
  970. /**
  971. * @return \sm_activity_reggift activity_reggift item数据
  972. */
  973. public static function activity_reggift_getItem($itemid)
  974. {
  975. return self::get_hash_item('activity_reggift', $itemid);
  976. }
  977. /**
  978. * 错误信息表
  979. * @return \errmsg
  980. */
  981. public static function errmsg()
  982. {
  983. static $a = null;
  984. return self::initValue($a, 'errmsg');
  985. }
  986. /**
  987. * @return \sm_errmsg errmsg item数据
  988. */
  989. public static function errmsg_getItem($itemid)
  990. {
  991. return self::get_hash_item('errmsg', $itemid);
  992. }
  993. /**
  994. * 公会捐献卡牌奖励
  995. * @return \guilddonatereward
  996. */
  997. public static function guilddonatereward()
  998. {
  999. static $a = null;
  1000. return self::initValue($a, 'guilddonatereward');
  1001. }
  1002. /**
  1003. * @return \sm_guilddonatereward guilddonatereward item数据
  1004. */
  1005. public static function guilddonatereward_getItem($itemid)
  1006. {
  1007. return self::get_hash_item('guilddonatereward', $itemid);
  1008. }
  1009. /**
  1010. * 公会等级相关数据
  1011. * @return \guildlevel
  1012. */
  1013. public static function guildlevel()
  1014. {
  1015. static $a = null;
  1016. return self::initValue($a, 'guildlevel');
  1017. }
  1018. /**
  1019. * @return \sm_guildlevel guildlevel item数据
  1020. */
  1021. public static function guildlevel_getItem($itemid)
  1022. {
  1023. return self::get_hash_item('guildlevel', $itemid);
  1024. }
  1025. /**
  1026. * 公会礼包
  1027. * @return \guildlibao
  1028. */
  1029. public static function guildlibao()
  1030. {
  1031. static $a = null;
  1032. return self::initValue($a, 'guildlibao');
  1033. }
  1034. /**
  1035. * @return \sm_guildlibao guildlibao item数据
  1036. */
  1037. public static function guildlibao_getItem($itemid)
  1038. {
  1039. return self::get_hash_item('guildlibao', $itemid);
  1040. }
  1041. /**
  1042. * 玩家初始化数据
  1043. * @return \primordial_data
  1044. */
  1045. public static function primordial_data()
  1046. {
  1047. static $a = null;
  1048. return self::initValue($a, 'primordial_data');
  1049. }
  1050. /**
  1051. * 英雄技能升级的限定
  1052. * @return \heroextra_skill_lv_limit
  1053. */
  1054. public static function heroextra_skill_lv_limit()
  1055. {
  1056. static $a = null;
  1057. return self::initValue($a, 'heroextra_skill_lv_limit');
  1058. }
  1059. /**
  1060. * @return \sm_heroextra_skill_lv_limit heroextra_skill_lv_limit item数据
  1061. */
  1062. public static function heroextra_skill_lv_limit_getItem($itemid)
  1063. {
  1064. return self::get_hash_item('heroextra_skill_lv_limit', $itemid);
  1065. }
  1066. /**
  1067. * 武器类道具
  1068. * @return \item_weapon
  1069. */
  1070. public static function item_weapon()
  1071. {
  1072. static $a = null;
  1073. return self::initValue($a, 'item_weapon');
  1074. }
  1075. /**
  1076. * @return \sm_item_weapon item_weapon item数据
  1077. */
  1078. public static function item_weapon_getItem($itemid)
  1079. {
  1080. return self::get_hash_item('item_weapon', $itemid);
  1081. }
  1082. /**
  1083. * 礼包类道具
  1084. * @return \item_package
  1085. */
  1086. public static function item_package()
  1087. {
  1088. static $a = null;
  1089. return self::initValue($a, 'item_package');
  1090. }
  1091. /**
  1092. * @return \sm_item_package item_package item数据
  1093. */
  1094. public static function item_package_getItem($itemid)
  1095. {
  1096. return self::get_hash_item('item_package', $itemid);
  1097. }
  1098. /**
  1099. * 强化类道具
  1100. * @return \item_stones
  1101. */
  1102. public static function item_stones()
  1103. {
  1104. static $a = null;
  1105. return self::initValue($a, 'item_stones');
  1106. }
  1107. /**
  1108. * @return \sm_item_stones item_stones item数据
  1109. */
  1110. public static function item_stones_getItem($itemid)
  1111. {
  1112. return self::get_hash_item('item_stones', $itemid);
  1113. }
  1114. /**
  1115. * 药水类道具
  1116. * @return \item_pills
  1117. */
  1118. public static function item_pills()
  1119. {
  1120. static $a = null;
  1121. return self::initValue($a, 'item_pills');
  1122. }
  1123. /**
  1124. * @return \sm_item_pills item_pills item数据
  1125. */
  1126. public static function item_pills_getItem($itemid)
  1127. {
  1128. return self::get_hash_item('item_pills', $itemid);
  1129. }
  1130. /**
  1131. * buff类道具
  1132. * @return \item_buffcard
  1133. */
  1134. public static function item_buffcard()
  1135. {
  1136. static $a = null;
  1137. return self::initValue($a, 'item_buffcard');
  1138. }
  1139. /**
  1140. * @return \sm_item_buffcard item_buffcard item数据
  1141. */
  1142. public static function item_buffcard_getItem($itemid)
  1143. {
  1144. return self::get_hash_item('item_buffcard', $itemid);
  1145. }
  1146. /**
  1147. * 碎片类道具
  1148. * @return \item_segment
  1149. */
  1150. public static function item_segment()
  1151. {
  1152. static $a = null;
  1153. return self::initValue($a, 'item_segment');
  1154. }
  1155. /**
  1156. * @return \sm_item_segment item_segment item数据
  1157. */
  1158. public static function item_segment_getItem($itemid)
  1159. {
  1160. return self::get_hash_item('item_segment', $itemid);
  1161. }
  1162. /**
  1163. * 道具通用字段表
  1164. * @return \item_base
  1165. */
  1166. public static function item_base()
  1167. {
  1168. static $a = null;
  1169. return self::initValue($a, 'item_base');
  1170. }
  1171. /**
  1172. * @return \sm_item_base item_base item数据
  1173. */
  1174. public static function item_base_getItem($itemid)
  1175. {
  1176. return self::get_hash_item('item_base', $itemid);
  1177. }
  1178. /**
  1179. * 子技能表
  1180. * @return \subSkill
  1181. */
  1182. public static function subSkill()
  1183. {
  1184. static $a = null;
  1185. return self::initValue($a, 'subSkill');
  1186. }
  1187. /**
  1188. * @return \sm_subSkill subSkill item数据
  1189. */
  1190. public static function subSkill_getItem($itemid)
  1191. {
  1192. return self::get_hash_item('subSkill', $itemid);
  1193. }
  1194. /**
  1195. * 宝箱类道具
  1196. * @return \item_box
  1197. */
  1198. public static function item_box()
  1199. {
  1200. static $a = null;
  1201. return self::initValue($a, 'item_box');
  1202. }
  1203. /**
  1204. * @return \sm_item_box item_box item数据
  1205. */
  1206. public static function item_box_getItem($itemid)
  1207. {
  1208. return self::get_hash_item('item_box', $itemid);
  1209. }
  1210. /**
  1211. * 关卡-通关条件
  1212. * @return \gate_passCondition
  1213. */
  1214. public static function gate_passCondition()
  1215. {
  1216. static $a = null;
  1217. return self::initValue($a, 'gate_passCondition');
  1218. }
  1219. /**
  1220. * @return \sm_gate_passCondition gate_passCondition item数据
  1221. */
  1222. public static function gate_passCondition_getItem($itemid)
  1223. {
  1224. return self::get_hash_item('gate_passCondition', $itemid);
  1225. }
  1226. /**
  1227. * 元素相克关系表
  1228. * @return \attack_relation
  1229. */
  1230. public static function attack_relation()
  1231. {
  1232. static $a = null;
  1233. return self::initValue($a, 'attack_relation');
  1234. }
  1235. /**
  1236. * @return \sm_attack_relation attack_relation item数据
  1237. */
  1238. public static function attack_relation_getItem($attack1, $attack2)
  1239. {
  1240. return self::get_hash_item('attack_relation', "$attack1-$attack2");
  1241. }
  1242. /**
  1243. * 战斗力榜全服突破奖励
  1244. * @return \rankreward_fpower
  1245. */
  1246. public static function rankreward_fpower()
  1247. {
  1248. static $a = null;
  1249. return self::initValue($a, 'rankreward_fpower');
  1250. }
  1251. /**
  1252. * @return \sm_rankreward_fpower rankreward_fpower item数据
  1253. */
  1254. public static function rankreward_fpower_getItem($itemid)
  1255. {
  1256. return self::get_hash_item('rankreward_fpower', $itemid);
  1257. }
  1258. /**
  1259. * 合体技能
  1260. * @return \skill_cross
  1261. */
  1262. public static function skill_cross()
  1263. {
  1264. static $a = null;
  1265. return self::initValue($a, 'skill_cross');
  1266. }
  1267. /**
  1268. * @return \sm_skill_cross skill_cross item数据
  1269. */
  1270. public static function skill_cross_getItem($itemid)
  1271. {
  1272. return self::get_hash_item('skill_cross', $itemid);
  1273. }
  1274. /**
  1275. * 通关榜突破奖励
  1276. * @return \rankreward_passgate
  1277. */
  1278. public static function rankreward_passgate()
  1279. {
  1280. static $a = null;
  1281. return self::initValue($a, 'rankreward_passgate');
  1282. }
  1283. /**
  1284. * @return \sm_rankreward_passgate rankreward_passgate item数据
  1285. */
  1286. public static function rankreward_passgate_getItem($itemid)
  1287. {
  1288. return self::get_hash_item('rankreward_passgate', $itemid);
  1289. }
  1290. /**
  1291. * 言灵召唤书
  1292. * @return \item_yanlingbook
  1293. */
  1294. public static function item_yanlingbook()
  1295. {
  1296. static $a = null;
  1297. return self::initValue($a, 'item_yanlingbook');
  1298. }
  1299. /**
  1300. * @return \sm_item_yanlingbook item_yanlingbook item数据
  1301. */
  1302. public static function item_yanlingbook_getItem($itemid)
  1303. {
  1304. return self::get_hash_item('item_yanlingbook', $itemid);
  1305. }
  1306. /**
  1307. * 言灵进阶表
  1308. * @return \yanling_upgrade
  1309. */
  1310. public static function yanling_upgrade()
  1311. {
  1312. static $a = null;
  1313. return self::initValue($a, 'yanling_upgrade');
  1314. }
  1315. /**
  1316. * @return \sm_yanling_upgrade yanling_upgrade item数据
  1317. */
  1318. public static function yanling_upgrade_getItem($typeId, $grade)
  1319. {
  1320. return self::get_hash_item('yanling_upgrade', $typeId)->$grade;
  1321. }
  1322. /**
  1323. * 功能引导模块
  1324. * @return \guide_module
  1325. */
  1326. public static function guide_module()
  1327. {
  1328. static $a = null;
  1329. return self::initValue($a, 'guide_module');
  1330. }
  1331. /**
  1332. * @return \sm_guide_module guide_module item数据
  1333. */
  1334. public static function guide_module_getItem($itemid)
  1335. {
  1336. return self::get_hash_item('guide_module', $itemid);
  1337. }
  1338. /**
  1339. * 活动: 七日签到
  1340. * @return \activity_day7
  1341. */
  1342. public static function activity_day7()
  1343. {
  1344. static $a = null;
  1345. return self::initValue($a, 'activity_day7');
  1346. }
  1347. /**
  1348. * @return \sm_activity_day7 activity_day7 item数据
  1349. */
  1350. public static function activity_day7_getItem($itemid)
  1351. {
  1352. return self::get_hash_item('activity_day7', $itemid);
  1353. }
  1354. /**
  1355. * 限购商城
  1356. * @return \shop_limit
  1357. */
  1358. public static function shop_limit()
  1359. {
  1360. static $a = null;
  1361. return self::initValue($a, 'shop_limit');
  1362. }
  1363. /**
  1364. * @return \sm_shop_limit shop_limit item数据
  1365. */
  1366. public static function shop_limit_getItem($itemid)
  1367. {
  1368. return self::get_hash_item('shop_limit', $itemid);
  1369. }
  1370. /**
  1371. * 月卡商城
  1372. * @return \shop_monthVIP
  1373. */
  1374. public static function shop_monthVIP()
  1375. {
  1376. static $a = null;
  1377. return self::initValue($a, 'shop_monthVIP');
  1378. }
  1379. /**
  1380. * @return \sm_shop_monthVIP shop_monthVIP item数据
  1381. */
  1382. public static function shop_monthVIP_getItem($itemid)
  1383. {
  1384. return self::get_hash_item('shop_monthVIP', $itemid);
  1385. }
  1386. /**
  1387. * 掉落数据表
  1388. * @return \drop
  1389. */
  1390. public static function drop()
  1391. {
  1392. static $a = null;
  1393. return self::initValue($a, 'drop');
  1394. }
  1395. /**
  1396. * @return \sm_drop drop item数据
  1397. */
  1398. public static function drop_getItem($itemid)
  1399. {
  1400. return self::get_hash_item('drop', $itemid);
  1401. }
  1402. /**
  1403. *
  1404. * @return \item_stones_type
  1405. */
  1406. public static function item_stones_type()
  1407. {
  1408. static $a = null;
  1409. return self::initValue($a, 'item_stones_type');
  1410. }
  1411. /**
  1412. * @return \sm_item_stones_type item_stones_type itemArray
  1413. */
  1414. public static function item_stones_type_getItemArray($key)
  1415. {
  1416. return self::get_hash_item('item_stones_type', $key);
  1417. }
  1418. /**
  1419. *
  1420. * @return \yanlingLevel_type
  1421. */
  1422. public static function yanlingLevel_type()
  1423. {
  1424. static $a = null;
  1425. return self::initValue($a, 'yanlingLevel_type');
  1426. }
  1427. /**
  1428. * @return \sm_yanlingLevel_type yanlingLevel_type item数据
  1429. */
  1430. public static function yanlingLevel_type_getItem($type, $level)
  1431. {
  1432. return self::get_hash_item('yanlingLevel_type', $type)->$level;
  1433. }
  1434. /**
  1435. * 言灵突破
  1436. * @return \yanlingextra_level
  1437. */
  1438. public static function yanlingextra_level()
  1439. {
  1440. static $a = null;
  1441. return self::initValue($a, 'yanlingextra_level');
  1442. }
  1443. /**
  1444. * @return \sm_yanlingextra_level yanlingextra_level item数据
  1445. */
  1446. public static function yanlingextra_level_getItem($yanlingId, $starLv)
  1447. {
  1448. return self::get_hash_item('yanlingextra_level', $yanlingId)->$starLv;
  1449. }
  1450. /**
  1451. * 世界boss排名奖励
  1452. * @return \worldboss_rankreward
  1453. */
  1454. public static function worldboss_rankreward()
  1455. {
  1456. static $a = null;
  1457. return self::initValue($a, 'worldboss_rankreward');
  1458. }
  1459. /**
  1460. * @return \sm_worldboss_rankreward worldboss_rankreward item数据
  1461. */
  1462. public static function worldboss_rankreward_getItem($itemid)
  1463. {
  1464. return self::get_hash_item('worldboss_rankreward', $itemid);
  1465. }
  1466. /**
  1467. * 世界boss排名奖励2
  1468. * @return \worldboss_rankreward2
  1469. */
  1470. public static function worldboss_rankreward2()
  1471. {
  1472. static $a = null;
  1473. return self::initValue($a, 'worldboss_rankreward2');
  1474. }
  1475. /**
  1476. * @return \sm_worldboss_rankreward2 worldboss_rankreward2 item数据
  1477. */
  1478. public static function worldboss_rankreward2_getItem($itemid)
  1479. {
  1480. return self::get_hash_item('worldboss_rankreward2', $itemid);
  1481. }
  1482. /**
  1483. * 学院积分兑换道具表
  1484. * @return \score
  1485. */
  1486. public static function score()
  1487. {
  1488. static $a = null;
  1489. return self::initValue($a, 'score');
  1490. }
  1491. /**
  1492. * @return \sm_score score item数据
  1493. */
  1494. public static function score_getItem($itemid)
  1495. {
  1496. return self::get_hash_item('score', $itemid);
  1497. }
  1498. /**
  1499. * 宝石配方表
  1500. * @return \gem_formula
  1501. */
  1502. public static function gem_formula()
  1503. {
  1504. static $a = null;
  1505. return self::initValue($a, 'gem_formula');
  1506. }
  1507. /**
  1508. * @return \sm_gem_formula gem_formula item数据
  1509. */
  1510. public static function gem_formula_getItem($itemid)
  1511. {
  1512. return self::get_hash_item('gem_formula', $itemid);
  1513. }
  1514. /**
  1515. * 宝石合成研究等级表
  1516. * @return \gem_researchlevel
  1517. */
  1518. public static function gem_researchlevel()
  1519. {
  1520. static $a = null;
  1521. return self::initValue($a, 'gem_researchlevel');
  1522. }
  1523. /**
  1524. * @return \sm_gem_researchlevel gem_researchlevel item数据
  1525. */
  1526. public static function gem_researchlevel_getItem($itemid)
  1527. {
  1528. return self::get_hash_item('gem_researchlevel', $itemid);
  1529. }
  1530. /**
  1531. * 任务根据类型区别
  1532. * @return \item_taskcard_type
  1533. */
  1534. public static function item_taskcard_type()
  1535. {
  1536. static $a = null;
  1537. return self::initValue($a, 'item_taskcard_type');
  1538. }
  1539. /**
  1540. * @return \sm_item_taskcard_type item_taskcard_type itemArray
  1541. */
  1542. public static function item_taskcard_type_getItemArray($key)
  1543. {
  1544. return self::get_hash_item('item_taskcard_type', $key);
  1545. }
  1546. /**
  1547. * 背包扩容次数及消耗
  1548. * @return \expandStoreNum
  1549. */
  1550. public static function expandStoreNum()
  1551. {
  1552. static $a = null;
  1553. return self::initValue($a, 'expandStoreNum');
  1554. }
  1555. /**
  1556. * @return \sm_expandStoreNum expandStoreNum item数据
  1557. */
  1558. public static function expandStoreNum_getItem($itemid)
  1559. {
  1560. return self::get_hash_item('expandStoreNum', $itemid);
  1561. }
  1562. /**
  1563. * 宝石属性
  1564. * @return \gemProperty
  1565. */
  1566. public static function gemProperty()
  1567. {
  1568. static $a = null;
  1569. return self::initValue($a, 'gemProperty');
  1570. }
  1571. /**
  1572. * @return \sm_gemProperty gemProperty item数据
  1573. */
  1574. public static function gemProperty_getItem($itemid)
  1575. {
  1576. return self::get_hash_item('gemProperty', $itemid);
  1577. }
  1578. /**
  1579. * 充值
  1580. * @return \recharge
  1581. */
  1582. public static function recharge()
  1583. {
  1584. static $a = null;
  1585. return self::initValue($a, 'recharge');
  1586. }
  1587. /**
  1588. * @return \sm_recharge recharge item数据
  1589. */
  1590. public static function recharge_getItem($itemid)
  1591. {
  1592. return self::get_hash_item('recharge', $itemid);
  1593. }
  1594. /**
  1595. * 特惠区别
  1596. * @return \shop_limit_type
  1597. */
  1598. public static function shop_limit_type()
  1599. {
  1600. static $a = null;
  1601. return self::initValue($a, 'shop_limit_type');
  1602. }
  1603. /**
  1604. * @return \sm_shop_limit_type shop_limit_type itemArray
  1605. */
  1606. public static function shop_limit_type_getItemArray($key)
  1607. {
  1608. return self::get_hash_item('shop_limit_type', $key);
  1609. }
  1610. /**
  1611. * 累计充值返利
  1612. * @return \rechargeRebate
  1613. */
  1614. public static function rechargeRebate()
  1615. {
  1616. static $a = null;
  1617. return self::initValue($a, 'rechargeRebate');
  1618. }
  1619. /**
  1620. * @return \sm_rechargeRebate rechargeRebate item数据
  1621. */
  1622. public static function rechargeRebate_getItem($itemid)
  1623. {
  1624. return self::get_hash_item('rechargeRebate', $itemid);
  1625. }
  1626. /**
  1627. * 限时
  1628. * @return \shop_limitTs
  1629. */
  1630. public static function shop_limitTs()
  1631. {
  1632. static $a = null;
  1633. return self::initValue($a, 'shop_limitTs');
  1634. }
  1635. /**
  1636. * @return \sm_shop_limitTs shop_limitTs item数据
  1637. */
  1638. public static function shop_limitTs_getItem($itemid)
  1639. {
  1640. return self::get_hash_item('shop_limitTs', $itemid);
  1641. }
  1642. /**
  1643. * 限时类型区别
  1644. * @return \shop_limitTs_Type
  1645. */
  1646. public static function shop_limitTs_Type()
  1647. {
  1648. static $a = null;
  1649. return self::initValue($a, 'shop_limitTs_Type');
  1650. }
  1651. /**
  1652. * @return \sm_shop_limitTs_Type shop_limitTs_Type itemArray
  1653. */
  1654. public static function shop_limitTs_Type_getItemArray($key)
  1655. {
  1656. return self::get_hash_item('shop_limitTs_Type', $key);
  1657. }
  1658. /**
  1659. * 当前版本(时间戳)
  1660. * @return \ver
  1661. */
  1662. public static function ver()
  1663. {
  1664. static $a = null;
  1665. return self::initValue($a, 'ver', false);
  1666. }
  1667. /**
  1668. * 客户端配置数据
  1669. * @return \client
  1670. */
  1671. public static function client()
  1672. {
  1673. static $a = null;
  1674. return self::initValue($a, 'client', false);
  1675. }
  1676. }