c.smali
.class public final Lsg/bigolive/revenue64/pro/medal/c;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/svcapi/IProtocol;
# static fields
.field public static a:I = 0x492ef
# instance fields
.field public b:I
.field public c:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lsg/bigolive/revenue64/pro/medal/a;",
">;"
}
.end annotation
.end field
.field public d:I
# direct methods
.method static constructor <clinit>()V
.registers 0
return-void
.end method
.method public constructor <init>()V
.registers 2
.line 12
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 19
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lsg/bigolive/revenue64/pro/medal/c;->c:Ljava/util/List;
return-void
.end method
# virtual methods
.method public final marshall(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
.registers 4
.line 44
iget v0, p0, Lsg/bigolive/revenue64/pro/medal/c;->b:I
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->putInt(I)Ljava/nio/ByteBuffer;
.line 45
iget-object v0, p0, Lsg/bigolive/revenue64/pro/medal/c;->c:Ljava/util/List;
const-class v1, Lsg/bigolive/revenue64/pro/medal/a;
invoke-static {p1, v0, v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->marshall(Ljava/nio/ByteBuffer;Ljava/util/Collection;Ljava/lang/Class;)Ljava/nio/ByteBuffer;
.line 46
iget v0, p0, Lsg/bigolive/revenue64/pro/medal/c;->d:I
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->putInt(I)Ljava/nio/ByteBuffer;
return-object p1
.end method
.method public final seq()I
.registers 2
.line 24
iget v0, p0, Lsg/bigolive/revenue64/pro/medal/c;->b:I
return v0
.end method
.method public final setSeq(I)V
.registers 2
.line 27
iput p1, p0, Lsg/bigolive/revenue64/pro/medal/c;->b:I
return-void
.end method
.method public final size()I
.registers 2
.line 37
iget-object v0, p0, Lsg/bigolive/revenue64/pro/medal/c;->c:Ljava/util/List;
invoke-static {v0}, Lsg/bigo/svcapi/proto/ProtoHelper;->calcMarshallSize(Ljava/util/Collection;)I
move-result v0
add-int/lit8 v0, v0, 0x4
add-int/lit8 v0, v0, 0x4
return v0
.end method
.method public final unmarshall(Ljava/nio/ByteBuffer;)V
.registers 4
.annotation system Ldalvik/annotation/Throws;
value = {
Lsg/bigo/svcapi/proto/InvalidProtocolData;
}
.end annotation
.line 53
:try_start_0
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getInt()I
move-result v0
iput v0, p0, Lsg/bigolive/revenue64/pro/medal/c;->b:I
.line 54
iget-object v0, p0, Lsg/bigolive/revenue64/pro/medal/c;->c:Ljava/util/List;
const-class v1, Lsg/bigolive/revenue64/pro/medal/a;
invoke-static {p1, v0, v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshall(Ljava/nio/ByteBuffer;Ljava/util/Collection;Ljava/lang/Class;)V
.line 55
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getInt()I
move-result p1
iput p1, p0, Lsg/bigolive/revenue64/pro/medal/c;->d:I
:try_end_13
.catch Ljava/nio/BufferUnderflowException; {:try_start_0 .. :try_end_13} :catch_14
return-void
:catch_14
move-exception p1
.line 57
new-instance v0, Lsg/bigo/svcapi/proto/InvalidProtocolData;
invoke-direct {v0, p1}, Lsg/bigo/svcapi/proto/InvalidProtocolData;-><init>(Ljava/lang/Exception;)V
throw v0
.end method
.method public final uri()I
.registers 2
.line 30
sget v0, Lsg/bigolive/revenue64/pro/medal/c;->a:I
return v0
.end method