Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[{"assetUrl":"https://lh4.googleusercontent.com/-DGfqrYu9d1A/U_OSBYBPtYI/AAAAAAAAQGg/P4pJfg4fJPg/w702-h586-no/xr.png", "title": "XR Link Amp", "description": "Link farther with Niantic Labs' new Extremely Rare link amp. Range of up to 4294967295 kilometers.", "itemId": "e9096abaa62f473d8a622772ce43a82b.b", "sortOrder": 0},{"assetUrl":"https://lh5.googleusercontent.com/--uYZFkB6I3M/U_OSBSLMRuI/AAAAAAAAQGo/9jcWG4HxWhQ/w720-h657-no/vc.png", "title": "VC Portal Shield", "description": "\"Here's a nickel, kid. Buy yourself a real shield.\"", "itemId": "b87a2bf1eff54bf096a5fa0864e302a4.b", "sortOrder": 1}]
.class public final Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public assetUrl:Ljava/lang/String;
.annotation build Lo/oi;
.end annotation
.annotation runtime Lorg/codehaus/jackson/annotate/JsonProperty;
.end annotation
.end field
.field public cost:I
.annotation build Lo/oi;
.end annotation
.annotation runtime Lorg/codehaus/jackson/annotate/JsonProperty;
.end annotation
.end field
.field public description:Ljava/lang/String;
.annotation build Lo/oi;
.end annotation
.annotation runtime Lorg/codehaus/jackson/annotate/JsonProperty;
.end annotation
.end field
.field public itemId:Ljava/lang/String;
.annotation build Lo/oi;
.end annotation
.annotation runtime Lorg/codehaus/jackson/annotate/JsonProperty;
.end annotation
.end field
.field public sortOrder:I
.annotation build Lo/oi;
.end annotation
.annotation runtime Lorg/codehaus/jackson/annotate/JsonProperty;
.end annotation
.end field
.field public title:Ljava/lang/String;
.annotation build Lo/oi;
.end annotation
.annotation runtime Lorg/codehaus/jackson/annotate/JsonProperty;
.end annotation
.end field
# direct methods
.method private constructor <init>()V
.locals 1
.line 46
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 47
const/4 v0, 0x0
iput-object v0, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->itemId:Ljava/lang/String;
.line 48
const-string v0, ""
iput-object v0, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->title:Ljava/lang/String;
.line 49
const-string v0, ""
iput-object v0, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->description:Ljava/lang/String;
.line 50
const/4 v0, 0x0
iput v0, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->cost:I
.line 51
const-string v0, ""
iput-object v0, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->assetUrl:Ljava/lang/String;
.line 52
const/4 v0, 0x0
iput v0, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->sortOrder:I
.line 53
return-void
.end method
# virtual methods
.method public final equals(Ljava/lang/Object;)Z
.locals 4
.line 100
if-eqz p1, :cond_0
instance-of v0, p1, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;
if-nez v0, :cond_1
.line 101
:cond_0
const/4 v0, 0x0
return v0
.line 103
:cond_1
move-object v0, p1
check-cast v0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;
move-object v1, v0
.line 104
iget-object v2, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->itemId:Ljava/lang/String;
iget-object v3, v1, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->itemId:Ljava/lang/String;
.line 1060
if-eq v2, v3, :cond_2
if-eqz v2, :cond_3
invoke-virtual {v2, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_3
:cond_2
const/4 v0, 0x1
goto :goto_0
:cond_3
const/4 v0, 0x0
.line 104
:goto_0
if-eqz v0, :cond_e
iget-object v2, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->title:Ljava/lang/String;
iget-object v3, v1, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->title:Ljava/lang/String;
.line 2060
if-eq v2, v3, :cond_4
if-eqz v2, :cond_5
invoke-virtual {v2, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_5
:cond_4
const/4 v0, 0x1
goto :goto_1
:cond_5
const/4 v0, 0x0
.line 104
:goto_1
if-eqz v0, :cond_e
iget-object v2, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->description:Ljava/lang/String;
iget-object v3, v1, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->description:Ljava/lang/String;
.line 3060
if-eq v2, v3, :cond_6
if-eqz v2, :cond_7
invoke-virtual {v2, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_7
:cond_6
const/4 v0, 0x1
goto :goto_2
:cond_7
const/4 v0, 0x0
.line 104
:goto_2
if-eqz v0, :cond_e
iget v0, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->cost:I
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
iget v0, v1, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->cost:I
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
.line 4060
if-eq v2, v3, :cond_8
if-eqz v2, :cond_9
invoke-virtual {v2, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_9
:cond_8
const/4 v0, 0x1
goto :goto_3
:cond_9
const/4 v0, 0x0
.line 104
:goto_3
if-eqz v0, :cond_e
iget-object v2, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->assetUrl:Ljava/lang/String;
iget-object v3, v1, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->assetUrl:Ljava/lang/String;
.line 5060
if-eq v2, v3, :cond_a
if-eqz v2, :cond_b
invoke-virtual {v2, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_b
:cond_a
const/4 v0, 0x1
goto :goto_4
:cond_b
const/4 v0, 0x0
.line 104
:goto_4
if-eqz v0, :cond_e
iget v0, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->sortOrder:I
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
iget v0, v1, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->sortOrder:I
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
.line 6060
if-eq v2, v3, :cond_c
if-eqz v2, :cond_d
invoke-virtual {v2, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_d
:cond_c
const/4 v0, 0x1
goto :goto_5
:cond_d
const/4 v0, 0x0
.line 104
:goto_5
if-eqz v0, :cond_e
const/4 v0, 0x1
return v0
:cond_e
const/4 v0, 0x0
return v0
.end method
.method public final hashCode()I
.locals 3
.line 114
const/4 v0, 0x6
new-array v0, v0, [Ljava/lang/Object;
iget-object v1, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->itemId:Ljava/lang/String;
const/4 v2, 0x0
aput-object v1, v0, v2
iget-object v1, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->title:Ljava/lang/String;
const/4 v2, 0x1
aput-object v1, v0, v2
iget-object v1, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->description:Ljava/lang/String;
const/4 v2, 0x2
aput-object v1, v0, v2
iget v1, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->cost:I
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const/4 v2, 0x3
aput-object v1, v0, v2
iget-object v1, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->assetUrl:Ljava/lang/String;
const/4 v2, 0x4
aput-object v1, v0, v2
iget v1, p0, Lcom/nianticproject/ingress/shared/rpc/store/PurchasableItem;->sortOrder:I
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const/4 v2, 0x5
aput-object v1, v0, v2
.line 6084
invoke-static {v0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I
move-result v0
.line 114
return v0
.end method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment