Arisstath / roblox-dissector

Roblox UDP Protocol Dissector
MIT License
132 stars 16 forks source link

Provide Lua scripting API #34

Closed Gskartwii closed 4 years ago

Gskartwii commented 5 years ago

The scripting API would allow packets to be accessed and created on the low level, as well as allowing the DataModel and CommunicationContext to be accessed.

Gskartwii commented 5 years ago

The Lua API should provide an option to "wrap" the DataModel so that changes are not replicated to it. Even so, the changes should be replicated to a specific peer. As an example use case, scripts for the WinDivert proxy system may want to only send their changes to the server, or only to the client.
Note: This will make writes to the wrapped DataModel safe, while reads won't be safe.

Gskartwii commented 4 years ago

I consider the Lua API in its current state to be "good enough" for the next release.