Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTDrawCommandPanel

Extends
UTDrawPanel

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

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIScreenObject
      |   
      +-- Engine.UIObject
         |   
         +-- UTGame.UTUI_Widget
            |   
            +-- UTGame.UTDrawPanel
               |   
               +-- UTGame.UTDrawCommandPanel

Variables Summary
stringAllCaption
array<CategoryInfo>CategoryNames
ECmdListDataEmoteList
intFocusedList
ECmdListDataGroupList
intLastFocusedList
floatLastRenderTime
array<name>Lookup
stringMoreCaption
UTHudMyHud
ECmdListDataMyLists[3]
UTPlayerControllerMyPlayerOwner
ECmdListDataPRIList
floatTransitionTimer
UTUIScene_HudUTHudScene
UTDrawCommandPanel
colorBkgTexColor
TextureCoordinatesBkgTexCoords
texture2DBkgTexture
ColorDisabledColor
ColorSelectedColor
colorSelTexColor
TextureCoordinatesSelTexCoords
texture2DSelTexture
ColorTextColor
floatTransitionTime
Inherited Variables from UTGame.UTDrawPanel
bUseFullViewport, Canvas, pHeight, pLeft, pTop, pWidth, ResolutionScale
Inherited Variables from UTGame.UTUI_Widget
bRequiresTick, UTSceneOwner

Enumerations Summary
EListType
ELT_Main, ELT_Ack, ELT_FriendlyFire, ELT_Order, ELT_Taunt, ELT_PlayerSelect,

Structures Summary
CategoryInfo
Category, FriendlyName
ECmdData
bDisabled, EmoteTag, PRI, Caption
ECmdListData
Selection, Top, Values

Functions Summary
function AdjustListSelection (int Modification, int List))
functionfloat DrawList (float XPos, float PercX, float Alpha, bool bShowSelection, int Idx))
event DrawPanel ()))
functionbool EndOfChain ()))
function FillEmoteList (name Category))
event GetSupportedUIActionKeyNames (out array out_KeyNames ))
function InitGroupList ()))
function InitPRIList ()))
functionUTPawn MyPawn ()))
functionbool NeedsPRIList ()))
function NotifyGameSessionEnded ()))
functionbool PerformCommand ()))
event PostInitialize ()))
functionbool ProcessInputKey (const out SubscribedInputEventParameters EventParms ))
Inherited Functions from UTGame.UTDrawPanel
Draw2DLine, DrawPanel
Inherited Functions from UTGame.UTUI_Widget
FindDataStore, GetPlayerControllerId, NotifyGameSessionEnded


Variables Detail

AllCaption Source code

var transient string AllCaption;

CategoryNames Source code

var array<CategoryInfo> CategoryNames;

EmoteList Source code

var transient ECmdListData EmoteList;

FocusedList Source code

var int FocusedList;
Which list has focus

GroupList Source code

var transient ECmdListData GroupList;

LastFocusedList Source code

var int LastFocusedList;

LastRenderTime Source code

var transient float LastRenderTime;

Lookup Source code

var transient array<name> Lookup;

MoreCaption Source code

var transient string MoreCaption;

MyHud Source code

var transient UTHud MyHud;

MyLists[3] Source code

var transient ECmdListData MyLists[3];
The 3 lists

MyPlayerOwner Source code

var transient UTPlayerController MyPlayerOwner;

PRIList Source code

var transient ECmdListData PRIList;

TransitionTimer Source code

var transient float TransitionTimer;

UTHudScene Source code

var transient UTUIScene_Hud UTHudScene;

UTDrawCommandPanel

BkgTexColor Source code

var(UTDrawCommandPanel) color BkgTexColor;

BkgTexCoords Source code

var(UTDrawCommandPanel) TextureCoordinates BkgTexCoords;

BkgTexture Source code

var(UTDrawCommandPanel) texture2D BkgTexture;

DisabledColor Source code

var(UTDrawCommandPanel) Color DisabledColor;

SelectedColor Source code

var(UTDrawCommandPanel) Color SelectedColor;

