| TriggerBlockContainsTrigger Method |
[This is preliminary documentation and is subject to change.]
Determines whether the block contains the trigger.
Namespace:
Monkeyspeak
Assembly:
Monkeyspeak (in Monkeyspeak.dll) Version: 7.0.10.28723 (7.0.10.28723)
Syntax public bool ContainsTrigger(
TriggerCategory cat,
int id = -1
)
Public Function ContainsTrigger (
cat As TriggerCategory,
Optional id As Integer = -1
) As Boolean
public:
bool ContainsTrigger(
TriggerCategory cat,
int id = -1
)
member ContainsTrigger :
cat : TriggerCategory *
?id : int
(* Defaults:
let _id = defaultArg id -1
*)
-> bool
Parameters
- cat
- Type: MonkeyspeakTriggerCategory
The category. - id (Optional)
- Type: SystemInt32
The identifier.
Return Value
Type:
Booleantrue if the block contains the trigger; otherwise,
false.
See Also