An ordered list of key / value pairs for a map entity. If the entry in the EntityLump is removed, the handle will error on all operations. (The handle will remain valid on the scripting side, and will still need to be deleted.)
Write operations (update, insert, erase, append) are only allowed during OnMapInit.
Name | Description |
---|---|
Append | Inserts a new key / value pair at the end of the entry's list. |
Erase | Removes the key / value pair at the given index, shifting all entries past it down. |
FindKey | Searches the entry list for an index matching a key starting from a position. |
Get | Copies the key / value at the given index into buffers. |
GetNextKey | Searches the entry list for an index matching a key starting from a position. This also copies the value from that index into the given buffer. |
Insert | Inserts a new key / value pair at the given index, shifting the pair at that index and beyond up. If EntityLumpEntry.Length is passed in, this is an append operation. |
Update | Updates the key / value pair at the given index. |
Name | Type | Description |
---|---|---|
Length | int | Retrieves the number of key / value pairs in the entry. |
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.