Back to Home

ESO Lua File v101041

ingame/guild/guildrank.lua

[◄ back to folders ]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
function GetFinalGuildRankTextureSmall(guildId, rankIndex)
    local iconIndex = GetGuildRankIconIndex(guildId, rankIndex)
    return GetGuildRankSmallIcon(iconIndex)
end
function GetFinalGuildRankTextureLarge(guildId, rankIndex)
    local iconIndex = GetGuildRankIconIndex(guildId, rankIndex)
    return GetGuildRankLargeIcon(iconIndex)
end
function GetFinalGuildRankHighlight(guildId, rankIndex)
    local iconIndex = GetGuildRankIconIndex(guildId, rankIndex)
    return GetGuildRankListHighlightIcon(iconIndex)
end
function GetFinalGuildRankTextureListDown(guildId, rankIndex)
    local iconIndex = GetGuildRankIconIndex(guildId, rankIndex)
    return GetGuildRankListDownIcon(iconIndex)
end
function GetFinalGuildRankTextureListUp(guildId, rankIndex)
    local iconIndex = GetGuildRankIconIndex(guildId, rankIndex)
    return GetGuildRankListUpIcon(iconIndex)
end
function GetDefaultGuildRankName(guildId, rankIndex)
    local rankId = GetGuildRankId(guildId, rankIndex)
    return GetString("SI_GUILDRANKS", rankId)
end
function GetFinalGuildRankName(guildId, rankIndex)
    local customName = GetGuildRankCustomName(guildId, rankIndex)
    if(customName ~= "") then
        return customName
    else
        return GetDefaultGuildRankName(guildId, rankIndex)
    end
end