named parameters in lobby protocol
Posted: 17 Sep 2014, 01:17
currently lobby protocol has only one command which used named parameters:
SETSCRIPTTAGS:
http://springrts.com/dl/LobbyProtocol/P ... AGS:client
for future commands i want to use named parameters too, because they are easily extendable! currently we have the problem, that parameters can't be added without breaking old lobby clients this is why it is needed as it directly allows optional parameters.
what do you think, is our custom format for named parameters better or json or sth. different?
Zero-K lobby uses json in many parts already in the lobby protocol (in private messages, etc).
thoughts about this? for named vars use our current implementation or json? (or sth. "better" / different?)
SETSCRIPTTAGS:
http://springrts.com/dl/LobbyProtocol/P ... AGS:client
for future commands i want to use named parameters too, because they are easily extendable! currently we have the problem, that parameters can't be added without breaking old lobby clients this is why it is needed as it directly allows optional parameters.
what do you think, is our custom format for named parameters better or json or sth. different?
Zero-K lobby uses json in many parts already in the lobby protocol (in private messages, etc).
thoughts about this? for named vars use our current implementation or json? (or sth. "better" / different?)