Skip to content

Alignment

Inherits ValueType

Public Member Functions

void

Deconstruct(out Orderliness orderliness, out Morality morality)

Deconstructs the Alignment struct into a ValueTuple of components.

Public Static Functions

Alignment

operator +(Alignment alignment, Orderliness orderliness)

Adds an orderliness to the value of the alignment. Returns a new Alignment with the value of the original Alignment plus the supplied orderliness.

Alignment

operator +(Alignment alignment, Morality morality)

Adds a morality to the value of the alignment. Returns a new Alignment with the value of the original Alignment plus the supplied morality.

Alignment

implicit operator Alignment(Orderliness orderliness)

Converts the Orderliness to an Alignment. Returns a new Alignment with the value of the original Orderliness.

Alignment

implicit operator Alignment(Morality morality)

Converts the Morality to an Alignment. Returns a new Alignment with the value of the original Morality.

Public Attributes

Orderliness

Orderliness

Order alignment of the effect.

Morality

Morality

Moral alignment of the effect.