Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICustomClientServerRpc

Extend alt.onRpc and alt.emitRpc auto-completion by merging interfaces.

example
declare module 'alt-client' {
   interface ICustomClientServerRpc {
       myRpc: (arg1: string, arg2: { key: string, value: number }): Promise<boolean>
   }
}
export
interface

ICustomClientServerRpc

Hierarchy

  • ICustomClientServerRpc