Show / Hide Table of Contents

Class StandardPropertyValue

Base class for property values derived from the regular furnishing values. Residency and cultural use this, though cultural will get separated later.

Inheritance
System.Object
UnserializedEntry
PropertyValue
StandardPropertyValue
CulturalPropertyValue
ResidencyPropertyValue
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
ILinkable
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
Inherited Members
PropertyValue.rooms
PropertyValue.SetRooms(IEnumerable<Room>)
PropertyValue.Title
PropertyValue.Description
PropertyValue.Summary
PropertyValue.Appendix
PropertyValue.Value
PropertyValue.Deed
PropertyValue.Rooms
PropertyValue.AppliesToPropertyType
PropertyValue.Icon
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.Internal
Assembly: Eco.Gameplay.dll
Syntax
public abstract class StandardPropertyValue : PropertyValue, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, ILinkable, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions

Constructors

StandardPropertyValue(Deed)

Declaration
protected StandardPropertyValue(Deed deed)
Parameters
Type Name Description
Deed deed

Properties

RoomSums

Declaration
public ConcurrentDictionary<Color, float> RoomSums { get; set; }
Property Value
Type Description
System.Collections.Concurrent.ConcurrentDictionary<Color, System.Single>

Scale

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

Subscriptions

Declaration
public ref ThreadSafeSubscriptions Subscriptions { get; }
Property Value
Type Description
ThreadSafeSubscriptions

Methods

ApplyAndDescribeMultipliersAndGetNewTotal(Single, Deed, LocStringBuilder, LocStringBuilder)

Declaration
public virtual float ApplyAndDescribeMultipliersAndGetNewTotal(float curVal, Deed deed, LocStringBuilder summary, LocStringBuilder desc)
Parameters
Type Name Description
System.Single curVal
Deed deed
LocStringBuilder summary
LocStringBuilder desc
Returns
Type Description
System.Single

CalcValueAndNotify(Deed)

Declaration
public override void CalcValueAndNotify(Deed deed)
Parameters
Type Name Description
Deed deed
Overrides
PropertyValue.CalcValueAndNotify(Deed)

DescribeTotal(Deed, LocStringBuilder, LocStringBuilder)

Describe the final points and how they affect things.

Declaration
protected abstract void DescribeTotal(Deed deed, LocStringBuilder desc, LocStringBuilder summary)
Parameters
Type Name Description
Deed deed
LocStringBuilder desc
LocStringBuilder summary

UpdateAndNotifyTotal(Deed, Single, Nullable<Vector2>, IEnumerable<Room>)

Declaration
protected virtual void UpdateAndNotifyTotal(Deed deed, float newTotal, Nullable<Vector2> weightedRoomPos, IEnumerable<Room> rooms)
Parameters
Type Name Description
Deed deed
System.Single newTotal
System.Nullable<Vector2> weightedRoomPos
System.Collections.Generic.IEnumerable<Room> rooms

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
ILinkable
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions

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
☀
☾