C# Class TrafficManager.State.Options

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

Méthodes publiques

Свойство Type Description
advancedAI bool
allRelaxed bool
allowEnterBlockedJunctions bool
allowLaneChangesWhileGoingStraight bool
allowUTurns bool
disableSomething1 bool
disableSomething2 bool
disableSomething3 bool
disableSomething4 bool
disableSomething5 bool
enableDespawning bool
highwayRules bool
laneChangingRandomization int
nodesOverlay bool
pathCostMultiplicator float
pathCostMultiplicator2 float
prioritySignsOverlay bool
recklessDrivers int
relaxedBusses bool
showLanes bool
simAccuracy int
someValue float
someValue2 float
someValue3 float
someValue4 float
speedLimitsOverlay bool
strongerRoadConditionEffects bool
timedLightsOverlay bool
vehicleRestrictionsOverlay bool

Méthodes publiques

Méthode Description
makeSettings ( UIHelperBase helper ) : void
setAdvancedAI ( bool newAdvancedAI ) : void
setAllRelaxed ( bool newAllRelaxed ) : void
setAllowLaneChangesWhileGoingStraight ( bool value ) : void
setAllowUTurns ( bool value ) : void
setEnableDespawning ( bool value ) : void
setHighwayRules ( bool newHighwayRules ) : void
setLaneChangingRandomization ( int newLaneChangingRandomization ) : void
setMayEnterBlockedJunctions ( bool newMayEnterBlockedJunctions ) : void
setNodesOverlay ( bool newNodesOverlay ) : void
setPathCostMultiplicator ( float newPathCostMultiplicator ) : void
setPrioritySignsOverlay ( bool newPrioritySignsOverlay ) : void
setRecklessDrivers ( int newRecklessDrivers ) : void
setRelaxedBusses ( bool newRelaxedBusses ) : void
setShowLanes ( bool newShowLanes ) : void
setSimAccuracy ( int newAccuracy ) : void
setSpeedLimitsOverlay ( bool newSpeedLimitsOverlay ) : void
setStrongerRoadConditionEffects ( bool newStrongerRoadConditionEffects ) : void
setTimedLightsOverlay ( bool newTimedLightsOverlay ) : void
setVehicleRestrictionsOverlay ( bool newVehicleRestrictionsOverlay ) : void

Private Methods

Méthode Description
checkGameLoaded ( ) : bool
getLaneChangingProbability ( ) : float
getLaneChangingRandomizationTargetValue ( ) : int
getRecklessDriverModulo ( ) : int
isStockLaneChangerUsed ( ) : bool
onAdvancedAIChanged ( bool newAdvancedAI ) : void
onAllRelaxedChanged ( bool newAllRelaxed ) : void
onAllowEnterBlockedJunctionsChanged ( bool newMayEnterBlockedJunctions ) : void
onAllowLaneChangesWhileGoingStraightChanged ( bool newValue ) : void
onAllowUTurnsChanged ( bool newValue ) : void
onClickForgetToggledLights ( ) : void
onDisableSomething1Changed ( bool newDisableSomething ) : void
onDisableSomething2Changed ( bool newDisableSomething ) : void
onDisableSomething3Changed ( bool newDisableSomething ) : void
onDisableSomething4Changed ( bool newDisableSomething ) : void
onDisableSomething5Changed ( bool newDisableSomething ) : void
onEnableDespawningChanged ( bool value ) : void
onHighwayRulesChanged ( bool newHighwayRules ) : void
onLaneChangingRandomizationChanged ( int newLaneChangingRandomization ) : void
onNodesOverlayChanged ( bool newNodesOverlay ) : void
onPathCostMultiplicator2Changed ( string newPathCostMultiplicatorStr ) : void
onPathCostMultiplicatorChanged ( string newPathCostMultiplicatorStr ) : void
onPrioritySignsOverlayChanged ( bool newPrioritySignsOverlay ) : void
onRecklessDriversChanged ( int newRecklessDrivers ) : void
onRelaxedBussesChanged ( bool newRelaxedBusses ) : void
onShowLanesChanged ( bool newShowLanes ) : void
onSimAccuracyChanged ( int newAccuracy ) : void
onSomeValue2Changed ( string newSomeValueStr ) : void
onSomeValue3Changed ( string newSomeValueStr ) : void
onSomeValue4Changed ( string newSomeValueStr ) : void
onSomeValueChanged ( string newSomeValueStr ) : void
onSpeedLimitsOverlayChanged ( bool newSpeedLimitsOverlay ) : void
onStrongerRoadConditionEffectsChanged ( bool newStrongerRoadConditionEffects ) : void
onTimedLightsOverlayChanged ( bool newTimedLightsOverlay ) : void
onVehicleRestrictionsOverlayChanged ( bool newVehicleRestrictionsOverlay ) : void

Method Details

makeSettings() public static méthode

public static makeSettings ( UIHelperBase helper ) : void
helper UIHelperBase
Résultat void

setAdvancedAI() public static méthode

public static setAdvancedAI ( bool newAdvancedAI ) : void
newAdvancedAI bool
Résultat void

setAllRelaxed() public static méthode

public static setAllRelaxed ( bool newAllRelaxed ) : void
newAllRelaxed bool
Résultat void

setAllowLaneChangesWhileGoingStraight() public static méthode

public static setAllowLaneChangesWhileGoingStraight ( bool value ) : void
value bool
Résultat void

