GameConfig.php 50 KB

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