public class ObjectiveTask
Class ObjectiveTask. Provides objectivetask functionality for the Hytale server.
java.lang.Object > ObjectiveTask
Field Summary
taskDescriptionKey
public
String
taskDescriptionKey
Field taskDescriptionKey.
currentCompletion
public
int
currentCompletion
Field currentCompletion.
completionNeeded
public
int
completionNeeded
Field completionNeeded.
obj
final
ObjectiveTask
obj
Field obj.
nullBits
final
byte
nullBits
Field nullBits.
taskDescriptionKeyLen
final
int
taskDescriptionKeyLen
Field taskDescriptionKeyLen.
taskDescriptionKeyVarLen
final
int
taskDescriptionKeyVarLen
Field taskDescriptionKeyVarLen.
sl
final
int
sl
Field sl.
copy
final
ObjectiveTask
copy
Field copy.
Method Detail
ObjectiveTask
public
public
ObjectiveTask
()
Method ObjectiveTask.
deserialize
Method deserialize.
- Parameters:
@Nonnull final ByteBufbuffinal intoffset
computeBytesConsumed
static
int
computeBytesConsumed
(@Nonnull final ByteBuf buf, final int offset)
Method computeBytesConsumed.
- Parameters:
@Nonnull final ByteBufbuffinal intoffset
serialize
public
void
serialize
(@Nonnull final ByteBuf buf)
Method serialize.
- Parameters:
@Nonnull final ByteBufbuf
computeSize
public
int
computeSize
()
Method computeSize.
validateStructure
Method validateStructure.
- Parameters:
@Nonnull final ByteBufbufferfinal intoffset
equals
public
boolean
equals
(final Object obj)
Method equals.
- Parameters:
final Objectobj
hashCode
public
int
hashCode
()
Method hashCode.