Class PropertyValue
Determines the property value of a given deed, given whats built on it.
Inheritance
System.Object
PropertyValue
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public abstract class PropertyValue : UnserializedEntry, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, ILinkable
Constructors
PropertyValue(Deed)
Declaration
public PropertyValue(Deed deed)
Parameters
Type |
Name |
Description |
Deed |
deed |
|
Fields
rooms
Declaration
protected List<Room> rooms
Field Value
Type |
Description |
System.Collections.Generic.List<Room> |
|
Properties
Appendix
Declaration
public LocString Appendix { get; set; }
Property Value
AppliesToPropertyType
Declaration
public abstract PropertyType AppliesToPropertyType { get; }
Property Value
Deed
Declaration
public Deed Deed { get; }
Property Value
Description
Declaration
public LocString Description { get; set; }
Property Value
Icon
Declaration
public abstract string Icon { get; }
Property Value
Type |
Description |
System.String |
|
Rooms
Declaration
public IEnumerable<Room> Rooms { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<Room> |
|
Summary
Declaration
public LocString Summary { get; set; }
Property Value
Title
Declaration
public LocString Title { get; set; }
Property Value
Value
Declaration
public float Value { get; protected set; }
Property Value
Type |
Description |
System.Single |
|
Methods
CalcValueAndNotify(Deed)
Calculate the value of the property.
Declaration
public abstract void CalcValueAndNotify(Deed deed)
Parameters
Type |
Name |
Description |
Deed |
deed |
|
SetRooms(IEnumerable<Room>)
Declaration
public void SetRooms(IEnumerable<Room> rooms)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<Room> |
rooms |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods