Back to Home

ESO Lua File v101044

ingame/optionspanels/keyboard/optionspanel_social_keyboard.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
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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
local panelBuilder = ZO_KeyboardOptionsPanelBuilder:New(SETTING_PANEL_SOCIAL)
-----------------------------
-- Social -> Chat settings --
-----------------------------
panelBuilder:AddSetting({
    controlName = "Options_Social_TextSize",
    template = "ZO_Options_Slider",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_TEXT_SIZE,
    header = SI_SOCIAL_OPTIONS_CHAT_SETTINGS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_MinAlpha",
    template = "ZO_Options_Slider",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_MIN_ALPHA,
    header = SI_SOCIAL_OPTIONS_CHAT_SETTINGS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_UseProfanityFilter",
    settingType = SETTING_TYPE_LANGUAGE,
    settingId = LANGUAGE_SETTING_USE_PROFANITY_FILTER,
    header = SI_SOCIAL_OPTIONS_CHAT_SETTINGS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ReturnCursorOnChatFocus",
    settingType = SETTING_TYPE_UI,
    settingId = UI_SETTING_RETURN_CURSOR_ON_CHAT_FOCUS,
    header = SI_SOCIAL_OPTIONS_CHAT_SETTINGS,
})
-----------------------------
-- Social -> Notifications --
-----------------------------
panelBuilder:AddSetting({
    controlName = "Options_Social_LeaderboardsNotification",
    settingType = SETTING_TYPE_UI,
    settingId = UI_SETTING_SHOW_LEADERBOARD_NOTIFICATIONS,
    header = SI_SOCIAL_OPTIONS_NOTIFICATIONS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_AutoDeclineDuelInvites",
    settingType = SETTING_TYPE_UI,
    settingId = UI_SETTING_AUTO_DECLINE_DUEL_INVITES,
    header = SI_SOCIAL_OPTIONS_NOTIFICATIONS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_AutoDeclineTributeInvites",
    settingType = SETTING_TYPE_UI,
    settingId = UI_SETTING_AUTO_DECLINE_TRIBUTE_INVITES,
    header = SI_SOCIAL_OPTIONS_NOTIFICATIONS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_AvANotifications",
    settingType = SETTING_TYPE_UI,
    settingId = UI_SETTING_SHOW_AVA_NOTIFICATIONS,
    header = SI_SOCIAL_OPTIONS_NOTIFICATIONS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_GuildKeepNotices",
    settingType = SETTING_TYPE_UI,
    settingId = UI_SETTING_SHOW_GUILD_KEEP_NOTICES,
    header = SI_SOCIAL_OPTIONS_NOTIFICATIONS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_PvPKillFeedNotifications",
    settingType = SETTING_TYPE_UI,
    settingId = UI_SETTING_SHOW_PVP_KILL_FEED_NOTIFICATIONS,
    header = SI_SOCIAL_OPTIONS_NOTIFICATIONS,
})
---------------------------
-- Social -> Chat Colors --
---------------------------
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Say",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_SAY,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Yell",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_YELL,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_WhisperIncoming",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_WHISPER_INC,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_WhisperOutgoing",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_WHISPER_OUT,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Group",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_GROUP,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Zone",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_ZONE,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
for language = OFFICIAL_LANGUAGE_ITERATION_BEGIN, OFFICIAL_LANGUAGE_ITERATION_END do
    local chatInfo = ZO_OFFICIAL_LANGUAGE_TO_CHAT_INFO[language]
    panelBuilder:AddSetting({
        controlName = chatInfo.chatColorCustomSettingControlName,
        settingType = SETTING_TYPE_CUSTOM,
        settingId = chatInfo.chatColorCustomSetting,
        header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
    })
end
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_NPC",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_NPC,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Emote",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_EMOTE,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_System",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_SYSTEM,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_Guild1Title",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_TITLE_GUILD1,
    template = "ZO_Options_Social_GuildLabel",
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Guild1",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_GUILD1,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Officer1",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_OFFICER1,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_Guild2Title",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_TITLE_GUILD2,
    template = "ZO_Options_Social_GuildLabel",
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Guild2",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_GUILD2,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Officer2",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_OFFICER2,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_Guild3Title",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_TITLE_GUILD3,
    template = "ZO_Options_Social_GuildLabel",
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Guild3",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_GUILD3,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Officer3",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_OFFICER3,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_Guild4Title",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_TITLE_GUILD4,
    template = "ZO_Options_Social_GuildLabel",
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Guild4",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_GUILD4,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Officer4",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_OFFICER4,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_Guild5Title",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_TITLE_GUILD5,
    template = "ZO_Options_Social_GuildLabel",
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Guild5",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_GUILD5,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})
panelBuilder:AddSetting({
    controlName = "Options_Social_ChatColor_Officer5",
    settingType = SETTING_TYPE_CUSTOM,
    settingId = OPTIONS_CUSTOM_SETTING_SOCIAL_CHAT_COLOR_OFFICER5,
    header = SI_SOCIAL_OPTIONS_CHAT_COLORS,
})