C# Class TrafficManager.State.Options

Inheritance: UnityEngine.MonoBehaviour
显示文件 Open project: Katalyst6/CSL.TransitAddonMod Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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

Method 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 method

public static makeSettings ( UIHelperBase helper ) : void
helper UIHelperBase
return void

setAdvancedAI() public static method

public static setAdvancedAI ( bool newAdvancedAI ) : void
newAdvancedAI bool
return void

setAllRelaxed() public static method

public static setAllRelaxed ( bool newAllRelaxed ) : void
newAllRelaxed bool
return void

setAllowLaneChangesWhileGoingStraight() public static method

public static setAllowLaneChangesWhileGoingStraight ( bool value ) : void
value bool
return void

setAllowUTurns() public static method

public static setAllowUTurns ( bool value ) : void
value bool
return void

setEnableDespawning() public static method

public static setEnableDespawning ( bool value ) : void
value bool
return void

setHighwayRules() public static method

public static setHighwayRules ( bool newHighwayRules ) : void
newHighwayRules bool
return void

setLaneChangingRandomization() public static method

public static setLaneChangingRandomization ( int newLaneChangingRandomization ) : void
newLaneChangingRandomization int
return void

setMayEnterBlockedJunctions() public static method

public static setMayEnterBlockedJunctions ( bool newMayEnterBlockedJunctions ) : void
newMayEnterBlockedJunctions bool
return void

setNodesOverlay() public static method

public static setNodesOverlay ( bool newNodesOverlay ) : void
newNodesOverlay bool
return void

setPathCostMultiplicator() public static method

public static setPathCostMultiplicator ( float newPathCostMultiplicator ) : void
newPathCostMultiplicator float
return void

setPrioritySignsOverlay() public static method

public static setPrioritySignsOverlay ( bool newPrioritySignsOverlay ) : void
newPrioritySignsOverlay bool
return void

setRecklessDrivers() public static method

public static setRecklessDrivers ( int newRecklessDrivers ) : void
newRecklessDrivers int
return void

setRelaxedBusses() public static method

public static setRelaxedBusses ( bool newRelaxedBusses ) : void
newRelaxedBusses bool
return void

setShowLanes() public static method

public static setShowLanes ( bool newShowLanes ) : void
newShowLanes bool
return void

setSimAccuracy() public static method

public static setSimAccuracy ( int newAccuracy ) : void
newAccuracy int
return void

setSpeedLimitsOverlay() public static method

public static setSpeedLimitsOverlay ( bool newSpeedLimitsOverlay ) : void
newSpeedLimitsOverlay bool
return void

setStrongerRoadConditionEffects() public static method

public static setStrongerRoadConditionEffects ( bool newStrongerRoadConditionEffects ) : void
newStrongerRoadConditionEffects bool
return void

setTimedLightsOverlay() public static method

public static setTimedLightsOverlay ( bool newTimedLightsOverlay ) : void
newTimedLightsOverlay bool
return void

setVehicleRestrictionsOverlay() public static method

public static setVehicleRestrictionsOverlay ( bool newVehicleRestrictionsOverlay ) : void
newVehicleRestrictionsOverlay bool
return void

Property Details

advancedAI public_oe static_oe property

public static bool advancedAI
return bool

allRelaxed public_oe static_oe property

public static bool allRelaxed
return bool

allowEnterBlockedJunctions public_oe static_oe property

public static bool allowEnterBlockedJunctions
return bool

allowLaneChangesWhileGoingStraight public_oe static_oe property

public static bool allowLaneChangesWhileGoingStraight
return bool

allowUTurns public_oe static_oe property

public static bool allowUTurns
return bool

disableSomething1 public_oe static_oe property

public static bool disableSomething1
return bool

disableSomething2 public_oe static_oe property

public static bool disableSomething2
return bool

disableSomething3 public_oe static_oe property

public static bool disableSomething3
return bool

disableSomething4 public_oe static_oe property

public static bool disableSomething4
return bool

disableSomething5 public_oe static_oe property

public static bool disableSomething5
return bool

enableDespawning public_oe static_oe property

public static bool enableDespawning
return bool

highwayRules public_oe static_oe property

public static bool highwayRules
return bool

laneChangingRandomization public_oe static_oe property

public static int laneChangingRandomization
return int

nodesOverlay public_oe static_oe property

public static bool nodesOverlay
return bool

pathCostMultiplicator public_oe static_oe property

public static float pathCostMultiplicator
return float

pathCostMultiplicator2 public_oe static_oe property

public static float pathCostMultiplicator2
return float

prioritySignsOverlay public_oe static_oe property

public static bool prioritySignsOverlay
return bool

recklessDrivers public_oe static_oe property

public static int recklessDrivers
return int

relaxedBusses public_oe static_oe property

public static bool relaxedBusses
return bool

showLanes public_oe static_oe property

public static bool showLanes
return bool

simAccuracy public_oe static_oe property

public static int simAccuracy
return int

someValue public_oe static_oe property

public static float someValue
return float

someValue2 public_oe static_oe property

public static float someValue2
return float

someValue3 public_oe static_oe property

public static float someValue3
return float

someValue4 public_oe static_oe property

public static float someValue4
return float

speedLimitsOverlay public_oe static_oe property

public static bool speedLimitsOverlay
return bool

strongerRoadConditionEffects public_oe static_oe property

public static bool strongerRoadConditionEffects
return bool

timedLightsOverlay public_oe static_oe property

public static bool timedLightsOverlay
return bool

vehicleRestrictionsOverlay public_oe static_oe property

public static bool vehicleRestrictionsOverlay
return bool