Skip to main content

エイリアス

  • RakNet.Send
  • raknet.send
  • raknet.Send

引数

string | buffer | {number} | RakNetPacket | RakNetPacketTable
必須
Packet data or packet object to queue. Array-table bytes must be numbers from 0 through 255.
integer
Optional priority used only for raw data calls. Defaults to 2.
integer
Optional reliability used only for raw data calls. Defaults to 3.
integer
Optional ordering channel used only for raw data calls. Defaults to 0.

型

RakNetPacketTable

Table form accepted by RakNet.send.

RakNetPacket

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

例

Queue packet data after checking that the RakNet API surface is enabled.