MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SendMessageToSelectedObjectsVAList

Function SendMessageToSelectedObjectsVAList

Source/Editors/map_editor.cpp:444–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444static void SendMessageToSelectedObjectsVAList(SceneGraph* scenegraph, OBJECT_MSG::Type type, va_list args) {
445 for (auto obj : scenegraph->objects_) {
446 if (obj->Selected()) {
447 obj->ReceiveObjectMessageVAList(type, args);
448 }
449 }
450}
451
452static void SendMessageToSelectedObjects(SceneGraph* scenegraph, OBJECT_MSG::Type type, ...) {
453 va_list args;

Callers 1

Calls 2

SelectedMethod · 0.80

Tested by

no test coverage detected