A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
UBaseEvent Class ReferenceAbstract

The UBaseEvent class serves as the base class for all events for our event-managers system. The class includes functions for initializing the event with an executor. More...

#include <BaseEvent.h>

Inheritance diagram for UBaseEvent:
[legend]

Public Member Functions

 UBaseEvent ()
 
virtual FCompareResult CompareEvent (const UBaseEvent *Event) const
 
APlayerControllerGetExecutor () const
 
const FGuid & GetGuid () const
 
void Initialize (APlayerController *NewExecutor)
 
virtual bool Lock () final
 
virtual void Unlock () final
 

Private Member Functions

 GENERATED_BODY ()
 

Private Attributes

APlayerControllerExecutor
 UPROPERTY()
 
FGuid Guid
 
TAtomic< int32 > ListenersNum
 

Detailed Description

The UBaseEvent class serves as the base class for all events for our event-managers system. The class includes functions for initializing the event with an executor.

UCLASS(Abstract)

Definition at line 82 of file BaseEvent.h.

Constructor & Destructor Documentation

◆ UBaseEvent()

UBaseEvent::UBaseEvent ( )

Definition at line 5 of file BaseEvent.cpp.

Member Function Documentation

◆ CompareEvent()

virtual FCompareResult UBaseEvent::CompareEvent ( const UBaseEvent * Event) const
inlinevirtual

Definition at line 95 of file BaseEvent.h.

◆ GENERATED_BODY()

UBaseEvent::GENERATED_BODY ( )
private

◆ GetExecutor()

APlayerController * UBaseEvent::GetExecutor ( ) const

Definition at line 15 of file BaseEvent.cpp.

◆ GetGuid()

const FGuid & UBaseEvent::GetGuid ( ) const
inline

Definition at line 90 of file BaseEvent.h.

◆ Initialize()

void UBaseEvent::Initialize ( APlayerController * NewExecutor)

Definition at line 10 of file BaseEvent.cpp.

◆ Lock()

bool UBaseEvent::Lock ( )
finalvirtual

Definition at line 20 of file BaseEvent.cpp.

Here is the caller graph for this function:

◆ Unlock()

void UBaseEvent::Unlock ( )
finalvirtual

Definition at line 36 of file BaseEvent.cpp.

Member Data Documentation

◆ Executor

APlayerController* UBaseEvent::Executor
private

UPROPERTY()

Definition at line 109 of file BaseEvent.h.

◆ Guid

FGuid UBaseEvent::Guid
private

Definition at line 110 of file BaseEvent.h.

◆ ListenersNum

TAtomic<int32> UBaseEvent::ListenersNum
private
Todo
TAtomic is deprecated, we should replace this

Definition at line 112 of file BaseEvent.h.


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