| 236 | } |
| 237 | |
| 238 | void CommandInterface::RemoveComponents() |
| 239 | { |
| 240 | auto *lsi = static_cast<LuaScriptInterface *>(this); |
| 241 | for (auto &[ component, ref ] : lsi->grabbedComponents) |
| 242 | { |
| 243 | lsi->window->RemoveComponent(component->GetComponent()); |
| 244 | ref.Clear(); |
| 245 | component->owner_ref = ref; |
| 246 | component->SetParentWindow(nullptr); |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | void LuaGetProperty(lua_State *L, StructProperty property, intptr_t propertyAddress) |
| 251 | { |
no test coverage detected