Author Topic: Transfer a variable via a datablock  (Read 375 times)

I can't seem to figure out how to transfer a variable via a datablock from server to client.
I tried just adding a variable, but it doesn't seem to transfer to the client.
Only variables that are normally supposed to be in that class are transferred.

I can't seem to figure out how to transfer a variable via a datablock from server to client.
I tried just adding a variable, but it doesn't seem to transfer to the client.
Only variables that are normally supposed to be in that class are transferred.

Only public member fields of that datablock's class are transferred (scoped I believe is the term, correct me if I'm wrong.)
What variable are you trying to transfer, and why through a datablock, why not just
Code: [Select]
commandToClient(recievingClient, handlerFunction, variableAsArgument);