offRpc
Callable
- offRpc<K>(rpcName: string, listener: (player: Player, ...args: Parameters<ICustomClientServerRpc[K]>) => ReturnType<ICustomClientServerRpc[K]> | Promise<ReturnType<ICustomClientServerRpc[K]>>): void
- offRpc<K>(rpcName: Exclude<K, never>, listener?: (player: Player, ...args: any[]) => any): void
Type parameters
- K: never