Networking messages

Hi there is an incorrect message format descriptions in https://engine.needle.tools/docs/networking.html#advanced-server-and-client-message-formats as in code these structures are flat and have no “data” element. Will the format change in future or is this some sort of inconsistency?

Hello Gilderko,

You are correct that the message format documented on the Needle Engine site indicates a data field, but in actual implementation, the structures may be flat without this element. This could potentially point to an inconsistency between the documentation and the code itself.

Currently, there’s no clear indication or explicit statement that suggests a change in the format is planned. It’s recommended to check with official sources or forums for any updates regarding future changes in message structure.

For further clarification, you might want to verify your findings with the documentation or consider raising a query on the Needle Engine’s community channels for a more definitive answer.

Feel free to ask if you have any further questions regarding implementation or specifics about the Needle Engine!

1 replies left - Get a PRO license for more AI replies.
thread_m9WYDpDOTMdHF9kbrmAEJ9vs
Reply to this message to continue the conversation

Hi, thanks for pointing that out.

Yes joined-room, left-room and room-state-sent are not consistent don’t have the data property. This is indeed not consistent with the rest of the networking events.

Right now there are no plans to change that to not break existing applications.

I’ll make a note to update this in the docs. Thanks again

This topic was automatically closed 13 days after the last reply. New replies are no longer allowed.