Show / Hide Table of Contents

Struct AreaSerialized

Serializable (pure-data) object representing an Area.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: SadRogue.Primitives.SerializedTypes
Assembly: TheSadRogue.Primitives.dll
Syntax
public struct AreaSerialized

Fields

View Source

PointHasher

The hashing algorithm to use for storing Points added to the area.

Declaration
public IEqualityComparer<Point> PointHasher
Field Value
Type Description
IEqualityComparer<Point>
View Source

Positions

Positions in the area.

Declaration
public List<PointSerialized> Positions
Field Value
Type Description
List<PointSerialized>

Operators

View Source

implicit operator AreaSerialized(Area)

Converts Area to AreaSerialized.

Declaration
public static implicit operator AreaSerialized(Area area)
Parameters
Type Name Description
Area area
Returns
Type Description
AreaSerialized
View Source

implicit operator Area(AreaSerialized)

Converts AreaSerialized to Area.

Declaration
public static implicit operator Area(AreaSerialized serialized)
Parameters
Type Name Description
AreaSerialized serialized
Returns
Type Description
Area

Extension Methods

PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>?)
PropertyChangedEventHelpers.SafelySetProperty<TObject, TProperty>(TObject, ref TProperty, TProperty, EventHandler<ValueChangedEventArgs<TProperty>>?, EventHandler<ValueChangedEventArgs<TProperty>>?)
  • View Source
In this article
Back to top Generated by DocFX