Photon Fusion 2.0.4

Properties | List of all members
NetworkSerializeMethodAttribute Class Reference

Network Serialize Method Attribute More...

Inherits Attribute.

Properties

int MaxSize [get, set]
 If set, this changes expected Wrap method signature to int Name(NetworkRunner, T, byte*) and Unwrap to int Name(NetworkRunner, byte*, ref T). In both cases, the result is the number of bytes written/read and can not be greater than what's declared here. More...
 

Detailed Description

Network Serialize Method Attribute

Property Documentation

◆ MaxSize

int MaxSize
getset

If set, this changes expected Wrap method signature to int Name(NetworkRunner, T, byte*) and Unwrap to int Name(NetworkRunner, byte*, ref T). In both cases, the result is the number of bytes written/read and can not be greater than what's declared here.