Photon Fusion 2.1.1

RpcPayloadAttribute Class Referencesealed

Marks a parameter as a payload for an RPC method. Emit by the Weaver. More...

Public Member Functions

 RpcPayloadAttribute ()
 Used for dynamically sized parameters.
 RpcPayloadAttribute (int byteSize)
 
Parameters
byteSizeByteCount

Properties

int ByteCount [get]
 How many bytes this payload will take. In case of arrays, the total byte count needs to be multiplied by the array length.

Detailed Description

Marks a parameter as a payload for an RPC method. Emit by the Weaver.