Static-init helper that records a single reflected member variable. More...
#include <ScriptEntry.h>
Public Member Functions | |
| PendingMemberRegistration (std::string_view name, u32 offset) | |
| Constructs the registration and appends it to the pending list. | |
Public Attributes | |
| PendingMemberEntry | Entry |
| Linked-list node embedded in this registration. | |
| std::string_view | Name |
| Reflected name of the member variable. | |
| u32 | Offset |
Byte offset within Parent (from offsetof). | |
Static-init helper that records a single reflected member variable.
Instantiated by the RV_REFLECT_MEMBER macro. Appends itself to PendingMemberRegistrationList at DLL load time; the registration is flushed into the engine registry when RV_RegisterScripts is called.
| Parent | Enclosing script class that owns the member. |
| Member | Type of the member variable being reflected. |
|
inline |
Constructs the registration and appends it to the pending list.
| name | Reflected member name (string literal lifetime required). |
| offset | Byte offset of the member within Parent. |
| PendingMemberEntry Raven::PendingMemberRegistration< Parent, Member >::Entry |
Linked-list node embedded in this registration.
| std::string_view Raven::PendingMemberRegistration< Parent, Member >::Name |
Reflected name of the member variable.
| u32 Raven::PendingMemberRegistration< Parent, Member >::Offset |
Byte offset within Parent (from offsetof).