SelTexColor Source code

var(UTDrawCommandPanel) color SelTexColor;

SelTexCoords Source code

var(UTDrawCommandPanel) TextureCoordinates SelTexCoords;

SelTexture Source code

var(UTDrawCommandPanel) texture2D SelTexture;

TextColor Source code

var(UTDrawCommandPanel) Color TextColor;

TransitionTime Source code

var(UTDrawCommandPanel) float TransitionTime;


Enumerations Detail

EListType Source code

enum EListType
{
ELT_Main, ELT_Ack, ELT_FriendlyFire, ELT_Order, ELT_Taunt, ELT_PlayerSelect,
};


Structures Detail

CategoryInfo Source code

struct CategoryInfo
{
var name Category;
var localized string FriendlyName;
};
LOCALIZE ME

ECmdData Source code

struct ECmdData
{
var bool bDisabled;
var string Caption;
var name EmoteTag;
var UTPlayerReplicationInfo PRI;
};


ECmdListData Source code

struct ECmdListData
{
var int Selection;
var int Top;
var array<ECmdData> Values;
};



Functions Detail

AdjustListSelection Source code

function AdjustListSelection ( int Modification, int List) )

DrawList Source code

function float DrawList ( float XPos, float PercX, float Alpha, bool bShowSelection, int Idx) )

DrawPanel Source code

event DrawPanel ( ) )

EndOfChain Source code

function bool EndOfChain ( ) )
What this function does depends on the list in play. If it's the Emote list, then it will look to see if there the emote requires a player id. If this is the player list then it always returns true since there is no where else to go.

FillEmoteList Source code

function FillEmoteList ( name Category) )

GetSupportedUIActionKeyNames Source code

event GetSupportedUIActionKeyNames ( out array<Name> out_KeyNames ) )
Setup Input subscriptions

InitGroupList Source code

function InitGroupList ( ) )

InitPRIList Source code

function InitPRIList ( ) )

MyPawn Source code

function UTPawn MyPawn ( ) )

NeedsPRIList Source code

function bool NeedsPRIList ( ) )

NotifyGameSessionEnded Source code

function NotifyGameSessionEnded ( ) )

PerformCommand Source code

function bool PerformCommand ( ) )

PostInitialize Source code

event PostInitialize ( ) )

ProcessInputKey Source code

function bool ProcessInputKey ( const out SubscribedInputEventParameters EventParms ) )


Defaultproperties

defaultproperties
{
   TextColor=(B=255,G=255,R=255,A=255)
   SelectedColor=(B=0,G=255,R=255,A=255)
   DisabledColor=(B=128,G=128,R=128,A=255)
   SelTexture=Texture2D'UI_HUD.HUD.UI_HUD_BaseC'
   SelTexCoords=(U=622.000000,V=312.000000,UL=274.000000,VL=63.000000)
   SelTexColor=(B=0,G=51,R=0,A=255)
   BkgTexture=Texture2D'UI_HUD.HUD.UI_HUD_BaseD'
   BkgTexCoords=(U=610.000000,V=374.000000,UL=164.000000,VL=126.000000)
   BkgTexColor=(B=20,G=20,R=0,A=200)
   TransitionTime=0.200000
   LastFocusedList=50000
   CategoryNames(0)=(Category="Order",FriendlyName="Orders")
   CategoryNames(1)=(Category="Taunt",FriendlyName="Taunts")
   CategoryNames(2)=(Category="Status",FriendlyName="Status")
   Begin Object Class=UIComp_Event Name=WidgetEventComponent ObjName=WidgetEventComponent Archetype=UIComp_Event'UTGame.Default__UTDrawPanel:WidgetEventComponent'
      ObjectArchetype=UIComp_Event'UTGame.Default__UTDrawPanel:WidgetEventComponent'
   End Object
   EventProvider=WidgetEventComponent
   Name="Default__UTDrawCommandPanel"
   ObjectArchetype=UTDrawPanel'UTGame.Default__UTDrawPanel'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:51.159 - Created with UnCodeX