载入中...
搜索中...
未找到
eve::ReflectedValue结构体 参考
Typed snapshot of one live instance property. 更多...
#include <Runtime.h>
Public 成员函数 | |
| bool | empty () const noexcept |
| True when the slot exists and is non-null. | |
| bool | asBool () const noexcept |
| int64_t | asInt () const noexcept |
| double | asFloat () const noexcept |
| const std::string & | asString () const noexcept |
Public 属性 | |
| ReflectedValueKind | kind = ReflectedValueKind::None |
| bool | boolean = false |
| int64_t | integer = 0 |
| double | floating = 0.0 |
| std::string | text |
详细描述
Typed snapshot of one live instance property.
writeProperty() keeps the script slot's own type, so the numeric member used to build the value only matters when the slot is null.
成员函数说明
◆ asBool()
|
inlinenoexcept |
被这些函数引用 eve::ui::DatabasePanel::sync() , 以及 eve::ui::Inspector::sync().
◆ asFloat()
◆ asInt()
◆ asString()
◆ empty()
|
inlinenoexcept |
类成员变量说明
◆ boolean
◆ floating
| double eve::ReflectedValue::floating = 0.0 |
被这些函数引用 eve::ui::Inspector::sync().
◆ integer
| int64_t eve::ReflectedValue::integer = 0 |
被这些函数引用 eve::ui::Inspector::sync().
◆ kind
| ReflectedValueKind eve::ReflectedValue::kind = ReflectedValueKind::None |
被这些函数引用 eve::ui::DatabasePanel::sync() , 以及 eve::ui::Inspector::sync().
◆ text
| std::string eve::ReflectedValue::text |
被这些函数引用 eve::ui::DatabasePanel::sync() , 以及 eve::ui::Inspector::sync().
该结构体的文档由以下文件生成:
- src/engine/common/Runtime.h