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

Method Mod

src/game_variables.cpp:240–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240Game_Variables::Var_t Game_Variables::Mod(int variable_id, Var_t value) {
241 return SetOp(variable_id, value, VarMod, "Invalid write var[{}] %= {}!");
242}
243
244Game_Variables::Var_t Game_Variables::BitOr(int variable_id, Var_t value) {
245 return SetOp(variable_id, value, VarBitOr, "Invalid write var[{}] |= {}!");

Callers 3

variables.cppFile · 0.80
BM_VariableModFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected