MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / setCallback

Method setCallback

src/openrct2-ui/windows/TextInput.cpp:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 void setCallback(std::function<void(std::string_view)> callback, std::function<void()> cancelCallback)
124 {
125 _callback = callback;
126 _cancelCallback = cancelCallback;
127 }
128
129 void onClose() override
130 {

Callers 1

WindowTextInputOpenFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected