diff options
Diffstat (limited to 'featureClass/featureManager.js')
-rw-r--r-- | featureClass/featureManager.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/featureClass/featureManager.js b/featureClass/featureManager.js index 99f5483..d323397 100644 --- a/featureClass/featureManager.js +++ b/featureClass/featureManager.js @@ -224,6 +224,15 @@ class FeatureManager { return event } + + registerActionBar(criteria, func, context){ + + let event = this.registerCustom("actionBar", func, context) + + event.trigger.setChatCriteria(criteria) + + return event + } registerCommand(commandName, func, context){ let event = this.registerCustom("command", func, context) |