API ReferenceFacepunch.ActionGraphs
PropertyDefinitionclass
Describes a property of a node that should be configurable in the inspector.
object→PropertyDefinition
Constructors2
Showing 2 constructors
No results match this filter.
Methods4
Showing 4 methods
public virtual Facepunch.ActionGraphs.PropertyDefinition <Clone>$()
public void Deconstruct(string Name, System.Type Type, Facepunch.ActionGraphs.PropertyFlags Flags, Facepunch.ActionGraphs.DisplayInfo Display, object Default, System.Type GenericParameter, System.Collections.Generic.IReadOnlyCollection`1<System.Attribute> Attributes)
| Parameter | Type | Description |
|---|---|---|
| Name | string | — |
| Type | Type | — |
| Flags | PropertyFlags | — |
| Display | DisplayInfo | — |
| Default | object | — |
| GenericParameter | Type | — |
| Attributes | IReadOnlyCollection<Attribute> | — |
Returns:
void—public static Facepunch.ActionGraphs.PropertyDefinition Missing(string name)
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
protected virtual bool PrintMembers(System.Text.StringBuilder builder)
| Parameter | Type | Description |
|---|---|---|
| builder | StringBuilder | — |
Returns:
bool—No results match this filter.
Properties11
Showing 11 properties
public bool Facepunch.ActionGraphs.PropertyDefinition.AlwaysSerialize { get; set; }
Returns:
bool—public virtual sealed System.Collections.Generic.IReadOnlyCollection`1<System.Attribute> Facepunch.ActionGraphs.PropertyDefinition.Attributes { get; set; }
public object Facepunch.ActionGraphs.PropertyDefinition.Default { get; set; }
If `Facepunch.ActionGraphs.PropertyDefinition.IsRequired` is false, this value will be used when no value is provided.
Returns:
object—public virtual sealed Facepunch.ActionGraphs.DisplayInfo Facepunch.ActionGraphs.PropertyDefinition.Display { get; set; }
Optional title and description of the property.
protected virtual System.Type Facepunch.ActionGraphs.PropertyDefinition.EqualityContract { get; set; }
public Facepunch.ActionGraphs.PropertyFlags Facepunch.ActionGraphs.PropertyDefinition.Flags { get; set; }
public System.Type Facepunch.ActionGraphs.PropertyDefinition.GenericParameter { get; set; }
If `Facepunch.ActionGraphs.PropertyDefinition.Type` is `System.Type`, can hold a generic parameter constraining the type.
public virtual sealed bool Facepunch.ActionGraphs.PropertyDefinition.IsMissing { get; set; }
Returns:
bool—public virtual sealed bool Facepunch.ActionGraphs.PropertyDefinition.IsRequired { get; set; }
Returns:
bool—public virtual sealed string Facepunch.ActionGraphs.PropertyDefinition.Name { get; set; }
Name used to reference this property.
Returns:
string—public virtual sealed System.Type Facepunch.ActionGraphs.PropertyDefinition.Type { get; set; }
What type is accepted for this property.
No results match this filter.