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

TribesGUI.HUDTargetInfo

Extends
HUDContainer

Core.Object
|   
+-- TribesGUI.HUDElement
   |   
   +-- TribesGUI.HUDContainer
      |   
      +-- TribesGUI.HUDTargetInfo

Variables Summary
boolbCanBeDamaged
floathealth
LabelElementhealthLabel
LabelElementinfoLabel
floatmaxHealth
floatmaxShield
floatshield
HUDTargetInfo
ColorallyColor
ColorenemyColor
ColorhealthColor
floatpixelHealthRatio
floatpixelShieldRatio
ColorshieldColor
Inherited Variables from TribesGUI.HUDContainer
children
Inherited Variables from TribesGUI.HUDElement
alpha, aspectRatio, backgroundTexture, BaseScript, bFlashing, bIsLayingOut, bNeedsLayout, borderBottom, borderLeft, borderRight, borderTop, bRelativePositioning, bRenderedOnce, bUseResFonts, bVisible, defaultDrawColor, FlashAlphaMax, FlashAlphaMin, FlashDuration, FlashPeriod, FlashStartTime, FlashSwitchTime, foregroundTexture, Height, HelpFont, HelpFontName, HelpLabel, horizontalAlignment, horizontalFill, iniOverride, initialHeight, initialPosX, initialPosY, initialWidth, insetX, insetY, LocalData, nextSibling, offsetX, offsetY, ParentElement, posX, posY, previousSibling, RelativeHeight, RelativePosX, RelativePosY, RelativeWidth, resFontNames, resFonts, screenHeight, screenWidth, TargetAlpha, textColor, textFont, textFontName, timeSeconds, verticalAlignment, verticalFill, Width

Enumerations Summary
Inherited Enumerations from TribesGUI.HUDElement
EHorizontalAlignment, EHorizontalFill, ELayoutDirection, EVerticalAlignment, EVerticalFill

Structures Summary
Inherited Structures from TribesGUI.HUDElement
HUDMaterial

Functions Summary
function InitElement ()))
function RenderElement (Canvas C))
function UpdateData (ClientSideCharacter c))
Inherited Functions from TribesGUI.HUDContainer
AddClonedElement, AddElement, AddExistingElement, ElementAdded, ElementRemoved, ForceNeedsLayout, HasElement, InitElementHeirachy, RemoveAll, RemoveElementAt, SetAlpha
Inherited Functions from TribesGUI.HUDElement
Construct, CreateClonedElement, CreateHUDElement, DoLayout, EncodeColor, EncodePlayerName, FlashElement, ForceNeedsLayout, GetAlpha, GetHeight, GetMaximumRelativeX, GetMaximumRelativeY, GetMaximumX, GetMaximumY, GetScreenPos, GetWidth, GetX, GetY, InitElement, InitElementHeirachy, InternalHeight, InternalLeft, InternalTop, InternalWidth, KeyEvent, KeyType, Layout, LoadConfig, LoadFont, LoadFonts, MakeHUDMaterial, MaterialHeight, MaterialWidth, NativeRenderElement, OnMouseClicked, OnMouseDoubleClicked, OnMouseEntered, OnMouseExited, PointInElement, PointInRegion, Render, RenderElement, RenderHUDMaterial, ResetFont, ResetHUDMaterial, ResizeForWidth, RootHUDScript, SetAlpha, SetColor, SetHeight, SetNeedsLayout, SetWidth, SetX, SetY, StaticCreateHUDElement, UpdateData


Variables Detail

bCanBeDamaged Source code

var bool bCanBeDamaged;

health Source code

var float health;

healthLabel Source code

var LabelElement healthLabel;

infoLabel Source code

var LabelElement infoLabel;

maxHealth Source code

var float maxHealth;

maxShield Source code

var float maxShield;

shield Source code

var float shield;

HUDTargetInfo

allyColor Source code

var(HUDTargetInfo) config Color allyColor;

enemyColor Source code

var(HUDTargetInfo) config Color enemyColor;

healthColor Source code

var(HUDTargetInfo) config Color healthColor;

pixelHealthRatio Source code

var(HUDTargetInfo) config float pixelHealthRatio;

pixelShieldRatio Source code

var(HUDTargetInfo) config float pixelShieldRatio;

shieldColor Source code

var(HUDTargetInfo) config Color shieldColor;


Functions Detail

InitElement Source code

function InitElement ( ) )

RenderElement Source code

function RenderElement ( Canvas C) )

UpdateData Source code

function UpdateData ( ClientSideCharacter c) )


Defaultproperties

defaultproperties
{
	enemyColor = (R=255,G=0,B=0,A=255)
	allyColor = (R=0,G=255,B=0,A=255)
	
	healthColor = (R=255,G=0,B=0,A=255)
	shieldColor = (R=255,G=255,B=255,A=255)



	pixelHealthRatio = 1;
	pixelShieldRatio = 1;
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: st 23.5.2018 00:10:31.179 - Created with UnCodeX