|
@@ -3,7 +3,7 @@
|
|
|
// 由CodeGenerator创建。
|
|
|
// Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
|
|
|
// author: gwang
|
|
|
- // 日期: 2025-04-01 09:54:07
|
|
|
+ // 日期: 2025-04-07 17:28:44
|
|
|
////////////////////
|
|
|
|
|
|
namespace loyalsoft;
|
|
@@ -1320,6 +1320,22 @@ class GameConfig {
|
|
|
return self::get_hash_item('pet_area', $key);
|
|
|
}
|
|
|
/**
|
|
|
+ * 宠物属性
|
|
|
+ * @return \pet_attr
|
|
|
+ */
|
|
|
+ public static function pet_attr()
|
|
|
+ {
|
|
|
+ static $a = null;
|
|
|
+ return self::initValue($a, 'pet_attr');
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ * @return \sm_pet_attr pet_attr item数据
|
|
|
+ */
|
|
|
+ public static function pet_attr_getItem($rarity, $qual)
|
|
|
+ {
|
|
|
+ return self::get_hash_item('pet_attr', "$rarity-$qual");
|
|
|
+ }
|
|
|
+ /**
|
|
|
* 当前版本(时间戳)
|
|
|
* @return \ver
|
|
|
*/
|