Closed Gskartwii closed 4 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.
I consider the Lua API in its current state to be "good enough" for the next release.
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.