Thread Tools Display Modes
Prev Previous Post   Next Post Next
02/24/20, 09:10 PM   #1
Phuein
 
Phuein's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 132
Post API 100030 and slashCommandAutoComplete

Looks like the recent update modified the chat system a bit. For those who may need it, I just had to fix this for my addons.

1) Looks like slash commands are now loaded safely at EVENT_ADD_ON_LOADED.

2) For slash commands modified during live play, accessing the refresh method changed from:
Code:
SLASH_COMMAND_AUTO_COMPLETE:InvalidateSlashCommandCache()
To:
Code:
CHAT_SYSTEM.textEntry.slashCommandAutoComplete:InvalidateSlashCommandCache()

Seems odd the devs removed the global reference. Hopefully the chat system is improving. If anybody has a best-practice for this, I'm always happy to learn.

  Reply With Quote
 

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » API 100030 and slashCommandAutoComplete


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off