public static void GetLocalArrayWithQuery(Query query, GetVirtualGoodArrayFinished callback)
        {
            if (javaUnityApplicasaVirtualGood == null)
            {
                javaUnityApplicasaVirtualGood = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaVirtualGood");
            }
            int uniqueActionID = Core.currentCallbackID;

            Core.currentCallbackID++;
            setGetVirtualGoodArrayFinished(callback, uniqueActionID);
            javaUnityApplicasaVirtualGood.CallStatic("ApplicasaVirtualGoodGetLocalArrayWithQuery", query.innerQueryJavaObject, uniqueActionID);
        }
        public static void GetVirtualGoods(VirtualGoodType type, GetVirtualGoodArrayFinished callback)
        {
            if (javaUnityApplicasaVirtualGood == null)
            {
                javaUnityApplicasaVirtualGood = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaVirtualGood");
            }
            int uniqueActionID = Core.currentCallbackID;

            Core.currentCallbackID++;
            setGetVirtualGoodArrayFinished(callback, uniqueActionID);
            javaUnityApplicasaVirtualGood.CallStatic("ApplicasaVirtualGoodsGetVirtualGoodsOfType", (int)type, uniqueActionID);
        }
 public static void GetVirtualGoods(VirtualGoodType type, GetVirtualGoodArrayFinished callback)
 {
     ApplicasaVirtualGoodsGetVirtualGoodsOfType(type, callback);
 }
 private static extern void ApplicasaVirtualGoodsGetVirtualGoodsOfType(VirtualGoodType type, GetVirtualGoodArrayFinished callback);
 public static void GetLocalArrayWithQuery(Query query, GetVirtualGoodArrayFinished callback)
 {
     ApplicasaVirtualGoodGetLocalArrayWithQuery((query != null ? query.innerQuery : IntPtr.Zero), callback);
 }
 private static extern void ApplicasaVirtualGoodGetLocalArrayWithQuery(IntPtr query, GetVirtualGoodArrayFinished callback);
 public static extern void setGetVirtualGoodArrayFinished(GetVirtualGoodArrayFinished callback, int uniqueActionID);
 public static void GetLocalArrayWithQuery(Query query, GetVirtualGoodArrayFinished callback)
 {
     callback(true, new Error(), new VirtualGoodArray());
 }
 public static void GetLocalArrayWithQuery(Query query, GetVirtualGoodArrayFinished callback)
 {
     if(javaUnityApplicasaVirtualGood==null)
         javaUnityApplicasaVirtualGood = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaVirtualGood");
     int uniqueActionID=Core.currentCallbackID;
     Core.currentCallbackID++;
     setGetVirtualGoodArrayFinished(callback, uniqueActionID);
     javaUnityApplicasaVirtualGood.CallStatic("ApplicasaVirtualGoodGetLocalArrayWithQuery", query.innerQueryJavaObject ,uniqueActionID);
 }
 public static void GetVirtualGoods(VirtualGoodType type, VirtualGoodCategory virtualGoodCategory, GetVirtualGoodArrayFinished callback)
 {
     ApplicasaVirtualGoodsGetVirtualGoodsOfTypeAndCategory(type, virtualGoodCategory.innerVirtualGoodCategory, callback);
 }
 public static void GetVirtualGoods(VirtualGoodType type, GetVirtualGoodArrayFinished callback)
 {
     ApplicasaVirtualGoodsGetVirtualGoodsOfType(type, callback);
 }
 public static void GetLocalArrayWithQuery(Query query, GetVirtualGoodArrayFinished callback)
 {
     ApplicasaVirtualGoodGetLocalArrayWithQuery((query != null ? query.innerQuery : IntPtr.Zero) ,callback);
 }
 private static extern void ApplicasaVirtualGoodsGetVirtualGoodsOfTypeAndCategory(VirtualGoodType type, IntPtr virtualGoodCategory, GetVirtualGoodArrayFinished callback);
 private static extern void ApplicasaVirtualGoodsGetVirtualGoodsOfType(VirtualGoodType type, GetVirtualGoodArrayFinished callback);
 private static extern void ApplicasaVirtualGoodGetLocalArrayWithQuery(IntPtr query, GetVirtualGoodArrayFinished callback);
Beispiel #16
0
 private static extern void ApplicasaVirtualGoodsGetVirtualGoodsOfTypeAndCategory(VirtualGoodType type, IntPtr virtualGoodCategory, GetVirtualGoodArrayFinished callback);
Beispiel #17
0
 public static void GetVirtualGoods(VirtualGoodType type, VirtualGoodCategory virtualGoodCategory, GetVirtualGoodArrayFinished callback)
 {
     ApplicasaVirtualGoodsGetVirtualGoodsOfTypeAndCategory(type, virtualGoodCategory.innerVirtualGoodCategory, callback);
 }
 public static void GetVirtualGoods(VirtualGoodType type, VirtualGoodCategory virtualGoodCategory, GetVirtualGoodArrayFinished callback)
 {
     if(javaUnityApplicasaVirtualGood==null)
         javaUnityApplicasaVirtualGood = new AndroidJavaClass("com.applicasaunity.Unity.ApplicasaVirtualGood");
     int uniqueActionID=Core.currentCallbackID;
     Core.currentCallbackID++;
     setGetVirtualGoodArrayFinished(callback, uniqueActionID);
     javaUnityApplicasaVirtualGood.CallStatic("ApplicasaVirtualGoodsGetVirtualGoodsOfTypeAndCategory", (int)type, virtualGoodCategory.innerVirtualGoodCategoryJavaObject, uniqueActionID);
 }
 public static void GetLocalArrayWithQuery(Query query, GetVirtualGoodArrayFinished callback)
 {
     callback(true, new Error(), new VirtualGoodArray());
 }
Beispiel #20
0
 public static extern void setGetVirtualGoodArrayFinished(GetVirtualGoodArrayFinished callback, int uniqueActionID);
Beispiel #21
0
 public static void GetVirtualGoods(VirtualGoodType type, VirtualGoodCategory virtualGoodCategory, GetVirtualGoodArrayFinished callback)
 {
     callback(true, new Error(), new VirtualGoodArray());
 }
 public static void GetVirtualGoods(VirtualGoodType type, VirtualGoodCategory virtualGoodCategory, GetVirtualGoodArrayFinished callback)
 {
     callback(true, new Error(), new VirtualGoodArray());
 }