|
@@ -3,7 +3,7 @@
|
|
// 由CodeGenerator创建。
|
|
// 由CodeGenerator创建。
|
|
// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
|
|
// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
|
|
// author: gwang
|
|
// author: gwang
|
|
- // 日期: 2023-07-28 10:18:52
|
|
|
|
|
|
+ // 日期: 2023-08-09 15:33:44
|
|
////////////////////
|
|
////////////////////
|
|
|
|
|
|
namespace loyalsoft;
|
|
namespace loyalsoft;
|
|
@@ -207,38 +207,6 @@ class GameConfig {
|
|
return self::get_hash_item('skills', $itemid);
|
|
return self::get_hash_item('skills', $itemid);
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
- * 战斗: 波次表
|
|
|
|
- * @return \waves
|
|
|
|
- */
|
|
|
|
- public static function waves()
|
|
|
|
- {
|
|
|
|
- static $a = null;
|
|
|
|
- return self::initValue($a, 'waves');
|
|
|
|
- }
|
|
|
|
- /**
|
|
|
|
- * @return \sm_waves waves itemArray
|
|
|
|
- */
|
|
|
|
- public static function waves_getItemArray($key)
|
|
|
|
- {
|
|
|
|
- return self::get_hash_item('waves', $key);
|
|
|
|
- }
|
|
|
|
- /**
|
|
|
|
- * 战斗: 怪物表
|
|
|
|
- * @return \monster
|
|
|
|
- */
|
|
|
|
- public static function monster()
|
|
|
|
- {
|
|
|
|
- static $a = null;
|
|
|
|
- return self::initValue($a, 'monster');
|
|
|
|
- }
|
|
|
|
- /**
|
|
|
|
- * @return \sm_monster monster item数据
|
|
|
|
- */
|
|
|
|
- public static function monster_getItem($itemid)
|
|
|
|
- {
|
|
|
|
- return self::get_hash_item('monster', $itemid);
|
|
|
|
- }
|
|
|
|
- /**
|
|
|
|
* 活动: 七日签到
|
|
* 活动: 七日签到
|
|
* @return \activity_day7
|
|
* @return \activity_day7
|
|
*/
|
|
*/
|
|
@@ -335,20 +303,132 @@ class GameConfig {
|
|
return self::get_hash_item('gate', $itemid);
|
|
return self::get_hash_item('gate', $itemid);
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
- * 战斗经验表
|
|
|
|
- * @return \gate_levelexp
|
|
|
|
|
|
+ * 角色
|
|
|
|
+ * @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 \equip
|
|
|
|
+ */
|
|
|
|
+ public static function equip()
|
|
|
|
+ {
|
|
|
|
+ static $a = null;
|
|
|
|
+ return self::initValue($a, 'equip');
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * @return \sm_equip equip item数据
|
|
|
|
+ */
|
|
|
|
+ public static function equip_getItem($itemid)
|
|
|
|
+ {
|
|
|
|
+ return self::get_hash_item('equip', $itemid);
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * 装备升级表
|
|
|
|
+ * @return \equip_levelupgrade
|
|
|
|
+ */
|
|
|
|
+ public static function equip_levelupgrade()
|
|
|
|
+ {
|
|
|
|
+ static $a = null;
|
|
|
|
+ return self::initValue($a, 'equip_levelupgrade');
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * @return \sm_equip_levelupgrade equip_levelupgrade item数据
|
|
|
|
+ */
|
|
|
|
+ public static function equip_levelupgrade_getItem($itemid)
|
|
|
|
+ {
|
|
|
|
+ return self::get_hash_item('equip_levelupgrade', $itemid);
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * 章节礼包表
|
|
|
|
+ * @return \shop_gategift
|
|
|
|
+ */
|
|
|
|
+ public static function shop_gategift()
|
|
|
|
+ {
|
|
|
|
+ static $a = null;
|
|
|
|
+ return self::initValue($a, 'shop_gategift');
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * @return \sm_shop_gategift shop_gategift item数据
|
|
|
|
+ */
|
|
|
|
+ public static function shop_gategift_getItem($itemid)
|
|
|
|
+ {
|
|
|
|
+ return self::get_hash_item('shop_gategift', $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_cash
|
|
|
|
+ */
|
|
|
|
+ public static function shop_cash()
|
|
|
|
+ {
|
|
|
|
+ static $a = null;
|
|
|
|
+ return self::initValue($a, 'shop_cash');
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * @return \sm_shop_cash shop_cash item数据
|
|
|
|
+ */
|
|
|
|
+ public static function shop_cash_getItem($itemid)
|
|
|
|
+ {
|
|
|
|
+ return self::get_hash_item('shop_cash', $itemid);
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * 金币
|
|
|
|
+ * @return \shop_gold
|
|
|
|
+ */
|
|
|
|
+ public static function shop_gold()
|
|
|
|
+ {
|
|
|
|
+ static $a = null;
|
|
|
|
+ return self::initValue($a, 'shop_gold');
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ * @return \sm_shop_gold shop_gold item数据
|
|
|
|
+ */
|
|
|
|
+ public static function shop_gold_getItem($itemid)
|
|
|
|
+ {
|
|
|
|
+ return self::get_hash_item('shop_gold', $itemid);
|
|
|
|
+ }
|
|
|
|
+ /**
|
|
|
|
+ *
|
|
|
|
+ * @return \shop_supply
|
|
*/
|
|
*/
|
|
- public static function gate_levelexp()
|
|
|
|
|
|
+ public static function shop_supply()
|
|
{
|
|
{
|
|
static $a = null;
|
|
static $a = null;
|
|
- return self::initValue($a, 'gate_levelexp');
|
|
|
|
|
|
+ return self::initValue($a, 'shop_supply');
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
- * @return \sm_gate_levelexp gate_levelexp item数据
|
|
|
|
|
|
+ * @return \sm_shop_supply shop_supply item数据
|
|
*/
|
|
*/
|
|
- public static function gate_levelexp_getItem($itemid)
|
|
|
|
|
|
+ public static function shop_supply_getItem($itemid)
|
|
{
|
|
{
|
|
- return self::get_hash_item('gate_levelexp', $itemid);
|
|
|
|
|
|
+ return self::get_hash_item('shop_supply', $itemid);
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* 当前版本(时间戳)
|
|
* 当前版本(时间戳)
|