87 lines
1.8 KiB
Smali
87 lines
1.8 KiB
Smali
.class public final Lcom/discord/gateway/io/Outgoing;
|
|
.super Ljava/lang/Object;
|
|
.source "Outgoing.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public final d:Ljava/lang/Object;
|
|
|
|
.field public final op:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Lcom/discord/gateway/io/Outgoing;->op:I
|
|
|
|
iput-object p2, p0, Lcom/discord/gateway/io/Outgoing;->d:Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(ILjava/lang/Object;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/gateway/io/Outgoing;-><init>(ILjava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/discord/gateway/opcodes/Opcode;Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
invoke-virtual {p1}, Lcom/discord/gateway/opcodes/Opcode;->getApiInt()I
|
|
|
|
move-result p1
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/gateway/io/Outgoing;-><init>(ILjava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "opcode"
|
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lcom/discord/gateway/opcodes/Opcode;Ljava/lang/Object;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
and-int/lit8 p3, p3, 0x2
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
const/4 p2, 0x0
|
|
|
|
:cond_0
|
|
invoke-direct {p0, p1, p2}, Lcom/discord/gateway/io/Outgoing;-><init>(Lcom/discord/gateway/opcodes/Opcode;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getOp()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/discord/gateway/io/Outgoing;->op:I
|
|
|
|
return v0
|
|
.end method
|