Class WrapperPlayServerGameStateChange
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerGameStateChange
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.comphenix.protocol.PacketType
The packet type that is wrapped by this wrapper.Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new wrapper and initialize it with a packet handle with default valuesWrapperPlayServerGameStateChange
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPEThe packet type that is wrapped by this wrapper.
-
-
Constructor Details
-
WrapperPlayServerGameStateChange
public WrapperPlayServerGameStateChange()Constructs a new wrapper and initialize it with a packet handle with default values -
WrapperPlayServerGameStateChange
public WrapperPlayServerGameStateChange(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getEvent
Retrieves the value of field 'event'- Returns:
- 'event'
-
setEvent
Sets the value of field 'event'- Parameters:
value
- New value for field 'event'
-
getParam
public float getParam()Retrieves the value of field 'param'- Returns:
- 'param'
-
setParam
public void setParam(float value) Sets the value of field 'param'- Parameters:
value
- New value for field 'param'
-