Interface PacketRegistry
🔧 Methods
findCoderById
ts
findCoderById(packetId: number, side: "server" | "client"): Coder<any>
Parameters
- packetId:
number
- side:
"server" | "client"
Return Type
Coder<any>
Defined in: packages/client/channel.ts:250
getPacketId
ts
getPacketId(message: any, side: "server" | "client"): number
Parameters
- message:
any
- side:
"server" | "client"
Return Type
number
Defined in: packages/client/channel.ts:251