You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What the title says. Right now clients which connects via the HTTP/WebSocket service exposed by FacadeServer are registered to the engine's EntitySystem, so that they can run console commands - however, it would be better to register them to the NetworkSystem (which job is to keep track of all the connected clients).
This should allow ComponentSystems to receive event notifications (e.g. onConnected) related to headless clients, like they do for regular clients.
Besides improving the code structure (with NetworkSystem handling all kinds of clients, including "special" ones), right now an use case where this would improve usability is in the features intruduced in #17 (see this comment).
The text was updated successfully, but these errors were encountered:
What the title says. Right now clients which connects via the HTTP/WebSocket service exposed by FacadeServer are registered to the engine's
EntitySystem
, so that they can run console commands - however, it would be better to register them to theNetworkSystem
(which job is to keep track of all the connected clients).This should allow
ComponentSystem
s to receive event notifications (e.g.onConnected
) related to headless clients, like they do for regular clients.Besides improving the code structure (with
NetworkSystem
handling all kinds of clients, including "special" ones), right now an use case where this would improve usability is in the features intruduced in #17 (see this comment).The text was updated successfully, but these errors were encountered: