\chapter{hash\+Get\+All\+Id}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id}{}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id}\index{hashGetAllId@{hashGetAllId}}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md191}{}\doxysubsection{\texorpdfstring{autotoc\+\_\+md191}{autotoc\+\_\+md191}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md191}
title\+: Arma\+Dragonfly\+Client -\/ Hash Get All ID icon\+: mdi\+:file-\/text-\/outline \hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md192}{}\doxysubsection{\texorpdfstring{excerpt\+: Get all fields and values from the hash stored at key from Dragonfly\+Client.}{excerpt\+: Get all fields and values from the hash stored at key from Dragonfly\+Client.}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md192}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md193}{}\doxysection{\texorpdfstring{dragonfly\+\_\+db\+\_\+fnc\+\_\+hash\+Get\+All\+Id}{dragonfly\+\_\+db\+\_\+fnc\+\_\+hash\+Get\+All\+Id}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md193}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md194}{}\doxysubsection{\texorpdfstring{Description}{Description}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md194}
Retrieves all fields and values from a specific hash table identified by its key. This function returns the complete hash table data for a specific ID through a callback function, allowing access to all stored key-\/value pairs associated with that ID. It\textquotesingle{}s particularly useful for retrieving player-\/specific or entity-\/specific hash data.\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md195}{}\doxysubsection{\texorpdfstring{Syntax}{Syntax}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md195}

\begin{DoxyCode}{0}
\DoxyCodeLine{[\_key,\ \_function,\ \_call,\ \_netId]\ call\ dragonfly\_db\_fnc\_hashGetAllId}

\end{DoxyCode}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md196}{}\doxysubsection{\texorpdfstring{Parameters}{Parameters}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md196}
\tabulinesep=1mm
\begin{longtabu}spread 0pt [c]{*{4}{|X[-1]}|}
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Parameter   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Type   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Description   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Default    }\\\cline{1-4}
\endfirsthead
\hline
\endfoot
\hline
\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Parameter   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Type   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Description   }&\PBS\centering \cellcolor{\tableheadbgcolor}\textbf{ Default    }\\\cline{1-4}
\endhead
{\ttfamily \+\_\+key}   &String   &Identifier of the hash table to retrieve   &"{}"{}    \\\cline{1-4}
{\ttfamily \+\_\+function}   &String   &Name of the function to receive the retrieved data   &"{}"{}    \\\cline{1-4}
{\ttfamily \+\_\+call}   &Boolean   &Whether to call the function directly (true) or spawn (false)   &false    \\\cline{1-4}
{\ttfamily \+\_\+net\+Id}   &String   &(Optional) Net\+ID of the player to receive the data   &"{}"{}   \\\cline{1-4}
\end{longtabu}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md197}{}\doxysubsection{\texorpdfstring{Return Value}{Return Value}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md197}
None. The retrieved data is passed to the specified callback function asynchronously.\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md198}{}\doxysubsection{\texorpdfstring{Examples}{Examples}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md198}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md199}{}\doxysubsubsection{\texorpdfstring{Retrieve a player\textquotesingle{}s complete hash data\+:}{Retrieve a player\textquotesingle{}s complete hash data\+:}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md199}

\begin{DoxyCode}{0}
\DoxyCodeLine{[getPlayerUID\ player,\ "{}dragonfly\_db\_fnc\_test"{}]\ call\ dragonfly\_db\_fnc\_hashGetAllId;}

\end{DoxyCode}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md200}{}\doxysubsubsection{\texorpdfstring{Retrieve vehicle data with synchronous callback\+:}{Retrieve vehicle data with synchronous callback\+:}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md200}

\begin{DoxyCode}{0}
\DoxyCodeLine{["{}vehicle\_123"{},\ "{}dragonfly\_db\_fnc\_processVehicleData"{},\ true]\ call\ dragonfly\_db\_fnc\_hashGetAllId;}

\end{DoxyCode}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md201}{}\doxysubsubsection{\texorpdfstring{Retrieve data and send it to a specific client\+:}{Retrieve data and send it to a specific client\+:}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md201}

\begin{DoxyCode}{0}
\DoxyCodeLine{[getPlayerUID\ player,\ "{}dragonfly\_db\_fnc\_test"{},\ false,\ netId\ player]\ remoteExecCall\ ["{}dragonfly\_db\_fnc\_hashGetAllId"{},\ 2,\ false];}

\end{DoxyCode}
\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md202}{}\doxysubsection{\texorpdfstring{Notes}{Notes}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md202}

\begin{DoxyItemize}
\item Returns the complete hash table with all fields and values as a nested array
\item Both the key and callback function parameters are required and validated
\item The data is retrieved asynchronously through the extension\textquotesingle{}s callback system
\item When a net\+Id is provided, the data is sent to that specific client
\item The {\ttfamily \+\_\+call} parameter determines whether the function is called directly (synchronous) or spawned (asynchronous)
\item This function retrieves from a specific hash table identified by {\ttfamily \+\_\+key} -\/ use {\ttfamily hash\+Get\+All} for the global hash table
\item Player UIDs are commonly used as keys to store player-\/specific data
\item For large hash tables, retrieving all data may impact performance
\item All operations are logged for debugging purposes
\end{DoxyItemize}\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md203}{}\doxysubsection{\texorpdfstring{Related Functions}{Related Functions}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md203}

\begin{DoxyItemize}
\item {\ttfamily dragonfly\+\_\+db\+\_\+fnc\+\_\+hash\+Get\+All}\+: Retrieves all fields from the global hash table
\item {\ttfamily dragonfly\+\_\+db\+\_\+fnc\+\_\+hash\+Get\+Id}\+: Retrieves a specific field value from a specific hash table
\item {\ttfamily dragonfly\+\_\+db\+\_\+fnc\+\_\+hash\+Get}\+: Retrieves a specific field value from the global hash table
\item {\ttfamily dragonfly\+\_\+db\+\_\+fnc\+\_\+hash\+Set\+Id}\+: Sets a field value in a specific hash table
\item {\ttfamily dragonfly\+\_\+db\+\_\+fnc\+\_\+scheduler}\+: Processes the callback from the database extension
\end{DoxyItemize}\hypertarget{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md204}{}\doxysubsection{\texorpdfstring{Links}{Links}}\label{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id_autotoc_md204}
\doxysectlink{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get}{Hash Get}{0} \texorpdfstring{$\vert$}{|} \doxysectlink{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all}{Hash Get All}{0} \texorpdfstring{$\vert$}{|} \doxysectlink{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_all_id}{Hash Get All ID}{0} \texorpdfstring{$\vert$}{|} \doxysectlink{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_get_id}{Hash Get ID}{0} \texorpdfstring{$\vert$}{|} \doxysectlink{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_set}{Hash Set}{0} \texorpdfstring{$\vert$}{|} \doxysectlink{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_set_bulk}{Hash Set Bulk}{0} \texorpdfstring{$\vert$}{|} \doxysectlink{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_set_id}{Hash Set ID}{0} \texorpdfstring{$\vert$}{|} \doxysectlink{md__g_1_2ids_2dragonfly_2docs_2hash_2hash_set_id_bulk}{Hash Set ID Bulk}{0} 