Skip to main content

RpcBy

Class used by Remote Procedure Call when calling remote functions.


Methods ​

field ​

public static

Gets the value of a specific field

Usage​
const field = await gamium.executeRpc(
RpcBy.field('Gamium.Private.CodebaseSample', 'field'),
);
Arguments ​
Returns ​

method ​

public static

Invokes a specific function.

Usage​
await gamium.executeRpc(
RpcBy.method('Gamium.Private.CodebaseSample', 'CallParam1', 10),
);
Arguments ​
Returns ​

property ​

public static

Get the value of specific professional profile

Usage​
const property = await gamium.executeRpc(
RpcBy.property('Gamium.Private.CodebaseSample', 'property'),
);
Arguments ​
Returns ​

Properties ​

by ExecuteRpcBy ​


className string ​


targetName string ​


params unknown[] ​