The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:SeqCond_SwitchObject (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 06:47, 17 January 2010 by Wormbo (Talk | contribs) (1 revision: class descriptions for UDK January update (part 5))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> SequenceObject >> SequenceOp >> SequenceCondition >> SeqCond_SwitchBase >> SeqCond_SwitchObject
Package: 
Engine
Direct subclass:
UICond_SwitchWidget
This class in other games:
UT3

Base class for all switch condition ops which use an object value for branching.

Properties[edit]

Property group 'SeqCond_SwitchObject'[edit]

MetaClass[edit]

Type: Class

Limits which types of objects can be used by this switch op.

Fixme: ronp - not yet implemented!

Default value: Class'Core.Object'

SupportedValues[edit]

Type: array<SwitchObjectCase>

Stores the list of values which are handled by this switch object.

Default value:

Member Value
bDefaultValue True

Default values[edit]

Property Value
ObjName "Switch Object"
VariableLinks[0]
Member Value
ExpectedType Class'Engine.SeqVar_Object'
LinkDesc "Object"

Structs[edit]

SwitchObjectCase[edit]

Modifiers: native

Stores class name to compare for each output link and whether it should fall through to next node

Object ObjectValue 
the value of this case statement
bool bFallThru 
indicates whether control should fall through to the next case upon a match
bool bDefaultValue 
true if this represents the default value option

Events[edit]

InsertValueEntry[edit]

event InsertValueEntry (int InsertIndex)

Overrides: SeqCond_SwitchBase.InsertValueEntry

Insert an empty element into this switch's value array at the specified index.

IsFallThruEnabled[edit]

event bool IsFallThruEnabled (int ValueIndex)

Overrides: SeqCond_SwitchBase.IsFallThruEnabled

Returns whether fall through is enabled for the specified case value.

RemoveValueEntry[edit]

event RemoveValueEntry (int RemoveIndex)

Overrides: SeqCond_SwitchBase.RemoveValueEntry

Remove an element from this switch's value array at the specified index.

VerifyDefaultCaseValue[edit]

event VerifyDefaultCaseValue ()

Overrides: SeqCond_SwitchBase.VerifyDefaultCaseValue

Ensures that the last item in the value array represents the "default" item. Child classes should override this method to ensure that their value array stays synchronized with the OutputLinks array.