C# Class TrafficManager.TrafficLight.CustomTrafficLights

Afficher le fichier Open project: Katalyst6/CSL.TransitAddonMod Class Usage Examples

Méthodes publiques

Свойство Type Description
ManualSegments CustomSegment>.Dictionary

Méthodes publiques

Méthode Description
AddSegmentLights ( ushort nodeId, ushort segmentId, RoadBaseAI light ) : void
GetOrLiveSegmentLights ( ushort nodeId, ushort segmentId ) : CustomSegmentLights
GetSegmentLights ( ushort nodeId, ushort segmentId ) : CustomSegmentLights
IsSegmentLight ( ushort nodeId, ushort segmentId ) : bool
RemoveSegmentLight ( ushort segmentId ) : void
RemoveSegmentLight ( ushort nodeId, ushort segmentId ) : void

Private Methods

Méthode Description
AddLiveSegmentLights ( ushort nodeId, ushort segmentId ) : void
OnLevelUnloading ( ) : void

Method Details

AddSegmentLights() public static méthode

public static AddSegmentLights ( ushort nodeId, ushort segmentId, RoadBaseAI light ) : void
nodeId ushort
segmentId ushort
light RoadBaseAI
Résultat void

GetOrLiveSegmentLights() public static méthode

public static GetOrLiveSegmentLights ( ushort nodeId, ushort segmentId ) : CustomSegmentLights
nodeId ushort
segmentId ushort
Résultat CustomSegmentLights

GetSegmentLights() public static méthode

public static GetSegmentLights ( ushort nodeId, ushort segmentId ) : CustomSegmentLights
nodeId ushort
segmentId ushort
Résultat CustomSegmentLights

IsSegmentLight() public static méthode

public static IsSegmentLight ( ushort nodeId, ushort segmentId ) : bool
nodeId ushort
segmentId ushort
Résultat bool

RemoveSegmentLight() public static méthode

public static RemoveSegmentLight ( ushort segmentId ) : void
segmentId ushort
Résultat void

RemoveSegmentLight() public static méthode

public static RemoveSegmentLight ( ushort nodeId, ushort segmentId ) : void
nodeId ushort
segmentId ushort
Résultat void

Property Details

ManualSegments public_oe static_oe property

Manual light by segment id
public static Dictionary ManualSegments
Résultat CustomSegment>.Dictionary