Add Discord APKTool decompilation (Smali source for modding)

- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
This commit is contained in:
2026-02-18 16:13:44 -08:00
parent c080f0d97f
commit f3960ee359
44288 changed files with 10998761 additions and 0 deletions

View File

@@ -0,0 +1,359 @@
.class public final enum Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.super Ljava/lang/Enum;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum BILLING_UNAVAILABLE:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum DEVELOPER_ERROR:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum ERROR:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum FEATURE_NOT_SUPPORTED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum ITEM_ALREADY_OWNED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum ITEM_NOT_OWNED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum ITEM_UNAVAILABLE:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum NETWORK_ERROR:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum OK:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum SERVICE_DISCONNECTED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum SERVICE_TIMEOUT:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum SERVICE_UNAVAILABLE:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum UNKNOWN:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.field public static final enum USER_CANCELED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
# instance fields
.field private final _responseCode:I
# direct methods
.method private static synthetic $values()[Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.locals 14
sget-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->UNKNOWN:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v1, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->SERVICE_TIMEOUT:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v2, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->FEATURE_NOT_SUPPORTED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v3, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->SERVICE_DISCONNECTED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v4, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->OK:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v5, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->USER_CANCELED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v6, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->SERVICE_UNAVAILABLE:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v7, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->BILLING_UNAVAILABLE:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v8, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->ITEM_UNAVAILABLE:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v9, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->DEVELOPER_ERROR:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v10, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->ERROR:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v11, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->ITEM_ALREADY_OWNED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v12, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->ITEM_NOT_OWNED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
sget-object v13, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->NETWORK_ERROR:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
filled-new-array/range {v0 .. v13}, [Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
move-result-object v0
return-object v0
.end method
.method static constructor <clinit>()V
.locals 7
.line 6
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const/16 v1, -0x64
const-string v2, "UNKNOWN"
const/4 v3, 0x0
invoke-direct {v0, v2, v3, v1}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->UNKNOWN:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 7
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const/4 v1, -0x3
const-string v2, "SERVICE_TIMEOUT"
const/4 v4, 0x1
invoke-direct {v0, v2, v4, v1}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->SERVICE_TIMEOUT:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 8
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const/4 v1, -0x2
const-string v2, "FEATURE_NOT_SUPPORTED"
const/4 v5, 0x2
invoke-direct {v0, v2, v5, v1}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->FEATURE_NOT_SUPPORTED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 9
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const/4 v1, -0x1
const-string v2, "SERVICE_DISCONNECTED"
const/4 v6, 0x3
invoke-direct {v0, v2, v6, v1}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->SERVICE_DISCONNECTED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 10
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const-string v1, "OK"
const/4 v2, 0x4
invoke-direct {v0, v1, v2, v3}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->OK:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 11
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const-string v1, "USER_CANCELED"
const/4 v3, 0x5
invoke-direct {v0, v1, v3, v4}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->USER_CANCELED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 12
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const-string v1, "SERVICE_UNAVAILABLE"
const/4 v4, 0x6
invoke-direct {v0, v1, v4, v5}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->SERVICE_UNAVAILABLE:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 13
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const-string v1, "BILLING_UNAVAILABLE"
const/4 v5, 0x7
invoke-direct {v0, v1, v5, v6}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->BILLING_UNAVAILABLE:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 14
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const-string v1, "ITEM_UNAVAILABLE"
const/16 v6, 0x8
invoke-direct {v0, v1, v6, v2}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->ITEM_UNAVAILABLE:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 15
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const-string v1, "DEVELOPER_ERROR"
const/16 v2, 0x9
invoke-direct {v0, v1, v2, v3}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->DEVELOPER_ERROR:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 16
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const-string v1, "ERROR"
const/16 v2, 0xa
invoke-direct {v0, v1, v2, v4}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->ERROR:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 17
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const-string v1, "ITEM_ALREADY_OWNED"
const/16 v2, 0xb
invoke-direct {v0, v1, v2, v5}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->ITEM_ALREADY_OWNED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 18
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const-string v1, "ITEM_NOT_OWNED"
const/16 v2, 0xc
invoke-direct {v0, v1, v2, v6}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->ITEM_NOT_OWNED:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 19
new-instance v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
const-string v1, "NETWORK_ERROR"
const/16 v3, 0xd
invoke-direct {v0, v1, v3, v2}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->NETWORK_ERROR:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 5
invoke-static {}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->$values()[Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
move-result-object v0
sput-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->$VALUES:[Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;II)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)V"
}
.end annotation
.line 23
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
iput p3, p0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->_responseCode:I
return-void
.end method
.method public static fromResponseCode(I)Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.locals 5
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 33
invoke-static {}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->values()[Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
move-result-object v0
array-length v1, v0
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_1
aget-object v3, v0, v2
.line 34
invoke-virtual {v3}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->getResponseCode()I
move-result v4
if-ne v4, p0, :cond_0
return-object v3
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
sget-object p0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->UNKNOWN:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
return-object p0
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.locals 1
const-class v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 5
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
return-object p0
.end method
.method public static values()[Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.locals 1
sget-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->$VALUES:[Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.line 5
invoke-virtual {v0}, [Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
return-object v0
.end method
# virtual methods
.method public getResponseCode()I
.locals 1
iget v0, p0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->_responseCode:I
return v0
.end method

View File

@@ -0,0 +1,8 @@
.class public interface abstract Lcom/unity3d/services/store/gpbl/IBillingResponse;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract getOriginalJson()Lorg/json/JSONObject;
.end method

View File

@@ -0,0 +1,226 @@
.class public Lcom/unity3d/services/store/gpbl/StoreBilling;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field private final _billingClientBridge:Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;,
Ljava/lang/NoSuchMethodException;,
Ljava/lang/reflect/InvocationTargetException;,
Ljava/lang/IllegalAccessException;
}
.end annotation
.line 26
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 27
invoke-static {p1}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/BillingClientBuilderFactory;->getBillingClientBuilder(Landroid/content/Context;)Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;
move-result-object p1
.line 28
new-instance v0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;
invoke-direct {v0, p2}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;-><init>(Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;)V
invoke-interface {p1, v0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;->setListener(Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;)Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;
move-result-object p1
.line 29
invoke-interface {p1}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;->enablePendingPurchases()Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;
move-result-object p1
.line 30
invoke-interface {p1}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;->build()Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
move-result-object p1
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/StoreBilling;->_billingClientBridge:Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
return-void
.end method
# virtual methods
.method public getPurchaseHistory(Ljava/lang/String;ILcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/StoreBilling;->_billingClientBridge:Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
.line 68
new-instance v1, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;
invoke-direct {v1, p3, p2}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;-><init>(Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;I)V
invoke-interface {v0, p1, v1}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;->queryPurchaseHistoryAsync(Ljava/lang/String;Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;)V
return-void
.end method
.method public getPurchases(Ljava/lang/String;Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/StoreBilling;->_billingClientBridge:Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
.line 58
new-instance v1, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;
invoke-direct {v1, p2}, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;-><init>(Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;)V
invoke-interface {v0, p1, v1}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;->queryPurchasesAsync(Ljava/lang/String;Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;)V
return-void
.end method
.method public getSkuDetails(Ljava/lang/String;Ljava/util/List;Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/List<",
"Ljava/lang/String;",
">;",
"Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;",
")V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;,
Ljava/lang/NoSuchMethodException;,
Ljava/lang/IllegalAccessException;,
Ljava/lang/reflect/InvocationTargetException;
}
.end annotation
.line 62
invoke-static {}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;->newBuilder()Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;
move-result-object v0
.line 63
invoke-virtual {v0, p2}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;->setSkuList(Ljava/util/List;)Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;
move-result-object p2
invoke-virtual {p2, p1}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;->setType(Ljava/lang/String;)Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;
move-result-object p1
invoke-virtual {p1}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;->build()Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;
move-result-object p1
iget-object p2, p0, Lcom/unity3d/services/store/gpbl/StoreBilling;->_billingClientBridge:Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
.line 64
new-instance v0, Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;
invoke-direct {v0, p3}, Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;-><init>(Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;)V
invoke-interface {p2, p1, v0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;->querySkuDetailsAsync(Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;)V
return-void
.end method
.method public initialize(Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/StoreBilling;->_billingClientBridge:Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
.line 34
new-instance v1, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;
invoke-direct {v1, p1}, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;-><init>(Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;)V
invoke-interface {v0, v1}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;->startConnection(Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;)V
return-void
.end method
.method public isFeatureSupported(Ljava/lang/String;)I
.locals 1
const-string v0, "inapp"
.line 45
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object p1, p0, Lcom/unity3d/services/store/gpbl/StoreBilling;->_billingClientBridge:Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
.line 47
invoke-interface {p1}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;->isReady()Z
move-result p1
if-eqz p1, :cond_2
goto :goto_0
:cond_0
const-string v0, "subs"
.line 49
invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
const-string p1, "subscriptions"
:cond_1
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/StoreBilling;->_billingClientBridge:Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
.line 52
invoke-interface {v0, p1}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;->isFeatureSupported(Ljava/lang/String;)Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
move-result-object p1
sget-object v0, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->OK:Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
if-ne p1, v0, :cond_2
:goto_0
const/4 p1, 0x0
goto :goto_1
:cond_2
const/4 p1, -0x1
:goto_1
return p1
.end method

View File

@@ -0,0 +1,44 @@
.class Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge$1;
.super Ljava/util/HashMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 2
.line 15
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/Class;
const-string v1, "getResponseCode"
.line 16
invoke-virtual {p0, v1, v0}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,70 @@
.class public Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
.super Lcom/unity3d/services/core/reflection/GenericBridge;
.source "SourceFile"
# static fields
.field private static final getResponseCodeMethodName:Ljava/lang/String; = "getResponseCode"
# instance fields
.field private final _billingResult:Ljava/lang/Object;
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 1
.line 15
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge$1;
invoke-direct {v0}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge$1;-><init>()V
invoke-direct {p0, v0}, Lcom/unity3d/services/core/reflection/GenericBridge;-><init>(Ljava/util/Map;)V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;->_billingResult:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public getClassName()Ljava/lang/String;
.locals 1
const-string v0, "com.android.billingclient.api.BillingResult"
return-object v0
.end method
.method public getResponseCode()Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.locals 3
.annotation build Landroidx/annotation/NonNull;
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;->_billingResult:Ljava/lang/Object;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
const-string v2, "getResponseCode"
.line 28
invoke-virtual {p0, v2, v0, v1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
.line 29
invoke-static {v0}, Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;->fromResponseCode(I)Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,44 @@
.class Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge$1;
.super Ljava/util/HashMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;->appendCommonResponseMethods(Ljava/util/Map;)Ljava/util/Map;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 2
.line 28
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/Class;
const-string v1, "getOriginalJson"
.line 29
invoke-virtual {p0, v1, v0}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,147 @@
.class public abstract Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;
.super Lcom/unity3d/services/core/reflection/GenericBridge;
.source "SourceFile"
# interfaces
.implements Lcom/unity3d/services/store/gpbl/IBillingResponse;
.implements Lcom/unity3d/services/store/JsonSerializable;
# static fields
.field private static final getOriginalJsonMethodName:Ljava/lang/String; = "getOriginalJson"
# instance fields
.field private final _internalBridgeRef:Ljava/lang/Object;
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 1
.line 19
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
invoke-direct {p0, p1, v0}, Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;-><init>(Ljava/lang/Object;Ljava/util/Map;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/Object;Ljava/util/Map;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;)V"
}
.end annotation
.line 23
invoke-static {p2}, Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;->appendCommonResponseMethods(Ljava/util/Map;)Ljava/util/Map;
move-result-object p2
invoke-direct {p0, p2}, Lcom/unity3d/services/core/reflection/GenericBridge;-><init>(Ljava/util/Map;)V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;->_internalBridgeRef:Ljava/lang/Object;
return-void
.end method
.method private static appendCommonResponseMethods(Ljava/util/Map;)Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;)",
"Ljava/util/Map<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
.line 28
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge$1;
invoke-direct {v0}, Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge$1;-><init>()V
invoke-interface {p0, v0}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
return-object p0
.end method
# virtual methods
.method public getOriginalJson()Lorg/json/JSONObject;
.locals 3
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;->_internalBridgeRef:Ljava/lang/Object;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
const-string v2, "getOriginalJson"
.line 36
invoke-virtual {p0, v2, v0, v1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
.line 39
:try_start_0
new-instance v1, Lorg/json/JSONObject;
invoke-direct {v1, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 41
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
filled-new-array {v0}, [Ljava/lang/Object;
move-result-object v0
const-string v1, "Couldn\'t parse BillingResponse JSON : %s"
invoke-static {v1, v0}, Lcom/unity3d/services/core/log/DeviceLog;->error(Ljava/lang/String;[Ljava/lang/Object;)V
const/4 v1, 0x0
:goto_0
return-object v1
.end method
.method public toJson()Lorg/json/JSONObject;
.locals 1
.line 48
invoke-virtual {p0}, Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;->getOriginalJson()Lorg/json/JSONObject;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,44 @@
.class Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge$1;
.super Ljava/util/HashMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;-><init>(Ljava/lang/Object;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 2
.line 16
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/Class;
const-string v1, "getSignature"
.line 17
invoke-virtual {p0, v1, v0}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,110 @@
.class public Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;
.super Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;
.source "SourceFile"
# static fields
.field private static final getSignatureMethodName:Ljava/lang/String; = "getSignature"
# instance fields
.field private final _purchase:Ljava/lang/Object;
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 1
.line 16
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge$1;
invoke-direct {v0}, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge$1;-><init>()V
invoke-direct {p0, p1, v0}, Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;-><init>(Ljava/lang/Object;Ljava/util/Map;)V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;->_purchase:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public getClassName()Ljava/lang/String;
.locals 1
const-string v0, "com.android.billingclient.api.Purchase"
return-object v0
.end method
.method public getSignature()Ljava/lang/String;
.locals 3
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;->_purchase:Ljava/lang/Object;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
const-string v2, "getSignature"
.line 28
invoke-virtual {p0, v2, v0, v1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
return-object v0
.end method
.method public toJson()Lorg/json/JSONObject;
.locals 3
.line 32
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
:try_start_0
const-string v1, "purchaseData"
.line 34
invoke-virtual {p0}, Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;->getOriginalJson()Lorg/json/JSONObject;
move-result-object v2
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "signature"
.line 35
invoke-virtual {p0}, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;->getSignature()Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v1
.line 37
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v1
filled-new-array {v1}, [Ljava/lang/Object;
move-result-object v1
const-string v2, "Could not build Purchase result Json: "
invoke-static {v2, v1}, Lcom/unity3d/services/core/log/DeviceLog;->warning(Ljava/lang/String;[Ljava/lang/Object;)V
:goto_0
return-object v0
.end method

View File

@@ -0,0 +1,24 @@
.class public Lcom/unity3d/services/store/gpbl/bridges/PurchaseHistoryRecordBridge;
.super Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;
.source "SourceFile"
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 0
.line 6
invoke-direct {p0, p1}, Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;-><init>(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public getClassName()Ljava/lang/String;
.locals 1
const-string v0, "com.android.billingclient.api.PurchaseHistoryRecord"
return-object v0
.end method

View File

@@ -0,0 +1,51 @@
.class Lcom/unity3d/services/store/gpbl/bridges/PurchasesResultBridge$1;
.super Ljava/util/HashMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/store/gpbl/bridges/PurchasesResultBridge;-><init>(Ljava/lang/Object;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 3
.line 16
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
const/4 v0, 0x0
new-array v1, v0, [Ljava/lang/Class;
const-string v2, "getBillingResult"
.line 17
invoke-virtual {p0, v2, v1}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1, "getPurchasesList"
new-array v0, v0, [Ljava/lang/Class;
.line 18
invoke-virtual {p0, v1, v0}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,125 @@
.class public Lcom/unity3d/services/store/gpbl/bridges/PurchasesResultBridge;
.super Lcom/unity3d/services/core/reflection/GenericBridge;
.source "SourceFile"
# static fields
.field private static final getBillingResultMethodName:Ljava/lang/String; = "getBillingResult"
.field private static final getPurchasesListMethodName:Ljava/lang/String; = "getPurchasesList"
# instance fields
.field private final _purchasesResult:Ljava/lang/Object;
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 1
.line 16
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/PurchasesResultBridge$1;
invoke-direct {v0}, Lcom/unity3d/services/store/gpbl/bridges/PurchasesResultBridge$1;-><init>()V
invoke-direct {p0, v0}, Lcom/unity3d/services/core/reflection/GenericBridge;-><init>(Ljava/util/Map;)V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/bridges/PurchasesResultBridge;->_purchasesResult:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public getBillingResult()Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
.locals 4
.line 29
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
iget-object v1, p0, Lcom/unity3d/services/store/gpbl/bridges/PurchasesResultBridge;->_purchasesResult:Ljava/lang/Object;
const/4 v2, 0x0
new-array v2, v2, [Ljava/lang/Object;
const-string v3, "getBillingResult"
invoke-virtual {p0, v3, v1, v2}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
invoke-direct {v0, v1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
return-object v0
.end method
.method public getClassName()Ljava/lang/String;
.locals 1
const-string v0, "com.android.billingclient.api.Purchase$PurchasesResult"
return-object v0
.end method
.method public getPurchasesList()Ljava/util/List;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/PurchasesResultBridge;->_purchasesResult:Ljava/lang/Object;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
const-string v2, "getPurchasesList"
.line 33
invoke-virtual {p0, v2, v0, v1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/List;
.line 34
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
if-eqz v0, :cond_0
.line 36
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
.line 37
new-instance v3, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;
invoke-direct {v3, v2}, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
return-object v1
.end method

View File

@@ -0,0 +1,24 @@
.class public Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsBridge;
.super Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;
.source "SourceFile"
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 0
.line 6
invoke-direct {p0, p1}, Lcom/unity3d/services/store/gpbl/bridges/CommonJsonResponseBridge;-><init>(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public getClassName()Ljava/lang/String;
.locals 1
const-string v0, "com.android.billingclient.api.SkuDetails"
return-object v0
.end method

View File

@@ -0,0 +1,44 @@
.class Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$1;
.super Ljava/util/HashMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 2
.line 15
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/Class;
const-string v1, "newBuilder"
.line 16
invoke-virtual {p0, v1, v0}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,44 @@
.class Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$2;
.super Ljava/util/HashMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;-><init>(Ljava/lang/Object;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 2
.line 25
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/Class;
const-string v1, "newBuilder"
.line 26
invoke-virtual {p0, v1, v0}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,68 @@
.class Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge$1;
.super Ljava/util/HashMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;-><init>(Ljava/lang/Object;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 4
.line 57
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
const/4 v0, 0x0
new-array v1, v0, [Ljava/lang/Class;
const-string v2, "build"
.line 58
invoke-virtual {p0, v2, v1}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const/4 v1, 0x1
new-array v2, v1, [Ljava/lang/Class;
const-class v3, Ljava/util/List;
aput-object v3, v2, v0
const-string v3, "setSkusList"
.line 59
invoke-virtual {p0, v3, v2}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
new-array v1, v1, [Ljava/lang/Class;
const-class v2, Ljava/lang/String;
aput-object v2, v1, v0
const-string v0, "setType"
.line 60
invoke-virtual {p0, v0, v1}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,135 @@
.class public Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;
.super Lcom/unity3d/services/core/reflection/GenericBridge;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "BuilderBridge"
.end annotation
# static fields
.field private static final buildMethodName:Ljava/lang/String; = "build"
.field private static final setSkusListMethodName:Ljava/lang/String; = "setSkusList"
.field private static final setTypeMethodName:Ljava/lang/String; = "setType"
# instance fields
.field private _skuDetailsParamsBuilderInternalInstance:Ljava/lang/Object;
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 1
.line 57
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge$1;
invoke-direct {v0}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge$1;-><init>()V
invoke-direct {p0, v0}, Lcom/unity3d/services/core/reflection/GenericBridge;-><init>(Ljava/util/Map;)V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;->_skuDetailsParamsBuilderInternalInstance:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public build()Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/NoSuchMethodException;,
Ljava/lang/reflect/InvocationTargetException;,
Ljava/lang/IllegalAccessException;,
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 81
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;
iget-object v1, p0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;->_skuDetailsParamsBuilderInternalInstance:Ljava/lang/Object;
const/4 v2, 0x0
new-array v2, v2, [Ljava/lang/Object;
const-string v3, "build"
invoke-virtual {p0, v3, v1, v2}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
invoke-direct {v0, v1}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;-><init>(Ljava/lang/Object;)V
return-object v0
.end method
.method public getClassName()Ljava/lang/String;
.locals 1
const-string v0, "com.android.billingclient.api.SkuDetailsParams$Builder"
return-object v0
.end method
.method public setSkuList(Ljava/util/List;)Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;)",
"Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;"
}
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;->_skuDetailsParamsBuilderInternalInstance:Ljava/lang/Object;
filled-new-array {p1}, [Ljava/lang/Object;
move-result-object p1
const-string v1, "setSkusList"
.line 71
invoke-virtual {p0, v1, v0, p1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;->_skuDetailsParamsBuilderInternalInstance:Ljava/lang/Object;
return-object p0
.end method
.method public setType(Ljava/lang/String;)Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;
.locals 2
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;->_skuDetailsParamsBuilderInternalInstance:Ljava/lang/Object;
filled-new-array {p1}, [Ljava/lang/Object;
move-result-object p1
const-string v1, "setType"
.line 76
invoke-virtual {p0, v1, v0, p1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;->_skuDetailsParamsBuilderInternalInstance:Ljava/lang/Object;
return-object p0
.end method

View File

@@ -0,0 +1,168 @@
.class public Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;
.super Lcom/unity3d/services/core/reflection/GenericBridge;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;
}
.end annotation
# static fields
.field private static final newBuilderMethodName:Ljava/lang/String; = "newBuilder"
.field private static final staticMethods:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
.end field
# instance fields
.field private final _skuDetailsParamsInternalInstance:Ljava/lang/Object;
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 15
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$1;
invoke-direct {v0}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$1;-><init>()V
sput-object v0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;->staticMethods:Ljava/util/Map;
return-void
.end method
.method public constructor <init>(Ljava/lang/Object;)V
.locals 1
.line 25
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$2;
invoke-direct {v0}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$2;-><init>()V
invoke-direct {p0, v0}, Lcom/unity3d/services/core/reflection/GenericBridge;-><init>(Ljava/util/Map;)V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;->_skuDetailsParamsInternalInstance:Ljava/lang/Object;
return-void
.end method
.method public static varargs callNonVoidStaticMethod(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;,
Ljava/lang/reflect/InvocationTargetException;,
Ljava/lang/IllegalAccessException;,
Ljava/lang/NoSuchMethodException;
}
.end annotation
.line 41
invoke-static {}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;->getClassForBridge()Ljava/lang/Class;
move-result-object v0
sget-object v1, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;->staticMethods:Ljava/util/Map;
invoke-interface {v1, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, [Ljava/lang/Class;
invoke-virtual {v0, p0, v1}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object p0
const/4 v0, 0x0
.line 42
invoke-virtual {p0, v0, p1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static getClassForBridge()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/SkuDetailsParams;
return-object v0
.end method
.method public static newBuilder()Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/NoSuchMethodException;,
Ljava/lang/reflect/InvocationTargetException;,
Ljava/lang/IllegalAccessException;,
Ljava/lang/ClassNotFoundException;
}
.end annotation
const/4 v0, 0x0
new-array v0, v0, [Ljava/lang/Object;
const-string v1, "newBuilder"
.line 36
invoke-static {v1, v0}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;->callNonVoidStaticMethod(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
.line 37
new-instance v1, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;
invoke-direct {v1, v0}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge$BuilderBridge;-><init>(Ljava/lang/Object;)V
return-object v1
.end method
# virtual methods
.method public getClassName()Ljava/lang/String;
.locals 1
const-string v0, "com.android.billingclient.api.SkuDetailsParams"
return-object v0
.end method
.method public getInternalInstance()Ljava/lang/Object;
.locals 1
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;->_skuDetailsParamsInternalInstance:Ljava/lang/Object;
return-object v0
.end method

View File

@@ -0,0 +1,33 @@
.class public Lcom/unity3d/services/store/gpbl/bridges/billingclient/BillingClientBuilderFactory;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public constructor <init>()V
.locals 0
.line 7
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getBillingClientBuilder(Landroid/content/Context;)Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;,
Ljava/lang/NoSuchMethodException;,
Ljava/lang/IllegalAccessException;,
Ljava/lang/reflect/InvocationTargetException;
}
.end annotation
.line 9
invoke-static {p0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge;->newBuilder(Landroid/content/Context;)Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge$BuilderBridge;
move-result-object p0
return-object p0
.end method

View File

@@ -0,0 +1,43 @@
.class public interface abstract Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract isFeatureSupported(Ljava/lang/String;)Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.end method
.method public abstract isReady()Z
.end method
.method public abstract queryPurchaseHistoryAsync(Ljava/lang/String;Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.end method
.method public abstract queryPurchasesAsync(Ljava/lang/String;Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.end method
.method public abstract querySkuDetailsAsync(Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.end method
.method public abstract startConnection(Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;)V
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.end method

View File

@@ -0,0 +1,27 @@
.class public interface abstract Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract build()Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.end method
.method public abstract enablePendingPurchases()Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;
.end method
.method public abstract setListener(Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;)Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;,
Ljava/lang/NoSuchMethodException;,
Ljava/lang/reflect/InvocationTargetException;,
Ljava/lang/IllegalAccessException;
}
.end annotation
.end method

View File

@@ -0,0 +1,50 @@
.class Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon$1;
.super Ljava/util/HashMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 3
.line 29
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
const/4 v0, 0x1
new-array v0, v0, [Ljava/lang/Class;
const/4 v1, 0x0
const-class v2, Landroid/content/Context;
aput-object v2, v0, v1
const-string v1, "newBuilder"
.line 30
invoke-virtual {p0, v1, v0}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,129 @@
.class Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon$2;
.super Ljava/util/HashMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->appendFunctionAnParameters(Ljava/util/Map;)Ljava/util/Map;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 39
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
const/4 v0, 0x1
new-array v1, v0, [Ljava/lang/Class;
const-class v2, Landroid/content/Context;
const/4 v3, 0x0
aput-object v2, v1, v3
const-string v2, "newBuilder"
.line 40
invoke-virtual {p0, v2, v1}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
new-array v1, v0, [Ljava/lang/Class;
.line 41
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v2
aput-object v2, v1, v3
const-string v2, "startConnection"
invoke-virtual {p0, v2, v1}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string v1, "endConnection"
new-array v2, v3, [Ljava/lang/Class;
.line 42
invoke-virtual {p0, v1, v2}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const/4 v1, 0x2
new-array v2, v1, [Ljava/lang/Class;
.line 43
invoke-static {}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;->getClassForBridge()Ljava/lang/Class;
move-result-object v4
aput-object v4, v2, v3
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v4
aput-object v4, v2, v0
const-string v4, "querySkuDetailsAsync"
invoke-virtual {p0, v4, v2}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
new-array v1, v1, [Ljava/lang/Class;
const-class v2, Ljava/lang/String;
aput-object v2, v1, v3
.line 44
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v4
aput-object v4, v1, v0
const-string v4, "queryPurchaseHistoryAsync"
invoke-virtual {p0, v4, v1}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
new-array v0, v0, [Ljava/lang/Class;
aput-object v2, v0, v3
const-string v1, "isFeatureSupported"
.line 45
invoke-virtual {p0, v1, v0}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string v0, "isReady"
new-array v1, v3, [Ljava/lang/Class;
.line 46
invoke-virtual {p0, v0, v1}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,341 @@
.class public abstract Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;
.super Lcom/unity3d/services/core/reflection/GenericBridge;
.source "SourceFile"
# interfaces
.implements Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
# static fields
.field protected static final endConnectionMethodName:Ljava/lang/String; = "endConnection"
.field protected static final isFeatureSupportedMethodName:Ljava/lang/String; = "isFeatureSupported"
.field protected static final isReadyMethodName:Ljava/lang/String; = "isReady"
.field protected static final newBuilderMethodName:Ljava/lang/String; = "newBuilder"
.field protected static final queryPurchaseHistoryAsyncMethodName:Ljava/lang/String; = "queryPurchaseHistoryAsync"
.field protected static final querySkuDetailsAsyncMethodName:Ljava/lang/String; = "querySkuDetailsAsync"
.field protected static final startConnectionMethodName:Ljava/lang/String; = "startConnection"
.field private static final staticMethods:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
.end field
# instance fields
.field protected final _billingClientInternalInstance:Ljava/lang/Object;
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 29
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon$1;
invoke-direct {v0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon$1;-><init>()V
sput-object v0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->staticMethods:Ljava/util/Map;
return-void
.end method
.method public constructor <init>(Ljava/lang/Object;Ljava/util/Map;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/Map<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;)V"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 34
invoke-static {p2}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->appendFunctionAnParameters(Ljava/util/Map;)Ljava/util/Map;
move-result-object p2
invoke-direct {p0, p2}, Lcom/unity3d/services/core/reflection/GenericBridge;-><init>(Ljava/util/Map;)V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->_billingClientInternalInstance:Ljava/lang/Object;
return-void
.end method
.method private static appendFunctionAnParameters(Ljava/util/Map;)Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;)",
"Ljava/util/Map<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 39
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon$2;
invoke-direct {v0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon$2;-><init>()V
invoke-interface {p0, v0}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
return-object p0
.end method
.method public static varargs callNonVoidStaticMethod(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;,
Ljava/lang/reflect/InvocationTargetException;,
Ljava/lang/IllegalAccessException;,
Ljava/lang/NoSuchMethodException;
}
.end annotation
.line 92
invoke-static {}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->getClassForBridge()Ljava/lang/Class;
move-result-object v0
sget-object v1, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->staticMethods:Ljava/util/Map;
invoke-interface {v1, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, [Ljava/lang/Class;
invoke-virtual {v0, p0, v1}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object p0
const/4 v0, 0x0
.line 93
invoke-virtual {p0, v0, p1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
return-object p0
.end method
.method public static getClassForBridge()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/BillingClient;
return-object v0
.end method
# virtual methods
.method public endConnection()V
.locals 3
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->_billingClientInternalInstance:Ljava/lang/Object;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
const-string v2, "endConnection"
.line 66
invoke-virtual {p0, v2, v0, v1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
return-void
.end method
.method public getClassName()Ljava/lang/String;
.locals 1
const-string v0, "com.android.billingclient.api.BillingClient"
return-object v0
.end method
.method public isFeatureSupported(Ljava/lang/String;)Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
.locals 2
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->_billingClientInternalInstance:Ljava/lang/Object;
filled-new-array {p1}, [Ljava/lang/Object;
move-result-object p1
const-string v1, "isFeatureSupported"
.line 71
invoke-virtual {p0, v1, v0, p1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
.line 72
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
invoke-direct {v0, p1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
.line 73
invoke-virtual {v0}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;->getResponseCode()Lcom/unity3d/services/store/gpbl/BillingResultResponseCode;
move-result-object p1
return-object p1
.end method
.method public isReady()Z
.locals 3
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->_billingClientInternalInstance:Ljava/lang/Object;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
const-string v2, "isReady"
.line 78
invoke-virtual {p0, v2, v0, v1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Boolean;
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
return v0
.end method
.method public queryPurchaseHistoryAsync(Ljava/lang/String;Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->_billingClientInternalInstance:Ljava/lang/Object;
.line 88
invoke-virtual {p2}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->getProxyInstance()Ljava/lang/Object;
move-result-object p2
filled-new-array {p1, p2}, [Ljava/lang/Object;
move-result-object p1
const-string p2, "queryPurchaseHistoryAsync"
invoke-virtual {p0, p2, v0, p1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
return-void
.end method
.method public querySkuDetailsAsync(Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->_billingClientInternalInstance:Ljava/lang/Object;
.line 83
invoke-virtual {p1}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsParamsBridge;->getInternalInstance()Ljava/lang/Object;
move-result-object p1
invoke-virtual {p2}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->getProxyInstance()Ljava/lang/Object;
move-result-object p2
filled-new-array {p1, p2}, [Ljava/lang/Object;
move-result-object p1
const-string p2, "querySkuDetailsAsync"
invoke-virtual {p0, p2, v0, p1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
return-void
.end method
.method public startConnection(Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->_billingClientInternalInstance:Ljava/lang/Object;
.line 62
invoke-virtual {p1}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->getProxyInstance()Ljava/lang/Object;
move-result-object p1
filled-new-array {p1}, [Ljava/lang/Object;
move-result-object p1
const-string v1, "startConnection"
invoke-virtual {p0, v1, v0, p1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
return-void
.end method

View File

@@ -0,0 +1,71 @@
.class Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon$1;
.super Ljava/util/HashMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon;-><init>(Ljava/lang/Object;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 18
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
const/4 v0, 0x1
new-array v0, v0, [Ljava/lang/Class;
.line 19
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v1
const/4 v2, 0x0
aput-object v1, v0, v2
const-string v1, "setListener"
invoke-virtual {p0, v1, v0}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string v0, "enablePendingPurchases"
new-array v1, v2, [Ljava/lang/Class;
.line 20
invoke-virtual {p0, v0, v1}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
const-string v0, "build"
new-array v1, v2, [Ljava/lang/Class;
.line 21
invoke-virtual {p0, v0, v1}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,104 @@
.class public abstract Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon;
.super Lcom/unity3d/services/core/reflection/GenericBridge;
.source "SourceFile"
# interfaces
.implements Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;
# static fields
.field protected static final buildMethodName:Ljava/lang/String; = "build"
.field private static final enablePendingPurchasesMethodName:Ljava/lang/String; = "enablePendingPurchases"
.field private static final setListenerMethodName:Ljava/lang/String; = "setListener"
# instance fields
.field protected _billingClientBuilderInternalInstance:Ljava/lang/Object;
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 18
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon$1;
invoke-direct {v0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon$1;-><init>()V
invoke-direct {p0, v0}, Lcom/unity3d/services/core/reflection/GenericBridge;-><init>(Ljava/util/Map;)V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon;->_billingClientBuilderInternalInstance:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public enablePendingPurchases()Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;
.locals 3
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon;->_billingClientBuilderInternalInstance:Ljava/lang/Object;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
const-string v2, "enablePendingPurchases"
.line 39
invoke-virtual {p0, v2, v0, v1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
iput-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon;->_billingClientBuilderInternalInstance:Ljava/lang/Object;
return-object p0
.end method
.method public getClassName()Ljava/lang/String;
.locals 1
const-string v0, "com.android.billingclient.api.BillingClient$Builder"
return-object v0
.end method
.method public setListener(Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;)Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClientBuilderBridge;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;,
Ljava/lang/NoSuchMethodException;,
Ljava/lang/reflect/InvocationTargetException;,
Ljava/lang/IllegalAccessException;
}
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon;->_billingClientBuilderInternalInstance:Ljava/lang/Object;
.line 33
invoke-virtual {p1}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->getProxyInstance()Ljava/lang/Object;
move-result-object p1
filled-new-array {p1}, [Ljava/lang/Object;
move-result-object p1
const-string v1, "setListener"
invoke-virtual {p0, v1, v0, p1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon;->_billingClientBuilderInternalInstance:Ljava/lang/Object;
return-object p0
.end method

View File

@@ -0,0 +1,63 @@
.class Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge$1;
.super Ljava/util/HashMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge;-><init>(Ljava/lang/Object;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"[",
"Ljava/lang/Class<",
"*>;>;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 17
invoke-direct {p0}, Ljava/util/HashMap;-><init>()V
const/4 v0, 0x2
new-array v0, v0, [Ljava/lang/Class;
const/4 v1, 0x0
const-class v2, Ljava/lang/String;
aput-object v2, v0, v1
const/4 v1, 0x1
.line 18
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v2
aput-object v2, v0, v1
const-string v1, "queryPurchasesAsync"
invoke-virtual {p0, v1, v0}, Ljava/util/AbstractMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return-void
.end method

View File

@@ -0,0 +1,77 @@
.class public Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge$BuilderBridge;
.super Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "BuilderBridge"
.end annotation
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 47
invoke-direct {p0, p1}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon;-><init>(Ljava/lang/Object;)V
return-void
.end method
# virtual methods
.method public bridge synthetic build()Lcom/unity3d/services/store/gpbl/bridges/billingclient/IBillingClient;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 44
invoke-virtual {p0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge$BuilderBridge;->build()Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;
move-result-object v0
return-object v0
.end method
.method public build()Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBuilderBridgeCommon;->_billingClientBuilderInternalInstance:Ljava/lang/Object;
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
const-string v2, "build"
.line 51
invoke-virtual {p0, v2, v0, v1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callNonVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
.line 52
new-instance v1, Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge;
invoke-direct {v1, v0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge;-><init>(Ljava/lang/Object;)V
return-object v1
.end method

View File

@@ -0,0 +1,134 @@
.class public Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge;
.super Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge$BuilderBridge;
}
.end annotation
# static fields
.field private static final queryPurchasesAsyncMethodName:Ljava/lang/String; = "queryPurchasesAsync"
# direct methods
.method public constructor <init>(Ljava/lang/Object;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 17
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge$1;
invoke-direct {v0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge$1;-><init>()V
invoke-direct {p0, p1, v0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;-><init>(Ljava/lang/Object;Ljava/util/Map;)V
return-void
.end method
.method public static isAvailable()Z
.locals 6
const/4 v0, 0x0
.line 30
:try_start_0
invoke-static {}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->getClassForBridge()Ljava/lang/Class;
move-result-object v1
const-string v2, "queryPurchasesAsync"
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Class;
const-class v4, Ljava/lang/String;
aput-object v4, v3, v0
.line 31
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v4
const/4 v5, 0x1
aput-object v4, v3, v5
invoke-virtual {v1, v2, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
:try_end_0
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
move v0, v5
:catch_0
return v0
.end method
.method public static newBuilder(Landroid/content/Context;)Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge$BuilderBridge;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/NoSuchMethodException;,
Ljava/lang/reflect/InvocationTargetException;,
Ljava/lang/IllegalAccessException;,
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-string v0, "newBuilder"
filled-new-array {p0}, [Ljava/lang/Object;
move-result-object p0
.line 40
invoke-static {v0, p0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->callNonVoidStaticMethod(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
.line 41
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge$BuilderBridge;
invoke-direct {v0, p0}, Lcom/unity3d/services/store/gpbl/bridges/billingclient/v4/BillingClientBridge$BuilderBridge;-><init>(Ljava/lang/Object;)V
return-object v0
.end method
# virtual methods
.method public queryPurchasesAsync(Ljava/lang/String;Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/bridges/billingclient/common/BillingClientBridgeCommon;->_billingClientInternalInstance:Ljava/lang/Object;
.line 24
invoke-virtual {p2}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->getProxyInstance()Ljava/lang/Object;
move-result-object p2
filled-new-array {p1, p2}, [Ljava/lang/Object;
move-result-object p1
const-string p2, "queryPurchasesAsync"
invoke-virtual {p0, p2, v0, p1}, Lcom/unity3d/services/core/reflection/GenericBridge;->callVoidMethod(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
return-void
.end method

View File

@@ -0,0 +1,11 @@
.class public interface abstract Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract onBillingServiceDisconnected()V
.end method
.method public abstract onBillingSetupFinished(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;)V
.end method

View File

@@ -0,0 +1,12 @@
.class public interface abstract Lcom/unity3d/services/store/gpbl/listeners/BillingInitializationListener;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;
.implements Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;
# virtual methods
.method public abstract onIsAlreadyInitialized()V
.end method

View File

@@ -0,0 +1,8 @@
.class public interface abstract Lcom/unity3d/services/store/gpbl/listeners/FeatureSupportedListener;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract onFeatureSupported(I)V
.end method

View File

@@ -0,0 +1,18 @@
.class public interface abstract Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract onPurchaseHistoryUpdated(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;",
"Ljava/util/List<",
"+",
"Lcom/unity3d/services/store/gpbl/bridges/PurchaseHistoryRecordBridge;",
">;)V"
}
.end annotation
.end method

View File

@@ -0,0 +1,18 @@
.class public interface abstract Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract onPurchaseUpdated(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;",
"Ljava/util/List<",
"+",
"Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;",
">;)V"
}
.end annotation
.end method

View File

@@ -0,0 +1,18 @@
.class public interface abstract Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract onPurchaseResponse(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;",
"Ljava/util/List<",
"+",
"Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;",
">;)V"
}
.end annotation
.end method

View File

@@ -0,0 +1,18 @@
.class public interface abstract Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract onSkuDetailsUpdated(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;",
"Ljava/util/List<",
"+",
"Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsBridge;",
">;)V"
}
.end annotation
.end method

View File

@@ -0,0 +1,16 @@
.class public interface abstract Lcom/unity3d/services/store/gpbl/listeners/StoreEventListener;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;
.implements Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;
.implements Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
.implements Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;
.implements Lcom/unity3d/services/store/gpbl/listeners/FeatureSupportedListener;
.implements Lcom/unity3d/services/store/gpbl/listeners/BillingInitializationListener;
# virtual methods
.method public abstract getOperationId()I
.end method

View File

@@ -0,0 +1,173 @@
.class public Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;
.super Lcom/unity3d/services/core/reflection/GenericListenerProxy;
.source "SourceFile"
# static fields
.field private static onBillingServiceDisconnectedMethodName:Ljava/lang/String; = "onBillingServiceDisconnected"
.field private static onBillingSetupFinishedMethodName:Ljava/lang/String; = "onBillingSetupFinished"
# instance fields
.field private billingClientStateListener:Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;
# direct methods
.method static constructor <clinit>()V
.locals 0
return-void
.end method
.method public constructor <init>(Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;)V
.locals 0
.line 15
invoke-direct {p0}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->billingClientStateListener:Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;
return-void
.end method
.method public static getProxyListenerClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/BillingClientStateListener;
return-object v0
.end method
.method private onBillingServiceDisconnected()V
.locals 1
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->billingClientStateListener:Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;
if-eqz v0, :cond_0
.line 49
invoke-interface {v0}, Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;->onBillingServiceDisconnected()V
:cond_0
return-void
.end method
.method private onBillingSetupFinished(Ljava/lang/Object;)V
.locals 2
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->billingClientStateListener:Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;
if-eqz v0, :cond_0
.line 43
new-instance v1, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
invoke-direct {v1, p1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {v0, v1}, Lcom/unity3d/services/store/gpbl/listeners/BillingClientStateListener;->onBillingSetupFinished(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;)V
:cond_0
return-void
.end method
# virtual methods
.method public getProxyClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 21
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v0
return-object v0
.end method
.method public invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 31
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
sget-object v1, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->onBillingSetupFinishedMethodName:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 32
aget-object p1, p3, p1
invoke-direct {p0, p1}, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->onBillingSetupFinished(Ljava/lang/Object;)V
goto :goto_0
.line 33
:cond_0
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
sget-object v1, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->onBillingServiceDisconnectedMethodName:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1
.line 34
invoke-direct {p0}, Lcom/unity3d/services/store/gpbl/proxies/BillingClientStateListenerProxy;->onBillingServiceDisconnected()V
:goto_0
const/4 p1, 0x0
goto :goto_1
.line 36
:cond_1
invoke-super {p0, p1, p2, p3}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_1
return-object p1
.end method

View File

@@ -0,0 +1,190 @@
.class public Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;
.super Lcom/unity3d/services/core/reflection/GenericListenerProxy;
.source "SourceFile"
# static fields
.field private static final onPurchaseHistoryResponseMethodName:Ljava/lang/String; = "onPurchaseHistoryResponse"
# instance fields
.field private _maxPurchases:I
.field private purchaseHistoryResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;I)V
.locals 0
.line 17
invoke-direct {p0}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->purchaseHistoryResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;
iput p2, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->_maxPurchases:I
return-void
.end method
.method public static getProxyListenerClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/PurchaseHistoryResponseListener;
return-object v0
.end method
# virtual methods
.method public getProxyClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 24
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v0
return-object v0
.end method
.method public invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 33
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
const-string v1, "onPurchaseHistoryResponse"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 34
aget-object p1, p3, p1
const/4 p2, 0x1
aget-object p2, p3, p2
check-cast p2, Ljava/util/List;
invoke-virtual {p0, p1, p2}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->onPurchaseHistoryResponse(Ljava/lang/Object;Ljava/util/List;)V
const/4 p1, 0x0
goto :goto_0
.line 36
:cond_0
invoke-super {p0, p1, p2, p3}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_0
return-object p1
.end method
.method public onPurchaseHistoryResponse(Ljava/lang/Object;Ljava/util/List;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/List<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
if-eqz p2, :cond_0
.line 45
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
const/4 v1, 0x0
:goto_0
iget v2, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->_maxPurchases:I
if-ge v1, v2, :cond_1
.line 46
invoke-interface {p2}, Ljava/util/List;->size()I
move-result v2
if-ge v1, v2, :cond_1
.line 47
new-instance v2, Lcom/unity3d/services/store/gpbl/bridges/PurchaseHistoryRecordBridge;
invoke-interface {p2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
invoke-direct {v2, v3}, Lcom/unity3d/services/store/gpbl/bridges/PurchaseHistoryRecordBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:cond_1
iget-object p2, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseHistoryResponseListenerProxy;->purchaseHistoryResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;
if-eqz p2, :cond_2
.line 51
new-instance v1, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
invoke-direct {v1, p1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {p2, v1, v0}, Lcom/unity3d/services/store/gpbl/listeners/PurchaseHistoryResponseListener;->onPurchaseHistoryUpdated(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
:cond_2
return-void
.end method

View File

@@ -0,0 +1,182 @@
.class public Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;
.super Lcom/unity3d/services/core/reflection/GenericListenerProxy;
.source "SourceFile"
# static fields
.field private static final onPurchasesUpdatedMethodName:Ljava/lang/String; = "onPurchasesUpdated"
# instance fields
.field private purchaseUpdatedResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;)V
.locals 0
.line 15
invoke-direct {p0}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;->purchaseUpdatedResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;
return-void
.end method
.method public static getProxyListenerClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/PurchasesUpdatedListener;
return-object v0
.end method
# virtual methods
.method public getProxyClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 21
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v0
return-object v0
.end method
.method public invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 31
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
const-string v1, "onPurchasesUpdated"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 32
aget-object p1, p3, p1
const/4 p2, 0x1
aget-object p2, p3, p2
check-cast p2, Ljava/util/List;
invoke-virtual {p0, p1, p2}, Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;->onPurchasesUpdated(Ljava/lang/Object;Ljava/util/List;)V
const/4 p1, 0x0
goto :goto_0
.line 34
:cond_0
invoke-super {p0, p1, p2, p3}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_0
return-object p1
.end method
.method public onPurchasesUpdated(Ljava/lang/Object;Ljava/util/List;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/List<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
if-eqz p2, :cond_0
.line 42
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
.line 43
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p2
:goto_0
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
.line 44
new-instance v2, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;
invoke-direct {v2, v1}, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
const/4 v0, 0x0
:cond_1
iget-object p2, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchaseUpdatedListenerProxy;->purchaseUpdatedResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;
if-eqz p2, :cond_2
.line 48
new-instance v1, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
invoke-direct {v1, p1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {p2, v1, v0}, Lcom/unity3d/services/store/gpbl/listeners/PurchaseUpdatedResponseListener;->onPurchaseUpdated(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
:cond_2
return-void
.end method

View File

@@ -0,0 +1,191 @@
.class public Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;
.super Lcom/unity3d/services/core/reflection/GenericListenerProxy;
.source "SourceFile"
# static fields
.field private static final onQueryPurchasesResponseMethodName:Ljava/lang/String; = "onQueryPurchasesResponse"
# instance fields
.field private purchasesResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;)V
.locals 0
.line 15
invoke-direct {p0}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->purchasesResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
return-void
.end method
.method public static getProxyListenerClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/PurchasesResponseListener;
return-object v0
.end method
# virtual methods
.method public getProxyClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 21
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v0
return-object v0
.end method
.method public getPurchasesResponseListener()Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
.locals 1
iget-object v0, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->purchasesResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
return-object v0
.end method
.method public invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 36
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
const-string v1, "onQueryPurchasesResponse"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 37
aget-object p1, p3, p1
const/4 p2, 0x1
aget-object p2, p3, p2
check-cast p2, Ljava/util/List;
invoke-virtual {p0, p1, p2}, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->onQueryPurchasesResponse(Ljava/lang/Object;Ljava/util/List;)V
const/4 p1, 0x0
goto :goto_0
.line 39
:cond_0
invoke-super {p0, p1, p2, p3}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_0
return-object p1
.end method
.method public onQueryPurchasesResponse(Ljava/lang/Object;Ljava/util/List;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/List<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
.line 46
new-instance v0, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
invoke-direct {v0, p1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
if-eqz p2, :cond_0
.line 49
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
.line 50
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p2
:goto_0
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
.line 51
new-instance v2, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;
invoke-direct {v2, v1}, Lcom/unity3d/services/store/gpbl/bridges/PurchaseBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {p1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
const/4 p1, 0x0
:cond_1
iget-object p2, p0, Lcom/unity3d/services/store/gpbl/proxies/PurchasesResponseListenerProxy;->purchasesResponseListener:Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;
if-eqz p2, :cond_2
.line 55
invoke-interface {p2, v0, p1}, Lcom/unity3d/services/store/gpbl/listeners/PurchasesResponseListener;->onPurchaseResponse(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
:cond_2
return-void
.end method

View File

@@ -0,0 +1,182 @@
.class public Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;
.super Lcom/unity3d/services/core/reflection/GenericListenerProxy;
.source "SourceFile"
# static fields
.field private static final onSkuDetailsResponseMethodName:Ljava/lang/String; = "onSkuDetailsResponse"
# instance fields
.field private skuDetailsResponseListener:Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;)V
.locals 0
.line 17
invoke-direct {p0}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;->skuDetailsResponseListener:Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;
return-void
.end method
.method public static getProxyListenerClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
const-class v0, Lcom/android/billingclient/api/SkuDetailsResponseListener;
return-object v0
.end method
# virtual methods
.method public getProxyClass()Ljava/lang/Class;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/lang/Class<",
"*>;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/ClassNotFoundException;
}
.end annotation
.line 23
invoke-static {}, Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;->getProxyListenerClass()Ljava/lang/Class;
move-result-object v0
return-object v0
.end method
.method public invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Throwable;
}
.end annotation
.line 34
invoke-virtual {p2}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
move-result-object v0
const-string v1, "onSkuDetailsResponse"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
const/4 p1, 0x0
.line 35
aget-object p1, p3, p1
const/4 p2, 0x1
aget-object p2, p3, p2
check-cast p2, Ljava/util/List;
invoke-virtual {p0, p1, p2}, Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;->onSkuDetailsResponse(Ljava/lang/Object;Ljava/util/List;)V
const/4 p1, 0x0
goto :goto_0
.line 37
:cond_0
invoke-super {p0, p1, p2, p3}, Lcom/unity3d/services/core/reflection/GenericListenerProxy;->invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_0
return-object p1
.end method
.method public onSkuDetailsResponse(Ljava/lang/Object;Ljava/util/List;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
"Ljava/util/List<",
"Ljava/lang/Object;",
">;)V"
}
.end annotation
if-eqz p2, :cond_0
.line 46
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
.line 47
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p2
:goto_0
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
.line 48
new-instance v2, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsBridge;
invoke-direct {v2, v1}, Lcom/unity3d/services/store/gpbl/bridges/SkuDetailsBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
const/4 v0, 0x0
:cond_1
iget-object p2, p0, Lcom/unity3d/services/store/gpbl/proxies/SkuDetailsResponseListenerProxy;->skuDetailsResponseListener:Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;
if-eqz p2, :cond_2
.line 52
new-instance v1, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;
invoke-direct {v1, p1}, Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;-><init>(Ljava/lang/Object;)V
invoke-interface {p2, v1, v0}, Lcom/unity3d/services/store/gpbl/listeners/SkuDetailsResponseListener;->onSkuDetailsUpdated(Lcom/unity3d/services/store/gpbl/bridges/BillingResultBridge;Ljava/util/List;)V
:cond_2
return-void
.end method