1
0
KF2-Dev-Scripts/Engine/Classes/SeqAct_AndGate.uc
2020-12-13 18:01:13 +03:00

36 lines
878 B
Ucode

/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
class SeqAct_AndGate extends SequenceAction
native(Sequence);
cpptext
{
virtual void Initialize();
virtual void Activated();
virtual void OnReceivedImpulse( class USequenceOp* ActivatorOp, INT InputLinkIndex );
}
/** Is this gate currently open? */
var transient bool bOpen;
/** Mirrors the InputLinks array, hold data whether a specific input has fired. */
var transient array<bool> LinkedOutputFiredStatus;
/** Cached array of linked input ops for this gate, so we can track that they have all fired. */
var transient native array<pointer> LinkedOutputs{FSeqOpOutputLink};
defaultproperties
{
ObjName="AND Gate"
ObjCategory="Misc"
bSuppressAutoComment=true
bOpen=TRUE
bAutoActivateOutputLinks=false
InputLinks(0)=(LinkDesc="In")
VariableLinks.Empty
}