Photon Fusion 2.0.0

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.
 

Public Attributes

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

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); | }