UTGame.UTUIScene_MessageBox
- Extends
- UTUIScene
- Modifiers
- native ( UI )
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Generic Message Box Scene for UT3
Core.Object
|
+-- Engine.UIRoot
|
+-- Engine.UIScreenObject
|
+-- Engine.UIScene
|
+-- UTGame.UTUIScene
|
+-- UTGame.UTUIScene_MessageBox
Direct Known Subclasses:
UTUIScene_ConnectionStatus, UTUIScene_InputBox
Inherited Contants from UTGame.UTUIScene |
CONTEXT_ALLOWKEYBOARD, CONTEXT_ALLOWKEYBOARD_ANY, CONTEXT_ALLOWKEYBOARD_NO, CONTEXT_ALLOWKEYBOARD_YES, CONTEXT_BOTSKILL, CONTEXT_BOTSKILL_ADEPT, CONTEXT_BOTSKILL_AUTOADJUSTSKILL, CONTEXT_BOTSKILL_AVERAGE, CONTEXT_BOTSKILL_EXPERIENCED, CONTEXT_BOTSKILL_GODLIKE, CONTEXT_BOTSKILL_INHUMAN, CONTEXT_BOTSKILL_MASTERFUL, CONTEXT_BOTSKILL_NOVICE, CONTEXT_BOTSKILL_SKILLED, CONTEXT_CAMPAIGN, CONTEXT_CAMPAIGN_NO, CONTEXT_CAMPAIGN_YES, CONTEXT_DEDICATEDSERVER, CONTEXT_DEDICATEDSERVER_NO, CONTEXT_DEDICATEDSERVER_YES, CONTEXT_EMPTYSERVER, CONTEXT_EMPTYSERVER_NO, CONTEXT_EMPTYSERVER_YES, CONTEXT_FORCERESPAWN, CONTEXT_FORCERESPAWN_NO, CONTEXT_FORCERESPAWN_YES, CONTEXT_FULLSERVER, CONTEXT_FULLSERVER_NO, CONTEXT_FULLSERVER_YES, CONTEXT_GAME_MODE, CONTEXT_GAME_MODE_BETRAYAL, CONTEXT_GAME_MODE_CAMPAIGN, CONTEXT_GAME_MODE_CTF, CONTEXT_GAME_MODE_CUSTOM, CONTEXT_GAME_MODE_DM, CONTEXT_GAME_MODE_DUEL, CONTEXT_GAME_MODE_GREED, CONTEXT_GAME_MODE_TDM, CONTEXT_GAME_MODE_VCTF, CONTEXT_GAME_MODE_WAR, CONTEXT_GOALSCORE_10, CONTEXT_GOALSCORE_15, CONTEXT_GOALSCORE_20, CONTEXT_GOALSCORE_30, CONTEXT_GOALSCORE_5, CONTEXT_LOCKEDSERVER, CONTEXT_LOCKEDSERVER_NO, CONTEXT_LOCKEDSERVER_YES, CONTEXT_MAPNAME, CONTEXT_MAPNAME_ARSENAL, CONTEXT_MAPNAME_AVALANCHE, CONTEXT_MAPNAME_BIOHAZARD, CONTEXT_MAPNAME_CARBON_FIRE, CONTEXT_MAPNAME_COLDHARBOR, CONTEXT_MAPNAME_CONFRONTATION, CONTEXT_MAPNAME_CONTAINMENT, CONTEXT_MAPNAME_CONTAINMENTSP, CONTEXT_MAPNAME_CORET, CONTEXT_MAPNAME_CORRUPTION, CONTEXT_MAPNAME_CUSTOM, CONTEXT_MAPNAME_DARKMATCH, CONTEXT_MAPNAME_DECK, CONTEXT_MAPNAME_DEFIANCE, CONTEXT_MAPNAME_DEIMOS, CONTEXT_MAPNAME_DIESEL, CONTEXT_MAPNAME_DOWNTOWN, CONTEXT_MAPNAME_DOWNTOWNNECRIS, CONTEXT_MAPNAME_DUSK, CONTEXT_MAPNAME_EDENINC, CONTEXT_MAPNAME_FACINGWORLDS, CONTEXT_MAPNAME_FEARLESS, CONTEXT_MAPNAME_FLOODGATE, CONTEXT_MAPNAME_GATEWAY, CONTEXT_MAPNAME_HEAT_RAY, CONTEXT_MAPNAME_HOSTILE, CONTEXT_MAPNAME_HYDROSIS, CONTEXT_MAPNAME_ISLANDER, CONTEXT_MAPNAME_ISLANDERNECRIS, CONTEXT_MAPNAME_KARGO, CONTEXT_MAPNAME_KBARGE, CONTEXT_MAPNAME_LOSTCAUSE, CONTEXT_MAPNAME_MARKET_DISTRICT, CONTEXT_MAPNAME_MISSION_SELECTION, CONTEXT_MAPNAME_MORBIAS, CONTEXT_MAPNAME_MORBID, CONTEXT_MAPNAME_NANOBLACK, CONTEXT_MAPNAME_NECROPOLIS, CONTEXT_MAPNAME_OCEANRELIC, CONTEXT_MAPNAME_OMICRON_DAWN, CONTEXT_MAPNAME_ONYX_COAST, CONTEXT_MAPNAME_POWER_SURGE, CONTEXT_MAPNAME_RAILS, CONTEXT_MAPNAME_REFLECTION, CONTEXT_MAPNAME_RISING_SUN, CONTEXT_MAPNAME_SANCTUARY, CONTEXT_MAPNAME_SANDSTORM, CONTEXT_MAPNAME_SEARCHLIGHT, CONTEXT_MAPNAME_SENTINEL, CONTEXT_MAPNAME_SERENITY, CONTEXT_MAPNAME_SERENITYNECRIS, CONTEXT_MAPNAME_SHAFT, CONTEXT_MAPNAME_SHANGRILA, CONTEXT_MAPNAME_SINKHOLE, CONTEXT_MAPNAME_STRANDED, CONTEXT_MAPNAME_STRIDENT, CONTEXT_MAPNAME_SUSPENSE, CONTEXT_MAPNAME_SUSPENSE_NECRIS, CONTEXT_MAPNAME_TANK_CROSSING, CONTEXT_MAPNAME_TORLAN, CONTEXT_MAPNAME_TORLANLEVIATHAN, CONTEXT_MAPNAME_TORLANNECRIS, CONTEXT_MAPNAME_TURBINE, CONTEXT_MAPNAME_VERTEBRAE, CONTEXT_NUMBOTS_0, CONTEXT_NUMBOTS_1, CONTEXT_NUMBOTS_2, CONTEXT_NUMBOTS_3, CONTEXT_NUMBOTS_4, CONTEXT_NUMBOTS_5, CONTEXT_NUMBOTS_6, CONTEXT_NUMBOTS_7, CONTEXT_NUMBOTS_8, CONTEXT_PRESENCE_MENUPRESENCE, CONTEXT_PURESERVER, CONTEXT_PURESERVER_ANY, CONTEXT_PURESERVER_NO, CONTEXT_PURESERVER_YES, CONTEXT_TIMELIMIT_10, CONTEXT_TIMELIMIT_15, CONTEXT_TIMELIMIT_20, CONTEXT_TIMELIMIT_30, CONTEXT_TIMELIMIT_5, CONTEXT_VSBOTS, CONTEXT_VSBOTS_1_TO_1, CONTEXT_VSBOTS_1_TO_2, CONTEXT_VSBOTS_2_TO_1, CONTEXT_VSBOTS_3_TO_1, CONTEXT_VSBOTS_3_TO_2, CONTEXT_VSBOTS_4_TO_1, CONTEXT_VSBOTS_NONE, GS_CDKEY_PART_MAXLENGTH, GS_EMAIL_MAXLENGTH, GS_MESSAGE_MAXLENGTH, GS_PASSWORD_MAXLENGTH, GS_USERNAME_MAXLENGTH, PROPERTY_CUSTOMGAMEMODE, PROPERTY_CUSTOMMAPNAME, PROPERTY_CUSTOMMUTATORS, PROPERTY_CUSTOMMUTCLASSES, PROPERTY_EPICMUTATORS, PROPERTY_GOALSCORE, PROPERTY_LEADERBOARDRATING, PROPERTY_NUMBOTS, PROPERTY_NUMBOTSIA, PROPERTY_SERVERDESCRIPTION, PROPERTY_STEAMID, PROPERTY_STEAMVAC, PROPERTY_TIMELIMIT, QUERY_BETRAYAL, QUERY_CAMPAIGN, QUERY_CTF, QUERY_DM, QUERY_DUEL, QUERY_GREED, QUERY_TDM, QUERY_VCTF, QUERY_WAR, STATS_VIEW_DM_PLAYER_ALLTIME, STATS_VIEW_DM_RANKED_ALLTIME, STATS_VIEW_DM_VEHICLES_ALLTIME, STATS_VIEW_DM_VEHICLES_RANKED_ALLTIME, STATS_VIEW_DM_VEHICLEWEAPONS_ALLTIME, STATS_VIEW_DM_VEHICLEWEAPONS_RANKED_ALLTIME, STATS_VIEW_DM_WEAPONS_ALLTIME, STATS_VIEW_DM_WEAPONS_RANKED_ALLTIME |
Inherited Variables from UTGame.UTUIScene |
bEditorRealTimePreview, bHidingScene, bIgnoreAxisInput, bShowingScene, bSkipPendingCloseSceneNotify, InputBoxScene, MessageBoxScene, OnlineToastScene, PendingCloseScene, PendingOpenScene, PlayerCardScene |
Inherited Variables from Engine.UIScene |
ActiveContextMenu, ActiveToolTip, bAlwaysRenderScene, bCloseOnLevelChange, bDisableWorldRendering, bDisplayCursor, bEnableSceneDepthTesting, bEnableScenePostProcessing, bExemptFromAutoClose, bFlushPlayerInput, bIssuedPreRenderCallback, bMenuLevelRestoresScene, bMouseBoundsSet, bPauseGameWhileActive, bRefreshStringFormatting, bRefreshWidgetStyles, bRenderParentScenes, bRequiresNetwork, bRequiresOnlineService, bResolvingScenePositions, bSaveSceneValuesOnClose, bUpdateDockingStack, bUpdateNavigationLinks, bUpdatePrimitiveUsage, bUpdateScenePositions, bUsesPrimitives, CurrentViewportSize, DefaultContextMenuClass, DefaultToolTipClass, DockingStack, InputSubscriptions, LastPlayerIndex, MouseBounds, PlayerOwner, RenderStack, SceneClient, SceneClosedCue, SceneData, SceneInputMode, SceneLayerRoot, SceneOpenedCue, ScenePreview, SceneRenderMode, SceneTag, StandardContextMenu, StandardToolTip |
Functions Summary |
 | | BeginHide ()
