Deal with the webRCP
Options
Hello, i saw that some of you work with PlayFab + PUN 2 so I post here...
i want to update a move in my turned based game, so i do
How am i suppose to get it back in the Cloud Script ?
I have done this:
But i don't have wants_set_color in my log on PlayFab, instead i have raiseEvent, is webRcp make raiseEvent ?
How should I do that ?
Thank you.
i want to update a move in my turned based game, so i do
PhotonNetwork.WebRpc("SetColor", null);
How am i suppose to get it back in the Cloud Script ?
I have done this:
handlers.SetColor = function (args) {
server.WriteTitleEvent({
EventName : "wants_set_color"
});
return { ResultCode : 0, Message: 'Success' }; };
But i don't have wants_set_color in my log on PlayFab, instead i have raiseEvent, is webRcp make raiseEvent ?
How should I do that ?
Thank you.
0
Answers
-
sorry stupid question, i called the wrong function...1
This discussion has been closed.