public class PacketStage
extends net.darkhax.bookshelf.network.SerializableMessage
net.darkhax.bookshelf.network.SerializableMessage to handle the IO automagically.| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
stageName
The name of the stage to modify.
|
boolean |
unlock
Whether or not the stage is being added or removed.
|
| Constructor and Description |
|---|
PacketStage()
Empty constructor, required by forge's system.
|
PacketStage(java.lang.String stageName,
boolean unlock)
Constructor for the packet.
|
| Modifier and Type | Method and Description |
|---|---|
net.minecraftforge.fml.common.network.simpleimpl.IMessage |
handleMessage(net.minecraftforge.fml.common.network.simpleimpl.MessageContext context) |
public java.lang.String stageName
public boolean unlock
public PacketStage()
public PacketStage(java.lang.String stageName,
boolean unlock)
stageName - The name of the stage to modify.unlock - Whether or not the stage is being added or removed.