Invoking this method will subscribe the event you pass to this Action, making it a listener to the stop event.
Path Parameters
Name
Type
Description
newEvent
object
Determines the method you want to subscribe to this Action's stop.
AddStartTrier
PUTAddStartTrier(TryDelegate newTrier)
Invoking this method will make the function you passed the new start trier for this Action.
Path Parameters
Name
Type
Description
newTrier
boolean
Function with a return type of boolean that will be used as a trier for this Action.
AddStopTrier
PUTAddStopTrier(TryDelegate newTrier)
Invoking this method will make the function you passed the new stop trier for this Action.
Path Parameters
Name
Type
Description
newTrier
boolean
Function with a return type of boolean that will be used as a trier for this Action.
TryStart
POSTTryStart()
Invoking this method will try to start this Action, meaning that it will first invoke the triers and make sure they all return true before starting.
TryStop
POSTTryStop()
Invoking this method will try to stop this Action, meaning it will first invoke the triers and make sure they all return before properly stopping it.
ForceStart
POSTForceStart()
Invoking this method will allow you to directly skip over the triers and start the Action.
ForceStop
POSTForceStop()
Invoking this method will allow you to directly skip over the triers and stop the Action. This forceful approach is necessary sometimes.
ForceToggle
POSTForceToggle()
Invoking this method will forcefully switch the Action's state. Actions that are started will be forcefully stopped, and ones that are stopped will be forcefully started.
Debug
OPTIONSDebug(bool debugAttempts = false, string name = "Debug")
Logs the names of the methods subscribed to this Attempt, and the Triers added.
Path Parameters
Name
Type
Description
Name
string
Simple name that you can give this debug, making it easier to not confuse it when debugging other things.
DebugAttempts
boolean
Determines whether you want to debug the triers of this attempt, or only the listeners.