Skip to content

PayloadField

Namespace: SideXP.Broadcaster

public struct PayloadField

One captured member of a payload: the name of a public field or property, and its already-stringified, truncated value.

Constructors

PayloadField(string, string)

public PayloadField(string name, string value)

One captured member of a payload: the name of a public field or property, and its already-stringified, truncated value.

Properties

Name

public string Name

The field or property name.

Value

public string Value

The stringified value: quoted for strings, name + type for Unity objects, count + elements for collections, "null" for nulls, and "<error>" if reading or stringifying it threw. Truncated to a hard cap.