Table of Contents

Class EquipmentAspect

Namespace
RisingV.Core.Aspects
Assembly
RisingV.Core.dll

Aspect for equipment entities in the game.

public class EquipmentAspect : BaseAspect<Equipment>, IAspect<Equipment>, IAspect
Inheritance
BaseAspect<Equipment>
EquipmentAspect
Implements
IAspect<Equipment>
Inherited Members
Extension Methods

Constructors

EquipmentAspect(Equipment, bool)

Initializes a new instance of the BaseAspect<T> class with the specified target object.

public EquipmentAspect(Equipment equipment, bool strict = true)

Parameters

equipment Equipment
strict bool

If true, throws an exception if the target does not qualify for the aspect.

EquipmentAspect(BaseAspect<Equipment>, bool)

Initializes a new instance of the BaseAspect<T> class with another aspect as the base.

public EquipmentAspect(BaseAspect<Equipment> aspect, bool strict = true)

Parameters

aspect BaseAspect<Equipment>

The aspect to base this instance on.

strict bool

If true, throws an exception if the target does not qualify for the aspect.

Properties

ArmorLevel

public float ArmorLevel { get; }

Property Value

float

Chest

public ItemAspect? Chest { get; }

Property Value

ItemAspect

Cloak

public ItemAspect? Cloak { get; }

Property Value

ItemAspect

Footgear

public ItemAspect? Footgear { get; }

Property Value

ItemAspect

Gloves

public ItemAspect? Gloves { get; }

Property Value

ItemAspect

Headgear

public ItemAspect? Headgear { get; }

Property Value

ItemAspect

IsEquipment

Indicates whether this aspect is an equipment aspect.

public override bool IsEquipment { get; }

Property Value

bool

Jewelry

public ItemAspect? Jewelry { get; }

Property Value

ItemAspect

Leg

public ItemAspect? Leg { get; }

Property Value

ItemAspect

Level

public float Level { get; }

Property Value

float

SpellLevel

public float SpellLevel { get; }

Property Value

float

Weapon

public ItemAspect? Weapon { get; }

Property Value

ItemAspect

WeaponLevel

public float WeaponLevel { get; }

Property Value

float

Methods

Is(Equipment)

public static bool Is(Equipment equipment)

Parameters

equipment Equipment

Returns

bool

Qualifies(Equipment)

Determines if the target object qualifies for this aspect.

public override bool Qualifies(Equipment equipment)

Parameters

equipment Equipment

Returns

bool