| 6625 | |
| 6626 | |
| 6627 | bool ScriptingObjects::ScriptUnorderedStack::remove(var value) |
| 6628 | { |
| 6629 | if (isEventStack) |
| 6630 | { |
| 6631 | auto index = getIndexForEvent(value); |
| 6632 | |
| 6633 | if (index != -1) |
| 6634 | return eventData.removeElement(index); |
| 6635 | |
| 6636 | return false; |
| 6637 | } |
| 6638 | else |
| 6639 | { |
| 6640 | auto ok = data.remove(value); |
| 6641 | updateElementBuffer(); |
| 6642 | return ok; |
| 6643 | } |
| 6644 | } |
| 6645 | |
| 6646 | bool ScriptingObjects::ScriptUnorderedStack::removeElement(int index) |
| 6647 | { |
no test coverage detected