Finality Engine
Loading...
Searching...
No Matches
FINALITY::ScriptProperty Struct Reference

Named property accessor pair with member identity used by the Inspector and persistence. More...

#include <ScriptRegistry.h>

Public Attributes

std::string Name
std::function< ScriptValue(ScriptableComponent &)> Get
std::function< void(ScriptableComponent &, const ScriptValue &)> Set
std::any Member
std::function< bool(const std::any &)> MatchesMember

Detailed Description

Named property accessor pair with member identity used by the Inspector and persistence.

Definition at line 23 of file ScriptRegistry.h.

Member Data Documentation

◆ Name

std::string FINALITY::ScriptProperty::Name

Definition at line 25 of file ScriptRegistry.h.

◆ Get

std::function<ScriptValue(ScriptableComponent&)> FINALITY::ScriptProperty::Get

Definition at line 26 of file ScriptRegistry.h.

◆ Set

std::function<void(ScriptableComponent&, const ScriptValue&)> FINALITY::ScriptProperty::Set

Definition at line 27 of file ScriptRegistry.h.

◆ Member

std::any FINALITY::ScriptProperty::Member

Definition at line 28 of file ScriptRegistry.h.

◆ MatchesMember

std::function<bool(const std::any&)> FINALITY::ScriptProperty::MatchesMember

Definition at line 29 of file ScriptRegistry.h.


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