GameConfig.php 50 KB

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