Can you pass objects (not strings) to application.onConnect()?
The documentation on parameters for application.onConnect() is below. It can take a Client "object" but is ambiguous about the optional parameters (strings vs objects). I'm guessing just strings?
I have a user value object with a few pieces of info in it that I pass around client side and would like the server to add it to its list of users (usersSO). I'm guessing I'll have to send it up in pieces and recreate it somehow on the server?
Parameters
- clientObj
- A Client object. This object contains information about the client that is connecting to the application.
- p1 ..., pN
- Optional parameters passed to the application.onConnect() handler from the client-side NetConnection.connect()
