Show / Hide Table of Contents

Class FeatureConfig

Inheritance
System.Object
FeatureConfig
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
Namespace: Eco.Gameplay.Systems
Assembly: Eco.Gameplay.dll
Syntax
public class FeatureConfig : Singleton<FeatureConfig>, IController, IViewController, IHasUniversalID, INotifyPropertyChanged

Constructors

FeatureConfig()

Declaration
public FeatureConfig()

Properties

AchievementsEnabled

Declaration
public bool AchievementsEnabled { get; set; }
Property Value
Type Description
System.Boolean

AllowFaceTrackingOnServer

Declaration
public bool AllowFaceTrackingOnServer { get; set; }
Property Value
Type Description
System.Boolean

CameraModeEnabled

Declaration
public bool CameraModeEnabled { get; set; }
Property Value
Type Description
System.Boolean

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

CultureEnabled

Declaration
public bool CultureEnabled { get; set; }
Property Value
Type Description
System.Boolean

EducationEnabled

Declaration
public bool EducationEnabled { get; }
Property Value
Type Description
System.Boolean

FoodTastinessMultiplierEnabled

Declaration
public bool FoodTastinessMultiplierEnabled { get; set; }
Property Value
Type Description
System.Boolean

FoodVarietyMultiplierEnabled

Declaration
public bool FoodVarietyMultiplierEnabled { get; set; }
Property Value
Type Description
System.Boolean

InitialSpawnSelection

Declaration
public bool InitialSpawnSelection { get; set; }
Property Value
Type Description
System.Boolean

PlacementOnSurfaces

Declaration
public bool PlacementOnSurfaces { get; set; }
Property Value
Type Description
System.Boolean

RentEnabled

Declaration
public bool RentEnabled { get; set; }
Property Value
Type Description
System.Boolean

SettlementEnabled

Declaration
public bool SettlementEnabled { get; set; }
Property Value
Type Description
System.Boolean

UseSettlementSystem

Declaration
public bool UseSettlementSystem { get; }
Property Value
Type Description
System.Boolean

VoiceChatEnabled

Declaration
public bool VoiceChatEnabled { get; set; }
Property Value
Type Description
System.Boolean

Methods

IsFeatureOfTypeAvailable(Type, out RelatedFeatureAttribute)

Checks if the type has any related feature and returns true if all its related features are enabled.

Declaration
public static bool IsFeatureOfTypeAvailable(Type type, out RelatedFeatureAttribute attribute)
Parameters
Type Name Description
System.Type type
RelatedFeatureAttribute attribute
Returns
Type Description
System.Boolean

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

IController
IViewController
IHasUniversalID
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
☀
☾