public final class PipeLockedStateMessage extends AbstractMessageWithLocation
| Constructor and Description |
|---|
PipeLockedStateMessage() |
PipeLockedStateMessage(CasingBlockEntity casing,
Face face,
Port port,
boolean isLocked) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromBytes(io.netty.buffer.ByteBuf buf) |
Face |
getFace() |
Port |
getPort() |
boolean |
isLocked() |
void |
toBytes(io.netty.buffer.ByteBuf buf) |
getPositionpublic PipeLockedStateMessage(CasingBlockEntity casing, Face face, Port port, boolean isLocked)
public PipeLockedStateMessage()
public Face getFace()
public Port getPort()
public boolean isLocked()
public void fromBytes(io.netty.buffer.ByteBuf buf)
fromBytes in class AbstractMessageWithLocationpublic void toBytes(io.netty.buffer.ByteBuf buf)
toBytes in class AbstractMessageWithLocation