Table of Contents

Class ComponentMonolith

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

Monolithic component glue that provides access to various components/data of an entity.

public abstract class ComponentMonolith
Inheritance
ComponentMonolith
Derived
Inherited Members
Extension Methods

Constructors

ComponentMonolith(EntityAspect)

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

protected ComponentMonolith(EntityAspect aspect)

Parameters

aspect EntityAspect

The entity aspect to wrap.

ComponentMonolith(Entity)

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

protected ComponentMonolith(Entity entity)

Parameters

entity Entity

The entity to wrap.

Properties

AdminUser

public abstract AdminUser? AdminUser { get; }

Property Value

AdminUser?

BehaviourTreeBinding

public abstract BehaviourTreeBinding? BehaviourTreeBinding { get; }

Property Value

BehaviourTreeBinding?

BehaviourTreeState

public abstract BehaviourTreeState? BehaviourTreeState { get; }

Property Value

BehaviourTreeState?

BehaviourTreeStateMetadata

public abstract BehaviourTreeStateMetadata? BehaviourTreeStateMetadata { get; }

Property Value

BehaviourTreeStateMetadata?

BloodConsumeSource

public abstract BloodConsumeSource? BloodConsumeSource { get; }

Property Value

BloodConsumeSource?

Buff

public abstract Buff? Buff { get; }

Property Value

Buff?

CurrentHealth

public abstract float? CurrentHealth { get; }

Property Value

float?

CustomDefault

The type of the ComponentMonolith class, used for instantiation. Can be assigned if you require a customized component monolith implementation.

public static Type? CustomDefault { get; set; }

Property Value

Type

DeathBuff

public abstract DeathBuff? DeathBuff { get; }

Property Value

DeathBuff?

DeathRagdollForce

public abstract DeathRagdollForce? DeathRagdollForce { get; }

Property Value

DeathRagdollForce?

DefaultMonolithType

public static Type DefaultMonolithType { get; }

Property Value

Type

DestroyData

public abstract DestroyData? DestroyData { get; }

Property Value

DestroyData?

DestroyState

public abstract DestroyState? DestroyState { get; }

Property Value

DestroyState?

DropTable

public abstract DropTable? DropTable { get; }

Property Value

DropTable?

Entity

public Entity Entity { get; }

Property Value

Entity

EntityCategory

public abstract EntityCategory? EntityCategory { get; }

Property Value

EntityCategory?

EntityManager

public static EntityManager EntityManager { get; }

Property Value

EntityManager

EntityOwner

public abstract EntityOwner? EntityOwner { get; }

Property Value

EntityOwner?

EquipableData

public abstract EquippableData? EquipableData { get; }

Property Value

EquippableData?

Equipment

public abstract Equipment? Equipment { get; }

Property Value

Equipment?

EquipmentType

public abstract EquipmentType? EquipmentType { get; }

Property Value

EquipmentType?

Follower

public abstract Follower? Follower { get; }

Property Value

Follower?

FrameChanged

public abstract FrameChanged? FrameChanged { get; }

Property Value

FrameChanged?

GenericCombatMovementData

public abstract GenericCombatMovementData? GenericCombatMovementData { get; }

Property Value

GenericCombatMovementData?

Health

public abstract Health? Health { get; }

Property Value

Health?

HybridModelSeed

public abstract HybridModelSeed? HybridModelSeed { get; }

Property Value

HybridModelSeed?

HybridModelState

public abstract HybridModelState? HybridModelState { get; }

Property Value

HybridModelState?

InventoryBuffer

public abstract InventoryBuffer? InventoryBuffer { get; }

Property Value

InventoryBuffer?

InventoryBuffers

public abstract List<InventoryBuffer>? InventoryBuffers { get; }

Property Value

List<InventoryBuffer>

IsDead

public abstract bool? IsDead { get; }

Property Value

bool?

IsGatherable

public abstract bool IsGatherable { get; }

Property Value

bool

IsMinion

public abstract bool IsMinion { get; }

Property Value

bool

IsProjectile

public abstract bool IsProjectile { get; }

Property Value

bool

IsResource

public abstract bool IsResource { get; }

Property Value

bool

IsSpell

public abstract bool IsSpell { get; }

Property Value

bool

IsStructure

public abstract bool IsStructure { get; }

Property Value

bool

IsTerrain

public abstract bool IsTerrain { get; }

Property Value

bool

IsUnit

public abstract bool IsUnit { get; }

Property Value

bool

ItemCategory

public abstract ItemCategory? ItemCategory { get; }

Property Value

ItemCategory?

ItemData

public abstract ItemData? ItemData { get; }

Property Value

ItemData?

ItemType

public abstract ItemType? ItemType { get; }

Property Value

ItemType?

LifeTime

public abstract LifeTime? LifeTime { get; }

Property Value

LifeTime?

LocalToWorld

public abstract LocalToWorld? LocalToWorld { get; }

Property Value

