toggle menu
openrs2
jvm
switch theme
search in API
openrs2
/
org.openrs2.protocol
/
EmptyPacketCodec
Empty
Packet
Codec
abstract
class
EmptyPacketCodec
<
T
:
Packet
>
(
packet
:
T
,
opcode
:
Int
)
:
FixedPacketCodec
<
T
>
Inheritors
CannotCreateAtThisTimeCodec
CountryInvalidCodec
CreateClientOutOfDateCodec
CreateIpLimitCodec
CreateOkCodec
CreateServerFullCodec
CreateServerOfflineCodec
DateOfBirthFutureCodec
DateOfBirthInvalidCodec
DateOfBirthLastYearCodec
DateOfBirthThisYearCodec
EmailInvalid1Codec
EmailInvalid2Codec
EmailInvalidCodec
NameInvalidCodec
NameUnavailableCodec
PasswordGuessable1Codec
PasswordGuessableCodec
PasswordInvalidCharsCodec
PasswordInvalidLengthCodec
PasswordSimilarToName1Codec
PasswordSimilarToName2Codec
PasswordSimilarToNameCodec
Js5ClientOutOfDateCodec
Js5IpLimitCodec
Js5OkCodec
Js5ServerFullCodec
BadSessionIdCodec
BannedCodec
ClientMembersOnlyCodec
ClientOutOfDateCodec
DuplicateCodec
ForcePasswordChangeCodec
FullscreenMembersOnlyCodec
InvalidLoginPacketCodec
InvalidLoginServerCodec
InvalidSaveCodec
InvalidUsernameOrPasswordCodec
IpBlockedCodec
IpLimitCodec
LockedCodec
LoginServerLoadErrorCodec
LoginServerOfflineCodec
MapMembersOnlyCodec
NeedMembersAccountCodec
NoReplyFromLoginServerCodec
ReconnectOkCodec
ServerFullCodec
ServiceUnavailableCodec
ShowVideoAdCodec
TooManyAttemptsCodec
UnknownReplyFromLoginServerCodec
UpdateInProgressCodec
InitCrossDomainConnectionCodec
InitJaggrabConnectionCodec
Members
Constructors
Empty
Packet
Codec
Link copied to clipboard
constructor
(
packet
:
T
,
opcode
:
Int
)
Properties
length
Link copied to clipboard
val
length
:
Int
opcode
Link copied to clipboard
val
opcode
:
Int
type
Link copied to clipboard
val
type
:
Class
<
T
>
Functions
allocate
Buffer
Link copied to clipboard
open
override
fun
allocateBuffer
(
alloc
:
ByteBufAllocator
,
input
:
T
,
preferDirect
:
Boolean
)
:
ByteBuf
decode
Link copied to clipboard
open
override
fun
decode
(
input
:
ByteBuf
,
cipher
:
StreamCipher
)
:
T
encode
Link copied to clipboard
open
override
fun
encode
(
input
:
T
,
output
:
ByteBuf
,
cipher
:
StreamCipher
)
is
Length
Readable
Link copied to clipboard
open
override
fun
isLengthReadable
(
input
:
ByteBuf
)
:
Boolean
read
Length
Link copied to clipboard
open
override
fun
readLength
(
input
:
ByteBuf
)
:
Int
set
Length
Link copied to clipboard
open
override
fun
setLength
(
output
:
ByteBuf
,
index
:
Int
,
written
:
Int
)
write
Length
Placeholder
Link copied to clipboard
open
override
fun
writeLengthPlaceholder
(
output
:
ByteBuf
)