mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 23:05:37 +03:00
nvault.inc documentation fix (#501)
* Update lang.inc * Update lang.inc * Update nvault.inc * Update nvault.inc
This commit is contained in:
parent
57abc4a1c5
commit
4ae31f6f26
@ -37,7 +37,7 @@
|
||||
native nvault_open(const name[]);
|
||||
|
||||
/**
|
||||
* Retrieves a value from the given key
|
||||
* Retrieves a value from the given key.
|
||||
*
|
||||
* @note An example of retrieving a string:
|
||||
* nvault_get(vaultHandle, "myKey", myString, charsmax(myString));
|
||||
@ -50,13 +50,16 @@ native nvault_open(const name[]);
|
||||
* vault and copies it to the third argument, up to
|
||||
* 4th argument characters.
|
||||
*
|
||||
* @noreturn
|
||||
* @return Result as integer if only the first two arguments
|
||||
* of the function are used.
|
||||
* 1 if only the first three arguments are used.
|
||||
* String length if all four parameters are used.
|
||||
* @error On invalid vault handle.
|
||||
*/
|
||||
native nvault_get(vault, const key[], any:...);
|
||||
|
||||
/**
|
||||
* Retrieves full information about a vault entry
|
||||
* Retrieves full information about a vault entry.
|
||||
*
|
||||
* @param vault A vault handle returned from nvault_open()
|
||||
* @param key A key to get information from
|
||||
@ -109,7 +112,7 @@ native nvault_pset(vault, const key[], const value[]);
|
||||
* @param start The timestamp to start erasing from
|
||||
* @param end The timestamp to erase to
|
||||
*
|
||||
* @noreturn
|
||||
* @return Number of erased values.
|
||||
* @error On invalid vault handle.
|
||||
*/
|
||||
native nvault_prune(vault, start, end);
|
||||
|
Loading…
Reference in New Issue
Block a user