Struct FgdTypeName ​
Namespace: ValveResourceFormat.IO.Fgd
Assembly: ValveResourceFormat.dll
A type name a variable can be declared with.
public readonly record struct FgdTypeName : IEquatable<FgdTypeName>Implements ​
Constructors ​
FgdTypeName(string, FgdVariableType, FgdStorage, bool, bool) ​
A type name a variable can be declared with.
public FgdTypeName(string Name, FgdVariableType Type, FgdStorage Storage, bool TakesSubType, bool TakesElementType)Parameters ​
Name string
The name, matched without regard to case.
Type FgdVariableType
The type it names.
Storage FgdStorage
How a value of the type is held.
TakesSubType bool
Whether the name is followed by : and text that narrows the type down.
TakesElementType bool
Whether the name is followed by : and the type of what it is made of.
Properties ​
All ​
Gets every type name, in the order they are looked up.
public static IReadOnlyList<FgdTypeName> All { get; }Property Value ​
Name ​
The name, matched without regard to case.
public string Name { get; init; }Property Value ​
string
Storage ​
How a value of the type is held.
public FgdStorage Storage { get; init; }Property Value ​
TakesElementType ​
Whether the name is followed by : and the type of what it is made of.
public bool TakesElementType { get; init; }Property Value ​
bool
TakesSubType ​
Whether the name is followed by : and text that narrows the type down.
public bool TakesSubType { get; init; }Property Value ​
bool
Type ​
The type it names.
public FgdVariableType Type { get; init; }