|
 | | BeginShow ()
|
 | | Close (optional bool bSimulateCancel, optional int PlayerIndex=GetBestPlayerIndex() ))
|
 | | Display (string Message, optional string Title="", optional delegate<OnSelection> InSelectionDelegate, optional int InDefaultOptionIdx=INDEX_NONE))
|
 | | DisplayAcceptBox (string Message, optional string Title="", optional delegate<OnSelection> InSelectionDelegate))
|
 | | DisplayAcceptCancelBox (string Message, optional string Title="", optional delegate<OnSelection> InSelectionDelegate))
|
 | | DisplayCancelBox (string Message, optional string Title="", optional delegate<OnSelection> InSelectionDelegate))
|
 | | DisplayModalBox (string Message, optional string Title="", optional float InMinDisplayTime=2.0f))
|
 | int | FindCancelButtonIndex (optional string CancelButtonMarkupString ))
|
 | bool | HandleInputKey (const out InputEventParameters EventParms ))
|
 | | Initialized ()))
|
 | | OnHideComplete ()))
|
 | bool | OnOptionButton_Clicked (UIScreenObject EventObject, int PlayerIndex))
|
 | | OnResolutionChanged (const out Vector2D OldViewportsize, const out Vector2D NewViewportSize))
|
 | | OnShowComplete ()))
