Apparatus Version 1.8
ECS data-oriented workflow for Unreal Engine.
Public Member Functions | Protected Member Functions | Friends | List of all members
UDetail Class Reference

The base subjective data class. More...

#include <Detail.h>

Inheritance diagram for UDetail:
Inheritance graph
[legend]
Collaboration diagram for UDetail:
Collaboration graph
[legend]

Public Member Functions

 UDetail ()
 
bool IsEnabled () const
 Check if the detail currently active. More...
 
void SetEnabled (const bool bState=true)
 Set a detail to be active, or not. More...
 
TScriptInterface< class ISubjectiveGetOwner () const
 The owning subjective of the detail. More...
 
UMechanismGetMechanism () const
 The mechanism this detail is part of. More...
 
TSubclassOf< UDetailGetClass () const
 Get the detail class. More...
 

Protected Member Functions

void ReceiveActivated ()
 The event is fired, when the detail has become active for a subject. More...
 
void ReceiveDeactivated ()
 The event is fired, when the detail has become inactive for a subject. More...
 
virtual void Activated ()
 The event is fired, when the detail has become active for the subject. More...
 
virtual void Deactivated ()
 The event is fired, when the detail has become inactive for a subject. More...
 

Friends

class ISubjective
 
class UMechanism
 
class UMachine
 

Detailed Description

The base subjective data class.

Constructor & Destructor Documentation

◆ UDetail()

UDetail::UDetail ( )
inline

Member Function Documentation

◆ Activated()

virtual void UDetail::Activated ( )
inlineprotectedvirtual

The event is fired, when the detail has become active for the subject.

Calls ReceiveActivated() by default, to trigger the event in blueprints.

◆ Deactivated()

virtual void UDetail::Deactivated ( )
inlineprotectedvirtual

The event is fired, when the detail has become inactive for a subject.

Calls ReceiveDeactivated() by default, to trigger the event in blueprints.

◆ GetClass()

TSubclassOf<UDetail> UDetail::GetClass ( ) const
inline

Get the detail class.

◆ GetMechanism()

UMechanism * UDetail::GetMechanism ( ) const
inline

The mechanism this detail is part of.

◆ GetOwner()

TScriptInterface< ISubjective > UDetail::GetOwner ( ) const
inline

The owning subjective of the detail.

◆ IsEnabled()

bool UDetail::IsEnabled ( ) const
inline

Check if the detail currently active.

◆ ReceiveActivated()

void UDetail::ReceiveActivated ( )
protected

The event is fired, when the detail has become active for a subject.

◆ ReceiveDeactivated()

void UDetail::ReceiveDeactivated ( )
protected

The event is fired, when the detail has become inactive for a subject.

◆ SetEnabled()

void UDetail::SetEnabled ( const bool  bState = true)

Set a detail to be active, or not.

Friends And Related Function Documentation

◆ ISubjective

friend class ISubjective
friend

◆ UMachine

friend class UMachine
friend

◆ UMechanism

friend class UMechanism
friend

The documentation for this class was generated from the following files: