SpecialRoomInfo.smali

.class public Lcom/masala/share/proto/model/SpecialRoomInfo;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/os/Parcelable;
.implements Ljava/io/Serializable;
.implements Lsg/bigo/svcapi/proto/Marshallable;


# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/os/Parcelable$Creator<",
            "Lcom/masala/share/proto/model/SpecialRoomInfo;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field public a:J

.field public b:I

.field public c:I

.field public d:Ljava/lang/String;

.field public e:Ljava/lang/String;

.field public f:Ljava/lang/String;

.field public g:I

.field public h:I

.field public i:B


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

    .line 74
    new-instance v0, Lcom/masala/share/proto/model/SpecialRoomInfo$1;

    invoke-direct {v0}, Lcom/masala/share/proto/model/SpecialRoomInfo$1;-><init>()V

    sput-object v0, Lcom/masala/share/proto/model/SpecialRoomInfo;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void
.end method

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

    .line 17
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public describeContents()I
    .registers 2

    const/4 v0, 0x0

    return v0
.end method

.method public marshall(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
    .registers 2

    .line 36
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V

    throw p1
.end method

.method public size()I
    .registers 2

    .line 31
    new-instance v0, Ljava/lang/UnsupportedOperationException;

    invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V

    throw v0
.end method

.method public unmarshall(Ljava/nio/ByteBuffer;)V
    .registers 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lsg/bigo/svcapi/proto/InvalidProtocolData;
        }
    .end annotation

    .line 42
    :try_start_0
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getLong()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->a:J

    .line 43
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getInt()I

    move-result v0

    iput v0, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->b:I

    .line 44
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getInt()I

    move-result v0

    iput v0, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->c:I

    .line 45
    invoke-static {p1}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshallShortString(Ljava/nio/ByteBuffer;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->d:Ljava/lang/String;

    .line 46
    invoke-static {p1}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshallShortString(Ljava/nio/ByteBuffer;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->e:Ljava/lang/String;

    .line 47
    invoke-static {p1}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshallShortString(Ljava/nio/ByteBuffer;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->f:Ljava/lang/String;

    .line 48
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getInt()I

    move-result v0

    iput v0, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->g:I

    .line 49
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getInt()I

    move-result v0

    iput v0, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->h:I

    .line 50
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->get()B

    move-result p1

    iput-byte p1, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->i:B
    :try_end_36
    .catch Ljava/nio/BufferUnderflowException; {:try_start_0 .. :try_end_36} :catch_37

    return-void

    :catch_37
    move-exception p1

    .line 52
    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 writeToParcel(Landroid/os/Parcel;I)V
    .registers 5

    .line 63
    iget-wide v0, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->a:J

    invoke-virtual {p1, v0, v1}, Landroid/os/Parcel;->writeLong(J)V

    .line 64
    iget p2, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->b:I

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 65
    iget p2, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->c:I

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 66
    iget-object p2, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->d:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 67
    iget-object p2, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->e:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 68
    iget-object p2, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->f:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    .line 69
    iget p2, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->g:I

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 70
    iget p2, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->h:I

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeInt(I)V

    .line 71
    iget-byte p2, p0, Lcom/masala/share/proto/model/SpecialRoomInfo;->i:B

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeByte(B)V

    return-void
.end method