Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseGameOverScreenInfo.c
Go to the documentation of this file.
3{
4 [Attribute("0", UIWidgets.ComboBox, "Game Over Screen ID", "", ParamEnumArray.FromEnum(EGameOverTypes) )]
6
7 [Attribute("", desc: "This is the actual game over layout that is shown within the gameover screen", params: "layout")]
9
10 [Attribute("", desc: "Overwrite of base game over screen layout.", params: "layout")]
12
13 [Attribute(desc: "Optional parameters to be displayed in the game over screen. Note that many of these settings are set by the inherent class like faction flag and icon in FactionGameOverScreenInfo")]
15
16 [Attribute(desc: "Params for if the end screen can be displayed in editor. Can be left null if cannot be called by GM")]
18
19 [Attribute(desc: "Pause Game with Game over screen. Singleplayer only")]
21
22 //------------------------------------------------------------------------------------------------
28
29 //------------------------------------------------------------------------------------------------
35
44
53
59 {
60 return m_OptionalParams != null;
61 }
62
71
80
87 string GetTitle(Faction factionPlayer, array<Faction> factionsOther)
88 {
90 return m_OptionalParams.m_sTitle;
91 else
92 return string.Empty;
93 }
94
100 string GetTitle(int playerId, array<int> otherPlayerIds)
101 {
102 if (HasOptionalParams())
103 return m_OptionalParams.m_sTitle;
104 else
105 return string.Empty;
106 }
107
114 string GetSubtitle(Faction factionPlayer, array<Faction> factionsOther)
115 {
116 if (HasOptionalParams())
117 return m_OptionalParams.m_sSubtitle;
118 else
119 return string.Empty;
120 }
121
128 string GetSubtitle(int playerId, array<int> otherPlayerIds)
129 {
130 if (HasOptionalParams())
131 return m_OptionalParams.m_sSubtitle;
132 else
133 return string.Empty;
134 }
135
142 ResourceName GetImage(Faction factionPlayer, array<Faction> factionsOther)
143 {
144 if (HasOptionalParams())
145 return m_OptionalParams.m_sImageTexture;
146 else
147 return string.Empty;
148 }
149
156 ResourceName GetImage(int playerId, array<int> otherPlayerIds)
157 {
158 if (HasOptionalParams())
159 return m_OptionalParams.m_sImageTexture;
160 else
161 return string.Empty;
162 }
163
170 ResourceName GetIcon(Faction factionPlayer, array<Faction> factionsOther)
171 {
172 if (HasOptionalParams())
173 return m_OptionalParams.m_sIcon;
174 else
175 return string.Empty;
176 }
177
184 ResourceName GetIcon(int playerId, array<int> otherPlayerIds)
185 {
186 if (HasOptionalParams())
187 return m_OptionalParams.m_sIcon;
188 else
189 return string.Empty;
190 }
191
199 Color GetVignetteColor(Faction factionPlayer, array<Faction> factionsOther)
200 {
201 return null;
202 }
203
211 Color GetVignetteColor(int playerId, array<int> otherPlayerIds)
212 {
213 return null;
214 }
215
222 string GetDebriefing(Faction factionPlayer, array<Faction> factionsOther)
223 {
224 if (HasOptionalParams())
225 return m_OptionalParams.m_sDebriefing;
226 else
227 return string.Empty;
228 }
229
236 string GetDebriefing(int playerId, array<int> otherPlayerIds)
237 {
238 if (HasOptionalParams())
239 return m_OptionalParams.m_sDebriefing;
240 else
241 return string.Empty;
242 }
243
250 string GetOneShotAudio(Faction factionPlayer, array<Faction> factionsOther)
251 {
252 if (HasOptionalParams())
253 return m_OptionalParams.m_sAudioOneShot;
254 else
255 return string.Empty;
256 }
257
264 string GetOneShotAudio(int playerId, array<int> otherPlayerIds)
265 {
266 if (HasOptionalParams())
267 return m_OptionalParams.m_sAudioOneShot;
268 else
269 return string.Empty;
270 }
271
278 string GetTitleParam(Faction factionPlayer, array<Faction> factionsOther)
279 {
280 if (HasOptionalParams())
281 return m_OptionalParams.m_sTitleParam;
282 else
283 return string.Empty;
284 }
285
292 string GetTitleParam(int playerId, array<int> otherPlayerIds)
293 {
294 if (HasOptionalParams())
295 return m_OptionalParams.m_sTitleParam;
296 else
297 return string.Empty;
298 }
299
306 string GetSubtitleParam(Faction factionPlayer, array<Faction> factionsOther)
307 {
308 if (HasOptionalParams())
309 return m_OptionalParams.m_sSubtitleParam;
310 else
311 return string.Empty;
312 }
313
320 string GetSubtitleParam(int playerId, array<int> otherPlayerIds)
321 {
322 if (HasOptionalParams())
323 return m_OptionalParams.m_sSubtitleParam;
324 else
325 return string.Empty;
326 }
327
334 string GetDebriefingParam(Faction factionPlayer, array<Faction> factionsOther)
335 {
336 if (HasOptionalParams())
337 return m_OptionalParams.m_sDebriefingParam;
338 else
339 return string.Empty;
340 }
341
348 string GetDebriefingParam(int playerId, array<int> otherPlayerIds)
349 {
350 if (HasOptionalParams())
351 return m_OptionalParams.m_sDebriefingParam;
352 else
353 return string.Empty;
354 }
355
362 void GameOverUICustomization(SCR_GameOverScreenUIComponent gameOverUI, Faction factionPlayer, array<Faction> factionsOther)
363 {
364
365 }
366
373 void GameOverUICustomization(SCR_GameOverScreenUIComponent gameOverUI, int playerId, array<int> otherPlayerIds)
374 {
375
376 }
377};
378
381{
382 [Attribute()]
383 LocalizedString m_sTitle;
384
385 [Attribute()]
386 LocalizedString m_sSubtitle;
387
388 [Attribute()]
389 ResourceName m_sImageTexture;
390
391 [Attribute()]
392 ResourceName m_sIcon;
393
394 [Attribute()]
395 LocalizedString m_sDebriefing;
396
397 [Attribute()]
398 string m_sAudioOneShot;
399
400 [Attribute(desc: "%1 param in m_sTitle")]
401 string m_sTitleParam;
402
403 [Attribute(desc: "%1 param in m_sSubtitle")]
404 string m_sSubtitleParam;
405
406 [Attribute(desc: "%1 param in m_sDebriefing")]
407 string m_sDebriefingParam;
408};
409
412{
413 [Attribute("1", desc: "If this is true then the end game state can be set by GM if false but still has a display name it can still be used as a mirror state of another game state (Eg: Defeat cannot be set by GM but if playable faction is not selected when Victory condition is chosen then they will still be displayed defeat as this is a mirror condition for victory.")]
414 bool m_bCanBeSetByGameMaster;
415
416 [Attribute("0", desc: "This endscreen type can only show if at least one faction is playable")]
417 bool m_bNeedsPlayableFactions;
418
419 [Attribute(desc: "Editor only if m_bCanBeSetByGameMaster is true, This is not shown in the GameOver UI but instead the name shown in editor when deciding which faction shows what gameOver screen.")]
420 LocalizedString m_sDisplayName;
421
422 [Attribute(desc: "Editor only if m_bCanBeSetByGameMaster is true, This is not shown in the GameOver UI but instead show in the editor when this end game type has been chosen, explaining more about it to the player.")]
423 LocalizedString m_sDescription;
424
425 [Attribute(desc: "Optional param for description")]
426 LocalizedString m_sDescriptionParam1;
427
428 [Attribute(desc: "Optional param for description")]
429 LocalizedString m_sDescriptionParam2;
430
431 [Attribute(desc: "Editor only, if m_bCanBeSetByGameMaster is true and thus can be selected. If NOT set to NONE: This will indicate if the state has a mirror state. Any playable faction that is not selected will be given this end state instead eg: Not selected for Victory will get defeat", UIWidgets.ComboBox, "Mirrored state ID", "", ParamEnumArray.FromEnum(EGameOverTypes))]
432 EGameOverTypes m_MirroredState;
433};
EGameOverTypes
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
class SCR_HitZoneGroupNameHolder BaseContainerCustomStringTitleField("USE INHERITED VERSION ONLY!")
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition Color.c:13
Color GetVignetteColor(int playerId, array< int > otherPlayerIds)
string GetTitleParam(Faction factionPlayer, array< Faction > factionsOther)
string GetSubtitleParam(Faction factionPlayer, array< Faction > factionsOther)
string GetSubtitleParam(int playerId, array< int > otherPlayerIds)
SCR_BaseGameOverScreenInfoOptional GetOptionalParams()
ResourceName GetIcon(int playerId, array< int > otherPlayerIds)
string GetTitle(int playerId, array< int > otherPlayerIds)
void GameOverUICustomization(SCR_GameOverScreenUIComponent gameOverUI, int playerId, array< int > otherPlayerIds)
void GameOverUICustomization(SCR_GameOverScreenUIComponent gameOverUI, Faction factionPlayer, array< Faction > factionsOther)
string GetSubtitle(int playerId, array< int > otherPlayerIds)
ResourceName GetBaseGameOverScreenOverwrite()
Returns whether game over layout should overwrite whole gameover screen.
string GetDebriefingParam(int playerId, array< int > otherPlayerIds)
string GetSubtitle(Faction factionPlayer, array< Faction > factionsOther)
string GetTitleParam(int playerId, array< int > otherPlayerIds)
ref SCR_BaseGameOverScreenInfoEditor m_OptionalEditorParams
ResourceName GetImage(int playerId, array< int > otherPlayerIds)
string GetTitle(Faction factionPlayer, array< Faction > factionsOther)
SCR_BaseGameOverScreenInfoEditor GetEditorOptionalParams()
Color GetVignetteColor(Faction factionPlayer, array< Faction > factionsOther)
string GetOneShotAudio(int playerId, array< int > otherPlayerIds)
string GetOneShotAudio(Faction factionPlayer, array< Faction > factionsOther)
string GetDebriefingParam(Faction factionPlayer, array< Faction > factionsOther)
string GetDebriefing(Faction factionPlayer, array< Faction > factionsOther)
ResourceName GetImage(Faction factionPlayer, array< Faction > factionsOther)
string GetDebriefing(int playerId, array< int > otherPlayerIds)
ResourceName GetIcon(Faction factionPlayer, array< Faction > factionsOther)
ref SCR_BaseGameOverScreenInfoOptional m_OptionalParams
bool PauseGameOnGameOverScreen()
Returns whether game should be paused with Game over screen.
SCR_FieldOfViewSettings Attribute