C# 클래스 Mapper.Managers.RoadNamerManager

Utilities to interact with the Road Name Mod
파일 보기 프로젝트 열기: PropaneDragon/Cimtographer 1 사용 예제들

공개 메소드들

메소드 설명
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