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 |
------------------
-- Guild Finder --
------------------
ZO_GuildBrowser_ApplicationsList_Keyboard = ZO_Object . MultiSubclass ( ZO_GuildBrowser_Applications_Shared , ZO_GuildFinder_ApplicationsList_Keyboard )
end
self . sortFunction = function ( listEntry1 , listEntry2 ) return self : ComparePlayerApplications ( listEntry1 , listEntry2 ) end
end
end
table . insert ( scrollData , ZO_ScrollList_CreateDataEntry ( ZO_GUILD_FINDER_APPLICATION_ENTRY_TYPE , data ) )
end
end
function ZO_GuildBrowser_ApplicationsList_Keyboard : ComparePlayerApplications ( listEntry1 , listEntry2 )
return ZO_TableOrderingFunction ( listEntry1 . data , listEntry2 . data , self . currentSortKey , ZO_GUILD_BROWSER_APPLICATIONS_ENTRY_SORT_KEYS , self . currentSortOrder )
end
end
-- XML Functions
-----------------
GUILD_BROWSER_APPLICATIONS_KEYBOARD : GetSubcategoryManager ( ZO_GUILD_BROWSER_APPLICATIONS_SUBCATEGORY_ACTIVE ) : Row_OnMouseEnter ( control )
end
GUILD_BROWSER_APPLICATIONS_KEYBOARD : GetSubcategoryManager ( ZO_GUILD_BROWSER_APPLICATIONS_SUBCATEGORY_ACTIVE ) : Row_OnMouseExit ( control )
end
GUILD_BROWSER_APPLICATIONS_KEYBOARD : SetSubcategoryManager ( ZO_GUILD_BROWSER_APPLICATIONS_SUBCATEGORY_ACTIVE , ZO_GuildBrowser_ApplicationsList_Keyboard : New ( control ) )
end
local guildInfo = ZO_AllianceIconNameFormatter ( control . dataEntry . data . alliance , control . dataEntry . data . guildName )
ZO_Dialogs_ShowDialog ( "GUILD_FINDER_RESCIND_APPLICATION" , control . dataEntry . data , { mainTextParams = { ZO_WHITE : Colorize ( guildInfo ) } } )
end |