| Clear | Clears all entries from a Map. |
| Clone | Clones a hash map, returning a new handle with the same size and data.
This should NOT be confused with CloneHandle. This is a completely new
handle with the same data but no relation to the original. It should be
closed when no longer needed with delete or CloseHandle(). |
| ContainsKey | Checks whether a key is present in a Map. |
| GetArray | Retrieves an array in a Map. |
| GetString | Retrieves a string in a Map. |
| GetValue | Retrieves a value in a Map. |
| IntMap | Creates a hash map. A hash map is a container that can map integers (called
"keys") to arbitrary values (cells, arrays, or strings). Keys in a hash map
are unique. That is, there is at most one entry in the map for a given key.
Insertion, deletion, and lookup in a hash map are all considered to be fast
operations, amortized to O(1), or constant time.
The word "Trie" in this API is historical. As of SourceMod 1.6, tries have
been internally replaced with hash tables, which have O(1) insertion time
instead of O(n).
The IntMap must be freed via delete or CloseHandle(). |
| Remove | Removes a key entry from a Map. |
| SetArray | Sets an array value in a Map, either inserting a new entry or replacing an old one. |
| SetString | Sets a string value in a Map, either inserting a new entry or replacing an old one. |
| SetValue | Sets a value in a hash map, either inserting a new entry or replacing an old one. |
| Snapshot | Create a snapshot of the map's keys. See IntMapSnapshot. |