Skip to main content

Аргументы

RakNetPacket
обязательно
Live packet object passed to a RakNet hook or signal callback.
string | buffer | {number}
обязательно
Replacement packet data. Array-table bytes must be numbers from 0 through 255.

Типы

RakNetPacket

Live packet object passed to RakNet hooks and packet signal callbacks. It is only valid during the callback that receives it.

Пример

Replace packet data from inside a live packet callback.