Photon Fusion 2.0.4

Public Member Functions | Properties | List of all members
NetworkedWeavedStringAttribute Class Reference

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

Inherits Attribute.

Public Member Functions

 NetworkedWeavedStringAttribute (int capacity, string cacheFieldName)
 

Properties

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

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

Property Documentation

◆ CacheFieldName

string CacheFieldName
get

Name of the field that servers as cache

◆ Capacity

int Capacity
get

Max capacity of the string (in characters)