Пользовательские дополнения
На главную
remort.GetClassSpellsForSharing( classId )
Возвращает список заклинаний, которые в принципе может расшарить игрок заданного класса для использования своим альтом (реморт).
-- библиотека:
remort
-- объявление:
function GetClassSpellsForSharing( classId )
-- параметры:
classId: CharacterClassId - идентификатор ресурса класса игрока
-- возвращаемое значение
table of SpellId - индексированный с 0 идентификатор умений
-- пример:
local spells = remort.GetClassSpellsForSharing( avatar.GetClassId() )
for i = 0, GetTableSize( spells - 1 ) do
local spellId = spells[ i ]
local spellInfo = avatar.GetSpellInfo( spellId )
end
Связанные страницы: "CategoryLuaApi" "CategoryRemort"
CategoryRemort
EventRemortAbilitySharingRequest
EventRemortListGained
EventRemortShowCreationDialog
EventRemortVariationsInfoChanged
FunctionRemortCanGetRemortsList
FunctionRemortChooseSharedAbility
FunctionRemortCreationChargenShowHelm
FunctionRemortCreationCreateAvatar
FunctionRemortCreationGetAvatarTemplate
FunctionRemortCreationGetAvatarTemplatesInfo
FunctionRemortCreationGetAvatarTemplatesRaceClassInfo
FunctionRemortCreationGetSceneAvatarInfo
FunctionRemortCreationGetVariationsStatus
FunctionRemortCreationIsZoomEnabled
FunctionRemortCreationIsZoomOnFace
FunctionRemortCreationIsZoomOnFar
FunctionRemortCreationRemoveScene
FunctionRemortCreationRemoveSceneAvatar
FunctionRemortCreationRequestAllVariations
FunctionRemortCreationResetAvatar
FunctionRemortCreationResetSceneCharacterRotation
FunctionRemortCreationRotateSceneCharacter
FunctionRemortCreationSetCameraPath
FunctionRemortCreationSetChargenEquipType
FunctionRemortCreationSetScene
FunctionRemortCreationSetSceneAvatar
FunctionRemortCreationSetSceneAvatarByTemplate
FunctionRemortCreationSetSceneCharacterMouseRotation
FunctionRemortCreationSetSceneCharacterPos
FunctionRemortCreationSetSceneCharacterScaleFactor
FunctionRemortCreationSetSceneCharacterVariation
FunctionRemortCreationToggleZoom
FunctionRemortGetAbilitiesForSharing
FunctionRemortGetClassAbilitiesForSharing
FunctionRemortGetClassSpellsForSharing
FunctionRemortGetMainName
FunctionRemortGetRemortsList
FunctionRemortGetRequirements
FunctionRemortGetSpellsForSharing
FunctionRemortIsAlt
FunctionRemortSwitchRemort
CategoryLuaApi
CategoryFunction
CategoryRemort
На главную