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

Engine.SeqCond_SwitchObject

Extends
SeqCond_SwitchBase
Modifiers
native ( inherit )

Base class for all switch condition ops which use an object value for branching. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved

Core.Object
|   
+-- Engine.SequenceObject
   |   
   +-- Engine.SequenceOp
      |   
      +-- Engine.SequenceCondition
         |   
         +-- Engine.SeqCond_SwitchBase
            |   
            +-- Engine.SeqCond_SwitchObject

Direct Known Subclasses:

UICond_SwitchWidget

Variables Summary
SeqCond_SwitchObject
classMetaClass
array<SwitchObjectCase>SupportedValues

Structures Summary
SwitchObjectCase
ObjectValue, bFallThru, bDefaultValue

Functions Summary
event InsertValueEntry (int InsertIndex ))
eventbool IsFallThruEnabled (int ValueIndex ))
event RemoveValueEntry (int RemoveIndex ))
event VerifyDefaultCaseValue ()))
Inherited Functions from Engine.SeqCond_SwitchBase
InsertValueEntry, IsFallThruEnabled, RemoveValueEntry, VerifyDefaultCaseValue
Inherited Functions from Engine.SequenceCondition
IsValidUISequenceObject


Variables Detail

SeqCond_SwitchObject

MetaClass Source code

var(SeqCond_SwitchObject) class MetaClass;
Limits which types of objects can be used by this switch op. @fixme ronp - not yet implemented!

SupportedValues Source code

var(SeqCond_SwitchObject) array<SwitchObjectCase> SupportedValues;
Stores the list of values which are handled by this switch object.


Structures Detail

SwitchObjectCase Source code

struct SwitchObjectCase
{
var(SeqCond_SwitchObject) bool bDefaultValue;
var(SeqCond_SwitchObject) bool bFallThru;
var(SeqCond_SwitchObject) Object ObjectValue;
};
Stores class name to compare for each output link and whether it should fall through to next node
bDefaultValue:
true if this represents the default value option
bFallThru:
indicates whether control should fall through to the next case upon a match
ObjectValue:
the value of this case statement


Functions Detail

InsertValueEntry Source code

event InsertValueEntry ( int InsertIndex ) )
Insert an empty element into this switch's value array at the specified index.

IsFallThruEnabled Source code

event bool IsFallThruEnabled ( int ValueIndex ) )
Returns whether fall through is enabled for the specified case value.

RemoveValueEntry Source code

event RemoveValueEntry ( int RemoveIndex ) )
Remove an element from this switch's value array at the specified index.

VerifyDefaultCaseValue Source code

event 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.


Defaultproperties

defaultproperties
{
   SupportedValues(0)=(bDefaultValue=True)
   MetaClass=Class'Core.Object'
   VariableLinks(0)=(ExpectedType=Class'Engine.SeqVar_Object',LinkDesc="Object",MinVars=1,MaxVars=255)
   ObjName="Switch Object"
   Name="Default__SeqCond_SwitchObject"
   ObjectArchetype=SeqCond_SwitchBase'Engine.Default__SeqCond_SwitchBase'
}

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