本文整理匯總了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');
}