Class Species
Inheritance
System.Object
Species
Assembly: Eco.Simulation.dll
Syntax
public abstract class Species : Object, IController, IViewController, IHasUniversalID, IStat
Constructors
Species()
Declaration
Fields
MinNameToType
Declaration
public static Dictionary<string, Type> MinNameToType
Field Value
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.Type> |
|
PopulationChangedEvent
Declaration
public static ThreadSafeAction<Species> PopulationChangedEvent
Field Value
SpeciesStatCategory
Declaration
public const string SpeciesStatCategory = "Populations"
Field Value
Type |
Description |
System.String |
|
SpeciesWentExtinctEvent
Declaration
public static ThreadSafeAction<Species> SpeciesWentExtinctEvent
Field Value
Properties
CalorieValue
Declaration
public float CalorieValue { get; set; }
Property Value
Type |
Description |
System.Single |
|
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
CurrentPopulation
Declaration
public virtual int CurrentPopulation { get; }
Property Value
Type |
Description |
System.Int32 |
|
DisplayDescription
Declaration
public LocString DisplayDescription { get; set; }
Property Value
DisplayName
Declaration
public LocString DisplayName { get; set; }
Property Value
InstanceType
Declaration
public Type InstanceType { get; set; }
Property Value
Type |
Description |
System.Type |
|
MaturityAgeDays
Declaration
public float MaturityAgeDays { get; set; }
Property Value
Type |
Description |
System.Single |
|
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
ReleasesCO2TonsPerDay
Declaration
public float ReleasesCO2TonsPerDay { get; set; }
Property Value
Type |
Description |
System.Single |
|
ResourceBonusAtGrowth
Declaration
public float ResourceBonusAtGrowth { get; set; }
Property Value
Type |
Description |
System.Single |
|
ResourceItemType
Declaration
public Type ResourceItemType { get; }
Property Value
Type |
Description |
System.Type |
|
ResourceList
Declaration
public List<SpeciesResource> ResourceList { get; set; }
Property Value
ResourceRange
Declaration
public Range ResourceRange { get; }
Property Value
Declaration
public string[] Tags { get; set; }
Property Value
Type |
Description |
System.String[] |
|
UniqueAbbreviation
Declaration
public string UniqueAbbreviation { get; }
Property Value
Type |
Description |
System.String |
|
VoxelsPerEntry
Declaration
public int VoxelsPerEntry { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
GetErrorDescription()
Declaration
public virtual string GetErrorDescription()
Returns
Type |
Description |
System.String |
|
GetWorldLayerMinimapName()
Declaration
public LocString GetWorldLayerMinimapName()
Returns
Initialize()
Declaration
OnBirth()
Declaration
OnDeath(Int32)
Declaration
public void OnDeath(int amount = 1)
Parameters
Type |
Name |
Description |
System.Int32 |
amount |
|
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Implements