public void getTutorial(string nick, dbCallback getCallback) { this.getCallback= getCallback; SFSObject sfsObject = new SFSObject(); sfsObject.PutUtfString("nick",nick); extensionManager.sendRequest(new ExtensionRequest("consultarTutorial", sfsObject), "getTutorial", getTutorialResponse); }
public void getAvatar(string nick, dbCallback getCallback) { Debug.Log("Entro al getAvatar---------------!!!"); this.getCallback= getCallback; SFSObject sfsObject = new SFSObject(); sfsObject.PutUtfString("nick",nick); extensionManager.sendRequest(new ExtensionRequest("consultarAvatar", sfsObject), "getAvatar", getAvatarResponse); }
public void getToken(string usuario,string redSocial, dbCallback getCallback) { Debug.Log("Entro al getToken---------------!!!"); this.getCallback= getCallback; SFSObject sfsObject = new SFSObject(); sfsObject.PutUtfString("usuario",usuario); sfsObject.PutUtfString("redSocial",redSocial); smartFox.Send(new ExtensionRequest("consultarToken",sfsObject)); }
public void insertarToken(string usuario,string redSocial, string token, dbCallback insertCallback) { Debug.Log("Entro al insertarToken---------------!!!"); this.insertCallback= insertCallback; SFSObject sfsObject = new SFSObject(); sfsObject.PutUtfString("usuario",usuario); sfsObject.PutUtfString("redSocial",redSocial); sfsObject.PutUtfString("token",token); smartFox.Send(new ExtensionRequest("insertarToken", sfsObject)); }