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

UE2:UT2K4SP_Main (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPage >> UT2K4GUIPage >> UT2K4MainPage >> UT2K4SP_Main
Package: 
GUI2K4

Single Player Main Menu

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

Constants

SPDEBUGMODE

Value: false


Properties

See UT2K4SP_Main properties.

Functions

Events

HandleParameters

event HandleParameters (string Param1, string Param2)

Overrides: UT2K4MainPage.HandleParameters


InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: UT2K4MainPage.InitComponent


Other instance functions

addTab

function GUITabPanel addTab (int index, optional bool bActive)

Add a preconfigured tab

btnBackOnClick

function bool btnBackOnClick (GUIComponent Sender)

BACK button clicked, ask what to do

btnDebugExecOnClick

function bool btnDebugExecOnClick (GUIComponent Sender)


btnDetailsOnClick

function bool btnDetailsOnClick (GUIComponent Sender)


btnPlayOnClick

function bool btnPlayOnClick (GUIComponent Sender)

PLAY button clicked, ask what to do

DoHighScore

function int DoHighScore ()

Add the current profile to the highscore

HandleGameProfile

function HandleGameProfile ()


HandleRequirements

function bool HandleRequirements (string reqstring)

parse match requirement string, returns false when a single requirement is not met

HandleSpecialEvent

function HandleSpecialEvent (string SpecialEvent)

handle special events, delimited by semi-colons

InternalOnCanClose

function bool InternalOnCanClose (optional bool bCancelled)


InternalOnChange

function InternalOnChange (GUIComponent Sender)

Overrides: UT2K4MainPage.InternalOnChange

Clicked a TabButton

InternalOnPreDraw

function bool InternalOnPreDraw (Canvas Canvas)


ProfileUnlockChar

function ProfileUnlockChar (string Char)


removeTab

function removeTab (GUITabPanel tab)

Shorthand to remove a tab

replaceTab

function GUITabPanel replaceTab (int index, GUITabPanel previousPage, optional bool bActive)

Replace an existing tab

reportDonation

function reportDonation ()


thisOnReOpen

function thisOnReOpen ()


UpdateFreeAgentTeams

function UpdateFreeAgentTeams ()

calculate which bots are available to be hired

UpdateTabs

function UpdateTabs (optional bool bPurge, optional bool bSetActive)

Update tabs when a gameprofile is loaded