76 lines
1.8 KiB
Smali
76 lines
1.8 KiB
Smali
.class public final Lcom/discord/gateway/io/Incoming;
|
|
.super Ljava/lang/Object;
|
|
.source "Incoming.kt"
|
|
|
|
|
|
# instance fields
|
|
.field public final data:Ljava/lang/Object;
|
|
|
|
.field public final opcode:Lcom/discord/gateway/opcodes/Opcode;
|
|
|
|
.field public final seq:Ljava/lang/Integer;
|
|
|
|
.field public final type:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Integer;Lcom/discord/gateway/opcodes/Opcode;Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
if-eqz p3, :cond_0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/discord/gateway/io/Incoming;->type:Ljava/lang/String;
|
|
|
|
iput-object p2, p0, Lcom/discord/gateway/io/Incoming;->seq:Ljava/lang/Integer;
|
|
|
|
iput-object p3, p0, Lcom/discord/gateway/io/Incoming;->opcode:Lcom/discord/gateway/opcodes/Opcode;
|
|
|
|
iput-object p4, p0, Lcom/discord/gateway/io/Incoming;->data:Ljava/lang/Object;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string p1, "opcode"
|
|
|
|
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getData()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/gateway/io/Incoming;->data:Ljava/lang/Object;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getOpcode()Lcom/discord/gateway/opcodes/Opcode;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/gateway/io/Incoming;->opcode:Lcom/discord/gateway/opcodes/Opcode;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getSeq()Ljava/lang/Integer;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/gateway/io/Incoming;->seq:Ljava/lang/Integer;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getType()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/discord/gateway/io/Incoming;->type:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|