Can we send a message(server to clients and clinets to server) not string? Like int...
From the docs:
"
"sendMessage
void sendMessage(java.util.Set<Client> clients,
java.lang.String message,
java.lang.String... args)
Is there a way to make arg not string but int.
Forcing to use string makes huge bandwidth waste.
I have a game in witch the x and y of all players need to be sent 30 times per second.
I send a message like("message_name",<arg_a_string>"id1,x1,y1,id2,x2,y2.....")
It will be much better if a am able to send a message like (""message_name"", arg1:int=id1,arg2:int=x1,arg3:int=y2,arg4:int=id2)
Playerio and Smartfox server can do that.
How can I save bandwidth with UnionPlatform?
Thanks.