classpublicPriority 3
UpdateWeather
com.hypixel.hytale.protocol.packets.world.UpdateWeather
implements Packet
7
Methods
7
Public Methods
2
Fields
3
Constructors
Constants
intFIXED_BLOCK_SIZE= 8
booleanIS_COMPRESSED= false
intMAX_SIZE= 8
intNULLABLE_BIT_FIELD_SIZE= 0
intPACKET_ID= 149
intVARIABLE_BLOCK_START= 8
intVARIABLE_FIELD_COUNT= 0
Constructors
public
UpdateWeather()public
UpdateWeather(int weatherIndex, float transitionSeconds)public
UpdateWeather(UpdateWeather other)Methods
Public Methods (7)
publicstatic
int computeBytesConsumed(ByteBuf buf, int offset)public
int computeSize()@Override
public
boolean equals(Object obj)@Override
public
int getId()@Override
public
int hashCode()@Override
public
void serialize(ByteBuf buf)@Override
publicstatic
ValidationResult validateStructure(ByteBuf buffer, int offset)Fields
Public Fields (2)
public
float transitionSecondspublic
int weatherIndexRelated Classes
Used By