Show / Hide Table of Contents

Class GameSettings

Inheritance
System.Object
GameSettings
Namespace: Eco.Shared.Services
Assembly: Eco.Shared.dll
Syntax
[LocDescription("Defines what type of game should be run. These settings are used to generate Difficulty Modifiers.")]
public class GameSettings : Object

Constructors

GameSettings()

Declaration
public GameSettings()

Properties

AdvancedGameSettings

Declaration
[LocDescription("Advanced settings that are changed whenever the other settings above are changed.")]
public AdvancedGameSettings AdvancedGameSettings { get; set; }
Property Value
Type Description
AdvancedGameSettings

AllowFriendsToJoin

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

CollaborationLevel

Declaration
public CollaborationLevel CollaborationLevel { get; set; }
Property Value
Type Description
CollaborationLevel

DesiredNumberOfPlayers

Declaration
public int DesiredNumberOfPlayers { get; set; }
Property Value
Type Description
System.Int32

ExhaustionEnabled

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

GameSpeed

Declaration
public GameSpeed GameSpeed { get; set; }
Property Value
Type Description
GameSpeed

GenerateRandomWorld

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

HasMeteor

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

HoursPlayedPerDay

Set to '0' to mean 'unlimited'

Declaration
public float HoursPlayedPerDay { get; set; }
Property Value
Type Description
System.Single

SimulationLevel

Declaration
public SimulationLevel SimulationLevel { get; set; }
Property Value
Type Description
SimulationLevel

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