TrinityCore
Loading...
Searching...
No Matches
Scripting::v2::ActionResult< T > Class Template Reference

#include <ScriptActions.h>

+ Inheritance diagram for Scripting::v2::ActionResult< T >:

Static Public Member Functions

static ActionResultSetter< T > GetResultSetter (std::shared_ptr< ActionResult > action)
 

Private Attributes

ActionResultValueHolder< T > _result = { .Action = *this }
 

Additional Inherited Members

- Public Member Functions inherited from Scripting::v2::ActionBase
 ActionBase ()
 
 ActionBase (ActionBase const &other)
 
 ActionBase (ActionBase &&other) noexcept
 
ActionBaseoperator= (ActionBase const &other)
 
ActionBaseoperator= (ActionBase &&other) noexcept
 
virtual ~ActionBase ()
 
virtual bool IsReady () const noexcept
 
- Protected Member Functions inherited from Scripting::v2::ActionBase
void MarkCompleted () noexcept
 

Detailed Description

template<typename T>
class Scripting::v2::ActionResult< T >

Definition at line 64 of file ScriptActions.h.

Member Function Documentation

◆ GetResultSetter()

template<typename T >
static ActionResultSetter< T > Scripting::v2::ActionResult< T >::GetResultSetter ( std::shared_ptr< ActionResult< T > >  action)
inlinestatic

Definition at line 67 of file ScriptActions.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _result

template<typename T >
ActionResultValueHolder<T> Scripting::v2::ActionResult< T >::_result = { .Action = *this }
private

Definition at line 73 of file ScriptActions.h.


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