Skip to content

Home > @esengine/ecs-framework-monorepo > RpcCallRequest

RpcCallRequest interface

RPC调用请求

Signature:

typescript
export interface RpcCallRequest<T extends readonly unknown[] = readonly unknown[]>

Properties

Property

Modifiers

Type

Description

args

T

调用参数

callId

string

调用ID

methodName

string

方法名

options

RpcOptions

调用配置

senderId

string

发送者ID

targetId?

string

(Optional) 目标ID(可选,用于特定客户端调用)

timestamp

number

调用时间戳

基于 MIT 许可证发布