3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
Loading...
Searching...
No Matches
Engine3DRadSpace::Projects::EventInvocationRepresentation Struct Reference

Serializable representation of a member function call. More...

#include <EventInvocationRepresentation.hpp>

Public Member Functions

 EventInvocationRepresentation ()
 Default constructor.

Static Public Member Functions

static Reflection::IReflectedFunction * FindFunction (Reflection::ReflectedObject *reflObject, size_t idxFn)
 Finds an reflected function from the given object and function index.

Public Attributes

size_t OwnerObject
 ID of the object in the ObjectList.
size_t FunctionID
 ID of the function, per reflection metadata.
std::vector< std::any > Args
 Arguments pack.

Detailed Description

Serializable representation of a member function call.

Constructor & Destructor Documentation

◆ EventInvocationRepresentation()

EventInvocationRepresentation::EventInvocationRepresentation ( )

Default constructor.

Member Function Documentation

◆ FindFunction()

IReflectedFunction * EventInvocationRepresentation::FindFunction ( Reflection::ReflectedObject * reflObject,
size_t idxFn )
static

Finds an reflected function from the given object and function index.

Parameters
reflObjectThe reflected object to search for the function.
idxFnThe index of the function within the reflected object's function list.
Returns
The reflected function if found; otherwise, nullptr.

Member Data Documentation

◆ Args

std::vector<std::any> Engine3DRadSpace::Projects::EventInvocationRepresentation::Args

Arguments pack.

◆ FunctionID

size_t Engine3DRadSpace::Projects::EventInvocationRepresentation::FunctionID

ID of the function, per reflection metadata.

◆ OwnerObject

size_t Engine3DRadSpace::Projects::EventInvocationRepresentation::OwnerObject

ID of the object in the ObjectList.


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