This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using ColossalFramework.IO; | |
| using ColossalFramework.UI; | |
| using ICities; | |
| using System; | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Xml.Serialization; | |
| using UnityEngine; | |
| namespace TransparentSelectors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Action<string, string> ReplaceProp = (search, replace) => | |
| { | |
| var replacementProp = PrefabCollection<PropInfo>.FindLoaded(replace); | |
| for (uint i = 0; i < PrefabCollection<NetInfo>.LoadedCount(); i++) | |
| { | |
| var prefab = PrefabCollection<NetInfo>.GetLoaded(i); | |
| if (prefab == null) continue; | |
| if(prefab.m_lanes != null) foreach (var Lane in prefab.m_lanes) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Network segment and node reorder scripts. Refreshes UI automatically. | |
| // SEGMENTS | |
| var asset = ToolsModifierControl.toolController.m_editPrefabInfo as NetInfo; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "name": "Pink", | |
| "hex": "ffc0cb", | |
| "rgb": "255,192,203" | |
| }, | |
| { | |
| "name": "LightPink", | |
| "hex": "ffb6c1", | |
| "rgb": "255,182,193" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function functionReplacer(key, value) { | |
| if (typeof(value) === 'function') { | |
| return value.toString(); | |
| } | |
| return value; | |
| } | |
| function functionReviver(key, value) { | |
| if (key === "") return value; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| __author__ = 'LexiconCode' | |
| Command-module for Atom | |
| Official Site "https://atom.io/" | |
| """ | |
| from caster.lib import control, settings | |
| from caster.lib.dfplus.additions import IntegerRefST | |
| from caster.lib.dfplus.merge import gfilter | |
| from caster.lib.dfplus.merge.mergerule import MergeRule | |
| from caster.lib.dfplus.state.short import R |