heroiclabs / nakama-defold

Defold client for Nakama server.
https://heroiclabs.com
Apache License 2.0
74 stars 12 forks source link

allowing optional paramaters to be not given #47

Closed SamsTheGreatest closed 2 years ago

SamsTheGreatest commented 2 years ago

tbf about zero idea haha, would be fun to know tho

britzl commented 2 years ago

tbf about zero idea haha, would be fun to know tho

Documented here:

https://github.com/heroiclabs/nakama-defold/tree/master/codegen

You need to download github.com/heroiclabs/nakama-common and put it somewhere and then run realtime.py to generate the RealTime API (aka socket.lua). See exact command line in the link above.

SamsTheGreatest commented 2 years ago

same seems need to be applied to function match_join so we are on the good track

SamsTheGreatest commented 2 years ago

Ran code gen and tested for some function like once above, all seems good. Shall I paste the new sockets code in to the git?

britzl commented 2 years ago

Shall I paste the new sockets code in to the git?

Yes, please include it in the PR