Table of Contents

Class HybridModelAspect

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

Aspect of an entity that is part of the hybrid model system.

public class HybridModelAspect : EntityAspect, IAspect<Entity>, IAspect
Inheritance
BaseAspect<Entity>
HybridModelAspect
Implements
IAspect<Entity>
Inherited Members
Extension Methods

Constructors

HybridModelAspect(EntityAspect, bool)

Initializes a new instance of the EntityAspect class with another aspect.

public HybridModelAspect(EntityAspect aspect, bool strict = true)

Parameters

aspect EntityAspect

The aspect to copy from.

strict bool

If true, the aspect will throw an exception if the entity is null.

Exceptions

ArgumentNullException

Thrown when the entity of the aspect is null.

HybridModelAspect(Entity, bool)

Initializes a new instance of the EntityAspect class with the specified entity.

public HybridModelAspect(Entity entity, bool strict = true)

Parameters

entity Entity

The entity to associate with this aspect.

strict bool

If true, the aspect will throw an exception if the entity is null.

Exceptions

ArgumentNullException

Thrown when the entity is null.

Properties

DeathRagdollForce

public DeathRagdollForce? DeathRagdollForce { get; }

Property Value

DeathRagdollForce?

HybridModelSeed

public HybridModelSeed? HybridModelSeed { get; }

Property Value

HybridModelSeed?

HybridModelState

public HybridModelState? HybridModelState { get; }

Property Value

HybridModelState?

Queries

public static HybridModelQueries Queries { get; }

Property Value

HybridModelQueries

Methods

Is(Entity)

public static bool Is(Entity entity)

Parameters

entity Entity

Returns

bool

Qualifies(Entity)

Checks if the entity qualifies for this aspect.

public override bool Qualifies(Entity entity)

Parameters

entity Entity

Returns

bool

Returns true if the entity qualifies, otherwise false.