| 423 | } |
| 424 | |
| 425 | void ScriptList::AddItem(SQInteger item, SQInteger value) |
| 426 | { |
| 427 | this->modifications++; |
| 428 | |
| 429 | if (this->HasItem(item)) return; |
| 430 | |
| 431 | this->items[item] = value; |
| 432 | this->values.emplace(value, item); |
| 433 | } |
| 434 | |
| 435 | void ScriptList::RemoveItem(SQInteger item) |
| 436 | { |
no test coverage detected