thieumao

Interface

Sep 16th, 2015
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.03 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class SyncScript : MonoBehaviour {
  5.  
  6.     // Use this for initialization
  7.     void Start() {
  8.  
  9.     }
  10.  
  11.     // Update is called once per frame
  12.     void Update() {
  13.  
  14.     }
  15.  
  16.  
  17.     // other method
  18.     // out: true/false --> return boolean
  19.     public void CheckLoginFacebook() { }
  20.  
  21.     // return string
  22.     public void GetIdFacebook() { }
  23.  
  24.     public void GetMyAvatar() { }
  25.  
  26.     // in: id; out: avatar
  27.     public void GetAvatar() { }
  28.  
  29.     public void GetDataUser () { }
  30.  
  31.     public void GetDataParse() { }
  32.  
  33.     // main methood
  34.     // in: user, pass; out: success/fail
  35.     public void LoginFacebook() { }
  36.  
  37.     // out: id, level, avatar
  38.     public void GetLevelsFacebook() { }
  39.  
  40.     // GetDataParse -> write file sqlite DataUser
  41.     public void SyncDownload() { }
  42.  
  43.     // GetDataUser, getIdFacebook -> up to Parse.com
  44.     public void SyncUpload() { }
  45.  
  46.  
  47.     // prepare  --> facebook, parse
  48.     // facebook: id app, hashkey, package
  49.     // parse: application id, .net id
  50. }
Advertisement
Add Comment
Please, Sign In to add comment