C# Class idTech4.Text.idMapFile

Reads or writes the contents of .map files into a standard internal format, which can then be moved into private formats for collision detection, map processing, or editor use. No validation (duplicate planes, null area brushes, etc) is performed. There are no limits to the number of any of the elements in maps. The order of entities, brushes, and sides is maintained.
Inheritance: IDisposable
Afficher le fichier Open project: iainmckay/idtech4.net Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetEntity ( int index ) : idMapEntity

Gets the entity at the specified index.

Parse ( string fileName, bool ignoreRegion = false, bool osPath = false ) : bool

Normally this will use a .reg file instead of a .map file if it exists, which is what the game and dmap want, but the editor will want to always load a .map file.

RemoveEntities ( string className ) : void
RemovePrimitiveData ( ) : void
idMapFile ( ) : System

Private Methods

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetEntity() public méthode

Gets the entity at the specified index.
public GetEntity ( int index ) : idMapEntity
index int
Résultat idMapEntity

Parse() public méthode

Normally this will use a .reg file instead of a .map file if it exists, which is what the game and dmap want, but the editor will want to always load a .map file.
public Parse ( string fileName, bool ignoreRegion = false, bool osPath = false ) : bool
fileName string Does not require an extension.
ignoreRegion bool
osPath bool
Résultat bool

RemoveEntities() public méthode

public RemoveEntities ( string className ) : void
className string
Résultat void

RemovePrimitiveData() public méthode

public RemovePrimitiveData ( ) : void
Résultat void

idMapFile() public méthode

public idMapFile ( ) : System
Résultat System