C# Class Transit.Addon.RoadExtensions.Roads.Highways.Common.HighwayHelper

ファイルを表示 Open project: Katalyst6/CSL.TransitAddonMod

Public Methods

Method Description
AddLeftWallLights ( this props, int xPos ) : void
AddRightWallLights ( this props, int xPos ) : void
GetLeftTrafficLights ( this info, NetInfoVersion version ) : IEnumerable
GetRightTrafficLights ( this info, NetInfoVersion version ) : IEnumerable
SetHighwayLeftShoulder ( this hwInfo, NetInfo hwInfoTemplate, NetInfoVersion version ) : NetInfo.Lane
SetHighwayLights ( ICollection leftprops, ICollection rightprops, NetInfoVersion version ) : void
SetHighwayRightLights ( this props, NetInfoVersion version ) : void
SetHighwayRightShoulder ( this hwInfo, NetInfo hwInfoTemplate, NetInfoVersion version ) : NetInfo.Lane
SetHighwaySignsSlope ( this props ) : void
SetHighwayVehicleLanes ( this hwInfo, int lanesToAdd ) : IEnumerable
SetupHighwayLanes ( this hwInfo ) : NetInfo
TrimNonHighwayProps ( this info, bool removeRightStreetLights = false, bool removeLeftStreetLights = true ) : void

Private Methods

Method Description
GetHighwayLight ( this props ) : NetLaneProps.Prop

Method Details

AddLeftWallLights() public static method

public static AddLeftWallLights ( this props, int xPos ) : void
props this
xPos int
return void

AddRightWallLights() public static method

public static AddRightWallLights ( this props, int xPos ) : void
props this
xPos int
return void

GetLeftTrafficLights() public static method

public static GetLeftTrafficLights ( this info, NetInfoVersion version ) : IEnumerable
info this
version NetInfoVersion
return IEnumerable

GetRightTrafficLights() public static method

public static GetRightTrafficLights ( this info, NetInfoVersion version ) : IEnumerable
info this
version NetInfoVersion
return IEnumerable

SetHighwayLeftShoulder() public static method

public static SetHighwayLeftShoulder ( this hwInfo, NetInfo hwInfoTemplate, NetInfoVersion version ) : NetInfo.Lane
hwInfo this
hwInfoTemplate NetInfo
version NetInfoVersion
return NetInfo.Lane

SetHighwayLights() public static method

public static SetHighwayLights ( ICollection leftprops, ICollection rightprops, NetInfoVersion version ) : void
leftprops ICollection
rightprops ICollection
version NetInfoVersion
return void

SetHighwayRightLights() public static method

public static SetHighwayRightLights ( this props, NetInfoVersion version ) : void
props this
version NetInfoVersion
return void

SetHighwayRightShoulder() public static method

public static SetHighwayRightShoulder ( this hwInfo, NetInfo hwInfoTemplate, NetInfoVersion version ) : NetInfo.Lane
hwInfo this
hwInfoTemplate NetInfo
version NetInfoVersion
return NetInfo.Lane

SetHighwaySignsSlope() public static method

public static SetHighwaySignsSlope ( this props ) : void
props this
return void

SetHighwayVehicleLanes() public static method

public static SetHighwayVehicleLanes ( this hwInfo, int lanesToAdd ) : IEnumerable
hwInfo this
lanesToAdd int
return IEnumerable

SetupHighwayLanes() public static method

public static SetupHighwayLanes ( this hwInfo ) : NetInfo
hwInfo this
return NetInfo

TrimNonHighwayProps() public static method

public static TrimNonHighwayProps ( this info, bool removeRightStreetLights = false, bool removeLeftStreetLights = true ) : void
info this
removeRightStreetLights bool
removeLeftStreetLights bool
return void