MCPcopy Create free account
hub / github.com/antopilo/Nuake / GetCustomWidgetInstance

Method GetCustomWidgetInstance

Nuake/Source/Nuake/Scripting/ScriptingEngineNet.cpp:329–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327 }
328
329 Coral::ManagedObject ScriptingEngineNet::GetCustomWidgetInstance(const UUID& canvasUUID, const UUID& uuid)
330 {
331 if (!HasCustomWidgetInstance(canvasUUID, uuid))
332 {
333 Logger::Log("Failed to get custom widget .Net script instance, doesn't exist", ".net", CRITICAL);
334 return Coral::ManagedObject();
335 }
336
337 return widgetUUIDToManagedObjects[std::make_pair(canvasUUID, uuid)];
338 }
339
340 std::string ScriptingEngineNet::GetGameAssemblyPath(Ref<Project> project) const
341 {

Callers 4

InitMethod · 0.80
UpdateMethod · 0.80
OnClickMethod · 0.80

Calls 1

LogFunction · 0.85

Tested by

no test coverage detected