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

UE2:UT2SP_PlayerTradePage (UT2004)

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
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPage >> UT2K3GUIPage >> UT2DraftTeam >> UT2SP_PlayerTradePage
Package: 
XInterface
This class in other games:
UT2003

Class: XInterface.UT2SP_PlayerTradePage Parent: XInterface.UT2DraftTeam

Trade a player, similar to drafting process. author: capps Rearranged this so that player can only make a single swap, and once made, that's it.

Properties

butSwap

Type: GUIButton


CaptionBack

Type: string

Modifiers: localized


Default value: "BACK"

MessageTitle

Type: string

Modifiers: localized


Default value: "Single Player | Trade Opportunity"

MessageTradeCancel

Type: string

Modifiers: localized


Default value: "Are you sure you want to cancel the trade?"

MessageTradeConfirm

Type: string

Modifiers: localized


Default value: "Are you sure you want to trade %old% for %new%?"

MessageTradeInfo

Type: string

Modifiers: localized


Default value: "You have been offered a trade for %player%."

MessageTradePicHint

Type: string

Modifiers: localized


Default value: "This player is available for trade"

TradingPlayerName

Type: string


Default values

Property Value
bPlaySounds False
Controls[17] GUIButton'SPPTSwap'

Subobjects

SPPTSwap

Class: XInterface.GUIButton

Property Value
bFocusOnWatch True
Caption "SWAP"
Hint "Exchange this character with the active teammate"
WinHeight 0.076563
WinLeft 0.71125
WinTop 0.619584
WinWidth 0.132812

Functions

Events

Created

event Created ()

Overrides: UT2DraftTeam.Created


InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: UT2DraftTeam.InitComponent


Other instance functions

BeginConfirm

function BeginConfirm (byte bButton)


BuildStats

function BuildStats (out xUtil.PlayerRecord PR, GUIListBox charbox, GUIListBox teambox)

Overrides: UT2DraftTeam.BuildStats


ButtonClick

function bool ButtonClick (GUIComponent Sender)

Overrides: UT2DraftTeam.ButtonClick


CancelConfirm

function CancelConfirm (byte bButton)


Initialize

function Initialize (string playername)


MyOnChange

function MyOnChange (GUIComponent Sender)


SetPlayer

function SetPlayer (string playername)


SwapConfirm

function SwapConfirm (byte bButton)


UpdateDraftable

function UpdateDraftable (bool bAffordable)

Overrides: UT2DraftTeam.UpdateDraftable