MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / getTextArgument

Method getTextArgument

ffplay_cpp/sarge.cpp:167–171  ·  view source on GitHub ↗

--- GET TEXT ARGUMENT --- Updates the value parameter with the text argument (unbound value) if found. Index starts at 0. Returns true if found, else false.

Source from the content-addressed store, hash-verified

165// Index starts at 0.
166// Returns true if found, else false.
167bool Sarge::getTextArgument(uint32_t index, std::string &value) {
168 if (index < textArguments.size()) { value = textArguments.at(index); return true; }
169
170 return false;
171}
172
173
174// --- PRINT HELP ---

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected