TLRPCContacts$TL_CustomerLable.smali
.class public Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;
.super Lim/tpelyyftgw/tgnet/TLObject;
.source "TLRPCContacts.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lim/tpelyyftgw/tgnet/TLRPCContacts;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "TL_CustomerLable"
.end annotation
# static fields
.field public static constructor:I
# instance fields
.field public lableInfo:Lim/tpelyyftgw/tgnet/TLRPC$PhotoSize;
.field public userType:I
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 1128
const v0, 0x7f2f04a2
sput v0, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;->constructor:I
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 1127
invoke-direct {p0}, Lim/tpelyyftgw/tgnet/TLObject;-><init>()V
return-void
.end method
.method public static TLdeserialize(Lim/tpelyyftgw/tgnet/AbstractSerializedData;IZ)Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;
.registers 7
.param p0, "stream" # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
.param p1, "constructor" # I
.param p2, "exception" # Z
.line 1134
sget v0, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;->constructor:I
if-eq v0, p1, :cond_1e
.line 1135
if-nez p2, :cond_8
.line 1138
const/4 v0, 0x0
return-object v0
.line 1136
:cond_8
new-instance v0, Ljava/lang/RuntimeException;
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
aput-object v3, v1, v2
const-string v2, "can\'t parse magic %x in TL_CustomerLable"
invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.line 1141
:cond_1e
new-instance v0, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;
invoke-direct {v0}, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;-><init>()V
.line 1142
.local v0, "result":Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;
invoke-virtual {v0, p0, p2}, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;->readParams(Lim/tpelyyftgw/tgnet/AbstractSerializedData;Z)V
.line 1143
return-object v0
.end method
# virtual methods
.method public readParams(Lim/tpelyyftgw/tgnet/AbstractSerializedData;Z)V
.registers 4
.param p1, "stream" # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
.param p2, "exception" # Z
.line 1148
invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I
move-result v0
iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;->userType:I
.line 1149
invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I
move-result v0
invoke-static {p1, v0, p2}, Lim/tpelyyftgw/tgnet/TLRPC$PhotoSize;->TLdeserialize(Lim/tpelyyftgw/tgnet/AbstractSerializedData;IZ)Lim/tpelyyftgw/tgnet/TLRPC$PhotoSize;
move-result-object v0
iput-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;->lableInfo:Lim/tpelyyftgw/tgnet/TLRPC$PhotoSize;
.line 1150
return-void
.end method
.method public serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V
.registers 3
.param p1, "stream" # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
.line 1153
sget v0, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;->constructor:I
invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V
.line 1154
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;->userType:I
invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V
.line 1155
iget-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$TL_CustomerLable;->lableInfo:Lim/tpelyyftgw/tgnet/TLRPC$PhotoSize;
invoke-virtual {v0, p1}, Lim/tpelyyftgw/tgnet/TLRPC$PhotoSize;->serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V
.line 1156
return-void
.end method