setAllowUTurns() public static méthode

public static setAllowUTurns ( bool value ) : void
value bool
Résultat void

setEnableDespawning() public static méthode

public static setEnableDespawning ( bool value ) : void
value bool
Résultat void

setHighwayRules() public static méthode

public static setHighwayRules ( bool newHighwayRules ) : void
newHighwayRules bool
Résultat void

setLaneChangingRandomization() public static méthode

public static setLaneChangingRandomization ( int newLaneChangingRandomization ) : void
newLaneChangingRandomization int
Résultat void

setMayEnterBlockedJunctions() public static méthode

public static setMayEnterBlockedJunctions ( bool newMayEnterBlockedJunctions ) : void
newMayEnterBlockedJunctions bool
Résultat void

setNodesOverlay() public static méthode

public static setNodesOverlay ( bool newNodesOverlay ) : void
newNodesOverlay bool
Résultat void

setPathCostMultiplicator() public static méthode

public static setPathCostMultiplicator ( float newPathCostMultiplicator ) : void
newPathCostMultiplicator float
Résultat void

setPrioritySignsOverlay() public static méthode

public static setPrioritySignsOverlay ( bool newPrioritySignsOverlay ) : void
newPrioritySignsOverlay bool
Résultat void

setRecklessDrivers() public static méthode

public static setRecklessDrivers ( int newRecklessDrivers ) : void
newRecklessDrivers int
Résultat void

setRelaxedBusses() public static méthode

public static setRelaxedBusses ( bool newRelaxedBusses ) : void
newRelaxedBusses bool
Résultat void

setShowLanes() public static méthode

public static setShowLanes ( bool newShowLanes ) : void
newShowLanes bool
Résultat void

setSimAccuracy() public static méthode

public static setSimAccuracy ( int newAccuracy ) : void
newAccuracy int
Résultat void

setSpeedLimitsOverlay() public static méthode

public static setSpeedLimitsOverlay ( bool newSpeedLimitsOverlay ) : void
newSpeedLimitsOverlay bool
Résultat void

setStrongerRoadConditionEffects() public static méthode

public static setStrongerRoadConditionEffects ( bool newStrongerRoadConditionEffects ) : void
newStrongerRoadConditionEffects bool
Résultat void

setTimedLightsOverlay() public static méthode

public static setTimedLightsOverlay ( bool newTimedLightsOverlay ) : void
newTimedLightsOverlay bool
Résultat void

setVehicleRestrictionsOverlay() public static méthode

public static setVehicleRestrictionsOverlay ( bool newVehicleRestrictionsOverlay ) : void
newVehicleRestrictionsOverlay bool
Résultat void

Property Details

advancedAI public_oe static_oe property

public static bool advancedAI
Résultat bool

allRelaxed public_oe static_oe property

public static bool allRelaxed
Résultat bool

allowEnterBlockedJunctions public_oe static_oe property

public static bool allowEnterBlockedJunctions
Résultat bool

allowLaneChangesWhileGoingStraight public_oe static_oe property

public static bool allowLaneChangesWhileGoingStraight
Résultat bool

allowUTurns public_oe static_oe property

public static bool allowUTurns
Résultat bool

disableSomething1 public_oe static_oe property

public static bool disableSomething1
Résultat bool

disableSomething2 public_oe static_oe property

public static bool disableSomething2
Résultat bool

disableSomething3 public_oe static_oe property

public static bool disableSomething3
Résultat bool

disableSomething4 public_oe static_oe property

public static bool disableSomething4
Résultat bool

disableSomething5 public_oe static_oe property

public static bool disableSomething5
Résultat bool

enableDespawning public_oe static_oe property

public static bool enableDespawning
Résultat bool

highwayRules public_oe static_oe property

public static bool highwayRules
Résultat bool

laneChangingRandomization public_oe static_oe property

public static int laneChangingRandomization
Résultat int

nodesOverlay public_oe static_oe property

public static bool nodesOverlay
Résultat bool

pathCostMultiplicator public_oe static_oe property

public static float pathCostMultiplicator
Résultat float

pathCostMultiplicator2 public_oe static_oe property

public static float pathCostMultiplicator2
Résultat float

prioritySignsOverlay public_oe static_oe property

public static bool prioritySignsOverlay
Résultat bool

recklessDrivers public_oe static_oe property

public static int recklessDrivers
Résultat int

relaxedBusses public_oe static_oe property

public static bool relaxedBusses
Résultat bool

showLanes public_oe static_oe property

public static bool showLanes
Résultat bool

simAccuracy public_oe static_oe property

public static int simAccuracy
Résultat int

someValue public_oe static_oe property

public static float someValue
Résultat float

someValue2 public_oe static_oe property

public static float someValue2
Résultat float

someValue3 public_oe static_oe property

public static float someValue3
Résultat float

someValue4 public_oe static_oe property

public static float someValue4
Résultat float

speedLimitsOverlay public_oe static_oe property

public static bool speedLimitsOverlay
Résultat bool

strongerRoadConditionEffects public_oe static_oe property

public static bool strongerRoadConditionEffects
Résultat bool

timedLightsOverlay public_oe static_oe property

public static bool timedLightsOverlay
Résultat bool

vehicleRestrictionsOverlay public_oe static_oe property

public static bool vehicleRestrictionsOverlay
Résultat bool