Exemple #1
0
        public static void GetById(string id, QueryKind queryKind, GetAchievmentsFinished callback)
        {
            if (javaUnityApplicasaAchievments == null)
            {
                javaUnityApplicasaAchievments = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaAchievments");
            }
            int uniqueActionID = Core.currentCallbackID;

            Core.currentCallbackID++;
            setGetObjectFinished(callback, uniqueActionID);
            javaUnityApplicasaAchievments.CallStatic("ApplicasaAchievmentsGetById", id, (int)queryKind, uniqueActionID);
        }
Exemple #2
0
 public static void GetById(string id, QueryKind queryKind, GetAchievmentsFinished callback)
 {
     callback(true, new Error(), new IntPtr());
 }
Exemple #3
0
 public static void GetById(string id, QueryKind queryKind, GetAchievmentsFinished callback)
 {
     ApplicasaAchievmentsGetById(id, queryKind, callback);
 }
Exemple #4
0
 public static extern void setGetObjectFinished(GetAchievmentsFinished callback, int uniqueActionID);
Exemple #5
0
 private static extern void ApplicasaAchievmentsGetById(string id, QueryKind queryKind, GetAchievmentsFinished callback);
 public static void GetById(string id, QueryKind queryKind, GetAchievmentsFinished callback)
 {
     callback(true,new Error(),new IntPtr());
 }
 public static void GetById(string id, QueryKind queryKind, GetAchievmentsFinished callback)
 {
     if(javaUnityApplicasaAchievments==null)
         javaUnityApplicasaAchievments = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaAchievments");
     int uniqueActionID=Core.currentCallbackID;
     Core.currentCallbackID++;
     setGetObjectFinished(callback, uniqueActionID);
     javaUnityApplicasaAchievments.CallStatic("ApplicasaAchievmentsGetById", id, (int)queryKind, uniqueActionID);
 }
 public static void GetById(string id, QueryKind queryKind, GetAchievmentsFinished callback)
 {
     ApplicasaAchievmentsGetById (id, queryKind, callback);
 }
 private static extern void ApplicasaAchievmentsGetById(string id, QueryKind queryKind, GetAchievmentsFinished callback);
 public static extern void setGetObjectFinished(GetAchievmentsFinished callback, int uniqueActionID);