After that in login handler
Code: Select all
ISFSObject outData = (ISFSObject) event.getParameter(SFSEventParam.LOGIN_OUT_DATA);
and I put the Json data as string into outData. But when I check the outData in Login Event(in Unity) always return null.
I tried to Add LogListener and I can see my json data in message which comes.
Code: Select all
sfs.AddLogListener(LogLevel.INFO, OnLogLevelInfo);
private void OnLogLevelInfo(BaseEvent evnt){
string message = (string)evnt.Params["message"];
Debug.Log(message);
Debug.Log((SFSObject)evnt.Params["params"]);
}
You can see the picture of console. So finally How can I get login out data in client side. Pls help me.
Thanks for everything..