Class EntityClassTable
Namespace: ValveResourceFormat.IO.Fgd
Assembly: ValveResourceFormat.dll
The entity classes of a game, which the entities of its maps are shown with.
csharp
public sealed class EntityClassTableInheritance
object ← EntityClassTable
Properties
Classes
Gets the classes, in the order the game declares them.
csharp
public IReadOnlyList<EntityClass> Classes { get; }Property Value
GridNav
Gets the grid the game lays its navigation out on, where it declares one.
csharp
public (int EdgeSize, int OffsetX, int OffsetY, int PickHeight)? GridNav { get; }Property Value
(int EdgeSize, int OffsetX, int OffsetY, int PickHeight)?
Methods
Declares(string)
Gets whether the name is that of a class in the table, or of a base class listed in the EntityClass.BaseClasses of one.
csharp
public bool Declares(string name)Parameters
name string
Name of the class.
Returns
bool
Whether it does.
FindClass(string)
Finds a class by its name, without regard to case.
csharp
public EntityClass? FindClass(string name)Parameters
name string
Name of the class.
Returns
The class, or null when the game declares none of that name.

