Show / Hide Table of Contents

Class RoomStats

Inheritance
System.Object
RoomStats
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Eco.Gameplay.Property
Assembly: Eco.Gameplay.dll
Syntax
public class RoomStats : Object, INotifyPropertyChanged

Constructors

RoomStats()

Declaration
public RoomStats()

Fields

ChunkRange

Declaration
public WorldRange ChunkRange
Field Value
Type Description
WorldRange

FailReason

Declaration
public LocString FailReason
Field Value
Type Description
LocString

LockToCategory

Declaration
public RoomCategory LockToCategory
Field Value
Type Description
RoomCategory

Range

Declaration
public WorldRange Range
Field Value
Type Description
WorldRange

Properties

AverageEmptyPos

Declaration
public Nullable<Vector3i> AverageEmptyPos { get; set; }
Property Value
Type Description
System.Nullable<Vector3i>

AverageTier

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

Contained

Declaration
public bool Contained { get; set; }
Property Value
Type Description
System.Boolean

ContainedAndTouchingWorldObjects

Declaration
public IEnumerable<WorldObject> ContainedAndTouchingWorldObjects { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<WorldObject>

ContainedWorldObjects

Declaration
public IEnumerable<WorldObject> ContainedWorldObjects { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<WorldObject>

ContainedWorldObjectsNull

Declaration
public IEnumerable<WorldObject> ContainedWorldObjectsNull { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<WorldObject>

DescriptionText

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

EmptySpace

Declaration
public HashSet<Vector3i> EmptySpace { get; set; }
Property Value
Type Description
System.Collections.Generic.HashSet<Vector3i>

Flooded

Declaration
public bool Flooded { get; set; }
Property Value
Type Description
System.Boolean

IsClaimed

Declaration
public bool IsClaimed { get; set; }
Property Value
Type Description
System.Boolean

IsResident

Declaration
public Func<User, bool> IsResident { get; set; }
Property Value
Type Description
System.Func<User, System.Boolean>

LastCheckTime

Declaration
public double LastCheckTime { get; set; }
Property Value
Type Description
System.Double

PlotPositions

Declaration
public HashSet<PlotPos> PlotPositions { get; set; }
Property Value
Type Description
System.Collections.Generic.HashSet<PlotPos>

ShouldCheck

Declaration
public bool ShouldCheck { get; }
Property Value
Type Description
System.Boolean

Volume

Declaration
public int Volume { get; }
Property Value
Type Description
System.Int32

WallCompositions

Declaration
public Dictionary<RoomStats.WallComposition, int> WallCompositions { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<RoomStats.WallComposition, System.Int32>

WallCount

Declaration
public int WallCount { get; set; }
Property Value
Type Description
System.Int32

WallTierComposition

Declaration
public Dictionary<int, int> WallTierComposition { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.Int32, System.Int32>

WindowAxis

Declaration
public Dictionary<WrappedWorldPosition3i, Axis> WindowAxis { get; set; }
Property Value
Type Description
System.Collections.Generic.Dictionary<WrappedWorldPosition3i, Axis>

Windows

Declaration
public HashSet<Vector3i> Windows { get; set; }
Property Value
Type Description
System.Collections.Generic.HashSet<Vector3i>

WorldObjectWalls

Declaration
public HashSet<WorldObject> WorldObjectWalls { get; set; }
Property Value
Type Description
System.Collections.Generic.HashSet<WorldObject>

Methods

AddContainedWorldObject(WorldObject, Boolean)

Declaration
public void AddContainedWorldObject(WorldObject obj, bool wallObjs)
Parameters
Type Name Description
WorldObject obj
System.Boolean wallObjs

ContainedComponents<T>()

Declaration
public IEnumerable<T> ContainedComponents<T>()
Returns
Type Description
System.Collections.Generic.IEnumerable<T>
Type Parameters
Name Description
T

Description()

Declaration
public LocString Description()
Returns
Type Description
LocString

Dispose()

Declaration
public void Dispose()

GetResidencyInfo(User, Single)

Declaration
public LocString GetResidencyInfo(User user, float housingXP)
Parameters
Type Name Description
User user
System.Single housingXP
Returns
Type Description
LocString

RemoveContainedWorldObject(WorldObject, Boolean)

Declaration
public void RemoveContainedWorldObject(WorldObject obj, bool wallObjs)
Parameters
Type Name Description
WorldObject obj
System.Boolean wallObjs

RemoveContainedWorldObject(Func<WorldObject, Boolean>, Boolean)

Declaration
public void RemoveContainedWorldObject(Func<WorldObject, bool> func, bool wallObjs)
Parameters
Type Name Description
System.Func<WorldObject, System.Boolean> func
System.Boolean wallObjs

SetContainedWorldObjects(IEnumerable<WorldObject>, Boolean)

Declaration
public void SetContainedWorldObjects(IEnumerable<WorldObject> walls, bool wallObjs)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<WorldObject> walls
System.Boolean wallObjs

ShortDescription()

Declaration
public LocString ShortDescription()
Returns
Type Description
LocString

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

System.ComponentModel.INotifyPropertyChanged

Extension Methods

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