Triggers

C# Methods for Core > Triggers

RegisterCustomTrigger

public bool RegisterCustomTrigger(string triggerName, string eventName, String[] categories)

TriggerCodeEvent

Triggers a custom code event (by name)

0.2.5
public void TriggerCodeEvent(string eventName, string json)
0.2.5
public void TriggerCodeEvent(string eventName, Dictionary<string,object> args)
0.2.5
public void TriggerCodeEvent(string eventName, bool useArgs = true)

TriggerEvent

public void TriggerEvent(string eventName, bool useArgs = true)