OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4ValueConv< C4Effect * > Struct Template Reference

#include <C4AulDefFunc.h>

Static Public Member Functions

static C4Effect_FromC4V (C4Value &v)
 

Static Public Attributes

static constexpr C4V_Type Type = C4V_Effect
 

Detailed Description

template<>
struct C4ValueConv< C4Effect * >

Definition at line 190 of file C4AulDefFunc.h.

Member Function Documentation

static C4Effect* C4ValueConv< C4Effect * >::_FromC4V ( C4Value v)
inlinestatic

Definition at line 193 of file C4AulDefFunc.h.

References C4Value::_getPropList(), and C4PropList::GetEffect().

193 { C4PropList * p = v._getPropList(); return p ? p->GetEffect() : nullptr; }
virtual C4Effect * GetEffect()
Definition: C4PropList.cpp:709
C4PropList * _getPropList() const
Definition: C4Value.h:129

Here is the call graph for this function:

Member Data Documentation

constexpr C4V_Type C4ValueConv< C4Effect * >::Type = C4V_Effect
static

Definition at line 192 of file C4AulDefFunc.h.


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