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

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

Public Member Functions

 mono_field_proxy (dotnet::field f)
 
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
 
auto is_const () const
 

Public Attributes

dotnet::field field
 
std::string field_name
 

Detailed Description

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

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

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

Definition at line 275 of file inspector_script.cpp.

Constructor & Destructor Documentation

◆ mono_field_proxy()

template<typename T >
unravel::mono_field_proxy< T >::mono_field_proxy ( dotnet::field f)
inline

Definition at line 280 of file inspector_script.cpp.

Member Function Documentation

◆ get_attributes()

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

Definition at line 296 of file inspector_script.cpp.

◆ get_name()

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

Definition at line 282 of file inspector_script.cpp.

◆ get_type()

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

Definition at line 301 of file inspector_script.cpp.

◆ get_value()

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

Definition at line 284 of file inspector_script.cpp.

◆ is_const()

template<typename T >
auto unravel::mono_field_proxy< T >::is_const ( ) const
inline

Definition at line 307 of file inspector_script.cpp.

◆ is_readonly()

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

Definition at line 306 of file inspector_script.cpp.

◆ set_value()

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

Definition at line 290 of file inspector_script.cpp.

Member Data Documentation

◆ field

template<typename T >
dotnet::field unravel::mono_field_proxy< T >::field

Definition at line 277 of file inspector_script.cpp.

◆ field_name

template<typename T >
std::string unravel::mono_field_proxy< T >::field_name

Definition at line 278 of file inspector_script.cpp.


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