Skip to content

v0.7.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@tom-weiland tom-weiland released this 09 Oct 00:23
· 365 commits to main since this release

• Added [MessageHandler] attribute, which is used to mark a method as a message handler
• Removed the need to manually build your own message handlers dictionary
• The MessageReceived event is still invoked when receiving a message, but is no longer required to be used for handling messages

Riptide now builds the message handlers dictionary internally using all methods with the MessageHandler attribute on them. This involves quite a few changes to how Riptide is set up and used in your own projects, so I strongly recommend checking the demos (specifically the Unity ones) to see how things have changed.

One major thing to note is that instead of creating an ActionQueue and calling its ExecuteAll method, you'll now need to call the Tick method of the Server/Client you're using.