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,260 @@
.class public final Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/share/model/ShareModelBuilder;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/gamingservices/model/ContextChooseContent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/share/model/ShareModelBuilder<",
"Lcom/facebook/gamingservices/model/ContextChooseContent;",
"Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;",
">;"
}
.end annotation
# instance fields
.field private filters:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private maxSize:Ljava/lang/Integer;
.field private minSize:Ljava/lang/Integer;
# direct methods
.method public constructor <init>()V
.locals 0
.line 45
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public build()Lcom/facebook/gamingservices/model/ContextChooseContent;
.locals 2
.line 83
new-instance v0, Lcom/facebook/gamingservices/model/ContextChooseContent;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/facebook/gamingservices/model/ContextChooseContent;-><init>(Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
return-object v0
.end method
.method public bridge synthetic build()Ljava/lang/Object;
.locals 1
.line 45
invoke-virtual {p0}, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->build()Lcom/facebook/gamingservices/model/ContextChooseContent;
move-result-object v0
return-object v0
.end method
.method public final getFilters$facebook_gamingservices_release()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->filters:Ljava/util/List;
return-object v0
.end method
.method public final getMaxSize$facebook_gamingservices_release()Ljava/lang/Integer;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->maxSize:Ljava/lang/Integer;
return-object v0
.end method
.method public final getMinSize$facebook_gamingservices_release()Ljava/lang/Integer;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->minSize:Ljava/lang/Integer;
return-object v0
.end method
.method public final readFrom(Landroid/os/Parcel;)Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;
.locals 1
const-string v0, "parcel"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-class v0, Lcom/facebook/gamingservices/model/ContextChooseContent;
.line 91
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v0
invoke-virtual {p1, v0}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;
move-result-object p1
check-cast p1, Lcom/facebook/gamingservices/model/ContextChooseContent;
.line 90
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->readFrom(Lcom/facebook/gamingservices/model/ContextChooseContent;)Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;
move-result-object p1
return-object p1
.end method
.method public readFrom(Lcom/facebook/gamingservices/model/ContextChooseContent;)Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;
.locals 2
if-nez p1, :cond_0
goto :goto_0
.line 86
:cond_0
invoke-virtual {p1}, Lcom/facebook/gamingservices/model/ContextChooseContent;->getFilters()Ljava/util/List;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->setFilters(Ljava/util/List;)Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;
move-result-object v0
invoke-virtual {p1}, Lcom/facebook/gamingservices/model/ContextChooseContent;->getMaxSize()Ljava/lang/Integer;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->setMaxSize(Ljava/lang/Integer;)Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;
move-result-object v0
invoke-virtual {p1}, Lcom/facebook/gamingservices/model/ContextChooseContent;->getMinSize()Ljava/lang/Integer;
move-result-object p1
invoke-virtual {v0, p1}, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->setMinSize(Ljava/lang/Integer;)Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;
move-result-object p1
if-nez p1, :cond_1
:goto_0
move-object p1, p0
:cond_1
return-object p1
.end method
.method public bridge synthetic readFrom(Lcom/facebook/share/model/ShareModel;)Lcom/facebook/share/model/ShareModelBuilder;
.locals 0
.line 45
check-cast p1, Lcom/facebook/gamingservices/model/ContextChooseContent;
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->readFrom(Lcom/facebook/gamingservices/model/ContextChooseContent;)Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;
move-result-object p1
return-object p1
.end method
.method public final setFilters(Ljava/util/List;)Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;)",
"Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;"
}
.end annotation
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->filters:Ljava/util/List;
return-object p0
.end method
.method public final setFilters$facebook_gamingservices_release(Ljava/util/List;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->filters:Ljava/util/List;
return-void
.end method
.method public final setMaxSize(Ljava/lang/Integer;)Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;
.locals 0
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->maxSize:Ljava/lang/Integer;
return-object p0
.end method
.method public final setMaxSize$facebook_gamingservices_release(Ljava/lang/Integer;)V
.locals 0
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->maxSize:Ljava/lang/Integer;
return-void
.end method
.method public final setMinSize(Ljava/lang/Integer;)Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;
.locals 0
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->minSize:Ljava/lang/Integer;
return-object p0
.end method
.method public final setMinSize$facebook_gamingservices_release(Ljava/lang/Integer;)V
.locals 0
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->minSize:Ljava/lang/Integer;
return-void
.end method

View File

@@ -0,0 +1,94 @@
.class public final Lcom/facebook/gamingservices/model/ContextChooseContent$CREATOR;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/Parcelable$Creator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/gamingservices/model/ContextChooseContent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "CREATOR"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroid/os/Parcelable$Creator<",
"Lcom/facebook/gamingservices/model/ContextChooseContent;",
">;"
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 95
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 0
invoke-direct {p0}, Lcom/facebook/gamingservices/model/ContextChooseContent$CREATOR;-><init>()V
return-void
.end method
# virtual methods
.method public createFromParcel(Landroid/os/Parcel;)Lcom/facebook/gamingservices/model/ContextChooseContent;
.locals 1
const-string v0, "parcel"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 97
new-instance v0, Lcom/facebook/gamingservices/model/ContextChooseContent;
invoke-direct {v0, p1}, Lcom/facebook/gamingservices/model/ContextChooseContent;-><init>(Landroid/os/Parcel;)V
return-object v0
.end method
.method public bridge synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
.locals 0
.line 95
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextChooseContent$CREATOR;->createFromParcel(Landroid/os/Parcel;)Lcom/facebook/gamingservices/model/ContextChooseContent;
move-result-object p1
return-object p1
.end method
.method public newArray(I)[Lcom/facebook/gamingservices/model/ContextChooseContent;
.locals 0
.line 101
new-array p1, p1, [Lcom/facebook/gamingservices/model/ContextChooseContent;
return-object p1
.end method
.method public bridge synthetic newArray(I)[Ljava/lang/Object;
.locals 0
.line 95
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextChooseContent$CREATOR;->newArray(I)[Lcom/facebook/gamingservices/model/ContextChooseContent;
move-result-object p1
return-object p1
.end method

View File

@@ -0,0 +1,236 @@
.class public final Lcom/facebook/gamingservices/model/ContextChooseContent;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/share/model/ShareModel;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;,
Lcom/facebook/gamingservices/model/ContextChooseContent$CREATOR;
}
.end annotation
# static fields
.field public static final CREATOR:Lcom/facebook/gamingservices/model/ContextChooseContent$CREATOR;
# instance fields
.field private final filters:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private final maxSize:Ljava/lang/Integer;
.field private final minSize:Ljava/lang/Integer;
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lcom/facebook/gamingservices/model/ContextChooseContent$CREATOR;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/facebook/gamingservices/model/ContextChooseContent$CREATOR;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/facebook/gamingservices/model/ContextChooseContent;->CREATOR:Lcom/facebook/gamingservices/model/ContextChooseContent$CREATOR;
return-void
.end method
.method public constructor <init>(Landroid/os/Parcel;)V
.locals 1
const-string v0, "parcel"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 28
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 29
invoke-virtual {p1}, Landroid/os/Parcel;->createStringArrayList()Ljava/util/ArrayList;
move-result-object v0
iput-object v0, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->filters:Ljava/util/List;
.line 30
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
move-result v0
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
iput-object v0, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->maxSize:Ljava/lang/Integer;
.line 31
invoke-virtual {p1}, Landroid/os/Parcel;->readInt()I
move-result p1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->minSize:Ljava/lang/Integer;
return-void
.end method
.method private constructor <init>(Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;)V
.locals 1
.line 22
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 23
invoke-virtual {p1}, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->getFilters$facebook_gamingservices_release()Ljava/util/List;
move-result-object v0
iput-object v0, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->filters:Ljava/util/List;
.line 24
invoke-virtual {p1}, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->getMaxSize$facebook_gamingservices_release()Ljava/lang/Integer;
move-result-object v0
iput-object v0, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->maxSize:Ljava/lang/Integer;
.line 25
invoke-virtual {p1}, Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;->getMinSize$facebook_gamingservices_release()Ljava/lang/Integer;
move-result-object p1
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->minSize:Ljava/lang/Integer;
return-void
.end method
.method public synthetic constructor <init>(Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 0
invoke-direct {p0, p1}, Lcom/facebook/gamingservices/model/ContextChooseContent;-><init>(Lcom/facebook/gamingservices/model/ContextChooseContent$Builder;)V
return-void
.end method
# virtual methods
.method public describeContents()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public final getFilters()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->filters:Ljava/util/List;
if-nez v0, :cond_0
const/4 v0, 0x0
goto :goto_0
.line 34
:cond_0
invoke-static {v0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object v0
:goto_0
return-object v0
.end method
.method public final getMaxSize()Ljava/lang/Integer;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->maxSize:Ljava/lang/Integer;
return-object v0
.end method
.method public final getMinSize()Ljava/lang/Integer;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->minSize:Ljava/lang/Integer;
return-object v0
.end method
.method public writeToParcel(Landroid/os/Parcel;I)V
.locals 1
const-string p2, "out"
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p2, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->filters:Ljava/util/List;
.line 37
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeStringList(Ljava/util/List;)V
iget-object p2, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->maxSize:Ljava/lang/Integer;
const/4 v0, 0x0
if-nez p2, :cond_0
move p2, v0
goto :goto_0
.line 38
:cond_0
invoke-virtual {p2}, Ljava/lang/Integer;->intValue()I
move-result p2
:goto_0
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V
iget-object p2, p0, Lcom/facebook/gamingservices/model/ContextChooseContent;->minSize:Ljava/lang/Integer;
if-nez p2, :cond_1
goto :goto_1
.line 39
:cond_1
invoke-virtual {p2}, Ljava/lang/Integer;->intValue()I
move-result v0
:goto_1
invoke-virtual {p1, v0}, Landroid/os/Parcel;->writeInt(I)V
return-void
.end method

View File

@@ -0,0 +1,159 @@
.class public final Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/share/model/ShareModelBuilder;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/gamingservices/model/ContextCreateContent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/share/model/ShareModelBuilder<",
"Lcom/facebook/gamingservices/model/ContextCreateContent;",
"Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;",
">;"
}
.end annotation
# instance fields
.field private suggestedPlayerID:Ljava/lang/String;
# direct methods
.method public constructor <init>()V
.locals 0
.line 32
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public build()Lcom/facebook/gamingservices/model/ContextCreateContent;
.locals 2
.line 46
new-instance v0, Lcom/facebook/gamingservices/model/ContextCreateContent;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/facebook/gamingservices/model/ContextCreateContent;-><init>(Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
return-object v0
.end method
.method public bridge synthetic build()Ljava/lang/Object;
.locals 1
.line 32
invoke-virtual {p0}, Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;->build()Lcom/facebook/gamingservices/model/ContextCreateContent;
move-result-object v0
return-object v0
.end method
.method public final getSuggestedPlayerID$facebook_gamingservices_release()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;->suggestedPlayerID:Ljava/lang/String;
return-object v0
.end method
.method public final readFrom(Landroid/os/Parcel;)Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;
.locals 1
const-string v0, "parcel"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-class v0, Lcom/facebook/gamingservices/model/ContextCreateContent;
.line 53
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v0
invoke-virtual {p1, v0}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;
move-result-object p1
check-cast p1, Lcom/facebook/gamingservices/model/ContextCreateContent;
.line 52
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;->readFrom(Lcom/facebook/gamingservices/model/ContextCreateContent;)Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;
move-result-object p1
return-object p1
.end method
.method public readFrom(Lcom/facebook/gamingservices/model/ContextCreateContent;)Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;
.locals 0
if-nez p1, :cond_0
goto :goto_0
.line 49
:cond_0
invoke-virtual {p1}, Lcom/facebook/gamingservices/model/ContextCreateContent;->getSuggestedPlayerID()Ljava/lang/String;
move-result-object p1
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;->setSuggestedPlayerID(Ljava/lang/String;)Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;
move-result-object p1
if-nez p1, :cond_1
:goto_0
move-object p1, p0
:cond_1
return-object p1
.end method
.method public bridge synthetic readFrom(Lcom/facebook/share/model/ShareModel;)Lcom/facebook/share/model/ShareModelBuilder;
.locals 0
.line 32
check-cast p1, Lcom/facebook/gamingservices/model/ContextCreateContent;
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;->readFrom(Lcom/facebook/gamingservices/model/ContextCreateContent;)Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;
move-result-object p1
return-object p1
.end method
.method public final setSuggestedPlayerID(Ljava/lang/String;)Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;
.locals 0
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;->suggestedPlayerID:Ljava/lang/String;
return-object p0
.end method
.method public final setSuggestedPlayerID$facebook_gamingservices_release(Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;->suggestedPlayerID:Ljava/lang/String;
return-void
.end method

View File

@@ -0,0 +1,94 @@
.class public final Lcom/facebook/gamingservices/model/ContextCreateContent$CREATOR;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/Parcelable$Creator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/gamingservices/model/ContextCreateContent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "CREATOR"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroid/os/Parcelable$Creator<",
"Lcom/facebook/gamingservices/model/ContextCreateContent;",
">;"
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 57
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 0
invoke-direct {p0}, Lcom/facebook/gamingservices/model/ContextCreateContent$CREATOR;-><init>()V
return-void
.end method
# virtual methods
.method public createFromParcel(Landroid/os/Parcel;)Lcom/facebook/gamingservices/model/ContextCreateContent;
.locals 1
const-string v0, "parcel"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 59
new-instance v0, Lcom/facebook/gamingservices/model/ContextCreateContent;
invoke-direct {v0, p1}, Lcom/facebook/gamingservices/model/ContextCreateContent;-><init>(Landroid/os/Parcel;)V
return-object v0
.end method
.method public bridge synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
.locals 0
.line 57
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextCreateContent$CREATOR;->createFromParcel(Landroid/os/Parcel;)Lcom/facebook/gamingservices/model/ContextCreateContent;
move-result-object p1
return-object p1
.end method
.method public newArray(I)[Lcom/facebook/gamingservices/model/ContextCreateContent;
.locals 0
.line 63
new-array p1, p1, [Lcom/facebook/gamingservices/model/ContextCreateContent;
return-object p1
.end method
.method public bridge synthetic newArray(I)[Ljava/lang/Object;
.locals 0
.line 57
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextCreateContent$CREATOR;->newArray(I)[Lcom/facebook/gamingservices/model/ContextCreateContent;
move-result-object p1
return-object p1
.end method

View File

@@ -0,0 +1,117 @@
.class public final Lcom/facebook/gamingservices/model/ContextCreateContent;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/share/model/ShareModel;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;,
Lcom/facebook/gamingservices/model/ContextCreateContent$CREATOR;
}
.end annotation
# static fields
.field public static final CREATOR:Lcom/facebook/gamingservices/model/ContextCreateContent$CREATOR;
# instance fields
.field private final suggestedPlayerID:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lcom/facebook/gamingservices/model/ContextCreateContent$CREATOR;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/facebook/gamingservices/model/ContextCreateContent$CREATOR;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/facebook/gamingservices/model/ContextCreateContent;->CREATOR:Lcom/facebook/gamingservices/model/ContextCreateContent$CREATOR;
return-void
.end method
.method public constructor <init>(Landroid/os/Parcel;)V
.locals 1
const-string v0, "parcel"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 23
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 24
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextCreateContent;->suggestedPlayerID:Ljava/lang/String;
return-void
.end method
.method private constructor <init>(Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;)V
.locals 0
.line 19
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 20
invoke-virtual {p1}, Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;->getSuggestedPlayerID$facebook_gamingservices_release()Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextCreateContent;->suggestedPlayerID:Ljava/lang/String;
return-void
.end method
.method public synthetic constructor <init>(Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 0
invoke-direct {p0, p1}, Lcom/facebook/gamingservices/model/ContextCreateContent;-><init>(Lcom/facebook/gamingservices/model/ContextCreateContent$Builder;)V
return-void
.end method
# virtual methods
.method public describeContents()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public final getSuggestedPlayerID()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/ContextCreateContent;->suggestedPlayerID:Ljava/lang/String;
return-object v0
.end method
.method public writeToParcel(Landroid/os/Parcel;I)V
.locals 0
const-string p2, "out"
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p2, p0, Lcom/facebook/gamingservices/model/ContextCreateContent;->suggestedPlayerID:Ljava/lang/String;
.line 27
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
return-void
.end method

View File

@@ -0,0 +1,159 @@
.class public final Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/share/model/ShareModelBuilder;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/gamingservices/model/ContextSwitchContent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lcom/facebook/share/model/ShareModelBuilder<",
"Lcom/facebook/gamingservices/model/ContextSwitchContent;",
"Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;",
">;"
}
.end annotation
# instance fields
.field private contextID:Ljava/lang/String;
# direct methods
.method public constructor <init>()V
.locals 0
.line 32
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public build()Lcom/facebook/gamingservices/model/ContextSwitchContent;
.locals 2
.line 46
new-instance v0, Lcom/facebook/gamingservices/model/ContextSwitchContent;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/facebook/gamingservices/model/ContextSwitchContent;-><init>(Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
return-object v0
.end method
.method public bridge synthetic build()Ljava/lang/Object;
.locals 1
.line 32
invoke-virtual {p0}, Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;->build()Lcom/facebook/gamingservices/model/ContextSwitchContent;
move-result-object v0
return-object v0
.end method
.method public final getContextID$facebook_gamingservices_release()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;->contextID:Ljava/lang/String;
return-object v0
.end method
.method public final readFrom(Landroid/os/Parcel;)Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;
.locals 1
const-string v0, "parcel"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-class v0, Lcom/facebook/gamingservices/model/ContextSwitchContent;
.line 53
invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader;
move-result-object v0
invoke-virtual {p1, v0}, Landroid/os/Parcel;->readParcelable(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;
move-result-object p1
check-cast p1, Lcom/facebook/gamingservices/model/ContextSwitchContent;
.line 52
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;->readFrom(Lcom/facebook/gamingservices/model/ContextSwitchContent;)Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;
move-result-object p1
return-object p1
.end method
.method public readFrom(Lcom/facebook/gamingservices/model/ContextSwitchContent;)Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;
.locals 0
if-nez p1, :cond_0
goto :goto_0
.line 49
:cond_0
invoke-virtual {p1}, Lcom/facebook/gamingservices/model/ContextSwitchContent;->getContextID()Ljava/lang/String;
move-result-object p1
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;->setContextID(Ljava/lang/String;)Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;
move-result-object p1
if-nez p1, :cond_1
:goto_0
move-object p1, p0
:cond_1
return-object p1
.end method
.method public bridge synthetic readFrom(Lcom/facebook/share/model/ShareModel;)Lcom/facebook/share/model/ShareModelBuilder;
.locals 0
.line 32
check-cast p1, Lcom/facebook/gamingservices/model/ContextSwitchContent;
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;->readFrom(Lcom/facebook/gamingservices/model/ContextSwitchContent;)Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;
move-result-object p1
return-object p1
.end method
.method public final setContextID(Ljava/lang/String;)Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;
.locals 0
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;->contextID:Ljava/lang/String;
return-object p0
.end method
.method public final setContextID$facebook_gamingservices_release(Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;->contextID:Ljava/lang/String;
return-void
.end method

View File

@@ -0,0 +1,94 @@
.class public final Lcom/facebook/gamingservices/model/ContextSwitchContent$CREATOR;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/Parcelable$Creator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/gamingservices/model/ContextSwitchContent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "CREATOR"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Landroid/os/Parcelable$Creator<",
"Lcom/facebook/gamingservices/model/ContextSwitchContent;",
">;"
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 57
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 0
invoke-direct {p0}, Lcom/facebook/gamingservices/model/ContextSwitchContent$CREATOR;-><init>()V
return-void
.end method
# virtual methods
.method public createFromParcel(Landroid/os/Parcel;)Lcom/facebook/gamingservices/model/ContextSwitchContent;
.locals 1
const-string v0, "parcel"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 59
new-instance v0, Lcom/facebook/gamingservices/model/ContextSwitchContent;
invoke-direct {v0, p1}, Lcom/facebook/gamingservices/model/ContextSwitchContent;-><init>(Landroid/os/Parcel;)V
return-object v0
.end method
.method public bridge synthetic createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
.locals 0
.line 57
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextSwitchContent$CREATOR;->createFromParcel(Landroid/os/Parcel;)Lcom/facebook/gamingservices/model/ContextSwitchContent;
move-result-object p1
return-object p1
.end method
.method public newArray(I)[Lcom/facebook/gamingservices/model/ContextSwitchContent;
.locals 0
.line 63
new-array p1, p1, [Lcom/facebook/gamingservices/model/ContextSwitchContent;
return-object p1
.end method
.method public bridge synthetic newArray(I)[Ljava/lang/Object;
.locals 0
.line 57
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/ContextSwitchContent$CREATOR;->newArray(I)[Lcom/facebook/gamingservices/model/ContextSwitchContent;
move-result-object p1
return-object p1
.end method

View File

@@ -0,0 +1,117 @@
.class public final Lcom/facebook/gamingservices/model/ContextSwitchContent;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/share/model/ShareModel;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;,
Lcom/facebook/gamingservices/model/ContextSwitchContent$CREATOR;
}
.end annotation
# static fields
.field public static final CREATOR:Lcom/facebook/gamingservices/model/ContextSwitchContent$CREATOR;
# instance fields
.field private final contextID:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lcom/facebook/gamingservices/model/ContextSwitchContent$CREATOR;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/facebook/gamingservices/model/ContextSwitchContent$CREATOR;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/facebook/gamingservices/model/ContextSwitchContent;->CREATOR:Lcom/facebook/gamingservices/model/ContextSwitchContent$CREATOR;
return-void
.end method
.method public constructor <init>(Landroid/os/Parcel;)V
.locals 1
const-string v0, "parcel"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 23
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 24
invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextSwitchContent;->contextID:Ljava/lang/String;
return-void
.end method
.method private constructor <init>(Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;)V
.locals 0
.line 19
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 20
invoke-virtual {p1}, Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;->getContextID$facebook_gamingservices_release()Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcom/facebook/gamingservices/model/ContextSwitchContent;->contextID:Ljava/lang/String;
return-void
.end method
.method public synthetic constructor <init>(Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 0
invoke-direct {p0, p1}, Lcom/facebook/gamingservices/model/ContextSwitchContent;-><init>(Lcom/facebook/gamingservices/model/ContextSwitchContent$Builder;)V
return-void
.end method
# virtual methods
.method public describeContents()I
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public final getContextID()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/ContextSwitchContent;->contextID:Ljava/lang/String;
return-object v0
.end method
.method public writeToParcel(Landroid/os/Parcel;I)V
.locals 0
const-string p2, "out"
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object p2, p0, Lcom/facebook/gamingservices/model/ContextSwitchContent;->contextID:Ljava/lang/String;
.line 27
invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
return-void
.end method

View File

@@ -0,0 +1,282 @@
.class public final Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/gamingservices/model/CustomUpdateContent;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
# instance fields
.field private final contextTokenId:Ljava/lang/String;
.field private cta:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
.field private data:Ljava/lang/String;
.field private final image:Landroid/graphics/Bitmap;
.field private final media:Lcom/facebook/gamingservices/model/CustomUpdateMedia;
.field private final text:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
# direct methods
.method public constructor <init>(Lcom/facebook/gamingservices/GamingContext;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Landroid/graphics/Bitmap;)V
.locals 1
const-string v0, "contextToken"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "text"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "image"
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 143
invoke-virtual {p1}, Lcom/facebook/gamingservices/GamingContext;->getContextID()Ljava/lang/String;
move-result-object p1
const/4 v0, 0x0
invoke-direct {p0, p1, p2, p3, v0}, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;-><init>(Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Landroid/graphics/Bitmap;Lcom/facebook/gamingservices/model/CustomUpdateMedia;)V
return-void
.end method
.method public constructor <init>(Lcom/facebook/gamingservices/GamingContext;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Lcom/facebook/gamingservices/model/CustomUpdateMedia;)V
.locals 1
const-string v0, "contextToken"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "text"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
const-string v0, "media"
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 155
invoke-virtual {p1}, Lcom/facebook/gamingservices/GamingContext;->getContextID()Ljava/lang/String;
move-result-object p1
const/4 v0, 0x0
invoke-direct {p0, p1, p2, v0, p3}, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;-><init>(Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Landroid/graphics/Bitmap;Lcom/facebook/gamingservices/model/CustomUpdateMedia;)V
return-void
.end method
.method private constructor <init>(Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Landroid/graphics/Bitmap;Lcom/facebook/gamingservices/model/CustomUpdateMedia;)V
.locals 0
.line 125
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->contextTokenId:Ljava/lang/String;
iput-object p2, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->text:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
iput-object p3, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->image:Landroid/graphics/Bitmap;
iput-object p4, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->media:Lcom/facebook/gamingservices/model/CustomUpdateMedia;
return-void
.end method
.method private final bitmapToBase64String(Landroid/graphics/Bitmap;)Ljava/lang/String;
.locals 3
if-nez p1, :cond_0
const/4 p1, 0x0
return-object p1
.line 212
:cond_0
new-instance v0, Ljava/io/ByteArrayOutputStream;
invoke-direct {v0}, Ljava/io/ByteArrayOutputStream;-><init>()V
.line 213
sget-object v1, Landroid/graphics/Bitmap$CompressFormat;->PNG:Landroid/graphics/Bitmap$CompressFormat;
const/16 v2, 0x64
invoke-virtual {p1, v1, v2, v0}, Landroid/graphics/Bitmap;->compress(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z
.line 216
invoke-virtual {v0}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B
move-result-object p1
const/4 v0, 0x2
invoke-static {p1, v0}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;
move-result-object p1
const-string v0, "data:image/png;base64,"
.line 215
invoke-static {v0, p1}, Lkotlin/jvm/internal/Intrinsics;->stringPlus(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
return-object p1
.end method
# virtual methods
.method public final build()Lcom/facebook/gamingservices/model/CustomUpdateContent;
.locals 9
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->media:Lcom/facebook/gamingservices/model/CustomUpdateMedia;
if-eqz v0, :cond_3
.line 196
invoke-virtual {v0}, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->getGif()Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
move-result-object v0
const/4 v1, 0x0
const/4 v2, 0x1
if-eqz v0, :cond_0
move v0, v2
goto :goto_0
:cond_0
move v0, v1
:goto_0
iget-object v3, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->media:Lcom/facebook/gamingservices/model/CustomUpdateMedia;
invoke-virtual {v3}, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->getVideo()Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
move-result-object v3
if-eqz v3, :cond_1
move v1, v2
:cond_1
xor-int/2addr v0, v1
if-eqz v0, :cond_2
goto :goto_1
.line 197
:cond_2
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Invalid CustomUpdateMedia, please set either gif or video"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
:cond_3
:goto_1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->image:Landroid/graphics/Bitmap;
.line 200
invoke-direct {p0, v0}, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->bitmapToBase64String(Landroid/graphics/Bitmap;)Ljava/lang/String;
move-result-object v5
iget-object v2, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->contextTokenId:Ljava/lang/String;
if-eqz v2, :cond_4
.line 204
new-instance v0, Lcom/facebook/gamingservices/model/CustomUpdateContent;
iget-object v3, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->text:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
iget-object v4, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->cta:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
iget-object v6, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->media:Lcom/facebook/gamingservices/model/CustomUpdateMedia;
iget-object v7, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->data:Ljava/lang/String;
const/4 v8, 0x0
move-object v1, v0
invoke-direct/range {v1 .. v8}, Lcom/facebook/gamingservices/model/CustomUpdateContent;-><init>(Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateMedia;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
return-object v0
.line 202
:cond_4
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "parameter contextToken must not be null"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public final getCta()Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->cta:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
return-object v0
.end method
.method public final getData()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->data:Ljava/lang/String;
return-object v0
.end method
.method public final setCta(Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;)Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;
.locals 1
const-string v0, "cta"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p1, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->cta:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
return-object p0
.end method
.method public final setData(Ljava/lang/String;)Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;
.locals 1
const-string v0, "data"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p1, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;->data:Ljava/lang/String;
return-object p0
.end method

View File

@@ -0,0 +1,273 @@
.class public final Lcom/facebook/gamingservices/model/CustomUpdateContent;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/gamingservices/model/CustomUpdateContent$Builder;
}
.end annotation
# instance fields
.field private final contextTokenId:Ljava/lang/String;
.field private final cta:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
.field private final data:Ljava/lang/String;
.field private final image:Ljava/lang/String;
.field private final media:Lcom/facebook/gamingservices/model/CustomUpdateMedia;
.field private final text:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
# direct methods
.method private constructor <init>(Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateMedia;Ljava/lang/String;)V
.locals 0
.line 97
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->contextTokenId:Ljava/lang/String;
iput-object p2, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->text:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
iput-object p3, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->cta:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
iput-object p4, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->image:Ljava/lang/String;
iput-object p5, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->media:Lcom/facebook/gamingservices/model/CustomUpdateMedia;
iput-object p6, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->data:Ljava/lang/String;
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateMedia;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 9
and-int/lit8 v0, p7, 0x4
const/4 v1, 0x0
if-eqz v0, :cond_0
move-object v5, v1
goto :goto_0
:cond_0
move-object v5, p3
:goto_0
and-int/lit8 v0, p7, 0x8
if-eqz v0, :cond_1
move-object v6, v1
goto :goto_1
:cond_1
move-object v6, p4
:goto_1
and-int/lit8 v0, p7, 0x10
if-eqz v0, :cond_2
move-object v7, v1
goto :goto_2
:cond_2
move-object v7, p5
:goto_2
and-int/lit8 v0, p7, 0x20
if-eqz v0, :cond_3
move-object v8, v1
goto :goto_3
:cond_3
move-object v8, p6
:goto_3
move-object v2, p0
move-object v3, p1
move-object v4, p2
.line 98
invoke-direct/range {v2 .. v8}, Lcom/facebook/gamingservices/model/CustomUpdateContent;-><init>(Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateMedia;Ljava/lang/String;)V
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateMedia;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 0
invoke-direct/range {p0 .. p6}, Lcom/facebook/gamingservices/model/CustomUpdateContent;-><init>(Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Ljava/lang/String;Lcom/facebook/gamingservices/model/CustomUpdateMedia;Ljava/lang/String;)V
return-void
.end method
# virtual methods
.method public final getContextTokenId()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->contextTokenId:Ljava/lang/String;
return-object v0
.end method
.method public final getCta()Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->cta:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
return-object v0
.end method
.method public final getData()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->data:Ljava/lang/String;
return-object v0
.end method
.method public final getImage()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->image:Ljava/lang/String;
return-object v0
.end method
.method public final getMedia()Lcom/facebook/gamingservices/model/CustomUpdateMedia;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->media:Lcom/facebook/gamingservices/model/CustomUpdateMedia;
return-object v0
.end method
.method public final getText()Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->text:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
return-object v0
.end method
.method public final toGraphRequestContent()Lorg/json/JSONObject;
.locals 3
.line 115
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
const-string v1, "context_token_id"
iget-object v2, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->contextTokenId:Ljava/lang/String;
.line 116
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->text:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
.line 117
invoke-virtual {v1}, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->toJSONObject()Lorg/json/JSONObject;
move-result-object v1
invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
move-result-object v1
const-string v2, "text"
invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->cta:Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
if-nez v1, :cond_0
goto :goto_0
.line 118
:cond_0
invoke-virtual {v1}, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->toJSONObject()Lorg/json/JSONObject;
move-result-object v1
invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
move-result-object v1
const-string v2, "cta"
invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:goto_0
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->image:Ljava/lang/String;
if-nez v1, :cond_1
goto :goto_1
:cond_1
const-string v2, "image"
.line 119
invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:goto_1
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->media:Lcom/facebook/gamingservices/model/CustomUpdateMedia;
if-nez v1, :cond_2
goto :goto_2
.line 120
:cond_2
invoke-virtual {v1}, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->toJSONObject()Lorg/json/JSONObject;
move-result-object v1
invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
move-result-object v1
const-string v2, "media"
invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:goto_2
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateContent;->data:Ljava/lang/String;
if-nez v1, :cond_3
goto :goto_3
:cond_3
const-string v2, "data"
.line 121
invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:goto_3
return-object v0
.end method

View File

@@ -0,0 +1,27 @@
.class public final Lcom/facebook/gamingservices/model/CustomUpdateContentKt;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field private static final CONTEXT_TOKEN_KEY:Ljava/lang/String; = "context_token_id"
.field private static final CTA_KEY:Ljava/lang/String; = "cta"
.field private static final DATA_KEY:Ljava/lang/String; = "data"
.field private static final DEFAULT_KEY:Ljava/lang/String; = "default"
.field private static final GIF_KEY:Ljava/lang/String; = "gif"
.field private static final IMAGE_KEY:Ljava/lang/String; = "image"
.field private static final LOCALIZATIONS_KEY:Ljava/lang/String; = "localizations"
.field private static final MEDIA_KEY:Ljava/lang/String; = "media"
.field private static final TEXT_KEY:Ljava/lang/String; = "text"
.field private static final URL_KEY:Ljava/lang/String; = "url"
.field private static final VIDEO_KEY:Ljava/lang/String; = "video"

View File

@@ -0,0 +1,354 @@
.class public final Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field private final default:Ljava/lang/String;
.field private final localizations:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/util/HashMap;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
const-string v0, "default"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 42
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->default:Ljava/lang/String;
iput-object p2, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->localizations:Ljava/util/HashMap;
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/String;Ljava/util/HashMap;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_0
const/4 p2, 0x0
.line 42
:cond_0
invoke-direct {p0, p1, p2}, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V
return-void
.end method
.method public static synthetic copy$default(Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;Ljava/lang/String;Ljava/util/HashMap;ILjava/lang/Object;)Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
.locals 0
and-int/lit8 p4, p3, 0x1
if-eqz p4, :cond_0
iget-object p1, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->default:Ljava/lang/String;
:cond_0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_1
iget-object p2, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->localizations:Ljava/util/HashMap;
:cond_1
invoke-virtual {p0, p1, p2}, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->copy(Ljava/lang/String;Ljava/util/HashMap;)Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final component1()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->default:Ljava/lang/String;
return-object v0
.end method
.method public final component2()Ljava/util/HashMap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->localizations:Ljava/util/HashMap;
return-object v0
.end method
.method public final copy(Ljava/lang/String;Ljava/util/HashMap;)Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/String;",
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)",
"Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;"
}
.end annotation
const-string v0, "default"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
invoke-direct {v0, p1, p2}, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
instance-of v1, p1, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
:cond_1
check-cast p1, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->default:Ljava/lang/String;
iget-object v3, p1, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->default:Ljava/lang/String;
invoke-static {v1, v3}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_2
return v2
:cond_2
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->localizations:Ljava/util/HashMap;
iget-object p1, p1, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->localizations:Ljava/util/HashMap;
invoke-static {v1, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_3
return v2
:cond_3
return v0
.end method
.method public final getDefault()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->default:Ljava/lang/String;
return-object v0
.end method
.method public final getLocalizations()Ljava/util/HashMap;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->localizations:Ljava/util/HashMap;
return-object v0
.end method
.method public hashCode()I
.locals 2
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->default:Ljava/lang/String;
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
mul-int/lit8 v0, v0, 0x1f
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->localizations:Ljava/util/HashMap;
if-nez v1, :cond_0
const/4 v1, 0x0
goto :goto_0
:cond_0
invoke-virtual {v1}, Ljava/lang/Object;->hashCode()I
move-result v1
:goto_0
add-int/2addr v0, v1
return v0
.end method
.method public final toJSONObject()Lorg/json/JSONObject;
.locals 5
.line 47
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
const-string v1, "default"
iget-object v2, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->default:Ljava/lang/String;
.line 48
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->localizations:Ljava/util/HashMap;
if-nez v1, :cond_0
goto :goto_1
.line 50
:cond_0
new-instance v2, Lorg/json/JSONObject;
invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V
.line 51
invoke-interface {v1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object v1
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_1
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/util/Map$Entry;
invoke-interface {v3}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/String;
invoke-interface {v3}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/lang/String;
.line 52
invoke-virtual {v2, v4, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
goto :goto_0
:cond_1
const-string v1, "localizations"
.line 54
invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:goto_1
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "CustomUpdateLocalizedText(default="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->default:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v1, ", localizations="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateLocalizedText;->localizations:Ljava/util/HashMap;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,315 @@
.class public final Lcom/facebook/gamingservices/model/CustomUpdateMedia;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field private final gif:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
.field private final video:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
# direct methods
.method public constructor <init>()V
.locals 2
.line 0
const/4 v0, 0x0
const/4 v1, 0x3
invoke-direct {p0, v0, v0, v1, v0}, Lcom/facebook/gamingservices/model/CustomUpdateMedia;-><init>(Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;)V
.locals 0
.line 70
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->gif:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
iput-object p2, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->video:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
return-void
.end method
.method public synthetic constructor <init>(Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 1
and-int/lit8 p4, p3, 0x1
const/4 v0, 0x0
if-eqz p4, :cond_0
move-object p1, v0
:cond_0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_1
move-object p2, v0
.line 70
:cond_1
invoke-direct {p0, p1, p2}, Lcom/facebook/gamingservices/model/CustomUpdateMedia;-><init>(Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;)V
return-void
.end method
.method public static synthetic copy$default(Lcom/facebook/gamingservices/model/CustomUpdateMedia;Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;ILjava/lang/Object;)Lcom/facebook/gamingservices/model/CustomUpdateMedia;
.locals 0
and-int/lit8 p4, p3, 0x1
if-eqz p4, :cond_0
iget-object p1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->gif:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
:cond_0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_1
iget-object p2, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->video:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
:cond_1
invoke-virtual {p0, p1, p2}, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->copy(Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;)Lcom/facebook/gamingservices/model/CustomUpdateMedia;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final component1()Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->gif:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
return-object v0
.end method
.method public final component2()Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->video:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
return-object v0
.end method
.method public final copy(Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;)Lcom/facebook/gamingservices/model/CustomUpdateMedia;
.locals 1
new-instance v0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;
invoke-direct {v0, p1, p2}, Lcom/facebook/gamingservices/model/CustomUpdateMedia;-><init>(Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;)V
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
instance-of v1, p1, Lcom/facebook/gamingservices/model/CustomUpdateMedia;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
:cond_1
check-cast p1, Lcom/facebook/gamingservices/model/CustomUpdateMedia;
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->gif:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
iget-object v3, p1, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->gif:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
invoke-static {v1, v3}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_2
return v2
:cond_2
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->video:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
iget-object p1, p1, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->video:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
invoke-static {v1, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_3
return v2
:cond_3
return v0
.end method
.method public final getGif()Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->gif:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
return-object v0
.end method
.method public final getVideo()Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->video:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
return-object v0
.end method
.method public hashCode()I
.locals 3
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->gif:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
const/4 v1, 0x0
if-nez v0, :cond_0
move v0, v1
goto :goto_0
:cond_0
invoke-virtual {v0}, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->hashCode()I
move-result v0
:goto_0
mul-int/lit8 v0, v0, 0x1f
iget-object v2, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->video:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
if-nez v2, :cond_1
goto :goto_1
:cond_1
invoke-virtual {v2}, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->hashCode()I
move-result v1
:goto_1
add-int/2addr v0, v1
return v0
.end method
.method public final toJSONObject()Lorg/json/JSONObject;
.locals 4
.line 75
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->gif:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
const-string v2, "url"
if-nez v1, :cond_0
goto :goto_0
.line 77
:cond_0
new-instance v3, Lorg/json/JSONObject;
invoke-direct {v3}, Lorg/json/JSONObject;-><init>()V
.line 78
invoke-virtual {v1}, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->getUrl()Ljava/lang/String;
move-result-object v1
invoke-virtual {v3, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "gif"
.line 79
invoke-virtual {v0, v1, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:goto_0
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->video:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
if-nez v1, :cond_1
goto :goto_1
.line 82
:cond_1
new-instance v3, Lorg/json/JSONObject;
invoke-direct {v3}, Lorg/json/JSONObject;-><init>()V
.line 83
invoke-virtual {v1}, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->getUrl()Ljava/lang/String;
move-result-object v1
invoke-virtual {v3, v2, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
const-string v1, "video"
.line 84
invoke-virtual {v0, v1, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
:goto_1
return-object v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "CustomUpdateMedia(gif="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->gif:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ", video="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMedia;->video:Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method

View File

@@ -0,0 +1,148 @@
.class public final Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field private final url:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 1
const-string v0, "url"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 95
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->url:Ljava/lang/String;
return-void
.end method
.method public static synthetic copy$default(Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;Ljava/lang/String;ILjava/lang/Object;)Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
.locals 0
and-int/lit8 p2, p2, 0x1
if-eqz p2, :cond_0
iget-object p1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->url:Ljava/lang/String;
:cond_0
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->copy(Ljava/lang/String;)Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
move-result-object p0
return-object p0
.end method
# virtual methods
.method public final component1()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->url:Ljava/lang/String;
return-object v0
.end method
.method public final copy(Ljava/lang/String;)Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
.locals 1
const-string v0, "url"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
new-instance v0, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
invoke-direct {v0, p1}, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;-><init>(Ljava/lang/String;)V
return-object v0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 3
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
instance-of v1, p1, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
const/4 v2, 0x0
if-nez v1, :cond_1
return v2
:cond_1
check-cast p1, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->url:Ljava/lang/String;
iget-object p1, p1, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->url:Ljava/lang/String;
invoke-static {v1, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_2
return v2
:cond_2
return v0
.end method
.method public final getUrl()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->url:Ljava/lang/String;
return-object v0
.end method
.method public hashCode()I
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->url:Ljava/lang/String;
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "CustomUpdateMediaInfo(url="
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/facebook/gamingservices/model/CustomUpdateMediaInfo;->url:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const/16 v1, 0x29
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method