Photon Fusion 2.1.1

MaxStringByteCountAttribute Class Referencesealed

Specifies that the string field should be drawn as a text field with a maximum byte count for given encoding. More...

Inherits DrawerPropertyAttribute.

Public Member Functions

 MaxStringByteCountAttribute (int count, string encoding)
 Initializes a new instance of the MaxStringByteCountAttribute class with the specified byte count and encoding.
Public Member Functions inherited from PropertyAttribute
 PropertyAttribute (bool applyToCollection=false)

Properties

int ByteCount [get]
 Maximum byte count for the string.
string Encoding [get]
 The encoding of the string.
Properties inherited from PropertyAttribute
new bool applyToCollection [get]

Additional Inherited Members

Protected Member Functions inherited from DrawerPropertyAttribute
 DrawerPropertyAttribute (bool applyToCollection=false)

Detailed Description

Specifies that the string field should be drawn as a text field with a maximum byte count for given encoding.

Constructor & Destructor Documentation

◆ MaxStringByteCountAttribute()

MaxStringByteCountAttribute ( int count,
string encoding )

Initializes a new instance of the MaxStringByteCountAttribute class with the specified byte count and encoding.

Parameters
count
encoding