Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::mono_property_proxy< T > Struct Template Reference

Proxy wrapper for mono property access that integrates with meta_any_proxy system. More...

Public Member Functions

 mono_property_proxy (mono::mono_property p)
 
auto get_name () const -> std::string
 
auto get_value (mono::mono_object &obj) const -> T
 
void set_value (mono::mono_object &obj, const T &value) const
 
auto get_attributes () const
 
auto get_type () const
 
auto is_readonly () const
 

Public Attributes

mono::mono_property property
 
std::string property_name
 

Detailed Description

template<typename T>
struct unravel::mono_property_proxy< T >

Proxy wrapper for mono property access that integrates with meta_any_proxy system.

This allows script property changes to be properly recorded in the undo/redo system by providing a bridge between mono property access and the engine's property system.

Definition at line 90 of file inspector_script.cpp.

Constructor & Destructor Documentation

◆ mono_property_proxy()

template<typename T >
unravel::mono_property_proxy< T >::mono_property_proxy ( mono::mono_property p)
inline

Definition at line 95 of file inspector_script.cpp.

Member Function Documentation

◆ get_attributes()

template<typename T >
auto unravel::mono_property_proxy< T >::get_attributes ( ) const
inline

Definition at line 111 of file inspector_script.cpp.

◆ get_name()

template<typename T >
auto unravel::mono_property_proxy< T >::get_name ( ) const -> std::string
inline

Definition at line 97 of file inspector_script.cpp.

◆ get_type()

template<typename T >
auto unravel::mono_property_proxy< T >::get_type ( ) const
inline

Definition at line 116 of file inspector_script.cpp.

◆ get_value()

template<typename T >
auto unravel::mono_property_proxy< T >::get_value ( mono::mono_object & obj) const -> T
inline

Definition at line 99 of file inspector_script.cpp.

◆ is_readonly()

template<typename T >
auto unravel::mono_property_proxy< T >::is_readonly ( ) const
inline

Definition at line 121 of file inspector_script.cpp.

◆ set_value()

template<typename T >
void unravel::mono_property_proxy< T >::set_value ( mono::mono_object & obj,
const T & value ) const
inline

Definition at line 105 of file inspector_script.cpp.

Member Data Documentation

◆ property

template<typename T >
mono::mono_property unravel::mono_property_proxy< T >::property

Definition at line 92 of file inspector_script.cpp.

◆ property_name

template<typename T >
std::string unravel::mono_property_proxy< T >::property_name

Definition at line 93 of file inspector_script.cpp.


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