示例#1
0
 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);
 }
示例#3
0
 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));
 }
示例#4
0
 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));
 }