[{"data":1,"prerenderedAt":409},["ShallowReactive",2],{"content-query-QquRbJkODS":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":7,"icon":9,"body":10,"_type":403,"_id":404,"_source":405,"_file":406,"_stem":407,"_extension":408},"/dragonfly/hashes/hashgetall","hashes",false,"","ArmaDragonflyClient - Hash Get All","mdi:file-text-outline",{"type":11,"children":12,"toc":388},"root",[13,22,29,44,50,62,68,185,191,196,202,209,218,224,233,239,248,254,324,330],{"type":14,"tag":15,"props":16,"children":18},"element","h1",{"id":17},"hash-get-all",[19],{"type":20,"value":21},"text","Hash Get All",{"type":14,"tag":23,"props":24,"children":26},"h2",{"id":25},"description",[27],{"type":20,"value":28},"Description",{"type":14,"tag":30,"props":31,"children":32},"p",{},[33,35,42],{"type":20,"value":34},"Retrieves all fields and values from the hash table associated with the current client/player. This function automatically determines the appropriate hash ID based on the caller's identity, making it more convenient than ",{"type":14,"tag":36,"props":37,"children":39},"code",{"className":38},[],[40],{"type":20,"value":41},"hashGetAllId",{"type":20,"value":43}," which requires manually specifying an ID. It returns the entire hash table data through a callback function, allowing access to all stored key-value pairs at once.",{"type":14,"tag":23,"props":45,"children":47},{"id":46},"syntax",[48],{"type":20,"value":49},"Syntax",{"type":14,"tag":51,"props":52,"children":57},"pre",{"className":53,"code":55,"language":56,"meta":7},[54],"language-sqf","[_function, _call, _netId] call dragonfly_db_fnc_hashGetAll\n","sqf",[58],{"type":14,"tag":36,"props":59,"children":60},{"__ignoreMap":7},[61],{"type":20,"value":55},{"type":14,"tag":23,"props":63,"children":65},{"id":64},"parameters",[66],{"type":20,"value":67},"Parameters",{"type":14,"tag":69,"props":70,"children":71},"table",{},[72,100],{"type":14,"tag":73,"props":74,"children":75},"thead",{},[76],{"type":14,"tag":77,"props":78,"children":79},"tr",{},[80,86,91,95],{"type":14,"tag":81,"props":82,"children":83},"th",{},[84],{"type":20,"value":85},"Parameter",{"type":14,"tag":81,"props":87,"children":88},{},[89],{"type":20,"value":90},"Type",{"type":14,"tag":81,"props":92,"children":93},{},[94],{"type":20,"value":28},{"type":14,"tag":81,"props":96,"children":97},{},[98],{"type":20,"value":99},"Default",{"type":14,"tag":101,"props":102,"children":103},"tbody",{},[104,132,159],{"type":14,"tag":77,"props":105,"children":106},{},[107,117,122,127],{"type":14,"tag":108,"props":109,"children":110},"td",{},[111],{"type":14,"tag":36,"props":112,"children":114},{"className":113},[],[115],{"type":20,"value":116},"_function",{"type":14,"tag":108,"props":118,"children":119},{},[120],{"type":20,"value":121},"String",{"type":14,"tag":108,"props":123,"children":124},{},[125],{"type":20,"value":126},"Name of the function to receive the retrieved data",{"type":14,"tag":108,"props":128,"children":129},{},[130],{"type":20,"value":131},"\"\"",{"type":14,"tag":77,"props":133,"children":134},{},[135,144,149,154],{"type":14,"tag":108,"props":136,"children":137},{},[138],{"type":14,"tag":36,"props":139,"children":141},{"className":140},[],[142],{"type":20,"value":143},"_call",{"type":14,"tag":108,"props":145,"children":146},{},[147],{"type":20,"value":148},"Boolean",{"type":14,"tag":108,"props":150,"children":151},{},[152],{"type":20,"value":153},"Whether to call the function directly (true) or spawn (false)",{"type":14,"tag":108,"props":155,"children":156},{},[157],{"type":20,"value":158},"false",{"type":14,"tag":77,"props":160,"children":161},{},[162,171,175,180],{"type":14,"tag":108,"props":163,"children":164},{},[165],{"type":14,"tag":36,"props":166,"children":168},{"className":167},[],[169],{"type":20,"value":170},"_netId",{"type":14,"tag":108,"props":172,"children":173},{},[174],{"type":20,"value":121},{"type":14,"tag":108,"props":176,"children":177},{},[178],{"type":20,"value":179},"(Optional) NetID of the player to receive the data",{"type":14,"tag":108,"props":181,"children":182},{},[183],{"type":20,"value":184},"nil",{"type":14,"tag":23,"props":186,"children":188},{"id":187},"return-value",[189],{"type":20,"value":190},"Return Value",{"type":14,"tag":30,"props":192,"children":193},{},[194],{"type":20,"value":195},"None. The retrieved data is passed to the specified callback function asynchronously.",{"type":14,"tag":23,"props":197,"children":199},{"id":198},"examples",[200],{"type":20,"value":201},"Examples",{"type":14,"tag":203,"props":204,"children":206},"h3",{"id":205},"retrieve-all-client-hash-data",[207],{"type":20,"value":208},"Retrieve all client hash data:",{"type":14,"tag":51,"props":210,"children":213},{"className":211,"code":212,"language":56,"meta":7},[54],"[\"dragonfly_db_fnc_test\"] call dragonfly_db_fnc_hashGetAll;\n",[214],{"type":14,"tag":36,"props":215,"children":216},{"__ignoreMap":7},[217],{"type":20,"value":212},{"type":14,"tag":203,"props":219,"children":221},{"id":220},"retrieve-data-with-synchronous-callback",[222],{"type":20,"value":223},"Retrieve data with synchronous callback:",{"type":14,"tag":51,"props":225,"children":228},{"className":226,"code":227,"language":56,"meta":7},[54],"[\"dragonfly_db_fnc_processAllData\", true] call dragonfly_db_fnc_hashGetAll;\n",[229],{"type":14,"tag":36,"props":230,"children":231},{"__ignoreMap":7},[232],{"type":20,"value":227},{"type":14,"tag":203,"props":234,"children":236},{"id":235},"retrieve-data-and-send-it-to-a-specific-client",[237],{"type":20,"value":238},"Retrieve data and send it to a specific client:",{"type":14,"tag":51,"props":240,"children":243},{"className":241,"code":242,"language":56,"meta":7},[54],"[\"dragonfly_db_fnc_test\", false, netId player] remoteExecCall [\"dragonfly_db_fnc_hashGetAll\", 2, false];\n",[244],{"type":14,"tag":36,"props":245,"children":246},{"__ignoreMap":7},[247],{"type":20,"value":242},{"type":14,"tag":23,"props":249,"children":251},{"id":250},"notes",[252],{"type":20,"value":253},"Notes",{"type":14,"tag":255,"props":256,"children":257},"ul",{},[258,264,269,281,286,297,302,314,319],{"type":14,"tag":259,"props":260,"children":261},"li",{},[262],{"type":20,"value":263},"Returns the complete hash table for the current client with all fields and values as a nested array",{"type":14,"tag":259,"props":265,"children":266},{},[267],{"type":20,"value":268},"The data is retrieved asynchronously through the extension's callback system",{"type":14,"tag":259,"props":270,"children":271},{},[272,274,279],{"type":20,"value":273},"The ",{"type":14,"tag":36,"props":275,"children":277},{"className":276},[],[278],{"type":20,"value":116},{"type":20,"value":280}," parameter must be provided",{"type":14,"tag":259,"props":282,"children":283},{},[284],{"type":20,"value":285},"When a netId is provided, the data is sent to that specific client",{"type":14,"tag":259,"props":287,"children":288},{},[289,290,295],{"type":20,"value":273},{"type":14,"tag":36,"props":291,"children":293},{"className":292},[],[294],{"type":20,"value":143},{"type":20,"value":296}," parameter determines whether the function is called directly (synchronous) or spawned (asynchronous)",{"type":14,"tag":259,"props":298,"children":299},{},[300],{"type":20,"value":301},"This function automatically determines which hash table to use based on the caller's identity",{"type":14,"tag":259,"props":303,"children":304},{},[305,307,312],{"type":20,"value":306},"Use ",{"type":14,"tag":36,"props":308,"children":310},{"className":309},[],[311],{"type":20,"value":41},{"type":20,"value":313}," when you need to specify a particular hash table by ID",{"type":14,"tag":259,"props":315,"children":316},{},[317],{"type":20,"value":318},"For large data that exceeds buffer limits, it will be automatically chunked and reassembled",{"type":14,"tag":259,"props":320,"children":321},{},[322],{"type":20,"value":323},"All operations are logged for debugging purposes",{"type":14,"tag":23,"props":325,"children":327},{"id":326},"links",[328],{"type":20,"value":329},"Links",{"type":14,"tag":30,"props":331,"children":332},{},[333,340,342,348,349,353,354,360,361,367,368,374,375,381,382],{"type":14,"tag":334,"props":335,"children":337},"a",{"href":336},"/dragonfly/hashes/hashget",[338],{"type":20,"value":339},"Hash Get",{"type":20,"value":341}," |\n",{"type":14,"tag":334,"props":343,"children":345},{"href":344},"/dragonfly/hashes/hashgetid",[346],{"type":20,"value":347},"Hash Get ID",{"type":20,"value":341},{"type":14,"tag":334,"props":350,"children":351},{"href":4},[352],{"type":20,"value":21},{"type":20,"value":341},{"type":14,"tag":334,"props":355,"children":357},{"href":356},"/dragonfly/hashes/hashgetallid",[358],{"type":20,"value":359},"Hash Get All ID",{"type":20,"value":341},{"type":14,"tag":334,"props":362,"children":364},{"href":363},"/dragonfly/hashes/hashset",[365],{"type":20,"value":366},"Hash Set",{"type":20,"value":341},{"type":14,"tag":334,"props":369,"children":371},{"href":370},"/dragonfly/hashes/hashsetid",[372],{"type":20,"value":373},"Hash Set ID",{"type":20,"value":341},{"type":14,"tag":334,"props":376,"children":378},{"href":377},"/dragonfly/hashes/hashsetbulk",[379],{"type":20,"value":380},"Hash Set Bulk",{"type":20,"value":341},{"type":14,"tag":334,"props":383,"children":385},{"href":384},"/dragonfly/hashes/hashsetbulkid",[386],{"type":20,"value":387},"Hash Set Bulk ID",{"title":7,"searchDepth":389,"depth":389,"links":390},2,[391,392,393,394,395,401,402],{"id":25,"depth":389,"text":28},{"id":46,"depth":389,"text":49},{"id":64,"depth":389,"text":67},{"id":187,"depth":389,"text":190},{"id":198,"depth":389,"text":201,"children":396},[397,399,400],{"id":205,"depth":398,"text":208},3,{"id":220,"depth":398,"text":223},{"id":235,"depth":398,"text":238},{"id":250,"depth":389,"text":253},{"id":326,"depth":389,"text":329},"markdown","content:dragonfly:hashes:hashGetAll.md","content","dragonfly/hashes/hashGetAll.md","dragonfly/hashes/hashGetAll","md",1742777962431]