TrieSetString
- Синтаксис
-
native TrieSetString(Trie:handle, const key[], const value[], bool:replace = true);
Переменная | Описание |
---|---|
handle |
Map handle |
key |
Key string |
value |
String to store |
replace |
If false the operation will fail if the key is already set |
- Описание
- Sets a string value in a hash map, either inserting a new entry or replacing an old one.
- Возвращает
- 1 on success, 0 otherwise