C# Class Mapper.Managers.RoadNamerManager

Utilities to interact with the Road Name Mod
Afficher le fichier Open project: PropaneDragon/Cimtographer Class Usage Examples

Méthodes publiques

Méthode Description
HaveMod ( ) : bool

checks whether or not the Road Namer mod is loaded

Instance ( ) : RoadNamerManager
getSegmentName ( ushort segmentId ) : string

Wrapper for the "GetRoadName" method in the RoadNamer mod, invoked via reflection

populateObjects ( ) : bool

Finds, via reflection, the Road Namer mod classes relevant to the Cimtographer mod( roadNameManager ), and load the required methods

Method Details

HaveMod() public méthode

checks whether or not the Road Namer mod is loaded
public HaveMod ( ) : bool
Résultat bool

Instance() public static méthode

public static Instance ( ) : RoadNamerManager
Résultat RoadNamerManager

getSegmentName() public méthode

Wrapper for the "GetRoadName" method in the RoadNamer mod, invoked via reflection
public getSegmentName ( ushort segmentId ) : string
segmentId ushort the segment ID to search the names for
Résultat string

populateObjects() public méthode

Finds, via reflection, the Road Namer mod classes relevant to the Cimtographer mod( roadNameManager ), and load the required methods
public populateObjects ( ) : bool
Résultat bool