Releases: colyseus/colyseus-defold
Releases · colyseus/colyseus-defold
0.9.10
- returns listener on
eventemitter
's on
function.
Allows to do this:
local listener = room:on("message", function()
-- ...
end)
room:off("message", listener)
0.9.9
Prevent crash when calling close()
twice. #8
0.9.8
Compatibility with defold-websocket 1.5.0
0.9.7
Emit "close"
when connect is not successful
0.9.6
Add a flag for auto-connection on client constructor.
Usage:
client = Colyseus.new("ws://localhost:4657", false)
-- manually tell when to connect
client:connect()
0.9.5
Include change.previous_value
on "replace
" operations
0.9.4
room:leave()
now plays nicely with onLeave(client, consented)
in the server-side.