|
@@ -3,9 +3,11 @@
|
|
|
// 由CodeGenerator创建。
|
|
|
// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
|
|
|
// author: gwang
|
|
|
- // 日期: 2023-09-12 17:11:11
|
|
|
+ // 日期: 2023-09-13 17:33:01
|
|
|
////////////////////
|
|
|
|
|
|
+namespace loyalsoft;
|
|
|
+
|
|
|
/**
|
|
|
* 常量配置数据
|
|
|
*/
|
|
@@ -541,6 +543,22 @@ class GameConfig {
|
|
|
return self::get_hash_item('plot', $gateId)->$stage;
|
|
|
}
|
|
|
/**
|
|
|
+ * buff配置表
|
|
|
+ * @return \buff
|
|
|
+ */
|
|
|
+ public static function buff()
|
|
|
+ {
|
|
|
+ static $a = null;
|
|
|
+ return self::initValue($a, 'buff');
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @return \sm_buff buff item数据
|
|
|
+ */
|
|
|
+ public static function buff_getItem($itemid)
|
|
|
+ {
|
|
|
+ return self::get_hash_item('buff', $itemid);
|
|
|
+ }
|
|
|
+ /**
|
|
|
* 当前版本(时间戳)
|
|
|
* @return \ver
|
|
|
*/
|