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 (dotnet::property p)
 
auto get_name () const -> std::string
 
auto get_value (dotnet::object &obj) const -> T
 
void set_value (dotnet::object &obj, const T &value) const
 
auto get_attributes () const
 
auto get_type () const
 
auto is_readonly () const
 

Public Attributes

dotnet::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 317 of file inspector_script.cpp.

Constructor & Destructor Documentation

◆ mono_property_proxy()

template<typename T >
unravel::mono_property_proxy< T >::mono_property_proxy ( dotnet::property p)
inline

Definition at line 322 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 338 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 324 of file inspector_script.cpp.

◆ get_type()

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

Definition at line 343 of file inspector_script.cpp.

◆ get_value()

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

Definition at line 326 of file inspector_script.cpp.

◆ is_readonly()

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

Definition at line 348 of file inspector_script.cpp.

◆ set_value()

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

Definition at line 332 of file inspector_script.cpp.

Member Data Documentation

◆ property

template<typename T >
dotnet::property unravel::mono_property_proxy< T >::property

Definition at line 319 of file inspector_script.cpp.

◆ property_name

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

Definition at line 320 of file inspector_script.cpp.


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