public class AuthGrant implements Packet
Class AuthGrant. Provides authgrant functionality for the Hytale server.
java.lang.Object > AuthGrant
Field Summary
authorizationGrant
public
String
authorizationGrant
Field authorizationGrant.
serverIdentityToken
public
String
serverIdentityToken
Field serverIdentityToken.
obj
final
AuthGrant
obj
Field obj.
nullBits
final
byte
nullBits
Field nullBits.
varPos0
final
int
varPos0
Field varPos0.
authorizationGrantLen
final
int
authorizationGrantLen
Field authorizationGrantLen.
varPos2
final
int
varPos2
Field varPos2.
serverIdentityTokenLen
final
int
serverIdentityTokenLen
Field serverIdentityTokenLen.
fieldOffset0
final
int
fieldOffset0
Field fieldOffset0.
sl
final
int
sl
Field sl.
fieldOffset2
final
int
fieldOffset2
Field fieldOffset2.
startPos
final
int
startPos
Field startPos.
authorizationGrantOffsetSlot
final
int
authorizationGrantOffsetSlot
Field authorizationGrantOffsetSlot.
serverIdentityTokenOffsetSlot
final
int
serverIdentityTokenOffsetSlot
Field serverIdentityTokenOffsetSlot.
varBlockStart
final
int
varBlockStart
Field varBlockStart.
authorizationGrantOffset
final
int
authorizationGrantOffset
Field authorizationGrantOffset.
serverIdentityTokenOffset
final
int
serverIdentityTokenOffset
Field serverIdentityTokenOffset.
copy
final
AuthGrant
copy
Field copy.
Method Detail
getId
public
int
getId
()
Method getId.
AuthGrant
public
public
AuthGrant
()
Method AuthGrant.
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.