Пользовательские дополнения

На главную


unit.GetReputationLevel( mobId )

Получить информацию об уровне репутации с мобом.

-- библиотека:
unit

-- объявление:
function GetReputationLevel( mobId )

-- параметры:
mobId: ObjectId (not nil) - идентификатор моба

-- возвращаемые значения
level: number (enum REPUTATION_LEVEL_...) - текущий уровень репутации

-- пример
local level = unit.GetReputationLevel( mobId )

Уровни репутаций: enum REPUTATION_LEVEL_....

Search: "CategoryLuaApi" "CategoryReputations"

EnumReputationLevel
EventNewReputationAppeared
EventReputationDisappeared
EventReputationLevelChanged
EventReputationValueChanged
FunctionAvatarGetReputationInfo
FunctionAvatarGetReputationsList
FunctionAvatarGetReputationValue
FunctionUnitGetReputationLevel


CategoryLuaApi CategoryFunction CategoryUnit CategoryReputations

На главную