| 494 | } |
| 495 | |
| 496 | void Game_Variables::EnumerateRange(int first_id, int last_id, Var_t value) { |
| 497 | PrepareRange(first_id, last_id, "Invalid write enumerate(var[{},{}])!"); |
| 498 | Var_t out_value = value; |
| 499 | WriteRange(first_id, last_id, [&out_value](){ return out_value++; }, VarSet); |
| 500 | } |
| 501 | |
| 502 | void Game_Variables::SortRange(int first_id, int last_id, bool asc) { |
| 503 | PrepareRange(first_id, last_id, "Invalid write sort(var[{},{}])!"); |
no outgoing calls
no test coverage detected