public class JsonUpdateCommand
Command for jsonupdat operations. Registered with the command system and callable by players.
java.lang.Object > JsonUpdateCommand
Field Summary
type
Field type.
path
Field path.
value
Field value.
previousValue
Field previousValue.
firstCreatedProperty
Field firstCreatedProperty.
rebuildCaches
Field rebuildCaches.
obj
Field obj.
nullBits
Field nullBits.
varPos0
Field varPos0.
pathCount
Field pathCount.
varIntLen
Field varIntLen.
strLen
Field strLen.
strVarLen
Field strVarLen.
varPos2
Field varPos2.
valueLen
Field valueLen.
varPos3
Field varPos3.
previousValueLen
Field previousValueLen.
varPos4
Field varPos4.
firstCreatedPropertyCount
Field firstCreatedPropertyCount.
fieldOffset0
Field fieldOffset0.
arrLen
Field arrLen.
sl
Field sl.
fieldOffset2
Field fieldOffset2.
sl2
Field sl2.
fieldOffset3
Field fieldOffset3.
fieldOffset4
Field fieldOffset4.
startPos
Field startPos.
pathOffsetSlot
Field pathOffsetSlot.
valueOffsetSlot
Field valueOffsetSlot.
previousValueOffsetSlot
Field previousValueOffsetSlot.
firstCreatedPropertyOffsetSlot
Field firstCreatedPropertyOffsetSlot.
varBlockStart
Field varBlockStart.
pathOffset
Field pathOffset.
valueOffset
Field valueOffset.
previousValueOffset
Field previousValueOffset.
firstCreatedPropertyOffset
Field firstCreatedPropertyOffset.
copy
Field copy.
Method Detail
JsonUpdateCommand
public
JsonUpdateCommand
()
Method JsonUpdateCommand.
deserialize
Method deserialize.
- Parameters:
@Nonnull final ByteBufbuffinal intoffset
computeBytesConsumed
int
computeBytesConsumed
(@Nonnull final ByteBuf buf, final int offset)
Method computeBytesConsumed.
- Parameters:
@Nonnull final ByteBufbuffinal intoffset
serialize
void
serialize
(@Nonnull final ByteBuf buf)
Method serialize.
- Parameters:
@Nonnull final ByteBufbuf
computeSize
int
computeSize
()
Method computeSize.
validateStructure
Method validateStructure.
- Parameters:
@Nonnull final ByteBufbufferfinal intoffset
equals
boolean
equals
(final Object obj)
Method equals.
- Parameters:
final Objectobj
hashCode
int
hashCode
()
Method hashCode.