1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981 |
- <?php
- ////////////////////
- // 由CodeGenerator创建。
- // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
- // author: gwang
- // 日期: 2023-06-16 18:50:38
- ////////////////////
- /**
- * 常量配置数据
- */
- class GameConfig {
- // <editor-fold defaultstate="collapsed" desc=" 基础代码 ">
- /**
- * 是否启用codegen
- */
- private static function isCG() {
- return defined('CodeGen_Enabled') && CodeGen_Enabled;
- }
- /**
- * @var bool 分区是否使用独立的常量配置数据
- */
- private static $useZoneId = false;
- /**
- * 追加分区列表字符串
- * @return string
- */
- private static function zoneid()
- {
- global $zoneid;
- return self::$useZoneId ? "-zone$zoneid" : "";
- }
- /**
- * 初始化指定变量, 非null的情况下直接跳出
- * 可能从文件中或者redis中获取原始数据对变量进行初始化
- * @param mixed $a 变量
- * @param string $modelName 用来初始化变量的资源名称
- * @param bool $isHash 数据是否采用hash结构(否:普通字符串)
- */
- static private function initValue(&$a, $modelName, $isHash = true)
- {
- $key = 'gamecfg-' . $modelName . self::zoneid();
- if (is_null($a)) {
- if (self::isCG()) {
- $a = include $key . '.php';
- if ($isHash) {
- $para = is_array($a) ? $a : (array) $a; # 转关联数组
- foreach ($para as $name => &$value) {
- $value = JsonUtil::decode($value); # 取参数中的或者默认值
- }
- $a = arr2obj($para);
- }
- } else {
- $a = $isHash ? gMem()->hgetall($key) : gMem()->get($key);
- }
- }
- return $a;
- }
- /**
- * 获取hash结构的一个item
- * @param string $modelName 模块名称
- * @param mixed/string/int $itemId 索引
- * @return mixed
- */
- private static function get_hash_item($modelName, $itemId)
- {
- if (self::isCG()) {
- $data = self::$modelName();
- if (property_exists($data, $itemId)) {
- return $data->$itemId;
- }
- } else {
- $key = 'gamecfg-' . $modelName . self::zoneid();
- return gMem()->hget($key, $itemId);
- }
- return null;
- }
- // </editor-fold>
- /**
- * 全局参数
- * @return \globalsettings
- */
- public static function globalsettings()
- {
- static $a = null;
- return self::initValue($a, 'globalsettings');
- }
- /**
- * 英雄模块
- * @return \hero
- */
- public static function hero()
- {
- static $a = null;
- return self::initValue($a, 'hero');
- }
- /**
- * @return \sm_hero hero item数据
- */
- public static function hero_getItem($itemid)
- {
- return self::get_hash_item('hero', $itemid);
- }
- /**
- * 英雄的升级(属性加成)
- * @return \heroextra_level
- */
- public static function heroextra_level()
- {
- static $a = null;
- return self::initValue($a, 'heroextra_level');
- }
- /**
- * @return \sm_heroextra_level heroextra_level item数据
- */
- public static function heroextra_level_getItem($heroId, $quality)
- {
- return self::get_hash_item('heroextra_level', $heroId)->$quality;
- }
- /**
- * 武器等级,品质,等级双索引
- * @return \weapon_levelexp
- */
- public static function weapon_levelexp()
- {
- static $a = null;
- return self::initValue($a, 'weapon_levelexp');
- }
- /**
- * @return \sm_weapon_levelexp weapon_levelexp item数据
- */
- public static function weapon_levelexp_getItem($type, $level)
- {
- return self::get_hash_item('weapon_levelexp', $type)->$level;
- }
- /**
- * 累充表-改成首充表
- * @return \shop_accumulating
- */
- public static function shop_accumulating()
- {
- static $a = null;
- return self::initValue($a, 'shop_accumulating');
- }
- /**
- * @return \sm_shop_accumulating shop_accumulating item数据
- */
- public static function shop_accumulating_getItem($itemid)
- {
- return self::get_hash_item('shop_accumulating', $itemid);
- }
- /**
- * [废弃]
- * @return \itemlevel
- */
- public static function itemlevel()
- {
- static $a = null;
- return self::initValue($a, 'itemlevel');
- }
- /**
- * @return \sm_itemlevel itemlevel item数据
- */
- public static function itemlevel_getItem($itemid)
- {
- return self::get_hash_item('itemlevel', $itemid);
- }
- /**
- * 武器突破
- * @return \weaponextra_level
- */
- public static function weaponextra_level()
- {
- static $a = null;
- return self::initValue($a, 'weaponextra_level');
- }
- /**
- * @return \sm_weaponextra_level weaponextra_level item数据
- */
- public static function weaponextra_level_getItem($weaponId, $starLv)
- {
- return self::get_hash_item('weaponextra_level', $weaponId)->$starLv;
- }
- /**
- * 英雄的升级——每级成长消耗经验需求表
- * @return \hero_levelexp
- */
- public static function hero_levelexp()
- {
- static $a = null;
- return self::initValue($a, 'hero_levelexp');
- }
- /**
- * @return \sm_hero_levelexp hero_levelexp item数据
- */
- public static function hero_levelexp_getItem($itemid)
- {
- return self::get_hash_item('hero_levelexp', $itemid);
- }
- /**
- * 英雄的升阶(消耗金币+ 属性加成)
- * @return \heroextra_dengjie
- */
- public static function heroextra_dengjie()
- {
- static $a = null;
- return self::initValue($a, 'heroextra_dengjie');
- }
- /**
- * @return \sm_heroextra_dengjie heroextra_dengjie item数据
- */
- public static function heroextra_dengjie_getItem($itemid)
- {
- return self::get_hash_item('heroextra_dengjie', $itemid);
- }
- /**
- * 关卡
- * @return \gate
- */
- public static function gate()
- {
- static $a = null;
- return self::initValue($a, 'gate');
- }
- /**
- * @return \sm_gate gate item数据
- */
- public static function gate_getItem($itemid)
- {
- return self::get_hash_item('gate', $itemid);
- }
- /**
- * 关卡波茨数据
- * @return \gatelevel
- */
- public static function gatelevel()
- {
- static $a = null;
- return self::initValue($a, 'gatelevel');
- }
- /**
- * @return \sm_gatelevel gatelevel item数据
- */
- public static function gatelevel_getItem($itemid)
- {
- return self::get_hash_item('gatelevel', $itemid);
- }
- /**
- * 关卡—— 星级奖励
- * @return \gate_starreward
- */
- public static function gate_starreward()
- {
- static $a = null;
- return self::initValue($a, 'gate_starreward');
- }
- /**
- * @return \sm_gate_starreward gate_starreward item数据
- */
- public static function gate_starreward_getItem($chapterId, $hardLevel)
- {
- return self::get_hash_item('gate_starreward', "$chapterId-$hardLevel");
- }
- /**
- * 任务
- * @return \task
- */
- public static function task()
- {
- static $a = null;
- return self::initValue($a, 'task');
- }
- /**
- * @return \sm_task task item数据
- */
- public static function task_getItem($itemid)
- {
- return self::get_hash_item('task', $itemid);
- }
- /**
- *
- * @return \playerlevel
- */
- public static function playerlevel()
- {
- static $a = null;
- return self::initValue($a, 'playerlevel');
- }
- /**
- * @return \sm_playerlevel playerlevel item数据
- */
- public static function playerlevel_getItem($itemid)
- {
- return self::get_hash_item('playerlevel', $itemid);
- }
- /**
- * 言灵类道具
- * @return \item_yanling
- */
- public static function item_yanling()
- {
- static $a = null;
- return self::initValue($a, 'item_yanling');
- }
- /**
- * @return \sm_item_yanling item_yanling item数据
- */
- public static function item_yanling_getItem($itemid)
- {
- return self::get_hash_item('item_yanling', $itemid);
- }
- /**
- * 无尽塔关卡数据
- * @return \endless_tower
- */
- public static function endless_tower()
- {
- static $a = null;
- return self::initValue($a, 'endless_tower');
- }
- /**
- * @return \sm_endless_tower endless_tower item数据
- */
- public static function endless_tower_getItem($itemid)
- {
- return self::get_hash_item('endless_tower', $itemid);
- }
- /**
- *
- * @return \heroextra_level_tupo
- */
- public static function heroextra_level_tupo()
- {
- static $a = null;
- return self::initValue($a, 'heroextra_level_tupo');
- }
- /**
- * @return \sm_heroextra_level_tupo heroextra_level_tupo item数据
- */
- public static function heroextra_level_tupo_getItem($heroId, $starLv)
- {
- return self::get_hash_item('heroextra_level_tupo', $heroId)->$starLv;
- }
- /**
- * 商城
- * @return \shop
- */
- public static function shop()
- {
- static $a = null;
- return self::initValue($a, 'shop');
- }
- /**
- * @return \sm_shop shop item数据
- */
- public static function shop_getItem($itemid)
- {
- return self::get_hash_item('shop', $itemid);
- }
- /**
- * 停服计划
- * @return \service_schedule
- */
- public static function service_schedule()
- {
- static $a = null;
- return self::initValue($a, 'service_schedule');
- }
- /**
- * @return \sm_service_schedule service_schedule item数据
- */
- public static function service_schedule_getItem($itemid)
- {
- return self::get_hash_item('service_schedule', $itemid);
- }
- /**
- * 任务步骤
- * @return \task_step
- */
- public static function task_step()
- {
- static $a = null;
- return self::initValue($a, 'task_step');
- }
- /**
- * @return \sm_task_step task_step item数据
- */
- public static function task_step_getItem($itemid)
- {
- return self::get_hash_item('task_step', $itemid);
- }
- /**
- * 任务卡
- * @return \item_taskcard
- */
- public static function item_taskcard()
- {
- static $a = null;
- return self::initValue($a, 'item_taskcard');
- }
- /**
- * @return \sm_item_taskcard item_taskcard item数据
- */
- public static function item_taskcard_getItem($itemid)
- {
- return self::get_hash_item('item_taskcard', $itemid);
- }
- /**
- *
- * @return \shenmiaoActiveIdTs
- */
- public static function shenmiaoActiveIdTs()
- {
- static $a = null;
- return self::initValue($a, 'shenmiaoActiveIdTs');
- }
- /**
- * @return \sm_shenmiaoActiveIdTs shenmiaoActiveIdTs item数据
- */
- public static function shenmiaoActiveIdTs_getItem($itemid)
- {
- return self::get_hash_item('shenmiaoActiveIdTs', $itemid);
- }
- /**
- * 系统邮件
- * @return \sysmail
- */
- public static function sysmail()
- {
- static $a = null;
- return self::initValue($a, 'sysmail');
- }
- /**
- * @return \sm_sysmail sysmail item数据
- */
- public static function sysmail_getItem($itemid)
- {
- return self::get_hash_item('sysmail', $itemid);
- }
- /**
- * 剧情对话
- * @return \plot
- */
- public static function plot()
- {
- static $a = null;
- return self::initValue($a, 'plot');
- }
- /**
- * @return \sm_plot plot item数据
- */
- public static function plot_getItem($gateId, $stage)
- {
- return self::get_hash_item('plot', $gateId)->$stage;
- }
- /**
- * 言灵附加随机表
- * @return \item_additional
- */
- public static function item_additional()
- {
- static $a = null;
- return self::initValue($a, 'item_additional');
- }
- /**
- * @return \sm_item_additional item_additional item数据
- */
- public static function item_additional_getItem($itemid)
- {
- return self::get_hash_item('item_additional', $itemid);
- }
- /**
- * 活跃点奖励表
- * @return \task_active_reward
- */
- public static function task_active_reward()
- {
- static $a = null;
- return self::initValue($a, 'task_active_reward');
- }
- /**
- * @return \sm_task_active_reward task_active_reward item数据
- */
- public static function task_active_reward_getItem($itemid)
- {
- return self::get_hash_item('task_active_reward', $itemid);
- }
- /**
- * 竞技场 上榜单奖励
- * @return \pvp_rankreward
- */
- public static function pvp_rankreward()
- {
- static $a = null;
- return self::initValue($a, 'pvp_rankreward');
- }
- /**
- * @return \sm_pvp_rankreward pvp_rankreward item数据
- */
- public static function pvp_rankreward_getItem($itemid)
- {
- return self::get_hash_item('pvp_rankreward', $itemid);
- }
- /**
- * 竞技 商店
- * @return \pvp_shop
- */
- public static function pvp_shop()
- {
- static $a = null;
- return self::initValue($a, 'pvp_shop');
- }
- /**
- * @return \sm_pvp_shop pvp_shop item数据
- */
- public static function pvp_shop_getItem($itemid)
- {
- return self::get_hash_item('pvp_shop', $itemid);
- }
- /**
- * 配置的关卡相关的战斗数据
- * @return \gate_combat
- */
- public static function gate_combat()
- {
- static $a = null;
- return self::initValue($a, 'gate_combat');
- }
- /**
- * @return \sm_gate_combat gate_combat item数据
- */
- public static function gate_combat_getItem($itemid)
- {
- return self::get_hash_item('gate_combat', $itemid);
- }
- /**
- * 根据类型找id
- * @return \shenmiaoTypeList
- */
- public static function shenmiaoTypeList()
- {
- static $a = null;
- return self::initValue($a, 'shenmiaoTypeList');
- }
- /**
- * @return \sm_shenmiaoTypeList shenmiaoTypeList itemArray
- */
- public static function shenmiaoTypeList_getItemArray($key)
- {
- return self::get_hash_item('shenmiaoTypeList', $key);
- }
- /**
- * 每日任务
- * @return \task_daily
- */
- public static function task_daily()
- {
- static $a = null;
- return self::initValue($a, 'task_daily');
- }
- /**
- * @return \sm_task_daily task_daily item数据
- */
- public static function task_daily_getItem($itemid)
- {
- return self::get_hash_item('task_daily', $itemid);
- }
- /**
- * 神庙定期活动时间
- * @return \shenmiaoActiveTs
- */
- public static function shenmiaoActiveTs()
- {
- static $a = null;
- return self::initValue($a, 'shenmiaoActiveTs');
- }
- /**
- * @return \sm_shenmiaoActiveTs shenmiaoActiveTs item数据
- */
- public static function shenmiaoActiveTs_getItem($itemid)
- {
- return self::get_hash_item('shenmiaoActiveTs', $itemid);
- }
- /**
- * 英雄的升级——成长可消耗的道具表
- * @return \hero_levelexp_costitem
- */
- public static function hero_levelexp_costitem()
- {
- static $a = null;
- return self::initValue($a, 'hero_levelexp_costitem');
- }
- /**
- * @return \sm_hero_levelexp_costitem hero_levelexp_costitem item数据
- */
- public static function hero_levelexp_costitem_getItem($itemid)
- {
- return self::get_hash_item('hero_levelexp_costitem', $itemid);
- }
- /**
- * 言灵等级
- * @return \yanlingLeve
- */
- public static function yanlingLeve()
- {
- static $a = null;
- return self::initValue($a, 'yanlingLeve');
- }
- /**
- * @return \sm_yanlingLeve yanlingLeve item数据
- */
- public static function yanlingLeve_getItem($itemid)
- {
- return self::get_hash_item('yanlingLeve', $itemid);
- }
- /**
- * 神庙
- * @return \shenmiao
- */
- public static function shenmiao()
- {
- static $a = null;
- return self::initValue($a, 'shenmiao');
- }
- /**
- * @return \sm_shenmiao shenmiao item数据
- */
- public static function shenmiao_getItem($itemid)
- {
- return self::get_hash_item('shenmiao', $itemid);
- }
- /**
- * 圣哲学院表
- * @return \college
- */
- public static function college()
- {
- static $a = null;
- return self::initValue($a, 'college');
- }
- /**
- * @return \sm_college college item数据
- */
- public static function college_getItem($itemid)
- {
- return self::get_hash_item('college', $itemid);
- }
- /**
- * 引导触发
- * @return \guide_trigger
- */
- public static function guide_trigger()
- {
- static $a = null;
- return self::initValue($a, 'guide_trigger');
- }
- /**
- * @return \sm_guide_trigger guide_trigger item数据
- */
- public static function guide_trigger_getItem($itemid)
- {
- return self::get_hash_item('guide_trigger', $itemid);
- }
- /**
- * 任务节点
- * @return \task_node
- */
- public static function task_node()
- {
- static $a = null;
- return self::initValue($a, 'task_node');
- }
- /**
- * @return \sm_task_node task_node item数据
- */
- public static function task_node_getItem($itemid)
- {
- return self::get_hash_item('task_node', $itemid);
- }
- /**
- * 圣哲学院课程表
- * @return \course
- */
- public static function course()
- {
- static $a = null;
- return self::initValue($a, 'course');
- }
- /**
- * @return \sm_course course item数据
- */
- public static function course_getItem($itemid)
- {
- return self::get_hash_item('course', $itemid);
- }
- /**
- *
- * @return \gate_mainland
- */
- public static function gate_mainland()
- {
- static $a = null;
- return self::initValue($a, 'gate_mainland');
- }
- /**
- * @return \sm_gate_mainland gate_mainland item数据
- */
- public static function gate_mainland_getItem($itemid)
- {
- return self::get_hash_item('gate_mainland', $itemid);
- }
- /**
- * 动作事件表
- * @return \eventAction
- */
- public static function eventAction()
- {
- static $a = null;
- return self::initValue($a, 'eventAction');
- }
- /**
- * @return \sm_eventAction eventAction item数据
- */
- public static function eventAction_getItem($itemid)
- {
- return self::get_hash_item('eventAction', $itemid);
- }
- /**
- * 碎片
- * @return \segment
- */
- public static function segment()
- {
- static $a = null;
- return self::initValue($a, 'segment');
- }
- /**
- * @return \sm_segment segment item数据
- */
- public static function segment_getItem($itemid)
- {
- return self::get_hash_item('segment', $itemid);
- }
- /**
- * 关卡-区域表
- * @return \gate_zone
- */
- public static function gate_zone()
- {
- static $a = null;
- return self::initValue($a, 'gate_zone');
- }
- /**
- * @return \sm_gate_zone gate_zone item数据
- */
- public static function gate_zone_getItem($itemid)
- {
- return self::get_hash_item('gate_zone', $itemid);
- }
- /**
- * 建筑表_2021.2.5
- * @return \build
- */
- public static function build()
- {
- static $a = null;
- return self::initValue($a, 'build');
- }
- /**
- * @return \sm_build build item数据
- */
- public static function build_getItem($itemid)
- {
- return self::get_hash_item('build', $itemid);
- }
- /**
- * 神秘商城道具表-by goodstype
- * @return \secretshop_goodsType
- */
- public static function secretshop_goodsType()
- {
- static $a = null;
- return self::initValue($a, 'secretshop_goodsType');
- }
- /**
- * @return \sm_secretshop_goodsType secretshop_goodsType item数据
- */
- public static function secretshop_goodsType_getItem($itemid)
- {
- return self::get_hash_item('secretshop_goodsType', $itemid);
- }
- /**
- * 神秘商城刷新价格表
- * @return \secretshop_refresh
- */
- public static function secretshop_refresh()
- {
- static $a = null;
- return self::initValue($a, 'secretshop_refresh');
- }
- /**
- * @return \sm_secretshop_refresh secretshop_refresh item数据
- */
- public static function secretshop_refresh_getItem($itemid)
- {
- return self::get_hash_item('secretshop_refresh', $itemid);
- }
- /**
- * 神秘商城道具表-by typeId
- * @return \secretshop_typeId
- */
- public static function secretshop_typeId()
- {
- static $a = null;
- return self::initValue($a, 'secretshop_typeId');
- }
- /**
- * @return \sm_secretshop_typeId secretshop_typeId item数据
- */
- public static function secretshop_typeId_getItem($itemid)
- {
- return self::get_hash_item('secretshop_typeId', $itemid);
- }
- /**
- * 客户端版本信息
- * @return \clientVersionHistory
- */
- public static function clientVersionHistory()
- {
- static $a = null;
- return self::initValue($a, 'clientVersionHistory');
- }
- /**
- * @return \sm_clientVersionHistory clientVersionHistory item数据
- */
- public static function clientVersionHistory_getItem($itemid)
- {
- return self::get_hash_item('clientVersionHistory', $itemid);
- }
- /**
- * 分区列表
- * @return \zonelist
- */
- public static function zonelist()
- {
- static $a = null;
- return self::initValue($a, 'zonelist');
- }
- /**
- * @return \sm_zonelist zonelist item数据
- */
- public static function zonelist_getItem($itemid)
- {
- return self::get_hash_item('zonelist', $itemid);
- }
- /**
- * 兑换码礼包
- * @return \tokenGift
- */
- public static function tokenGift()
- {
- static $a = null;
- return self::initValue($a, 'tokenGift');
- }
- /**
- * @return \sm_tokenGift tokenGift item数据
- */
- public static function tokenGift_getItem($itemid)
- {
- return self::get_hash_item('tokenGift', $itemid);
- }
- /**
- * 活动配置
- * @return \activity
- */
- public static function activity()
- {
- static $a = null;
- return self::initValue($a, 'activity');
- }
- /**
- * @return \sm_activity activity item数据
- */
- public static function activity_getItem($itemid)
- {
- return self::get_hash_item('activity', $itemid);
- }
- /**
- * 任务卡商店
- * @return \taskcard_shop
- */
- public static function taskcard_shop()
- {
- static $a = null;
- return self::initValue($a, 'taskcard_shop');
- }
- /**
- * @return \sm_taskcard_shop taskcard_shop item数据
- */
- public static function taskcard_shop_getItem($itemid)
- {
- return self::get_hash_item('taskcard_shop', $itemid);
- }
- /**
- * 碎片_按品质索引
- * @return \segment_byPinzhi
- */
- public static function segment_byPinzhi()
- {
- static $a = null;
- return self::initValue($a, 'segment_byPinzhi');
- }
- /**
- * @return \sm_segment_byPinzhi segment_byPinzhi item数据
- */
- public static function segment_byPinzhi_getItem($quailty, $itemType)
- {
- return self::get_hash_item('segment_byPinzhi', $quailty)->$itemType;
- }
- /**
- *
- * @return \npc
- */
- public static function npc()
- {
- static $a = null;
- return self::initValue($a, 'npc');
- }
- /**
- * @return \sm_npc npc item数据
- */
- public static function npc_getItem($itemid)
- {
- return self::get_hash_item('npc', $itemid);
- }
- /**
- * 活动: 在线礼包
- * @return \activity_onlinegift
- */
- public static function activity_onlinegift()
- {
- static $a = null;
- return self::initValue($a, 'activity_onlinegift');
- }
- /**
- * @return \sm_activity_onlinegift activity_onlinegift item数据
- */
- public static function activity_onlinegift_getItem($itemid)
- {
- return self::get_hash_item('activity_onlinegift', $itemid);
- }
- /**
- * GM号的UID
- * @return \GM_uids
- */
- public static function GM_uids()
- {
- static $a = null;
- return self::initValue($a, 'GM_uids');
- }
- /**
- * 活动, 全服注册礼包
- * @return \activity_reggift
- */
- public static function activity_reggift()
- {
- static $a = null;
- return self::initValue($a, 'activity_reggift');
- }
- /**
- * @return \sm_activity_reggift activity_reggift item数据
- */
- public static function activity_reggift_getItem($itemid)
- {
- return self::get_hash_item('activity_reggift', $itemid);
- }
- /**
- * 错误信息表
- * @return \errmsg
- */
- public static function errmsg()
- {
- static $a = null;
- return self::initValue($a, 'errmsg');
- }
- /**
- * @return \sm_errmsg errmsg item数据
- */
- public static function errmsg_getItem($itemid)
- {
- return self::get_hash_item('errmsg', $itemid);
- }
- /**
- * 公会捐献卡牌奖励
- * @return \guilddonatereward
- */
- public static function guilddonatereward()
- {
- static $a = null;
- return self::initValue($a, 'guilddonatereward');
- }
- /**
- * @return \sm_guilddonatereward guilddonatereward item数据
- */
- public static function guilddonatereward_getItem($itemid)
- {
- return self::get_hash_item('guilddonatereward', $itemid);
- }
- /**
- * 公会等级相关数据
- * @return \guildlevel
- */
- public static function guildlevel()
- {
- static $a = null;
- return self::initValue($a, 'guildlevel');
- }
- /**
- * @return \sm_guildlevel guildlevel item数据
- */
- public static function guildlevel_getItem($itemid)
- {
- return self::get_hash_item('guildlevel', $itemid);
- }
- /**
- * 公会礼包
- * @return \guildlibao
- */
- public static function guildlibao()
- {
- static $a = null;
- return self::initValue($a, 'guildlibao');
- }
- /**
- * @return \sm_guildlibao guildlibao item数据
- */
- public static function guildlibao_getItem($itemid)
- {
- return self::get_hash_item('guildlibao', $itemid);
- }
- /**
- * 玩家初始化数据
- * @return \primordial_data
- */
- public static function primordial_data()
- {
- static $a = null;
- return self::initValue($a, 'primordial_data');
- }
- /**
- * 英雄技能升级的限定
- * @return \heroextra_skill_lv_limit
- */
- public static function heroextra_skill_lv_limit()
- {
- static $a = null;
- return self::initValue($a, 'heroextra_skill_lv_limit');
- }
- /**
- * @return \sm_heroextra_skill_lv_limit heroextra_skill_lv_limit item数据
- */
- public static function heroextra_skill_lv_limit_getItem($itemid)
- {
- return self::get_hash_item('heroextra_skill_lv_limit', $itemid);
- }
- /**
- * 武器类道具
- * @return \item_weapon
- */
- public static function item_weapon()
- {
- static $a = null;
- return self::initValue($a, 'item_weapon');
- }
- /**
- * @return \sm_item_weapon item_weapon item数据
- */
- public static function item_weapon_getItem($itemid)
- {
- return self::get_hash_item('item_weapon', $itemid);
- }
- /**
- * 礼包类道具
- * @return \item_package
- */
- public static function item_package()
- {
- static $a = null;
- return self::initValue($a, 'item_package');
- }
- /**
- * @return \sm_item_package item_package item数据
- */
- public static function item_package_getItem($itemid)
- {
- return self::get_hash_item('item_package', $itemid);
- }
- /**
- * 强化类道具
- * @return \item_stones
- */
- public static function item_stones()
- {
- static $a = null;
- return self::initValue($a, 'item_stones');
- }
- /**
- * @return \sm_item_stones item_stones item数据
- */
- public static function item_stones_getItem($itemid)
- {
- return self::get_hash_item('item_stones', $itemid);
- }
- /**
- * 药水类道具
- * @return \item_pills
- */
- public static function item_pills()
- {
- static $a = null;
- return self::initValue($a, 'item_pills');
- }
- /**
- * @return \sm_item_pills item_pills item数据
- */
- public static function item_pills_getItem($itemid)
- {
- return self::get_hash_item('item_pills', $itemid);
- }
- /**
- * buff类道具
- * @return \item_buffcard
- */
- public static function item_buffcard()
- {
- static $a = null;
- return self::initValue($a, 'item_buffcard');
- }
- /**
- * @return \sm_item_buffcard item_buffcard item数据
- */
- public static function item_buffcard_getItem($itemid)
- {
- return self::get_hash_item('item_buffcard', $itemid);
- }
- /**
- * 碎片类道具
- * @return \item_segment
- */
- public static function item_segment()
- {
- static $a = null;
- return self::initValue($a, 'item_segment');
- }
- /**
- * @return \sm_item_segment item_segment item数据
- */
- public static function item_segment_getItem($itemid)
- {
- return self::get_hash_item('item_segment', $itemid);
- }
- /**
- * 道具通用字段表
- * @return \item_base
- */
- public static function item_base()
- {
- static $a = null;
- return self::initValue($a, 'item_base');
- }
- /**
- * @return \sm_item_base item_base item数据
- */
- public static function item_base_getItem($itemid)
- {
- return self::get_hash_item('item_base', $itemid);
- }
- /**
- * 子技能表
- * @return \subSkill
- */
- public static function subSkill()
- {
- static $a = null;
- return self::initValue($a, 'subSkill');
- }
- /**
- * @return \sm_subSkill subSkill item数据
- */
- public static function subSkill_getItem($itemid)
- {
- return self::get_hash_item('subSkill', $itemid);
- }
- /**
- * 宝箱类道具
- * @return \item_box
- */
- public static function item_box()
- {
- static $a = null;
- return self::initValue($a, 'item_box');
- }
- /**
- * @return \sm_item_box item_box item数据
- */
- public static function item_box_getItem($itemid)
- {
- return self::get_hash_item('item_box', $itemid);
- }
- /**
- * 元素相克关系表
- * @return \attack_relation
- */
- public static function attack_relation()
- {
- static $a = null;
- return self::initValue($a, 'attack_relation');
- }
- /**
- * @return \sm_attack_relation attack_relation item数据
- */
- public static function attack_relation_getItem($attack1, $attack2)
- {
- return self::get_hash_item('attack_relation', "$attack1-$attack2");
- }
- /**
- * 战斗力榜全服突破奖励
- * @return \rankreward_fpower
- */
- public static function rankreward_fpower()
- {
- static $a = null;
- return self::initValue($a, 'rankreward_fpower');
- }
- /**
- * @return \sm_rankreward_fpower rankreward_fpower item数据
- */
- public static function rankreward_fpower_getItem($itemid)
- {
- return self::get_hash_item('rankreward_fpower', $itemid);
- }
- /**
- * 合体技能
- * @return \skill_cross
- */
- public static function skill_cross()
- {
- static $a = null;
- return self::initValue($a, 'skill_cross');
- }
- /**
- * @return \sm_skill_cross skill_cross item数据
- */
- public static function skill_cross_getItem($itemid)
- {
- return self::get_hash_item('skill_cross', $itemid);
- }
- /**
- * 通关榜突破奖励
- * @return \rankreward_passgate
- */
- public static function rankreward_passgate()
- {
- static $a = null;
- return self::initValue($a, 'rankreward_passgate');
- }
- /**
- * @return \sm_rankreward_passgate rankreward_passgate item数据
- */
- public static function rankreward_passgate_getItem($itemid)
- {
- return self::get_hash_item('rankreward_passgate', $itemid);
- }
- /**
- * 言灵召唤书
- * @return \item_yanlingbook
- */
- public static function item_yanlingbook()
- {
- static $a = null;
- return self::initValue($a, 'item_yanlingbook');
- }
- /**
- * @return \sm_item_yanlingbook item_yanlingbook item数据
- */
- public static function item_yanlingbook_getItem($itemid)
- {
- return self::get_hash_item('item_yanlingbook', $itemid);
- }
- /**
- * 言灵进阶表
- * @return \yanling_upgrade
- */
- public static function yanling_upgrade()
- {
- static $a = null;
- return self::initValue($a, 'yanling_upgrade');
- }
- /**
- * @return \sm_yanling_upgrade yanling_upgrade item数据
- */
- public static function yanling_upgrade_getItem($typeId, $grade)
- {
- return self::get_hash_item('yanling_upgrade', $typeId)->$grade;
- }
- /**
- * 功能引导模块
- * @return \guide_module
- */
- public static function guide_module()
- {
- static $a = null;
- return self::initValue($a, 'guide_module');
- }
- /**
- * @return \sm_guide_module guide_module item数据
- */
- public static function guide_module_getItem($itemid)
- {
- return self::get_hash_item('guide_module', $itemid);
- }
- /**
- * 活动: 七日签到
- * @return \activity_day7
- */
- public static function activity_day7()
- {
- static $a = null;
- return self::initValue($a, 'activity_day7');
- }
- /**
- * @return \sm_activity_day7 activity_day7 item数据
- */
- public static function activity_day7_getItem($itemid)
- {
- return self::get_hash_item('activity_day7', $itemid);
- }
- /**
- * 限购商城
- * @return \shop_limit
- */
- public static function shop_limit()
- {
- static $a = null;
- return self::initValue($a, 'shop_limit');
- }
- /**
- * @return \sm_shop_limit shop_limit item数据
- */
- public static function shop_limit_getItem($itemid)
- {
- return self::get_hash_item('shop_limit', $itemid);
- }
- /**
- * 月卡商城
- * @return \shop_monthVIP
- */
- public static function shop_monthVIP()
- {
- static $a = null;
- return self::initValue($a, 'shop_monthVIP');
- }
- /**
- * @return \sm_shop_monthVIP shop_monthVIP item数据
- */
- public static function shop_monthVIP_getItem($itemid)
- {
- return self::get_hash_item('shop_monthVIP', $itemid);
- }
- /**
- * 掉落数据表
- * @return \drop
- */
- public static function drop()
- {
- static $a = null;
- return self::initValue($a, 'drop');
- }
- /**
- * @return \sm_drop drop item数据
- */
- public static function drop_getItem($itemid)
- {
- return self::get_hash_item('drop', $itemid);
- }
- /**
- *
- * @return \item_stones_type
- */
- public static function item_stones_type()
- {
- static $a = null;
- return self::initValue($a, 'item_stones_type');
- }
- /**
- * @return \sm_item_stones_type item_stones_type itemArray
- */
- public static function item_stones_type_getItemArray($key)
- {
- return self::get_hash_item('item_stones_type', $key);
- }
- /**
- *
- * @return \yanlingLevel_type
- */
- public static function yanlingLevel_type()
- {
- static $a = null;
- return self::initValue($a, 'yanlingLevel_type');
- }
- /**
- * @return \sm_yanlingLevel_type yanlingLevel_type item数据
- */
- public static function yanlingLevel_type_getItem($type, $level)
- {
- return self::get_hash_item('yanlingLevel_type', $type)->$level;
- }
- /**
- * 言灵突破
- * @return \yanlingextra_level
- */
- public static function yanlingextra_level()
- {
- static $a = null;
- return self::initValue($a, 'yanlingextra_level');
- }
- /**
- * @return \sm_yanlingextra_level yanlingextra_level item数据
- */
- public static function yanlingextra_level_getItem($yanlingId, $starLv)
- {
- return self::get_hash_item('yanlingextra_level', $yanlingId)->$starLv;
- }
- /**
- * 世界boss排名奖励
- * @return \worldboss_rankreward
- */
- public static function worldboss_rankreward()
- {
- static $a = null;
- return self::initValue($a, 'worldboss_rankreward');
- }
- /**
- * @return \sm_worldboss_rankreward worldboss_rankreward item数据
- */
- public static function worldboss_rankreward_getItem($itemid)
- {
- return self::get_hash_item('worldboss_rankreward', $itemid);
- }
- /**
- * 世界boss排名奖励2
- * @return \worldboss_rankreward2
- */
- public static function worldboss_rankreward2()
- {
- static $a = null;
- return self::initValue($a, 'worldboss_rankreward2');
- }
- /**
- * @return \sm_worldboss_rankreward2 worldboss_rankreward2 item数据
- */
- public static function worldboss_rankreward2_getItem($itemid)
- {
- return self::get_hash_item('worldboss_rankreward2', $itemid);
- }
- /**
- * 学院积分兑换道具表
- * @return \score
- */
- public static function score()
- {
- static $a = null;
- return self::initValue($a, 'score');
- }
- /**
- * @return \sm_score score item数据
- */
- public static function score_getItem($itemid)
- {
- return self::get_hash_item('score', $itemid);
- }
- /**
- * 宝石配方表
- * @return \gem_formula
- */
- public static function gem_formula()
- {
- static $a = null;
- return self::initValue($a, 'gem_formula');
- }
- /**
- * @return \sm_gem_formula gem_formula item数据
- */
- public static function gem_formula_getItem($itemid)
- {
- return self::get_hash_item('gem_formula', $itemid);
- }
- /**
- * 宝石合成研究等级表
- * @return \gem_researchlevel
- */
- public static function gem_researchlevel()
- {
- static $a = null;
- return self::initValue($a, 'gem_researchlevel');
- }
- /**
- * @return \sm_gem_researchlevel gem_researchlevel item数据
- */
- public static function gem_researchlevel_getItem($itemid)
- {
- return self::get_hash_item('gem_researchlevel', $itemid);
- }
- /**
- * 任务根据类型区别
- * @return \item_taskcard_type
- */
- public static function item_taskcard_type()
- {
- static $a = null;
- return self::initValue($a, 'item_taskcard_type');
- }
- /**
- * @return \sm_item_taskcard_type item_taskcard_type itemArray
- */
- public static function item_taskcard_type_getItemArray($key)
- {
- return self::get_hash_item('item_taskcard_type', $key);
- }
- /**
- * 背包扩容次数及消耗
- * @return \expandStoreNum
- */
- public static function expandStoreNum()
- {
- static $a = null;
- return self::initValue($a, 'expandStoreNum');
- }
- /**
- * @return \sm_expandStoreNum expandStoreNum item数据
- */
- public static function expandStoreNum_getItem($itemid)
- {
- return self::get_hash_item('expandStoreNum', $itemid);
- }
- /**
- * 宝石属性
- * @return \gemProperty
- */
- public static function gemProperty()
- {
- static $a = null;
- return self::initValue($a, 'gemProperty');
- }
- /**
- * @return \sm_gemProperty gemProperty item数据
- */
- public static function gemProperty_getItem($itemid)
- {
- return self::get_hash_item('gemProperty', $itemid);
- }
- /**
- * 充值
- * @return \recharge
- */
- public static function recharge()
- {
- static $a = null;
- return self::initValue($a, 'recharge');
- }
- /**
- * @return \sm_recharge recharge item数据
- */
- public static function recharge_getItem($itemid)
- {
- return self::get_hash_item('recharge', $itemid);
- }
- /**
- * 特惠区别
- * @return \shop_limit_type
- */
- public static function shop_limit_type()
- {
- static $a = null;
- return self::initValue($a, 'shop_limit_type');
- }
- /**
- * @return \sm_shop_limit_type shop_limit_type itemArray
- */
- public static function shop_limit_type_getItemArray($key)
- {
- return self::get_hash_item('shop_limit_type', $key);
- }
- /**
- * 任务兼容表
- * @return \taskJianRong
- */
- public static function taskJianRong()
- {
- static $a = null;
- return self::initValue($a, 'taskJianRong');
- }
- /**
- * @return \sm_taskJianRong taskJianRong item数据
- */
- public static function taskJianRong_getItem($itemid)
- {
- return self::get_hash_item('taskJianRong', $itemid);
- }
- /**
- * 限时
- * @return \shop_limitTs
- */
- public static function shop_limitTs()
- {
- static $a = null;
- return self::initValue($a, 'shop_limitTs');
- }
- /**
- * @return \sm_shop_limitTs shop_limitTs item数据
- */
- public static function shop_limitTs_getItem($itemid)
- {
- return self::get_hash_item('shop_limitTs', $itemid);
- }
- /**
- * 限时类型区别
- * @return \shop_limitTs_Type
- */
- public static function shop_limitTs_Type()
- {
- static $a = null;
- return self::initValue($a, 'shop_limitTs_Type');
- }
- /**
- * @return \sm_shop_limitTs_Type shop_limitTs_Type itemArray
- */
- public static function shop_limitTs_Type_getItemArray($key)
- {
- return self::get_hash_item('shop_limitTs_Type', $key);
- }
- /**
- * 召唤卡
- * @return \zhaohuanCard
- */
- public static function zhaohuanCard()
- {
- static $a = null;
- return self::initValue($a, 'zhaohuanCard');
- }
- /**
- * @return \sm_zhaohuanCard zhaohuanCard item数据
- */
- public static function zhaohuanCard_getItem($itemid)
- {
- return self::get_hash_item('zhaohuanCard', $itemid);
- }
- /**
- * 场景出口对应关系
- * @return \map_scene_relation
- */
- public static function map_scene_relation()
- {
- static $a = null;
- return self::initValue($a, 'map_scene_relation');
- }
- /**
- * @return \sm_map_scene_relation map_scene_relation item数据
- */
- public static function map_scene_relation_getItem($mapId, $pointId)
- {
- return self::get_hash_item('map_scene_relation', $mapId)->$pointId;
- }
- /**
- * 地图探索
- * @return \map_explorer
- */
- public static function map_explorer()
- {
- static $a = null;
- return self::initValue($a, 'map_explorer');
- }
- /**
- * @return \sm_map_explorer map_explorer itemArray
- */
- public static function map_explorer_getItemArray($key)
- {
- return self::get_hash_item('map_explorer', $key);
- }
- /**
- * 武器商店
- * @return \shop_weapon
- */
- public static function shop_weapon()
- {
- static $a = null;
- return self::initValue($a, 'shop_weapon');
- }
- /**
- * @return \sm_shop_weapon shop_weapon itemArray
- */
- public static function shop_weapon_getItemArray($key)
- {
- return self::get_hash_item('shop_weapon', $key);
- }
- /**
- * 补给品商店
- * @return \shop_supplies
- */
- public static function shop_supplies()
- {
- static $a = null;
- return self::initValue($a, 'shop_supplies');
- }
- /**
- * @return \sm_shop_supplies shop_supplies item数据
- */
- public static function shop_supplies_getItem($npc, $items)
- {
- return self::get_hash_item('shop_supplies', $npc)->$items;
- }
- /**
- * 区域不同
- * @return \map_scene_zoneid
- */
- public static function map_scene_zoneid()
- {
- static $a = null;
- return self::initValue($a, 'map_scene_zoneid');
- }
- /**
- * @return \sm_map_scene_zoneid map_scene_zoneid itemArray
- */
- public static function map_scene_zoneid_getItemArray($key)
- {
- return self::get_hash_item('map_scene_zoneid', $key);
- }
- /**
- * 言灵套装表
- * @return \yanling_compose
- */
- public static function yanling_compose()
- {
- static $a = null;
- return self::initValue($a, 'yanling_compose');
- }
- /**
- * @return \sm_yanling_compose yanling_compose item数据
- */
- public static function yanling_compose_getItem($itemid)
- {
- return self::get_hash_item('yanling_compose', $itemid);
- }
- /**
- * 加成属性
- * @return \eHeroAddProperties
- */
- public static function eHeroAddProperties()
- {
- static $a = null;
- return self::initValue($a, 'eHeroAddProperties');
- }
- /**
- * @return \sm_eHeroAddProperties eHeroAddProperties item数据
- */
- public static function eHeroAddProperties_getItem($itemid)
- {
- return self::get_hash_item('eHeroAddProperties', $itemid);
- }
- /**
- * 玩家等级排行奖励表
- * @return \rank_playerlevel_reward
- */
- public static function rank_playerlevel_reward()
- {
- static $a = null;
- return self::initValue($a, 'rank_playerlevel_reward');
- }
- /**
- * @return \sm_rank_playerlevel_reward rank_playerlevel_reward item数据
- */
- public static function rank_playerlevel_reward_getItem($itemid)
- {
- return self::get_hash_item('rank_playerlevel_reward', $itemid);
- }
- /**
- * 新充值返利
- * @return \rechargeRebate
- */
- public static function rechargeRebate()
- {
- static $a = null;
- return self::initValue($a, 'rechargeRebate');
- }
- /**
- * @return \sm_rechargeRebate rechargeRebate item数据
- */
- public static function rechargeRebate_getItem($type, $rmb)
- {
- return self::get_hash_item('rechargeRebate', $type)->$rmb;
- }
- /**
- * 得给注释
- * @return \duplicate_defense
- */
- public static function duplicate_defense()
- {
- static $a = null;
- return self::initValue($a, 'duplicate_defense');
- }
- /**
- * @return \sm_duplicate_defense duplicate_defense item数据
- */
- public static function duplicate_defense_getItem($itemid)
- {
- return self::get_hash_item('duplicate_defense', $itemid);
- }
- /**
- * 言灵品阶进阶表
- * @return \yanlingQuality
- */
- public static function yanlingQuality()
- {
- static $a = null;
- return self::initValue($a, 'yanlingQuality');
- }
- /**
- * @return \sm_yanlingQuality yanlingQuality item数据
- */
- public static function yanlingQuality_getItem($typeId, $qualityId)
- {
- return self::get_hash_item('yanlingQuality', $typeId)->$qualityId;
- }
- /**
- * 金币兑换
- * @return \goldexchange
- */
- public static function goldexchange()
- {
- static $a = null;
- return self::initValue($a, 'goldexchange');
- }
- /**
- * @return \sm_goldexchange goldexchange item数据
- */
- public static function goldexchange_getItem($itemid)
- {
- return self::get_hash_item('goldexchange', $itemid);
- }
- /**
- * 日常商城表
- * @return \shop_daily
- */
- public static function shop_daily()
- {
- static $a = null;
- return self::initValue($a, 'shop_daily');
- }
- /**
- * @return \sm_shop_daily shop_daily item数据
- */
- public static function shop_daily_getItem($itemid)
- {
- return self::get_hash_item('shop_daily', $itemid);
- }
- /**
- * 日常商店
- * @return \shop_daily_type
- */
- public static function shop_daily_type()
- {
- static $a = null;
- return self::initValue($a, 'shop_daily_type');
- }
- /**
- * @return \sm_shop_daily_type shop_daily_type item数据
- */
- public static function shop_daily_type_getItem($type, $typeId)
- {
- return self::get_hash_item('shop_daily_type', $type)->$typeId;
- }
- /**
- * 公共兑换码
- * @return \token_PublicGift
- */
- public static function token_PublicGift()
- {
- static $a = null;
- return self::initValue($a, 'token_PublicGift');
- }
- /**
- * @return \sm_token_PublicGift token_PublicGift item数据
- */
- public static function token_PublicGift_getItem($itemid)
- {
- return self::get_hash_item('token_PublicGift', $itemid);
- }
- /**
- * 活动: 体力加油站
- * @return \activity_tiligift
- */
- public static function activity_tiligift()
- {
- static $a = null;
- return self::initValue($a, 'activity_tiligift');
- }
- /**
- * @return \sm_activity_tiligift activity_tiligift item数据
- */
- public static function activity_tiligift_getItem($itemid)
- {
- return self::get_hash_item('activity_tiligift', $itemid);
- }
- /**
- * 活动: 等级礼包
- * @return \activity_levelgift
- */
- public static function activity_levelgift()
- {
- static $a = null;
- return self::initValue($a, 'activity_levelgift');
- }
- /**
- * @return \sm_activity_levelgift activity_levelgift item数据
- */
- public static function activity_levelgift_getItem($itemid)
- {
- return self::get_hash_item('activity_levelgift', $itemid);
- }
- /**
- * 战力榜排行榜奖励
- * @return \PaiMingReward_fpower
- */
- public static function PaiMingReward_fpower()
- {
- static $a = null;
- return self::initValue($a, 'PaiMingReward_fpower');
- }
- /**
- * @return \sm_PaiMingReward_fpower PaiMingReward_fpower item数据
- */
- public static function PaiMingReward_fpower_getItem($itemid)
- {
- return self::get_hash_item('PaiMingReward_fpower', $itemid);
- }
- /**
- * 等级榜排行榜奖励
- * @return \PaiMingReward_level
- */
- public static function PaiMingReward_level()
- {
- static $a = null;
- return self::initValue($a, 'PaiMingReward_level');
- }
- /**
- * @return \sm_PaiMingReward_level PaiMingReward_level item数据
- */
- public static function PaiMingReward_level_getItem($itemid)
- {
- return self::get_hash_item('PaiMingReward_level', $itemid);
- }
- /**
- * 当前版本(时间戳)
- * @return \ver
- */
- public static function ver()
- {
- static $a = null;
- return self::initValue($a, 'ver', false);
- }
- /**
- * 客户端配置数据
- * @return \client
- */
- public static function client()
- {
- static $a = null;
- return self::initValue($a, 'client', false);
- }
- }
|