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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
local secondaryName = ZO_GetSecondaryPlayerName ( applicationData . name , applicationData . characterName )
-- Primary Name Header
-- Secondary Name
-- Player Level
local statValuePair = statsSection : AcquireStatValuePair ( self : GetStyle ( "statValuePair" ) , self : GetStyle ( "fullWidth" ) )
statValuePair : SetStat ( GetString ( SI_GUILD_RECRUITMENT_APPLICATIONS_SORT_HEADER_LEVEL ) , self : GetStyle ( "statValuePairStat" ) )
local ICON_SIZE = 40
local levelText = ZO_GetLevelOrChampionPointsString ( applicationData . level , applicationData . championPoints , ICON_SIZE )
local levelNarrationText = ZO_GetLevelOrChampionPointsNarrationString ( applicationData . level , applicationData . championPoints )
statValuePair : SetValueWithCustomNarration ( levelText , levelNarrationText , self : GetStyle ( "socialStatsValue" ) )
-- Player Class
statValuePair = statsSection : AcquireStatValuePair ( self : GetStyle ( "statValuePair" ) , self : GetStyle ( "fullWidth" ) )
statValuePair : SetStat ( GetString ( SI_GUILD_RECRUITMENT_CLASS_HEADER ) , self : GetStyle ( "statValuePairStat" ) )
statValuePair : SetValue ( zo_strformat ( SI_CLASS_NAME , GetClassName ( GENDER_MALE , applicationData . class ) ) , self : GetStyle ( "socialStatsValue" ) )
-- Player Alliance
statValuePair = statsSection : AcquireStatValuePair ( self : GetStyle ( "statValuePair" ) , self : GetStyle ( "fullWidth" ) )
statValuePair : SetStat ( GetString ( "SI_GUILDMETADATAATTRIBUTE" , GUILD_META_DATA_ATTRIBUTE_ALLIANCE ) , self : GetStyle ( "statValuePairStat" ) )
statValuePair : SetValue ( ZO_CachedStrFormat ( SI_ALLIANCE_NAME , GetAllianceName ( applicationData . alliance ) ) , self : GetStyle ( "socialStatsValue" ) )
-- Player Achievement Points
statValuePair = statsSection : AcquireStatValuePair ( self : GetStyle ( "statValuePair" ) , self : GetStyle ( "fullWidth" ) )
statValuePair : SetStat ( GetString ( SI_GAMEPAD_ACHIEVEMENTS_POINTS_LABEL ) , self : GetStyle ( "statValuePairStat" ) )
statValuePair : SetValue ( zo_strformat ( SI_NUMBER_FORMAT , applicationData . achievementPoints ) , self : GetStyle ( "socialStatsValue" ) )
end
local params =
{
"UI_SHORTCUT_SECONDARY" ,
}
local KEYBIND_INDEX = 1
bodySection : AddParameterizedKeybindLine ( SI_GAMEPAD_GUILD_LINK_TOOLTIP_DESCRIPTION , params , KEYBIND_INDEX , self : GetStyle ( "flavorText" ) )
end
end
end
local IS_GAMEPAD = true
section : AddLineWithCustomNarration ( eventData : GetText ( IS_GAMEPAD ) , GetEventNarration , self : GetStyle ( "bodyDescription" ) )
section : AddLine ( eventData : GetFormattedTime ( ) , self : GetStyle ( "bodyDescription" ) , self : GetStyle ( "whiteFontColor" ) )
end |