Table of Contents

Class WaitForLinkedPartnerAction

Namespace
TinyLife.Actions
Assembly
TinyLife.dll
public class WaitForLinkedPartnerAction : Action, IGenericDataHolder
Inheritance
JsonTypeSafeGenericDataHolder
WaitForLinkedPartnerAction
Implements
IGenericDataHolder
Inherited Members
JsonTypeSafeGenericDataHolder.GetDataKeys()
Extension Methods

Constructors

WaitForLinkedPartnerAction(ActionInfo, string, WaitType)

public WaitForLinkedPartnerAction(ActionInfo info, string linkedActionKey, WaitForLinkedPartnerAction.WaitType waitType = WaitType.Completed)

Parameters

info ActionInfo
linkedActionKey string
waitType WaitForLinkedPartnerAction.WaitType

Methods

IsCompleted()

This method is called every update frame by a Person if this action is currently active to check if it should be stopped. If this returns a result other than Completed, OnCompleted(CompletionType) will be called and the action is stopped. By default, only the default behavior of Interrupt(CompletionType) modifies the completion type, otherwise Active is returned.

public override CompletionType IsCompleted()

Returns

CompletionType

The current completion type of this action