Source

UnrealMagicOfDoomOhYeah / UTUIScene_MessageBox.txt

Full commit
UTGame/Classes/UTUIScene_MessageBox.uc
class UTUIScene_MessageBox extends UTUIScene

    event Initialized()
    event OnHideComplete()
    event OnShowComplete()
    event PostInitialize()
    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)
    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 OnResolutionChanged(const out Vector2D OldViewportsize, const out Vector2D NewViewportSize)
    function OptionSelected(int OptionIdx, int PlayerIndex)
    function SetMessage(string NewMessage)
    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()
    function bool HandleInputKey( const out InputEventParameters EventParms )
    function bool OnOptionButton_Clicked(UIScreenObject EventObject, int PlayerIndex)
    function int FindCancelButtonIndex( optional string CancelButtonMarkupString )
    native function BeginHide();
    native function BeginShow();