Class UserConfig
Inheritance
System.Object
UserConfig
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class UserConfig : Object, IMigratableConfig, IVersionedConfig, IValidatableConfig, INotifyPropertyChanged
Constructors
UserConfig()
Declaration
Fields
UseWaste
Declaration
public readonly bool UseWaste
Field Value
| Type |
Description |
| System.Boolean |
|
Properties
AdminCommandsLoggingLevel
Declaration
public AdminCommandsLoggingLevels AdminCommandsLoggingLevel { get; set; }
Property Value
AllowDebugCalls
Declaration
public bool AllowDebugCalls { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
APIAdminAuthToken
Declaration
public string APIAdminAuthToken { get; set; }
Property Value
| Type |
Description |
| System.String |
|
APIAuthToken
Declaration
public string APIAuthToken { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ConfigVersion
Declaration
public int ConfigVersion { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
DelayNearbyFoodCheckMinutes
Declaration
public float DelayNearbyFoodCheckMinutes { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
FreecarDisableTime
Declaration
public double FreecarDisableTime { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
HidePlayerIconInMinimap
Declaration
public bool HidePlayerIconInMinimap { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public bool HidePlayerPositionInTooltip { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
LastConfigVersion
Declaration
public int LastConfigVersion { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
MovementHackDetection
Declaration
public bool MovementHackDetection { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
NearbyFoodSpawnCount
Declaration
public int NearbyFoodSpawnCount { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
NearbyFoodSpawnLocationRadius
Declaration
public float NearbyFoodSpawnLocationRadius { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
RequireAuthentication
Declaration
public bool RequireAuthentication { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
RequiredOccupancyBeforeAFKKick
Declaration
public float RequiredOccupancyBeforeAFKKick { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
SpawnLocation
Declaration
public Vector3i SpawnLocation { get; set; }
Property Value
SpawnSearchRange
Declaration
public int SpawnSearchRange { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
TimeRequiredForAFKMinutes
Declaration
public float TimeRequiredForAFKMinutes { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
UnStuckDisableTime
Declaration
public double UnStuckDisableTime { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
UseExactSpawnLocation
Declaration
public bool UseExactSpawnLocation { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
UserPermission
Declaration
public UserPermissionManager UserPermission { get; set; }
Property Value
Methods
Migrate(JObject)
Migration for the UserConfig from v.0 to v.1. We are using JObject for changes so we need to read, change and populate it once.
Declaration
public void Migrate(JObject json)
Parameters
| Type |
Name |
Description |
| Newtonsoft.Json.Linq.JObject |
json |
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
Description |
| System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods