I don't need to test my programs. I have an error-correcting modem.

UE2:UT2K4IRC_Panel (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> GUI >> GUIComponent >> GUIMultiComponent >> GUIPanel >> UT2K4IRC_Panel
Package: 
GUI2K4

Specialized utility panel for use on the IRC status page. Contains combo boxes for servers & channels, buttons for join, leave, remove, etc.

Written by Ron Prestenback (c) 2003, Epic Games, Inc. All Rights Reserved

Properties[edit]

Property group 'UT2K4IRC_Panel'[edit]

bDirty[edit]

Type: bool

Modifiers: noexport, transient


ChannelHistory[edit]

Type: array<string>

Modifiers: globalconfig


ServerHistory[edit]

Type: array<string>

Modifiers: globalconfig


Default value, index 0: "irc.enterthegame.com"

Default value, index 1: "irc.utchat.com"

Internal variables[edit]

b_Connect[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'MyConnectButton'

b_JoinChannel[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'MyJoinChannelButton'

b_RemChannel[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'MyRemoveChannelButton'

b_RemServer[edit]

Type: GUIButton

Modifiers: automated


Default value: GUIButton'MyRemoveServerButton'

co_Channel[edit]

Type: moComboBox

Modifiers: automated


Default value: moComboBox'MyChannelCombo'

co_Server[edit]

Type: moComboBox

Modifiers: automated


Default value: moComboBox'MyServerCombo'

ConnectText[edit]

Type: string

Modifiers: localized


Default value: "CONNECT"

DisconnectText[edit]

Type: string

Modifiers: localized


Default value: "DISCONNECT"

LocalChannel[edit]

Type: string

Modifiers: localized


Default value: "#ut"

SizingButton[edit]

Type: GUIButton


tp_System[edit]

Type: UT2K4IRC_System


Default values[edit]

Property Value
OnPreDraw PositionButtons

Subobjects[edit]

MyChannelCombo[edit]

Class: XInterface.moComboBox

Property Value
bAutoSizeCaption True
bBoundToParent True
bHeightFromComponent False
bScaleToParent True
Caption "Channel"
CaptionWidth 0.25
RenderWeight 3.0
TabOrder 1
WinHeight 0.3
WinLeft 0.15
WinTop 0.5
WinWidth 0.4

MyConnectButton[edit]

Class: XInterface.GUIButton

Property Value
bBoundToParent True
bScaleToParent True
Caption "CONNECT"
OnClick InternalOnClick
RenderWeight 3.0
TabOrder 2
WinHeight 0.3
WinLeft 0.56
WinTop 0.1
WinWidth 0.2

MyJoinChannelButton[edit]

Class: XInterface.GUIButton

Property Value
bBoundToParent True
bScaleToParent True
Caption "JOIN"
OnClick InternalOnClick
RenderWeight 3.0
TabOrder 3
WinHeight 0.3
WinLeft 0.56
WinTop 0.5
WinWidth 0.2

MyRemoveChannelButton[edit]

Class: XInterface.GUIButton

Property Value
bBoundToParent True
bScaleToParent True
Caption "REMOVE"
OnClick InternalOnClick
RenderWeight 3.0
TabOrder 5
WinHeight 0.3
WinLeft 0.77
WinTop 0.5
WinWidth 0.2

MyRemoveServerButton[edit]

Class: XInterface.GUIButton

Property Value
bBoundToParent True
bScaleToParent True
Caption "REMOVE"
OnClick InternalOnClick
RenderWeight 3.0
TabOrder 4
WinHeight 0.3
WinLeft 0.77
WinTop 0.1
WinWidth 0.2

MyServerCombo[edit]

Class: XInterface.moComboBox

Property Value
bBoundToParent True
bHeightFromComponent False
bScaleToParent True
Caption "Server"
CaptionWidth 0.25
OnChange InternalOnChange
RenderWeight 3.0
TabOrder 0
WinHeight 0.3
WinLeft 0.15
WinTop 0.102967
WinWidth 0.4

Functions[edit]

Events[edit]

Free[edit]

event Free ()

Overrides: GUIMultiComponent.Free


InitComponent[edit]

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIPanel.InitComponent


Other instance functions[edit]

AddChannelToHistory[edit]

function bool AddChannelToHistory (string NewChannelName, optional int Position)


AddServerToHistory[edit]

function bool AddServerToHistory (string NewServerName, optional int Position)


FindChannelHistoryIndex[edit]

function int FindChannelHistoryIndex (string ChannelName)


FindServerHistoryIndex[edit]

function int FindServerHistoryIndex (string ServerName)


GetSizingButton[edit]

function GetSizingButton ()


InternalOnChange[edit]

function InternalOnChange (GUIComponent Sender)


InternalOnClick[edit]

function bool InternalOnClick (GUIComponent Sender)


IsCurrentServer[edit]

function bool IsCurrentServer (string ServerAddress)


LoadChannelHistory[edit]

function LoadChannelHistory ()


LoadServerHistory[edit]

function LoadServerHistory ()


PositionButtons[edit]

function bool PositionButtons (Canvas C)


RemoveChannelFromHistory[edit]

function bool RemoveChannelFromHistory (string ChannelName)


RemoveServerFromHistory[edit]

function bool RemoveServerFromHistory (string ServerName)


UpdateConnectionStatus[edit]

function UpdateConnectionStatus (bool NowConnected)