25 lines
358 B
PHP
25 lines
358 B
PHP
<?php
|
|
|
|
namespace mt;
|
|
|
|
use phpcommon;
|
|
|
|
class Equip {
|
|
|
|
public static function get($equipId)
|
|
{
|
|
return self::getMeta()[$equipId];
|
|
}
|
|
|
|
protected static function getMeta()
|
|
{
|
|
if (!self::$meta) {
|
|
self::$meta = getMetaTable('Equip@Equip.php');
|
|
}
|
|
return self::$meta;
|
|
}
|
|
|
|
protected static $meta;
|
|
|
|
}
|