MCPcopy Create free account
hub / github.com/EasyRPG/Player / SubRange

Method SubRange

src/game_variables.cpp:274–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272}
273
274void Game_Variables::SubRange(int first_id, int last_id, Var_t value) {
275 PrepareRange(first_id, last_id, "Invalid write var[{},{}] -= {}!", value);
276 WriteRange(first_id, last_id, [value](){ return value; }, VarSub);
277}
278
279void Game_Variables::MultRange(int first_id, int last_id, Var_t value) {
280 PrepareRange(first_id, last_id, "Invalid write var[{},{}] *= {}!", value);

Callers 3

variables.cppFile · 0.80
BM_VariableSubRangeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected