Show / Hide Table of Contents

Class PropertyValue

Determines the property value of a given deed, given whats built on it.

Inheritance
System.Object
UnserializedEntry
PropertyValue
StandardPropertyValue
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
ILinkable
Inherited Members
UnserializedEntry.Id
UnserializedEntry.idToEntry
UnserializedEntry.All<T>()
UnserializedEntry.GetById(Int32)
UnserializedEntry.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
UnserializedEntry.UILinkContent()
UnserializedEntry.ControllerID
UnserializedEntry.PropertyChanged
Namespace: Eco.Gameplay.Housing.PropertyValues
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
Type Description
LocString

AppliesToPropertyType

Declaration
public abstract PropertyType AppliesToPropertyType { get; }
Property Value
Type Description
PropertyType

Deed

Declaration
public Deed Deed { get; }
Property Value
Type Description
Deed

Description

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

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

Title

Declaration
public LocString Title { get; set; }
Property Value
Type Description
LocString

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

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
ILinkable

Extension Methods

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