GameConfig.php 44 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759
  1. <?php
  2. ////////////////////
  3. // 由CodeGenerator创建。
  4. // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  5. // author: gwang
  6. // 日期: 2022-04-13 09:54:52
  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 \map_scene
  1661. */
  1662. public static function map_scene()
  1663. {
  1664. static $a = null;
  1665. return self::initValue($a, 'map_scene');
  1666. }
  1667. /**
  1668. * @return \sm_map_scene map_scene item数据
  1669. */
  1670. public static function map_scene_getItem($itemid)
  1671. {
  1672. return self::get_hash_item('map_scene', $itemid);
  1673. }
  1674. /**
  1675. * 场景出口对应关系
  1676. * @return \map_scene_relation
  1677. */
  1678. public static function map_scene_relation()
  1679. {
  1680. static $a = null;
  1681. return self::initValue($a, 'map_scene_relation');
  1682. }
  1683. /**
  1684. * @return \sm_map_scene_relation map_scene_relation item数据
  1685. */
  1686. public static function map_scene_relation_getItem($mapId, $pointId)
  1687. {
  1688. return self::get_hash_item('map_scene_relation', $mapId)->$pointId;
  1689. }
  1690. /**
  1691. * 地图探索
  1692. * @return \map_explorer
  1693. */
  1694. public static function map_explorer()
  1695. {
  1696. static $a = null;
  1697. return self::initValue($a, 'map_explorer');
  1698. }
  1699. /**
  1700. * @return \sm_map_explorer map_explorer itemArray
  1701. */
  1702. public static function map_explorer_getItemArray($key)
  1703. {
  1704. return self::get_hash_item('map_explorer', $key);
  1705. }
  1706. /**
  1707. * 武器商店
  1708. * @return \shop_weapon
  1709. */
  1710. public static function shop_weapon()
  1711. {
  1712. static $a = null;
  1713. return self::initValue($a, 'shop_weapon');
  1714. }
  1715. /**
  1716. * @return \sm_shop_weapon shop_weapon itemArray
  1717. */
  1718. public static function shop_weapon_getItemArray($key)
  1719. {
  1720. return self::get_hash_item('shop_weapon', $key);
  1721. }
  1722. /**
  1723. * 补给品商店
  1724. * @return \shop_supplies
  1725. */
  1726. public static function shop_supplies()
  1727. {
  1728. static $a = null;
  1729. return self::initValue($a, 'shop_supplies');
  1730. }
  1731. /**
  1732. * @return \sm_shop_supplies shop_supplies item数据
  1733. */
  1734. public static function shop_supplies_getItem($npc, $items)
  1735. {
  1736. return self::get_hash_item('shop_supplies', $npc)->$items;
  1737. }
  1738. /**
  1739. * 当前版本(时间戳)
  1740. * @return \ver
  1741. */
  1742. public static function ver()
  1743. {
  1744. static $a = null;
  1745. return self::initValue($a, 'ver', false);
  1746. }
  1747. /**
  1748. * 客户端配置数据
  1749. * @return \client
  1750. */
  1751. public static function client()
  1752. {
  1753. static $a = null;
  1754. return self::initValue($a, 'client', false);
  1755. }
  1756. }