C# Класс Mapper.Managers.RoadNamerManager

Utilities to interact with the Road Name Mod
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

HaveMod() публичный Метод

checks whether or not the Road Namer mod is loaded
public HaveMod ( ) : bool
Результат bool

Instance() публичный статический Метод

public static Instance ( ) : RoadNamerManager
Результат RoadNamerManager

getSegmentName() публичный Метод

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
Результат string

populateObjects() публичный Метод

Finds, via reflection, the Road Namer mod classes relevant to the Cimtographer mod( roadNameManager ), and load the required methods
public populateObjects ( ) : bool
Результат bool