+ Updated: build & d.ts (for last commit)
This commit is contained in:
parent
a47449e7cb
commit
4a676eca67
4
dist/rage-rpc.d.ts
vendored
4
dist/rage-rpc.d.ts
vendored
@ -1,6 +1,6 @@
|
|||||||
export as namespace rpc;
|
export as namespace rpc;
|
||||||
|
|
||||||
export function register(name: string, cb: ProcedureListener): void;
|
export function register(name: string, cb: ProcedureListener): Function;
|
||||||
export function unregister(name: string): void;
|
export function unregister(name: string): void;
|
||||||
export function call<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>;
|
export function call<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>;
|
||||||
export function callServer<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>;
|
export function callServer<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>;
|
||||||
@ -10,7 +10,7 @@ export function callBrowsers<T = any>(player: Player, name: string, args?: any,
|
|||||||
export function callBrowsers<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>;
|
export function callBrowsers<T = any>(name: string, args?: any, options?: CallOptions): Promise<T>;
|
||||||
export function callBrowser<T = any>(browser: Browser, name: string, args?: any, options?: CallOptions): Promise<T>;
|
export function callBrowser<T = any>(browser: Browser, name: string, args?: any, options?: CallOptions): Promise<T>;
|
||||||
|
|
||||||
export function on(name: string, cb: ProcedureListener): void;
|
export function on(name: string, cb: ProcedureListener): Function;
|
||||||
export function off(name: string, cb: ProcedureListener): void;
|
export function off(name: string, cb: ProcedureListener): void;
|
||||||
export function trigger(name: string, args?: any): void;
|
export function trigger(name: string, args?: any): void;
|
||||||
export function triggerServer(name: string, args?: any): void;
|
export function triggerServer(name: string, args?: any): void;
|
||||||
|
2
dist/rage-rpc.min.js
vendored
2
dist/rage-rpc.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user