Static-init helper that records a script class for type and lifecycle registration. More...
#include <ScriptEntry.h>
Public Member Functions | |
| PendingRegistration () | |
Public Attributes | |
| PendingEntry | m_Entry |
| Type registration node. | |
| PendingLifecycleEntry | m_LifecycleEntry |
| Lifecycle registration node. | |
Static-init helper that records a script class for type and lifecycle registration.
Instantiated by the RV_REFLECT macro. Appends a type registration entry to PendingRegistrationList and a lifecycle entry (factory + destructor lambdas) to PendingLifecycleList. Both are flushed when RV_RegisterScripts is called.
| T | Script class to register. Must inherit from ScriptBase. |
|
inline |
| PendingEntry Raven::PendingRegistration< T >::m_Entry |
Type registration node.
| PendingLifecycleEntry Raven::PendingRegistration< T >::m_LifecycleEntry |
Lifecycle registration node.