Class EntityClassTable
Namespace: ValveResourceFormat.Renderer.Editor.Entities
Assembly: Renderer.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 game declares a class of a name, either one entities can be of or one other classes are based on that some class is required to be placed under.
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.

