class
ManagedPropertyInfo
Inherits:
ManagedMemberInfo
Contains data about a single property in a managed object (class or struct).
Public
Constructors
ManagedPropertyInfo
ManagedPropertyInfo() = default
Methods
GetAttribute
Checks if the attribute of the provided type exists on the member and returns it, or returns null if the attribute is not present.
GetValue
MonoObject *GetValue(MonoObject *instance) const override
Returns a boxed value contained in the member in the specified object instance.
- instance
- Object instance to access the member on.
Returns: A boxed value of the member.
SetUnboxedValue
void SetUnboxedValue(MonoObject *instance, void *value) const override
Sets a value of the member in the specified object instance.
- instance
- Object instance to access the member on.
- value
- Value to set on the member. For value type it should be a pointer to the value and for reference type it should be a pointer to MonoObject.
staticGetRttiStatic
static RTTIType *GetRttiStatic()
Fields
ScriptProperty
MonoProperty * ScriptProperty