Photon Fusion 2.1.1

NetworkedWeavedStringAttribute Class Reference

An attribute emitted by the weaver to mark a string field as networked. More...

Public Member Functions

 NetworkedWeavedStringAttribute (int capacity, string cacheFieldName)

Properties

string CacheFieldName [get]
 Name of the field that servers as cache.
int Capacity [get]
 Max capacity of the string (in characters).

Detailed Description

An attribute emitted by the weaver to mark a string field as networked.

Constructor & Destructor Documentation

◆ NetworkedWeavedStringAttribute()

NetworkedWeavedStringAttribute ( int capacity,
string cacheFieldName )
Parameters
capacityMax capacity of the string (in characters)
cacheFieldNameName of the field that servers as cache