Photon Fusion 2.0.3

Public Member Functions | Public Attributes | List of all members
RpcInvokeInfo Struct Reference

May be used as an optional RpcAttribute return value. Contains meta data about the RPC send, such as failure to send reasons, culling, message size, etc. More...

Public Member Functions

override string ToString ()
 Returns a string that represents the current RpcInvokeInfo. More...
 

Public Attributes

RpcLocalInvokeResult LocalInvokeResult
 Represents the result of the local RPC invocation. More...
 
RpcSendCullResult SendCullResult
 Represents the result of the RPC message send operation. More...
 
RpcSendResult SendResult
 Contains detailed information about the RPC send operation result. More...
 

Detailed Description

May be used as an optional RpcAttribute return value. Contains meta data about the RPC send, such as failure to send reasons, culling, message size, etc.

Example:

| [Rpc] | public RpcInvokeInfo RpcFoo(int value) { | return default; | } | | public override void FixedUpdateNetwork() { | var info = RpcFoo(); | Debug.Log(info); | }

Member Function Documentation

◆ ToString()

override string ToString ( )

Returns a string that represents the current RpcInvokeInfo.

Member Data Documentation

◆ LocalInvokeResult

RpcLocalInvokeResult LocalInvokeResult

Represents the result of the local RPC invocation.

◆ SendCullResult

RpcSendCullResult SendCullResult

Represents the result of the RPC message send operation.

◆ SendResult

RpcSendResult SendResult

Contains detailed information about the RPC send operation result.