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 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 |
ZO_GROUP_LISTING_KEYBOARD_HEIGHT = 65
ZO_GROUP_LISTING_ROLE_CONTROL_PADDING = 5
ZO_GROUP_LISTING_TOOLTIP_FLAGS_PADDING = 8
--------------------------------------------------------------
-- ZO_GroupFinder_BasePanel_Keyboard
--------------------------------------------------------------
end
end
if newState == SCENE_FRAGMENT_SHOWING then
elseif newState == SCENE_FRAGMENT_HIDDEN then
end
end
-- To be overridden
end
end
end
end
----------------------------------------
-- Group Finder Group Listing Tooltip --
----------------------------------------
end
if indicatorIcon and indicatorText then
tooltipControl . titleLabel : SetAnchor ( TOP , tooltipControl . indicatorLabel , BOTTOM , 0 , 5 , ANCHOR_CONSTRAINS_Y )
else
end
if category ~= GROUP_FINDER_CATEGORY_ENDLESS_DUNGEON and category ~= GROUP_FINDER_CATEGORY_CUSTOM then
local firstText = category == GROUP_FINDER_CATEGORY_PVP and data : GetPrimaryOptionText ( ) or data : GetSecondaryOptionText ( )
local secondText = category == GROUP_FINDER_CATEGORY_PVP and data : GetSecondaryOptionText ( ) or data : GetPrimaryOptionText ( )
local optionsString = ZO_SELECTED_TEXT : Colorize ( ZO_GenerateCommaSeparatedListWithoutAnd ( { firstText , secondText } ) )
tooltipControl . categoryLabel : SetText ( ZO_GenerateSpaceSeparatedList ( { categoryString , optionsString } ) )
else
end
tooltipControl . listingOwnerNameLabel : SetText ( ZO_GetPrimaryPlayerNameWithSecondary ( displayName , characterName ) )
local ROLE_ICON_DIMENSION = 32
local playerCountString , roleListString = ZO_GroupFinder_GroupListing_GetPlayerCountAndRoleStrings ( data , ROLE_ICON_DIMENSION )
tooltipControl . descriptionLabel : SetText ( EscapeMarkup ( data : GetDescription ( ) , ALLOW_MARKUP_TYPE_COLOR_ONLY ) )
local flagLabels = { }
end
local championText = zo_strformat ( SI_GROUP_FINDER_TOOLTIP_FLAGS_FORMATTER , zo_strformat ( SI_GROUP_FINDER_CHAMPION_REQUIRED_TEXT , ZO_GetChampionIconMarkupString ( ZO_GROUP_LISTING_CHAMPION_ICON_SIZE ) ) , ZO_SELECTED_TEXT : Colorize ( championRequirement ) )
local requiresInviteCodeText = data : DoesGroupRequireInviteCode ( ) and requirementTextYes or requirementTextNo
local inviteCodeText = zo_strformat ( SI_GROUP_FINDER_TOOLTIP_FLAGS_FORMATTER , GetString ( SI_GROUP_FINDER_TOOLTIP_INVITE_CODE_LABEL ) , ZO_SELECTED_TEXT : Colorize ( requiresInviteCodeText ) )
if category == GROUP_FINDER_CATEGORY_DUNGEON or category == GROUP_FINDER_CATEGORY_ARENA or category == GROUP_FINDER_CATEGORY_TRIAL then
local playstyleText = zo_strformat ( SI_GROUP_FINDER_TOOLTIP_FLAGS_FORMATTER , GetString ( SI_GROUP_FINDER_TOOLTIP_PLAYSTYLE_LABEL ) , ZO_SELECTED_TEXT : Colorize ( GetString ( "SI_GROUPFINDERPLAYSTYLE" , data : GetPlaystyle ( ) ) ) )
end
local autoAcceptsRequestsText = data : DoesGroupAutoAcceptRequests ( ) and requirementTextYes or requirementTextNo
local autoAcceptText = zo_strformat ( SI_GROUP_FINDER_TOOLTIP_FLAGS_FORMATTER , GetString ( SI_GROUP_FINDER_TOOLTIP_AUTO_ACCEPT_LABEL ) , ZO_SELECTED_TEXT : Colorize ( autoAcceptsRequestsText ) )
local VOIPText = zo_strformat ( SI_GROUP_FINDER_TOOLTIP_FLAGS_FORMATTER , GetString ( SI_GROUP_FINDER_TOOLTIP_VOIP_LABEL ) , ZO_SELECTED_TEXT : Colorize ( requiresVOIPText ) )
local lookingForText = zo_strformat ( SI_GROUP_FINDER_TOOLTIP_FLAGS_FORMATTER , GetString ( SI_GROUP_FINDER_TOOLTIP_LOOKING_FOR_LABEL ) , desiredRolesList )
if index == 1 then
elseif index == 2 then
elseif index % 2 == 1 then
flagLabel : SetAnchor ( TOPLEFT , flagLabels [ index - 2 ] , BOTTOMLEFT , 0 , ZO_GROUP_LISTING_TOOLTIP_FLAGS_PADDING )
else
flagLabel : SetAnchor ( TOPRIGHT , flagLabels [ index - 2 ] , BOTTOMRIGHT , 0 , ZO_GROUP_LISTING_TOOLTIP_FLAGS_PADDING )
end
end
if warningText then
end
end
end |