| 242 | } |
| 243 | |
| 244 | bool FakeScriptInstance::get(const StringName &p_name, Variant &r_ret) const { |
| 245 | if (!properties.has(p_name)) { |
| 246 | if (!is_fake_embedded && has_cached_prop_name(p_name)) { |
| 247 | r_ret = Variant(); |
| 248 | return true; |
| 249 | } |
| 250 | return false; |
| 251 | } |
| 252 | r_ret = properties[p_name]; |
| 253 | return true; |
| 254 | } |
| 255 | |
| 256 | void FakeScriptInstance::get_property_list(List<PropertyInfo> *p_properties) const { |
| 257 | for (const auto &E : _cached_prop_info) { |
no outgoing calls