Show / Hide Table of Contents

Class ResidencyPropertyValue

Inheritance
System.Object
UnserializedEntry
PropertyValue
StandardPropertyValue
ResidencyPropertyValue
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
ILinkable
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
Inherited Members
StandardPropertyValue.CalcValueAndNotify(Deed)
StandardPropertyValue.RoomSums
StandardPropertyValue.Scale
StandardPropertyValue.Subscriptions
PropertyValue.rooms
PropertyValue.SetRooms(IEnumerable<Room>)
PropertyValue.Title
PropertyValue.Description
PropertyValue.Summary
PropertyValue.Appendix
PropertyValue.Value
PropertyValue.Deed
PropertyValue.Rooms
UnserializedEntry.Id
UnserializedEntry.idToEntry
UnserializedEntry.All<T>()
UnserializedEntry.GetById(Int32)
UnserializedEntry.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
UnserializedEntry.ControllerID
UnserializedEntry.PropertyChanged
Namespace: Eco.Gameplay.Housing.PropertyValues
Assembly: Eco.Gameplay.dll
Syntax
public class ResidencyPropertyValue : StandardPropertyValue, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, ILinkable, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions

Constructors

ResidencyPropertyValue(Deed)

Declaration
public ResidencyPropertyValue(Deed deed)
Parameters
Type Name Description
Deed deed

Properties

AppliesToPropertyType

Declaration
public override PropertyType AppliesToPropertyType { get; }
Property Value
Type Description
PropertyType
Overrides
PropertyValue.AppliesToPropertyType

Icon

Declaration
public override string Icon { get; }
Property Value
Type Description
System.String
Overrides
PropertyValue.Icon

Methods

ApplyAndDescribeMultipliersAndGetNewTotal(Single, Deed, LocStringBuilder, LocStringBuilder)

Change multiplier for difficulty and roommate penalty.

Declaration
public override float ApplyAndDescribeMultipliersAndGetNewTotal(float value, Deed deed, LocStringBuilder summary, LocStringBuilder desc)
Parameters
Type Name Description
System.Single value
Deed deed
LocStringBuilder summary
LocStringBuilder desc
Returns
Type Description
System.Single
Overrides
StandardPropertyValue.ApplyAndDescribeMultipliersAndGetNewTotal(Single, Deed, LocStringBuilder, LocStringBuilder)

DescribeTotal(Deed, LocStringBuilder, LocStringBuilder)

Declaration
protected override void DescribeTotal(Deed deed, LocStringBuilder desc, LocStringBuilder summary)
Parameters
Type Name Description
Deed deed
LocStringBuilder desc
LocStringBuilder summary
Overrides
StandardPropertyValue.DescribeTotal(Deed, LocStringBuilder, LocStringBuilder)

ExplainedFormula()

Declaration
public TooltipSection ExplainedFormula()
Returns
Type Description
TooltipSection

UILinkContent()

Declaration
public override LocString UILinkContent()
Returns
Type Description
LocString
Overrides
UnserializedEntry.UILinkContent()

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

Declaration
protected override 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
Overrides
StandardPropertyValue.UpdateAndNotifyTotal(Deed, Single, Nullable<Vector2>, IEnumerable<Room>)

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