workadventure/front/src/Phaser/Components
David Négrier 5b4a72ea1f Add new "query/answer" utility functions for the scripting API
So far, the scripting API was using events to communicate between WA and the iFrame.
But often, the scripting API might actually want to "ask" WA a question and wait for an answer.

We dealt with this by using 2 unrelated events (in a mostly painful way).

This commit adds a "queryWorkadventure" utility function in the iFrame API that allows us
to send a query, and to wait for an answer. The query and answer events have a unique ID to be
sure the answer matches the correct query.

On the WA side, a new `IframeListener.registerAnswerer` method can be used to register a possible answer.
2021-07-02 16:49:22 +02:00
..
ChatModeIcon.ts Added a radial menu to run emotes 2021-05-19 15:17:50 +02:00
ClickButton.ts basic login page with a text input and a click button 2020-04-26 17:54:56 +02:00
Loader.ts Revert "Fix loader logo WA (#991)" 2021-05-04 15:15:23 +02:00
MobileJoystick.ts FIX: on a touch screen, the menu emote will not open if more than one pointer is used 2021-06-03 10:22:06 +02:00
OpenChatIcon.ts Added a radial menu to run emotes 2021-05-19 15:17:50 +02:00
PresentationModeIcon.ts Added a radial menu to run emotes 2021-05-19 15:17:50 +02:00
RadialMenu.ts now use custom emotes with tweens instead of transistions 2021-05-25 16:37:24 +02:00
SoundMeter.ts Using "standardized-audio-context" to fix compatibility of AudioContext with Safari. 2021-06-02 17:58:58 +02:00
TextField.ts improved textField component and allowed 8 caracter names 2020-10-15 14:23:39 +02:00
TextInput.ts Make login text input field touch capable (thx @TabscoEye) 2021-04-13 00:19:06 +02:00
TextUtils.ts Add new "query/answer" utility functions for the scripting API 2021-07-02 16:49:22 +02:00
WarningContainer.ts FEATURE: warning message when world is near full capacity 2021-03-23 17:44:47 +01:00