|
 | | OptionSelected (int OptionIdx, int PlayerIndex))
|
 | | PostInitialize ()))
|
 | | SetMessage (string NewMessage))
|
 | | SetPotentialOptionKeyMappings (array<PotentialOptionKeys> InPotentialOptionKeyMappings))
|
 | | SetPotentialOptions (array<string> InPotentialOptions, optional array<PotentialOptionKeys> InPotentialOptionKeyMappings))
|
 | | SetSelectionDelegate (delegate InSelectionDelegate ))
|
 | | SetTitle (string NewTitle))
|
 | | SetupButtonBar ()))
|
Inherited Functions from UTGame.UTUIScene |
ActivateLevelEvent, AnimEnd, BeginHideAnimation, BeginShowAnimation, CheckCommunicationPrivilegeAndError, CheckContentPrivilegeAndError, CheckForAutoLogin, CheckLinkConnectionAndError, CheckLoginAndError, CheckNatTypeAndDisplayError, CheckOnlinePrivilegeAndError, CloseScene, ConditionallyCheckNumControllers, ConditionallyStartSplitscreen, ConsoleCommand, DeleteDemo, DisplayMessageBox, FindDataStore, FinishCloseScene, FinishOpenScene, GenerateDemoFileName, GetAccountInterface, GetBotTeamNameFromIndex, GetCommonOptionsURL, GetCurrentAudioDevice, GetGameInterface, GetInputBoxScene, GetMessageBoxScene, GetPawnOwner, GetPlayerControllerId, GetPlayerIndex, GetPlayerInterface, GetPlayerInterfaceEx, GetPlayerName, GetPlayerProfile, GetPlayerProfileFromPC, GetPossibleAudioDevices, GetPossibleScreenResolutions, GetPRIOwner, GetUTInteraction, GetUTPlayerOwner, GetWorldInfo, HideOnlineToast, IsBelowMinSpecs, IsControllerInput, IsGame, NotifyChildGameSessionEnded, NotifyGameSessionEnded, OnAnimationFinished, OnCurrentScene_HideAnimationEnded, OnLoginError_Confirm, OnLoginUI_LoginChange, OnLoginUI_LoginFailed, OnPendingCloseScene_HideAnimationEnded, OpenCmdLineURL, OpenScene, OpenSceneByName, PlaySound, SavePlayerProfile, SetAudioDeviceToUse, SetLanPlay, SetScreenResolution, SetupButtonBar, ShowLoginUI, ShowOnlineToast, ShowPlayerCard, StartDedicatedServer, StaticOpenScene, TrimWhitespace, TryCharacterUnlock, UpdateSplitscreenPlayers, ViewportDeProject, ViewportProject |
Inherited Functions from Engine.UIScene |
AnimEnd, CalculateInputMask, CloseScene, ForceImmediateSceneUpdate, GetActiveContextMenu, GetActiveToolTip, GetDefaultContextMenu, GetDefaultToolTip, GetPreviousScene, GetSceneDataStore, GetWorldInfo, IsSceneActive, LoadSceneDataValues, LogCurrentState, LogDockingStack, LogRenderBounds, NotifyGameSessionEnded, NotifyLinkStatusChanged, NotifyOnlineServiceStatusChanged, OpenScene, RebuildDockingStack, ResetMouseBounds, ResolveDataStore, ResolveScenePositions, SaveSceneDataValues, SceneActivated, SceneCreated, SceneDeactivated, SetActiveContextMenu, SetActiveToolTip, SetInputMask, SetMouseBounds, SetSceneInputMode, SetVisibility, UnbindSubscribers |
CANCEL_BUTTON_MARKUP_STRING Source code
const CANCEL_BUTTON_MARKUP_STRING = "<Strings:UTGameUI.Generic.Cancel>";
MESSAGEBOX_MAX_POSSIBLE_OPTIONS Source code
const MESSAGEBOX_MAX_POSSIBLE_OPTIONS = 4;
var transient bool bFullyVisible;
var transient bool bHideOnNextTick;
var bool bRepositionButtons;
var transient int DefaultOptionIdx;
var transient float DisplayTime;
var transient int FadeDirection;
var transient float FadeDuration;
var transient float FadeStartTime;
var
transient UILabel MessageLabel;
var transient float MinimumDisplayTime;
PotentialOptionKeyMappings Source code
var transient array<string> PotentialOptions;
PreviouslySelectedOption Source code
var transient int PreviouslySelectedOption;
var transient int SelectingPlayer;
UTUIScene_MessageBox
bRepositionMessageToCenter Source code
delegate OnClosed ( )
delegate bool OnMBInputKey ( const out InputEventParameters EventParms )
native function BeginHide ( )
native function BeginShow ( )
function Close ( optional bool bSimulateCancel, optional int PlayerIndex=GetBestPlayerIndex() ) )
function Display ( string Message, optional string Title="", optional delegate<OnSelection> InSelectionDelegate, optional int InDefaultOptionIdx=INDEX_NONE) )
function DisplayAcceptBox ( string Message, optional string Title="", optional delegate<OnSelection> InSelectionDelegate) )
DisplayAcceptCancelBox Source code
function DisplayAcceptCancelBox ( string Message, optional string Title="", optional delegate<OnSelection> InSelectionDelegate) )
function DisplayCancelBox ( string Message, optional string Title="", optional delegate<OnSelection> InSelectionDelegate) )
function DisplayModalBox ( string Message, optional string Title="", optional float InMinDisplayTime=2.0f) )
function int FindCancelButtonIndex ( optional string CancelButtonMarkupString ) )
function bool HandleInputKey ( const out InputEventParameters EventParms ) )
event Initialized ( ) )
event OnHideComplete ( ) )
OnOptionButton_Clicked Source code
function bool OnOptionButton_Clicked (
UIScreenObject EventObject,
int PlayerIndex) )
function OnResolutionChanged ( const out
Vector2D OldViewportsize, const out
Vector2D NewViewportSize) )
event OnShowComplete ( ) )
function OptionSelected ( int OptionIdx, int PlayerIndex) )
event PostInitialize ( ) )
function SetMessage ( string NewMessage) )
SetPotentialOptionKeyMappings Source code
function SetPotentialOptionKeyMappings ( array<
PotentialOptionKeys> InPotentialOptionKeyMappings) )
function SetPotentialOptions ( array<
string> InPotentialOptions, optional array<
PotentialOptionKeys> InPotentialOptionKeyMappings) )
function SetSelectionDelegate ( delegate<OnSelection> InSelectionDelegate ) )
function SetTitle ( string NewTitle) )
function SetupButtonBar ( ) )
defaultproperties
{
bRepositionMessageToCenter=True
bRenderParentScenes=True
bPauseGameWhileActive=False
DefaultContextMenuClass=Class'Engine.UIContextMenu'
SceneRenderMode=SPLITRENDER_Fullscreen
Begin Object Class=UIComp_Event Name=WidgetEventComponent ObjName=WidgetEventComponent Archetype=UIComp_Event'Engine.Default__UIComp_Event'
DisabledEventAliases(0)="CloseScene"
Name="WidgetEventComponent"
ObjectArchetype=UIComp_Event'Engine.Default__UIComp_Event'
End Object
EventProvider=WidgetEventComponent
__OnRawInputKey__Delegate=Default__UTUIScene_MessageBox.HandleInputKey
__NotifyResolutionChanged__Delegate=Default__UTUIScene_MessageBox.OnResolutionChanged
Name="Default__UTUIScene_MessageBox"
ObjectArchetype=UTUIScene'UTGame.Default__UTUIScene'
}
|
Creation time: sk 18-3-2018 10:00:59.356 - Created with
UnCodeX