TLRPC$TL_channelParticipantBanned.smali
.class public Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;
.super Lim/tpelyyftgw/tgnet/TLRPC$ChannelParticipant;
.source "TLRPC.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lim/tpelyyftgw/tgnet/TLRPC;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "TL_channelParticipantBanned"
.end annotation
# static fields
.field public static constructor:I
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 24905
const v0, 0x1c0facaf
sput v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->constructor:I
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 24904
invoke-direct {p0}, Lim/tpelyyftgw/tgnet/TLRPC$ChannelParticipant;-><init>()V
return-void
.end method
# virtual methods
.method public readParams(Lim/tpelyyftgw/tgnet/AbstractSerializedData;Z)V
.registers 5
.param p1, "stream" # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
.param p2, "exception" # Z
.line 24909
invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I
move-result v0
iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->flags:I
.line 24910
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->flags:I
const/4 v1, 0x1
and-int/2addr v0, v1
if-eqz v0, :cond_d
goto :goto_e
:cond_d
const/4 v1, 0x0
:goto_e
iput-boolean v1, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->left:Z
.line 24911
invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I
move-result v0
iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->user_id:I
.line 24912
invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I
move-result v0
iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->kicked_by:I
.line 24913
invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I
move-result v0
iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->date:I
.line 24914
invoke-virtual {p1, p2}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->readInt32(Z)I
move-result v0
invoke-static {p1, v0, p2}, Lim/tpelyyftgw/tgnet/TLRPC$TL_chatBannedRights;->TLdeserialize(Lim/tpelyyftgw/tgnet/AbstractSerializedData;IZ)Lim/tpelyyftgw/tgnet/TLRPC$TL_chatBannedRights;
move-result-object v0
iput-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->banned_rights:Lim/tpelyyftgw/tgnet/TLRPC$TL_chatBannedRights;
.line 24915
return-void
.end method
.method public serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V
.registers 3
.param p1, "stream" # Lim/tpelyyftgw/tgnet/AbstractSerializedData;
.line 24918
sget v0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->constructor:I
invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V
.line 24919
iget-boolean v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->left:Z
if-eqz v0, :cond_e
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->flags:I
or-int/lit8 v0, v0, 0x1
goto :goto_12
:cond_e
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->flags:I
and-int/lit8 v0, v0, -0x2
:goto_12
iput v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->flags:I
.line 24920
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->flags:I
invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V
.line 24921
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->user_id:I
invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V
.line 24922
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->kicked_by:I
invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V
.line 24923
iget v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->date:I
invoke-virtual {p1, v0}, Lim/tpelyyftgw/tgnet/AbstractSerializedData;->writeInt32(I)V
.line 24924
iget-object v0, p0, Lim/tpelyyftgw/tgnet/TLRPC$TL_channelParticipantBanned;->banned_rights:Lim/tpelyyftgw/tgnet/TLRPC$TL_chatBannedRights;
invoke-virtual {v0, p1}, Lim/tpelyyftgw/tgnet/TLRPC$TL_chatBannedRights;->serializeToStream(Lim/tpelyyftgw/tgnet/AbstractSerializedData;)V
.line 24925
return-void
.end method