I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:UTUIFrontEnd_LoginScreen (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> UIRoot >> UIScreenObject >> UIScene >> UTUIScene >> UTUIFrontEnd >> UTUIFrontEnd_CustomScreen >> UTUIFrontEnd_LoginScreen
Package: 
UTGame

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Profile login screen for UT3.

Properties[edit]

AutoLoginCheckBox[edit]

Type: UICheckbox

Modifiers: transient

Reference to the autologin checkbox.

bAutoLogin[edit]

Type: bool

Modifiers: config

Whether or not to autologin for the user.

bLoginOnShow[edit]

Type: bool

Modifiers: transient

if TRUE, logic procedure will begin automatically as soon as the menu completes its opening animation

bSavePassword[edit]

Type: bool

Modifiers: config

Whether or not to autofill in the password field for the user.

Default value: True

CreateProfileScene[edit]

Type: string


Default value: "UI_Scenes_FrontEnd.Scenes.CreateProfile"

LocalLoginCheckBox[edit]

Type: UICheckbox

Modifiers: transient

Reference to the local login checkbox.

LoginErrorCode[edit]

Type: OnlineSubsystem.EOnlineServerConnectionStatus

Modifiers: transient


MessageBoxReference[edit]

Type: UTUIScene_MessageBox

Modifiers: transient


PasswordEditBox[edit]

Type: UIEditBox

Modifiers: transient


PlayerNames[edit]

Type: array<string>

Modifiers: config

Array of player names that have logged in previously on this machine.

SavePasswordCheckBox[edit]

Type: UICheckbox

Modifiers: transient

Reference to the save password checkbox.

UserNameEditBox[edit]

Type: UIEditBox

Modifiers: transient


Default values[edit]

Property Value
bSaveSceneValuesOnClose False

Subobjects[edit]

SceneEventComponent[edit]

Class: Engine.UIComp_Event

Inherits from: UTUIFrontEnd_CustomScreen.SceneEventComponent

No new values.

Delegates[edit]

OnCancelSelection[edit]

delegate OnCancelSelection (UTUIScene_MessageBox MessageBox, int SelectedOption, int PlayerIndex)


Functions[edit]

Native functions[edit]

CheckLoginProperties[edit]

native function CheckLoginProperties ()

Checks to see if we should autopopuplate the password box or autologin.

Events[edit]

PostInitialize[edit]

event PostInitialize ()

Overrides: UTUIFrontEnd_CustomScreen.PostInitialize

PostInitialize event - Sets delegates for the scene.

Other instance functions[edit]

ClearLoginDelegates[edit]

function ClearLoginDelegates ()

Clears login delegates.

HandleInputKey[edit]

function bool HandleInputKey (const out UIRoot.InputEventParameters EventParms)

Overrides: UTUIFrontEnd.HandleInputKey

Provides a hook for unrealscript to respond to input using actual input key names (i.e. Left, Tab, etc.)

Called when an input key event is received which this widget responds to and is in the correct state to process. The keys and states widgets receive input for is managed through the UI editor's key binding dialog (F8).

This delegate is called BEFORE kismet is given a chance to process the input.

Parameters:

  • EventParms - information about the input event.

Returns:

TRUE to indicate that this input key was processed; no further processing will occur on this input key event.

OnAutoLoginCheckBox_ValueChanged[edit]

function OnAutoLoginCheckBox_ValueChanged (UIObject Sender, int PlayerIndex)

Callback for when the autologin checkbox changes value.

Parameters:

  • Sender - Object that sent the event
  • PlayerIndex - Index of the player that performed the action.

OnButtonBar_Cancel[edit]

function bool OnButtonBar_Cancel (UIScreenObject InButton, int InPlayerIndex)

Buttonbar Callbacks.

OnButtonBar_CreateProfile[edit]

function bool OnButtonBar_CreateProfile (UIScreenObject InButton, int InPlayerIndex)


OnButtonBar_Login[edit]

function bool OnButtonBar_Login (UIScreenObject InButton, int InPlayerIndex)


OnButtonBar_PlayOffline[edit]

function bool OnButtonBar_PlayOffline (UIScreenObject InButton, int InPlayerIndex)


OnButtonBar_ShowKeyboard[edit]

function bool OnButtonBar_ShowKeyboard (UIScreenObject InButton, int InPlayerIndex)


OnCancel[edit]

function OnCancel ()

Callback for when the user wants to back out of this screen.

OnCreateProfile[edit]

function OnCreateProfile ()

Displays the account creation scene

OnLocalLoginCheckBox_ValueChanged[edit]

function OnLocalLoginCheckBox_ValueChanged (UIObject Sender, int PlayerIndex)

Callback for when the local login checkbox changes value.

Parameters:

  • Sender - Object that sent the event
  • PlayerIndex - Index of the player that performed the action.

OnLogin[edit]

function OnLogin (optional bool bLocalLogin)

Tries to login the user

OnLoginCancelled[edit]

function OnLoginCancelled ()

Delegate used to notify when a login request was cancelled by the user

OnLoginCancelled_Closed[edit]

function OnLoginCancelled_Closed ()

Callback for when the login cancelled messagebox has closed.

OnLoginChange[edit]

function OnLoginChange ()

Delegate used in login notifications

OnLoginChange_Closed[edit]

function OnLoginChange_Closed ()

Callback for when the login message closes for login change.

OnLoginFailed[edit]

function OnLoginFailed (byte LocalUserNum, OnlineSubsystem.EOnlineServerConnectionStatus ErrorCode)

Delegate used in notifying the UI/game that the manual login failed

Parameters:

  • LocalUserNum - the controller number of the associated user
  • ErrorCode - the async error code that occurred

OnLoginFailed_Closed[edit]

function OnLoginFailed_Closed ()

Callback for when the login message closes.

OnMainRegion_Show_UIAnimEnd[edit]

function OnMainRegion_Show_UIAnimEnd (UIObject AnimTarget, int AnimIndex, UIAnimationSeq AnimSeq)

Overrides: UTUIFrontEnd.OnMainRegion_Show_UIAnimEnd

Callback for when the show animation has completed for this scene.

OnPlayOffline[edit]

function OnPlayOffline ()

Play offline callback, logs the user in offline.

OnSavePasswordCheckBox_ValueChanged[edit]

function OnSavePasswordCheckBox_ValueChanged (UIObject Sender, int PlayerIndex)

Callback for when the savepassword checkbox changes value.

Parameters:

  • Sender - Object that sent the event
  • PlayerIndex - Index of the player that performed the action.

OnShowKeyboard[edit]

function OnShowKeyboard ()

Shows the online keyboard.

OnSubmitText[edit]

function bool OnSubmitText (UIEditBox Sender, int PlayerIndex)

Called when the user presses enter (or any other action bound to UIKey_SubmitText) while this editbox has focus.

Parameters:

  • Sender - the editbox that is submitting text
  • PlayerIndex - the index of the player that generated the call to SetValue; used as the PlayerIndex when activating UIEvents; if not specified, the value of GetBestPlayerIndex() is used instead.

Returns:

if TRUE, the editbox will clear the existing value of its textbox.

SetupButtonBar[edit]

function SetupButtonBar ()

Overrides: UTUIFrontEnd.SetupButtonBar

Sets up the scene's button bar.