MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / values_of

Function values_of

src/host/ui/panels/panel_accessors.h:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62inline oid::BufferValues* values_of(oid::Stage& s) {
63 const auto obj = s.get_game_object("buffer");
64 if (!obj.has_value()) {
65 return nullptr;
66 }
67 const auto comp =
68 obj->get().get_component<oid::BufferValues>("text_component");
69 return comp.has_value() ? &comp->get() : nullptr;
70}
71
72} // namespace oid::host
73

Callers 2

draw_status_barFunction · 0.85
draw_toolbarFunction · 0.85

Calls 1

get_game_objectMethod · 0.80

Tested by

no test coverage detected