Class EntityClassCatalog
Namespace: ValveResourceFormat.Renderer.Editor.Entities
Assembly: Renderer.dll
Gives the entity classes a map is shown with, from the tables built into the renderer. Each game whose classes are known has a table of its own, found by the Steam app it is installed as. Any other game is shown with the classes of every known game, each the version most of them declare, and the ones kept by hand for entities none of them declares.
public static class EntityClassCatalogInheritance
object ← EntityClassCatalog
Methods
Get(IFileLoader, ILogger)
Gets the entity classes of the game a file loader has found. They are found once for a file loader, so everything that shows its entities shares them.
public static EntityClassTable Get(IFileLoader fileLoader, ILogger logger)Parameters
fileLoader IFileLoader
The file loader of the map.
logger ILogger
Where it is said which classes are used.
Returns
The classes of the game, or the ones of every game where it is not one whose classes are known.
GetTable(int)
Gets the entity classes of a game by the Steam app it is installed as.
public static EntityClassTable GetTable(int appId)Parameters
appId int
The app id, or zero where it is not known.
Returns
The classes of the game, or the ones of every game where it is not one whose classes are known.
Exceptions
The built in classes are missing or cannot be read.

