Cogito, ergo sum
Difference between revisions of "UE3:UTUIScene instance functions (UT3)"
(Auto-generated page) |
m (updated members) |
||
Line 273: | Line 273: | ||
====PlaySound==== | ====PlaySound==== | ||
− | {{code|function '''PlaySound''' ({{cl|SoundCue}} '''InSoundCue''')}} | + | {{code|function '''PlaySound''' ({{cl|SoundCue}} '''InSoundCue''', optional [[bool]] '''bIsUISound''')}} |
Allows easy access to playing a sound | Allows easy access to playing a sound |
Latest revision as of 06:27, 16 August 2009
Object >> UIRoot >> UIScreenObject >> UIScene >> UTUIScene (instance functions) |
Contents
- 1 Instance functions
- 1.1 AnimEnd
- 1.2 BeginHideAnimation
- 1.3 BeginShowAnimation
- 1.4 CheckCommunicationPrivilegeAndError
- 1.5 CheckContentPrivilegeAndError
- 1.6 CheckLinkConnectionAndError
- 1.7 CheckLoginAndError
- 1.8 CheckNatTypeAndDisplayError
- 1.9 CheckOnlinePrivilegeAndError
- 1.10 CloseScene
- 1.11 ConditionallyCheckNumControllers
- 1.12 ConditionallyStartSplitscreen
- 1.13 ConsoleCommand
- 1.14 DisplayMessageBox
- 1.15 FinishCloseScene
- 1.16 FinishOpenScene
- 1.17 GenerateDemoFileName
- 1.18 GetBotTeamNameFromIndex
- 1.19 GetCommonOptionsURL
- 1.20 GetInputBoxScene
- 1.21 GetMessageBoxScene
- 1.22 GetPlayerControllerId
- 1.23 GetPlayerIndex
- 1.24 GetPlayerName
- 1.25 GetPlayerProfile
- 1.26 GetPlayerProfileFromPC
- 1.27 GetUTInteraction
- 1.28 NotifyChildGameSessionEnded
- 1.29 NotifyGameSessionEnded
- 1.30 OnCurrentScene_HideAnimationEnded
- 1.31 OnLoginError_Confirm
- 1.32 OnLoginUI_LoginChange
- 1.33 OnLoginUI_LoginFailed
- 1.34 OnPendingCloseScene_HideAnimationEnded
- 1.35 OpenScene
- 1.36 OpenSceneByName
- 1.37 PlaySound
- 1.38 SavePlayerProfile
- 1.39 SetupButtonBar
- 1.40 ShowLoginUI
- 1.41 ShowPlayerCard
;Other member categories for this class::constants
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Instance functions[edit]
AnimEnd[edit]
Overrides: UIScene.AnimEnd
Called when an animation on this scene has finished.
BeginHideAnimation[edit]
Starts the exit animation for the scene.
Returns:
- TRUE if there's animation for this scene, FALSE otherwise.
BeginShowAnimation[edit]
Starts the show animation for the scene.
Parameters:
- bInitialActivation - TRUE if the scene is being opened; FALSE if the another scene was closed causing this one to become the topmost scene.
- bBypassAnimation - TRUE to force all animations to their last frame, effectively bypassing animations. This can be necessary for e.g. scenes which start out off-screen or something.
Returns:
- TRUE if there's animation for this scene, FALSE otherwise.
CheckCommunicationPrivilegeAndError[edit]
Returns:
- Checks to see if the specified player can play online games, if not an error message is shown and FALSE is returned.
CheckContentPrivilegeAndError[edit]
Returns:
- Checks to see if the specified player can play online games, if not an error message is shown and FALSE is returned.
CheckLinkConnectionAndError[edit]
Returns:
- Checks to see if the platform is currently connected to a network.
CheckLoginAndError[edit]
Returns:
- Checks to see if the specified player is logged in, if not an error message is shown and FALSE is returned.
CheckNatTypeAndDisplayError[edit]
Verifies that the player's NAT configuration allows them to host matches, and displays an error message if not.
CheckOnlinePrivilegeAndError[edit]
Returns:
- Checks to see if the specified player can play online games, if not an error message is shown and FALSE is returned.
CloseScene[edit]
Overrides: UIScene.CloseScene
Closes a UI Scene given a reference to an previously open scene.
Parameters:
- SceneToClose - Scene that we want to close.
- bSkipKismetNotify - Whether or not to close the kismet notify for the scene.
- bSkipAnimation - Whether or not to skip the close animation for this scene.
ConditionallyCheckNumControllers[edit]
Returns:
- Checks for 2 controllers plugged in and displays a message if the user cannot play splitscreen, returns TRUE if the game can begin, returns FALSE otherwise.
ConditionallyStartSplitscreen[edit]
Checks to see if we should be playing splitscreen or not, if so, creates a 2nd local player.
ConsoleCommand[edit]
Executes a console command.
Parameters:
- string - Cmd Command to execute.
DisplayMessageBox[edit]
Displays a very simple OK message box with the specified message and title.
Parameters:
- Message - Message markup for the messagebox
- Title - Title markup for the messagebox
Returns:
- Returns a reference to the message box scene that was displayed.
FinishCloseScene[edit]
Closes a UI Scene given a reference to an previously open scene.
Parameters:
- SceneToClose - Scene that we want to close.
FinishOpenScene[edit]
Finishes opening a scene, usually called when a hide animation has ended.
Parameters:
- SceneToOpen - the scene to open
- bSkipAnimation - specify TRUE to bypass the scene's opening animation
- bSkipKismetNotify - specify TRUE to prevent the 'OpeningMenu' level event from being activated.
Returns:
- reference to the UIScene instance that was opened.
GenerateDemoFileName[edit]
Returns:
- Returns Returns a unique demo filename.
GetBotTeamNameFromIndex[edit]
Returns:
- string Returns a bot faction name given its enum.
GetCommonOptionsURL[edit]
Returns:
- Generates a set of URL options common to both instant action and host game.
GetInputBoxScene[edit]
Returns:
- Opens the input box scene and returns a reference to it.
GetMessageBoxScene[edit]
Returns:
- Opens the message box scene and returns a reference to it.
GetPlayerControllerId[edit]
Returns:
- Returns the controller id of a player given its player index.
GetPlayerIndex[edit]
Returns:
- Returns the player index of the player owner for this scene.
GetPlayerName[edit]
Returns:
- Returns the name of the specified player if they have an alias or are logged in, or "DefaultPlayer" otherwise.
GetPlayerProfile[edit]
Returns the Player Profile for a given player index.
Parameters:
- PlayerIndex - The player who's profile you require
Returns:
- the profile precast to UTProfileSettings
GetPlayerProfileFromPC[edit]
Returns the Player Profile for a given player index.
Parameters:
- PC - The PlayerContorller of the profile you require.
Returns:
- the profile precast to UTProfileSettings
GetUTInteraction[edit]
Returns:
- Return a reference to the UT specific version of the UI interaction.
NotifyChildGameSessionEnded[edit]
NotifyGameSessionEnded[edit]
Overrides: UIScene.NotifyGameSessionEnded
Called when the current map is being unloaded. Cleans up any references which would prevent garbage collection.
OnCurrentScene_HideAnimationEnded[edit]
Callback for when the current scene's hide animation has completed.
OnLoginError_Confirm[edit]
Callback for when the login required box has finished displaying.
OnLoginUI_LoginChange[edit]
Callback for when the login changes after showing the login UI.
OnLoginUI_LoginFailed[edit]
Delegate used in notifying the UI/game that the manual login failed after showing the login UI.
Parameters:
- LocalUserNum - the controller number of the associated user
- ErrorCode - the async error code that occurred
OnPendingCloseScene_HideAnimationEnded[edit]
Callback for when the scene we are closing's hide animation has completed.
OpenScene[edit]
Overrides: UIScene.OpenScene
Opens a UI Scene given a reference to a scene to open.
Parameters:
- SceneToOpen - Scene that we want to open.
- bSkipAnimation - specify TRUE to indicate that opening animations should be bypassed.
- SceneDelegate - if specified, will be called when the scene has finished opening.
OpenSceneByName[edit]
Opens a UI Scene given a reference to a scene to open.
Parameters:
- SceneToOpen - Scene that we want to open.
PlaySound[edit]
Allows easy access to playing a sound
Parameters:
- InSoundCue - The Cue to play
- SoundLocation - Where in the world to play it. Defaults at the Player's position
SavePlayerProfile[edit]
Saves the profile for the specified player index.
Parameters:
- PlayerIndex - The player index of the player to save the profile for.
SetupButtonBar[edit]
Function that sets up a buttonbar for this scene, automatically routes the call to the currently selected tab of the scene as well.
ShowLoginUI[edit]
Displays the login interface using the online subsystem.
ShowPlayerCard[edit]
Shows the player card for the player with the net ID specified.