public final class StaticSourceInfo extends SourceInfo
SourceInfo.TypeaddonId, angle, codec, iconVisible, id, lineId, state, stereo| Constructor and Description |
|---|
StaticSourceInfo(@NotNull java.lang.String addonId,
@NotNull java.util.UUID sourceId,
@NotNull java.util.UUID lineId,
byte state,
@NotNull java.lang.String codec,
boolean stereo,
boolean iconVisible,
int angle,
Pos3d position,
Pos3d lookAngle) |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(com.google.common.io.ByteArrayDataInput in) |
SourceInfo.Type |
getType() |
void |
serialize(com.google.common.io.ByteArrayDataOutput out) |
ofpublic StaticSourceInfo(@NotNull
@NotNull java.lang.String addonId,
@NotNull
@NotNull java.util.UUID sourceId,
@NotNull
@NotNull java.util.UUID lineId,
byte state,
@NotNull
@NotNull java.lang.String codec,
boolean stereo,
boolean iconVisible,
int angle,
Pos3d position,
Pos3d lookAngle)
public void deserialize(com.google.common.io.ByteArrayDataInput in)
throws java.io.IOException
deserialize in interface PacketSerializabledeserialize in class SourceInfojava.io.IOExceptionpublic void serialize(com.google.common.io.ByteArrayDataOutput out)
throws java.io.IOException
serialize in interface PacketSerializableserialize in class SourceInfojava.io.IOExceptionpublic SourceInfo.Type getType()
getType in class SourceInfo