Class EntityLump
- Namespace
- ValveResourceFormat.ResourceTypes
- Assembly
- ValveResourceFormat.dll
Represents an entity lump resource containing entity definitions and their properties.
public class EntityLump : KeyValuesOrNTRO
Inheritance
Inherited Members
Extension Methods
Properties
Name
Gets the name of this entity lump.
public string Name { get; }
Property Value
Methods
GetChildEntityNames()
Gets the names of child entity lumps.
public string[] GetChildEntityNames()
Returns
- string[]
-
An array of child entity lump names.
GetEntities()
Gets all entities contained in this entity lump.
public List<EntityLump.Entity> GetEntities()
Returns
- List<EntityLump.Entity>
-
A list of entities.
ToEntityDumpString()
Converts the entity lump to a human-readable string representation.
public string ToEntityDumpString()
Returns
- string
-
A formatted string containing all entities and their properties.
ToForgeGameData()
Converts the entity lump to a Forge Game Data (FGD) format string.
public string ToForgeGameData()
Returns
- string
-
An FGD-formatted string containing entity class definitions.