If you are in your first state, I doubt you need to pass these infos to the client.
After game setup, the framework already calls getAllDatas and sends it to the client. Do some digging on the available client side variables in your browser console.
Also, read a bit on the difference between current player and active player. You cannot use the current player in a Arg function as it does exists and if it did it wouldn't return something useful.
After game setup, the framework already calls getAllDatas and sends it to the client. Do some digging on the available client side variables in your browser console.
Also, read a bit on the difference between current player and active player. You cannot use the current player in a Arg function as it does exists and if it did it wouldn't return something useful.