Class RoomStats
Inheritance
System.Object
RoomStats
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class RoomStats : Object, INotifyPropertyChanged
Constructors
RoomStats()
Declaration
Fields
ChunkRange
Declaration
public WorldRange ChunkRange
Field Value
FailReason
Declaration
public LocString FailReason
Field Value
LockToCategory
Declaration
public RoomCategory LockToCategory
Field Value
Range
Declaration
Field Value
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
Doorways
Declaration
public HashSet<Vector3i> Doorways { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.HashSet<Vector3i> |
|
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 |
|
IsOutdoor
Declaration
public bool IsOutdoor { get; }
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 |
|
LowestEmptyY
Declaration
public int LowestEmptyY { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
PaintableBlockCount
Declaration
public int PaintableBlockCount { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
PaintedBlockCount
Declaration
public int PaintedBlockCount { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
PaintedBlockPercentage
Declaration
public float PaintedBlockPercentage { get; }
Property Value
| Type |
Description |
| System.Single |
|
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
WallCount
Declaration
public int WallCount { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Walls
Declaration
public HashSet<Vector3i> Walls { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.HashSet<Vector3i> |
|
WallTierComposition
Declaration
public Dictionary<float, int> WallTierComposition { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.Dictionary<System.Single, System.Int32> |
|
WindowAxis
Declaration
public Dictionary<WrappedWorldPosition3i, Axis> WindowAxis { get; set; }
Property Value
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
Description()
Declaration
public LocString Description()
Returns
Dispose()
Declaration
GetResidencyInfo(User, Single)
Declaration
public LocString GetResidencyInfo(User user, float housingXP)
Parameters
| Type |
Name |
Description |
| User |
user |
|
| System.Single |
housingXP |
|
Returns
RemoveContainedWorldObject(IEnumerable<WorldObject>, Boolean)
Declaration
public void RemoveContainedWorldObject(IEnumerable<WorldObject> objs, bool wallObjs)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<WorldObject> |
objs |
|
| 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
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
Description |
| System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods