This commit is contained in:
aozhiwei 2024-01-23 18:57:42 +08:00
parent 80f3dbe404
commit 95ddddfbe0

View File

@ -0,0 +1,24 @@
<?php
namespace mt;
use phpcommon;
class BattleRandAttribute {
public static function get($id)
{
return getXVal(self::getMetaList(), $id);
}
protected static function getMetaList()
{
if (!self::$metaList) {
self::$metaList = getMetaTable('battleRandAttribute@battleRandAttribute.php');
}
return self::$metaList;
}
protected static $metaList;
}