LocalToWorld?

LocalTransform

public abstract LocalTransform? LocalTransform { get; }

Property Value

LocalTransform?

MainCategory

public abstract MainEntityCategory? MainCategory { get; }

Property Value

MainEntityCategory?

ManagedItemData

public abstract ManagedItemData? ManagedItemData { get; }

Property Value

ManagedItemData

MapCollision

public abstract MapCollision? MapCollision { get; }

Property Value

MapCollision?

MaterialCategory

public abstract MaterialCategory? MaterialCategory { get; }

Property Value

MaterialCategory?

MaxHealth

public abstract float? MaxHealth { get; }

Property Value

float?

MaxRecoveryHealth

public abstract float? MaxRecoveryHealth { get; }

Property Value

float?

Minion

public abstract Minion? Minion { get; }

Property Value

Minion?

MoveEntity

public abstract MoveEntity? MoveEntity { get; }

Property Value

MoveEntity?

MoveVelocity

public abstract MoveVelocity? MoveVelocity { get; }

Property Value

MoveVelocity?

Movement

public abstract Movement? Movement { get; }

Property Value

Movement?

NetworkId

public abstract NetworkId? NetworkId { get; }

Property Value

NetworkId?

NetworkSnapshot

public abstract NetworkSnapshot? NetworkSnapshot { get; }

Property Value

NetworkSnapshot?

NetworkedTimeout

public abstract NetworkedTimeout? NetworkedTimeout { get; }

Property Value

NetworkedTimeout?

PlayerCharacter

public abstract PlayerCharacter? PlayerCharacter { get; }

Property Value

PlayerCharacter?

ResistanceData

public abstract ResistanceData? ResistanceData { get; }

Property Value

ResistanceData?

ResourceLevel

public abstract int? ResourceLevel { get; }

Property Value

int?

Rotation

public abstract Rotation? Rotation { get; }

Property Value

Rotation?

SpawnTransform

public abstract SpawnTransform? SpawnTransform { get; }

Property Value

SpawnTransform?

StructureCategory

public abstract StructureCategory? StructureCategory { get; }

Property Value

StructureCategory?

Team

public abstract Team? Team { get; }

Property Value

Team?

TeamReference

public abstract TeamReference? TeamReference { get; }

Property Value

TeamReference?

TimeOfDeath

public abstract double? TimeOfDeath { get; }

Property Value

double?

Translation

public abstract Translation? Translation { get; }

Property Value

Translation?

UnitCategory

public abstract UnitCategory? UnitCategory { get; }

Property Value

UnitCategory?

UnitLevel

public abstract UnitLevel? UnitLevel { get; }

Property Value

UnitLevel?

UnitRespawnTime

public abstract UnitRespawnTime? UnitRespawnTime { get; }

Property Value

UnitRespawnTime?

UnitStats

public abstract UnitStats? UnitStats { get; }

Property Value

UnitStats?

UpToDateUserBitMask

public abstract UpToDateUserBitMask? UpToDateUserBitMask { get; }

Property Value

UpToDateUserBitMask?

User

public abstract User? User { get; }

Property Value

User?

World

public static World World { get; }

Property Value

World

YieldResourcesOnDamageTaken

public abstract YieldResourcesOnDamageTaken? YieldResourcesOnDamageTaken { get; }

Property Value

YieldResourcesOnDamageTaken?

Methods

GetBufferInternal<T>()

Gets the buffer of type T from the entity.

public virtual List<T>? GetBufferInternal<T>() where T : struct

Returns

List<T>

A list of type T if the buffer exists; otherwise, null.

Type Parameters

T

The type of the buffer to retrieve.

GetComponentData<T>()

Gets the component data of type T from the entity.

public virtual T? GetComponentData<T>() where T : new()

Returns

T

The component data of type T if it exists; otherwise, null.

Type Parameters

T

The type of the component data to retrieve.

GetManagedComponentData<T>()

Gets the component data of type T from the entity, or returns a default value if it does not exist.

public virtual T? GetManagedComponentData<T>() where T : class

Returns

T

The component data of type T if it exists; otherwise, a new instance of T.

Type Parameters

T

The type of the component data to retrieve.

Of(EntityAspect, Type?)

public static ComponentMonolith Of(EntityAspect aspect, Type? componentMonolithType = null)

Parameters

aspect EntityAspect
componentMonolithType Type

Returns

ComponentMonolith

Of(Entity, Type?)

public static ComponentMonolith Of(Entity entity, Type? componentMonolithType = null)

Parameters

entity Entity
componentMonolithType Type

Returns

ComponentMonolith

Of<T>(EntityAspect)

public static T Of<T>(EntityAspect aspect) where T : ComponentMonolith

Parameters

aspect EntityAspect

Returns

T

Type Parameters

T

Of<T>(Entity)

public static T Of<T>(Entity entity) where T : ComponentMonolith

Parameters

entity Entity

Returns

T

Type Parameters

T