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 |
------------------
-- Guild Finder --
------------------
ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_GUILD_LISTING = 1
ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_APPLICATIONS = 2
ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_BLACKLIST = 3
ZO_GUILD_RECRUITMENT_APPLICATIONS_SUBCATEGORY_KEYBOARD_RECEIVED = 1
ZO_GUILD_RECRUITMENT_APPLICATIONS_SUBCATEGORY_KEYBOARD_MESSAGE = 2
local treeIdToCategoryInfo =
{
[ ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_GUILD_LISTING ] =
{
categoryIndex = ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_GUILD_LISTING ,
up = "EsoUI/Art/GuildFinder/Keyboard/guildRecruitment_guildListing_up.dds" ,
down = "EsoUI/Art/GuildFinder/Keyboard/guildRecruitment_guildListing_down.dds" ,
over = "EsoUI/Art/GuildFinder/Keyboard/guildRecruitment_guildListing_over.dds" ,
} ,
[ ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_APPLICATIONS ] =
{
categoryIndex = ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_APPLICATIONS ,
up = "EsoUI/Art/GuildFinder/Keyboard/guildRecruitment_applications_up.dds" ,
down = "EsoUI/Art/GuildFinder/Keyboard/guildRecruitment_applications_down.dds" ,
over = "EsoUI/Art/GuildFinder/Keyboard/guildRecruitment_applications_over.dds" ,
visible = function ( self ) return DoesPlayerHaveGuildPermission ( self . guildId , GUILD_PERMISSION_MANAGE_APPLICATIONS ) end ,
subCategories =
{
{ name = GetString ( SI_GUILD_RECRUITMENT_APPLICATIONS_RECEIVED ) , value = ZO_GUILD_RECRUITMENT_APPLICATIONS_SUBCATEGORY_KEYBOARD_RECEIVED } ,
{ name = GetString ( SI_GUILD_RECRUITMENT_APPLICATIONS_MESSAGE ) , value = ZO_GUILD_RECRUITMENT_APPLICATIONS_SUBCATEGORY_KEYBOARD_MESSAGE } ,
}
} ,
[ ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_BLACKLIST ] =
{
categoryIndex = ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_BLACKLIST ,
up = "EsoUI/Art/GuildFinder/Keyboard/guildRecruitment_blacklist_up.dds" ,
down = "EsoUI/Art/GuildFinder/Keyboard/guildRecruitment_blacklist_down.dds" ,
over = "EsoUI/Art/GuildFinder/Keyboard/guildRecruitment_blacklist_over.dds" ,
visible = function ( self ) return DoesPlayerHaveGuildPermission ( self . guildId , GUILD_PERMISSION_MANAGE_BLACKLIST ) end ,
} ,
}
ZO_GUILD_RECRUITMENT_GUILD_LISTING_KEYBOARD_COLUMN_WIDTH = 300
ZO_GuildRecruitment_Keyboard = ZO_Object . MultiSubclass ( ZO_GuildRecruitment_Shared , ZO_GuildFinder_Keyboard_Base )
end
-- SetupControlIcon
if open and userRequested then
end
end
if ( state == SCENE_SHOWING ) then
elseif ( state == SCENE_HIDDEN ) then
end
end )
end
return
end
treeIdToCategoryInfo [ ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_APPLICATIONS ] . manager = GUILD_RECRUITMENT_APPLICATIONS_KEYBOARD
treeIdToCategoryInfo [ ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_BLACKLIST ] . manager = GUILD_RECRUITMENT_BLACKLIST_KEYBOARD
end
end
end
if treeIdToCategoryInfo [ ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_GUILD_LISTING ] . manager then
end
treeIdToCategoryInfo [ ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_GUILD_LISTING ] . manager = GUILD_RECRUITMENT_GUILD_LISTING_KEYBOARD
else
treeIdToCategoryInfo [ ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_GUILD_LISTING ] . manager = GUILD_RECRUITMENT_GUILD_LISTING_INFO_KEYBOARD
end
end
self : SetSelectedCategory ( treeIdToCategoryInfo [ ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_APPLICATIONS ] , ZO_GUILD_RECRUITMENT_APPLICATIONS_SUBCATEGORY_KEYBOARD_RECEIVED )
end
end
end
local targetNode = self . nodeLookupTable [ ZO_GUILD_RECRUITMENT_CATEGORY_KEYBOARD_APPLICATIONS ] . subCategories [ ZO_GUILD_RECRUITMENT_APPLICATIONS_SUBCATEGORY_KEYBOARD_RECEIVED ]
else
end
end
end
else
end
end
end
end
-- XML Functions
-----------------
end
end
-- Play the selected sound if not already selected
end
local NOT_REBUILDING = false
local DONT_BRING_PARENT_INTO_VIEW = false
end
end |