Dungeon Generator  1.6.6
Procedural 3D dungeon generator plugin for Unreal Engine 5. Easy generation of levels, mini-maps and missions.
DungeonComponentActivationSaver< T > Class Template Referencefinal

#include <DungeonComponentActivationSaver.h>

Public Member Functions

void Stash (const AActor *actor, const std::function< std::pair< bool, T >(UActorComponent *)> &function)
 
void Pop (const std::function< void(UActorComponent *, const T)> &function)
 
bool IsEmpty () const
 

Detailed Description

template<typename T>
class DungeonComponentActivationSaver< T >

Author
Shun Moriya

Member Function Documentation

◆ IsEmpty()

template<typename T >
bool DungeonComponentActivationSaver< T >::IsEmpty
inline

No records?

Returns
Returns true if nothing is recorded.

◆ Pop()

template<typename T >
void DungeonComponentActivationSaver< T >::Pop ( const std::function< void(UActorComponent *, const T)> &  function)
inline

Restore the activity of recorded components

Parameters
[in]function

◆ Stash()

template<typename T >
void DungeonComponentActivationSaver< T >::Stash ( const AActor *  actor,
const std::function< std::pair< bool, T >(UActorComponent *)> &  function 
)
inline

Records the activity of components owned by the actor

Parameters
[in]actor
[in]function

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