I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:UT2K4SPTab_Base (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPanel >> GUITabPanel >> UT2K4TabPanel >> UT2K4SPTab_Base
Package: 
GUI2K4
Direct subclasses:
UT2K4SPTab_DetailPhantom, UT2K4SPTab_DetailEnemies, UT2K4SPTab_DetailMatch, UT2K4SPTab_ExtraLadder, UT2K4SPTab_LadderBase, UT2K4SPTab_ProfileNew, UT2K4SPTab_Profile, UT2K4SPTab_TeamManagement, UT2K4SPTab_Tutorials

Base component for all single player tabs Mostly based upon the original Tab_SPPanelBase

Written by Michiel Hendriks (c) 2003, Epic Games, Inc. All Rights Reserved

Properties[edit]

CaptionBack[edit]

Type: string

Modifiers: localized


Default value: "BACK"

CaptionCancel[edit]

Type: string

Modifiers: localized


Default value: "CANCEL"

CaptionCreate[edit]

Type: string

Modifiers: localized


Default value: "CREATE"

CaptionDone[edit]

Type: string

Modifiers: localized


Default value: "DONE"

CaptionLoad[edit]

Type: string

Modifiers: localized


Default value: "LOAD"

CaptionPlay[edit]

Type: string

Modifiers: localized


Default value: "PLAY"

GP[edit]

Type: UT2K4GameProfile


LogPrefix[edit]

Type: name


Default value: 'SinglePlayer'

MainWindow[edit]

Type: UT2K4SP_Main


ProfileClass[edit]

Type: class<UT2K4GameProfile>


Default value: Class'XGame.UT2K4GameProfile'

Default values[edit]

Property Value
FadeInTime 0.25
WinHeight 0.72
WinTop 0.15

Functions[edit]

Events[edit]

InitComponent[edit]

event InitComponent (GUIController pMyController, GUIComponent MyOwner)

Overrides: GUIPanel.InitComponent


Other instance functions[edit]

btnPlayEnabled[edit]

function btnPlayEnabled (bool bEnabled)

Enable/disable the play button

CanClose[edit]

function bool CanClose (optional bool bCancelled)

will be called on each open tab when the main window get's a close request

GetMainWindow[edit]

function GetMainWindow ()

get the main window

getProfileName[edit]

function string getProfileName (coerce string profilename)

Return the actual profile name, without the prefix

onBackClick[edit]

function bool onBackClick ()

Will be called when the "back" button on the main page is clicked return false for the default behavior (close main menu)

onPlayClick[edit]

function bool onPlayClick ()

Will be called when the "play" button on the main page is clicked

ShowPanel[edit]

function ShowPanel (bool bShow)

Overrides: GUITabPanel.ShowPanel

make sure the main window is set