Show / Hide Table of Contents

Class UserConfig

Inheritance
System.Object
UserConfig
Implements
IMigratableConfig
IVersionedConfig
IValidatableConfig
System.ComponentModel.INotifyPropertyChanged
Namespace: Eco.Gameplay.Players
Assembly: Eco.Gameplay.dll
Syntax
public class UserConfig : Object, IMigratableConfig, IVersionedConfig, IValidatableConfig, INotifyPropertyChanged

Constructors

UserConfig()

Declaration
public UserConfig()

Fields

UseWaste

Declaration
public readonly bool UseWaste
Field Value
Type Description
System.Boolean

Properties

AdminCommandsLoggingLevel

Declaration
public AdminCommandsLoggingLevels AdminCommandsLoggingLevel { get; set; }
Property Value
Type Description
AdminCommandsLoggingLevels

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

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
Type Description
Vector3i

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
Type Description
UserPermissionManager

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

IMigratableConfig
IVersionedConfig
IValidatableConfig
System.ComponentModel.INotifyPropertyChanged

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