C# Class Mapper.Utilities.Tagger

Datei anzeigen Open project: PropaneDragon/Cimtographer

Public Methods

Method Description
AddExtendedWayTags ( NetSegment segment ) : List

Adds tags that can't be evaluated through a normal search

CleanUpName ( string name ) : string

Removes any crap data around the name of workshop items

CreateBuildingTags ( Building building, List &buildingTags ) : bool

Returns a list of tags associated with the Building passed in

CreateWayTags ( NetSegment segment, List &wayTags ) : bool

Returns a list of tags associated with the NetSegment passed in

Method Details

AddExtendedWayTags() public static method

Adds tags that can't be evaluated through a normal search
public static AddExtendedWayTags ( NetSegment segment ) : List
segment NetSegment The segment to generate extended tags for
return List

CleanUpName() public static method

Removes any crap data around the name of workshop items
public static CleanUpName ( string name ) : string
name string The object name to be printed
return string

CreateBuildingTags() public static method

Returns a list of tags associated with the Building passed in
public static CreateBuildingTags ( Building building, List &buildingTags ) : bool
building Building The building to generate tags for
buildingTags List The tags generated by this building
return bool

CreateWayTags() public static method

Returns a list of tags associated with the NetSegment passed in
public static CreateWayTags ( NetSegment segment, List &wayTags ) : bool
segment NetSegment The segment to generate tags for
wayTags List The tags associated with the segment
return bool