本文整理汇总了PHP中Shadowrun4::langPlayer方法的典型用法代码示例。如果您正苦于以下问题:PHP Shadowrun4::langPlayer方法的具体用法?PHP Shadowrun4::langPlayer怎么用?PHP Shadowrun4::langPlayer使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Shadowrun4
的用法示例。
在下文中一共展示了Shadowrun4::langPlayer方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: lang
public function lang($key, $args = NULL)
{
return Shadowrun4::langPlayer($this, $key, $args);
}
示例2: displayASL
public static function displayASL(SR_Player $player)
{
$b = chr(2);
if (0 >= ($age = $player->getBase('age'))) {
return Shadowrun4::lang('none');
}
return Shadowrun4::langPlayer($player, 'fmt_asl', array($age, $player->getBase('height'), Shadowfunc::displayWeight($player->getBase('bmi'))));
// return sprintf("{$b}Age{$b}:%d, %dcm %s", $age, $player->getBase('height'), Shadowfunc::displayWeight($player->getBase('bmi')));
}
示例3: displayEquipmentType
public function displayEquipmentType(SR_Player $player)
{
return Shadowrun4::langPlayer($player, $this->getItemType());
}
示例4: displayName
public function displayName(SR_Player $player)
{
return Shadowrun4::langPlayer($player, 'ln_school');
}
示例5: getEnterText
public function getEnterText(SR_Player $player)
{
return Shadowrun4::langPlayer($player, 'stub_enter_piercer');
}