-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathVehiclesMasterControlMod.cs
More file actions
38 lines (28 loc) · 1.46 KB
/
VehiclesMasterControlMod.cs
File metadata and controls
38 lines (28 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using ColossalFramework;
using ColossalFramework.Globalization;
using Klyte.Commons.Extensors;
using Klyte.Commons.Interfaces;
using Klyte.Commons.Utils;
using Klyte.VehiclesMasterControl.UI;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
[assembly: AssemblyVersion("1.0.0.3")]
namespace Klyte.VehiclesMasterControl
{
public class VehiclesMasterControlMod : BasicIUserMod<VehiclesMasterControlMod, VMCController, VMCTabPanel>
{
private SavedBool m_allowOutsidersAsDefault = new SavedBool("VMCAllowGoOutsideAsDefault", Settings.gameSettingsFile, true, true);
private SavedBool m_allowGoOutsideAsDefault = new SavedBool("VMCAllowOutsidersAsDefault", Settings.gameSettingsFile, true, true);
public static bool allowOutsidersAsDefault => Instance.m_allowOutsidersAsDefault.value;
public static bool allowServeOtherDistrictsAsDefault => Instance.m_allowGoOutsideAsDefault.value;
public override string SimpleName => "Vehicle Master Control";
public override string Description => "Extension for managing service & industries vehicles.";
public override string IconName => "K45_VMCIcon";
public override void DoErrorLog(string fmt, params object[] args) => LogUtils.DoErrorLog(fmt, args);
public override void DoLog(string fmt, params object[] args) => LogUtils.DoLog(fmt, args);
public override void TopSettingsUI(UIHelperExtension helper)
{
}
}
}