Skip to content

Mirror::Weaver::TargetRpcProcessor

Processes [TargetRpc] methods in NetworkBehaviour

Public Functions

Name
bool HasNetworkConnectionParameter(MethodDefinition md)
MethodDefinition ProcessTargetRpcInvoke(TypeDefinition td, MethodDefinition md, MethodDefinition rpcCallFunc)
MethodDefinition ProcessTargetRpcCall(TypeDefinition td, MethodDefinition md, CustomAttribute targetRpcAttr)

Public Functions Documentation

function HasNetworkConnectionParameter

static inline bool HasNetworkConnectionParameter(
    MethodDefinition md
)

function ProcessTargetRpcInvoke

static inline MethodDefinition ProcessTargetRpcInvoke(
    TypeDefinition td,
    MethodDefinition md,
    MethodDefinition rpcCallFunc
)

function ProcessTargetRpcCall

static inline MethodDefinition ProcessTargetRpcCall(
    TypeDefinition td,
    MethodDefinition md,
    CustomAttribute targetRpcAttr
)

Updated on 24 January 2021 at 23:47:12 UTC