[NodeMod Core]
/ .. / MessageData
Interface: MessageData
Defined in: src/core/msg.ts:7
Represents a single piece of message data with its type and value.
Properties
type
type:
"string"
|"byte"
|"char"
|"short"
|"long"
|"angle"
|"coord"
|"entity"
Defined in: src/core/msg.ts:9
The data type for network serialization
value
value:
any
Defined in: src/core/msg.ts:11
The actual value to be sent