32 lines
1.0 KiB
Markdown
32 lines
1.0 KiB
Markdown
# Hash Get ID
|
|
|
|
## Description
|
|
|
|
Get the value associated with `field` in hash stored at `key` from DragonflyDB.
|
|
|
|
## Usage
|
|
|
|
```sqf
|
|
Arguments:
|
|
0: STRING - Name of stored key with hash (default: "")
|
|
1: STRING - Name of stored field in hash (default: "")
|
|
2: STRING - Name of function to return data (default: "")
|
|
3: BOOLEAN - Unscheduled environment (default: false)
|
|
4: STRING - NetID of target to return data from function (default: nil)
|
|
|
|
Examples:
|
|
[getPlayerUID player, "loadout", "dragonfly_db_fnc_test"] call dragonfly_db_fnc_hashGetId (Server or Singleplayer Only)
|
|
[getPlayerUID player, "loadout", "dragonfly_db_fnc_test", false, netId player] remoteExecCall ["dragonfly_db_fnc_hashGetId", 2, false] (Multiplayer Only)
|
|
```
|
|
|
|
## Links
|
|
|
|
[Hash Get](hashes/hashGet.md) |
|
|
[Hash Get ID](hashes/hashGetId.md) |
|
|
[Hash Get All](hashes/hashGetAll.md) |
|
|
[Hash Get All ID](hashes/hashGetAllId.md) |
|
|
[Hash Set](hashes/hashSet.md) |
|
|
[Hash Set ID](hashes/hashSetId.md) |
|
|
[Hash Set Bulk](hashes/hashSetBulk.md) |
|
|
[Hash Set Bulk ID](hashes/hashSetBulkId.md)
|