[Half-Life AMXX] / include / vault.inc Repository:
ViewVC logotype

Annotation of /include/vault.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17 - (view) (download)

1 : ian 1 /* Vault functions
2 :     *
3 :     * by the AMX Mod X Development Team
4 :     * originally developed by OLO
5 :     *
6 :     * This file is provided as is (no warranties).
7 :     */
8 :    
9 :     #if defined _vault_included
10 :     #endinput
11 :     #endif
12 :     #define _vault_included
13 :    
14 :     /* Reads a data from given key.
15 :     * If len is set to zero then get_vaultdata
16 :     * returns value as an number. */
17 :     native get_vaultdata(const key[], data[] = "", len = 0);
18 :    
19 :     /* Sets a data under given key. */
20 : ian 17 native set_vaultdata(const key[], const data[] = "");
21 : ian 1
22 :     /* Removes a key from vault.*/
23 :     native remove_vaultdata(const key[]);
24 :    
25 :     /* Checks if a key exists in the vault.*/
26 : ian 17 native vaultdata_exists(const key[]);

Contact
ViewVC Help
Powered by ViewVC 1.0.4