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

Method Sub

src/game_variables.cpp:228–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228Game_Variables::Var_t Game_Variables::Sub(int variable_id, Var_t value) {
229 return SetOp(variable_id, value, VarSub, "Invalid write var[{}] -= {}!");
230}
231
232Game_Variables::Var_t Game_Variables::Mult(int variable_id, Var_t value) {
233 return SetOp(variable_id, value, VarMult, "Invalid write var[{}] *= {}!");

Callers 3

variables.cppFile · 0.80
BM_VariableSubFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected