TLRPCContacts$UpdateNewGreet.smali

.class public Lim/tpelyyftgw/tgnet/TLRPCContacts$UpdateNewGreet;
.super Lim/tpelyyftgw/tgnet/TLRPC$Update;
.source "TLRPCContacts.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lim/tpelyyftgw/tgnet/TLRPCContacts;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "UpdateNewGreet"
.end annotation


# static fields
.field public static constructor:I


# instance fields
.field public apply_info:Lim/tpelyyftgw/tgnet/TLRPCContacts$ContactApplyInfo;

.field public unread_count:I


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .line 78
    const v0, 0x708890ea

    sput v0, Lim/tpelyyftgw/tgnet/TLRPCContacts$UpdateNewGreet;->constructor:I

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    .line 77
    invoke-direct {p0}, Lim/tpelyyftgw/tgnet/TLRPC$Update;-><init>()V

    return-void
.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 83
    invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I

    move-result v0

    invoke-static {p1, v0, p2}, Lim/tpelyyftgw/tgnet/TLRPCContacts$ContactApplyInfo;->TLdeserialize(Lim/tpelyyftgw/tgnet/AbstractSerializedData;IZ)Lim/tpelyyftgw/tgnet/TLRPCContacts$ContactApplyInfo;

    move-result-object v0

    iput-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$UpdateNewGreet;->apply_info:Lim/tpelyyftgw/tgnet/TLRPCContacts$ContactApplyInfo;

    .line 84
    invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I

    move-result v0

    iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$UpdateNewGreet;->unread_count:I

    .line 85
    return-void
.end method

.method public serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V
    .registers 3
    .param p1, "stream"    # Lim/tpelyyftgw/tgnet/AbstractSerializedData;

    .line 88
    sget v0, Lim/tpelyyftgw/tgnet/TLRPCContacts$UpdateNewGreet;->constructor:I

    invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V

    .line 89
    iget-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$UpdateNewGreet;->apply_info:Lim/tpelyyftgw/tgnet/TLRPCContacts$ContactApplyInfo;

    invoke-virtual {v0, p1}, Lim/tpelyyftgw/tgnet/TLRPCContacts$ContactApplyInfo;->serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V

    .line 90
    iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPCContacts$UpdateNewGreet;->unread_count:I

    invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V

    .line 91
    return-void
.end method