Search
Preparing search index...
The search index is not available
SkeldJS
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
protocol
GameDataToMessage
Class GameDataToMessage
Hierarchy
BaseRootMessage
GameDataToMessage
Index
Methods
Deserialize
Serialize
cancel
clone
Properties
message
Tag
message
Type
_children
code
message
Tag
message
Type
recipientid
Accessors
canceled
Constructors
constructor
Methods
Static
Deserialize
Deserialize
(
reader
:
HazelReader
, direction
:
MessageDirection
, decoder
:
PacketDecoder
<
any
>
)
:
GameDataToMessage
Parameters
reader:
HazelReader
direction:
MessageDirection
decoder:
PacketDecoder
<
any
>
Returns
GameDataToMessage
Serialize
Serialize
(
writer
:
HazelWriter
, direction
:
MessageDirection
, decoder
:
PacketDecoder
<
any
>
)
:
void
Parameters
writer:
HazelWriter
direction:
MessageDirection
decoder:
PacketDecoder
<
any
>
Returns
void
cancel
cancel
(
)
:
void
Returns
void
clone
clone
(
)
:
GameDataToMessage
Returns
GameDataToMessage
Properties
Static
message
Tag
message
Tag
:
GameDataTo
= ...
Static
message
Type
message
Type
:
"root"
= ...
_children
_children
:
BaseGameDataMessage
[]
code
code
:
number
message
Tag
message
Tag
:
GameDataTo
= ...
message
Type
message
Type
:
"root"
= ...
recipientid
recipientid
:
number
Accessors
canceled
get
canceled
(
)
:
boolean
Returns
boolean
Constructors
constructor
new
Game
Data
ToMessage
(
code
:
string
|
number
, recipientid
:
number
, children
:
BaseGameDataMessage
[]
)
:
GameDataToMessage
Parameters
code:
string
|
number
recipientid:
number
children:
BaseGameDataMessage
[]
Returns
GameDataToMessage
Getting
Started
Creating a
Client
Guides
Events
Writing
Custom
Protocol
Messages
Creating
Custom INOs
End
Game
Intents
API
Modules
client
constant
core
data
dtls
eos
events
lan
matchmaking
pathfinding
protocol
reactor
state
text
translations
util
client
constant
core
data
dtls
eos
events
lan
matchmaking
pathfinding
protocol
Game
Data
ToMessage
Deserialize
message
Tag
message
Type
Serialize
_children
cancel
canceled
clone
code
constructor
message
Tag
message
Type
recipientid
reactor
state
text
translations
util
Generated using
TypeDoc