[{"data":1,"prerenderedAt":294},["ShallowReactive",2],{"content-query-Wadl4D4fNN":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":7,"icon":9,"body":10,"_type":288,"_id":289,"_source":290,"_file":291,"_stem":292,"_extension":293},"/dragonfly/misc/test","misc",false,"","ArmaDragonflyClient - Test","mdi:file-text-outline",{"type":11,"children":12,"toc":273},"root",[13,22,29,35,41,54,60,126,132,145,151,158,167,173,182,188,197,203,251,257],{"type":14,"tag":15,"props":16,"children":18},"element","h1",{"id":17},"test",[19],{"type":20,"value":21},"text","Test",{"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],{"type":20,"value":34},"A simple test function for verifying database operations. This function displays the received data in a hint message and logs it to the RPT file. It's primarily used for testing database retrieval operations and callback functionality.",{"type":14,"tag":23,"props":36,"children":38},{"id":37},"syntax",[39],{"type":20,"value":40},"Syntax",{"type":14,"tag":42,"props":43,"children":48},"pre",{"className":44,"code":46,"language":47,"meta":7},[45],"language-sqf","[_value] spawn dragonfly_db_fnc_test\n","sqf",[49],{"type":14,"tag":50,"props":51,"children":52},"code",{"__ignoreMap":7},[53],{"type":20,"value":46},{"type":14,"tag":23,"props":55,"children":57},{"id":56},"parameters",[58],{"type":20,"value":59},"Parameters",{"type":14,"tag":61,"props":62,"children":63},"table",{},[64,92],{"type":14,"tag":65,"props":66,"children":67},"thead",{},[68],{"type":14,"tag":69,"props":70,"children":71},"tr",{},[72,78,83,87],{"type":14,"tag":73,"props":74,"children":75},"th",{},[76],{"type":20,"value":77},"Parameter",{"type":14,"tag":73,"props":79,"children":80},{},[81],{"type":20,"value":82},"Type",{"type":14,"tag":73,"props":84,"children":85},{},[86],{"type":20,"value":28},{"type":14,"tag":73,"props":88,"children":89},{},[90],{"type":20,"value":91},"Default",{"type":14,"tag":93,"props":94,"children":95},"tbody",{},[96],{"type":14,"tag":69,"props":97,"children":98},{},[99,109,114,119],{"type":14,"tag":100,"props":101,"children":102},"td",{},[103],{"type":14,"tag":50,"props":104,"children":106},{"className":105},[],[107],{"type":20,"value":108},"_value",{"type":14,"tag":100,"props":110,"children":111},{},[112],{"type":20,"value":113},"Array, String, Number, or Boolean",{"type":14,"tag":100,"props":115,"children":116},{},[117],{"type":20,"value":118},"The value to display and log",{"type":14,"tag":100,"props":120,"children":121},{},[122],{"type":14,"tag":123,"props":124,"children":125},"span",{},[],{"type":14,"tag":23,"props":127,"children":129},{"id":128},"return-value",[130],{"type":20,"value":131},"Return Value",{"type":14,"tag":30,"props":133,"children":134},{},[135,137,143],{"type":20,"value":136},"The same value that was passed to the function. Also sets the global variable ",{"type":14,"tag":50,"props":138,"children":140},{"className":139},[],[141],{"type":20,"value":142},"dragonfly_db_test",{"type":20,"value":144}," to this value.",{"type":14,"tag":23,"props":146,"children":148},{"id":147},"examples",[149],{"type":20,"value":150},"Examples",{"type":14,"tag":152,"props":153,"children":155},"h3",{"id":154},"test-with-a-simple-string",[156],{"type":20,"value":157},"Test with a simple string:",{"type":14,"tag":42,"props":159,"children":162},{"className":160,"code":161,"language":47,"meta":7},[45],"[\"Hello World!\"] spawn dragonfly_db_fnc_test;\n",[163],{"type":14,"tag":50,"props":164,"children":165},{"__ignoreMap":7},[166],{"type":20,"value":161},{"type":14,"tag":152,"props":168,"children":170},{"id":169},"test-database-retrieval-by-specifying-this-as-callback-function",[171],{"type":20,"value":172},"Test database retrieval by specifying this as callback function:",{"type":14,"tag":42,"props":174,"children":177},{"className":175,"code":176,"language":47,"meta":7},[45],"[\"playerStats\", \"dragonfly_db_fnc_test\"] call dragonfly_db_fnc_get;\n",[178],{"type":14,"tag":50,"props":179,"children":180},{"__ignoreMap":7},[181],{"type":20,"value":176},{"type":14,"tag":152,"props":183,"children":185},{"id":184},"test-from-client-to-server",[186],{"type":20,"value":187},"Test from client to server:",{"type":14,"tag":42,"props":189,"children":192},{"className":190,"code":191,"language":47,"meta":7},[45],"[\"Database is working!\"] remoteExec [\"dragonfly_db_fnc_test\", 2, false];\n",[193],{"type":14,"tag":50,"props":194,"children":195},{"__ignoreMap":7},[196],{"type":20,"value":191},{"type":14,"tag":23,"props":198,"children":200},{"id":199},"notes",[201],{"type":20,"value":202},"Notes",{"type":14,"tag":204,"props":205,"children":206},"ul",{},[207,219,224,236,241,246],{"type":14,"tag":208,"props":209,"children":210},"li",{},[211,213],{"type":20,"value":212},"Displays the received value using ",{"type":14,"tag":50,"props":214,"children":216},{"className":215},[],[217],{"type":20,"value":218},"hint",{"type":14,"tag":208,"props":220,"children":221},{},[222],{"type":20,"value":223},"Logs the same value to the RPT file",{"type":14,"tag":208,"props":225,"children":226},{},[227,229,234],{"type":20,"value":228},"Stores the value in the global variable ",{"type":14,"tag":50,"props":230,"children":232},{"className":231},[],[233],{"type":20,"value":142},{"type":20,"value":235}," for later inspection",{"type":14,"tag":208,"props":237,"children":238},{},[239],{"type":20,"value":240},"Commonly used as a callback function for database operations",{"type":14,"tag":208,"props":242,"children":243},{},[244],{"type":20,"value":245},"Useful for debugging and verifying data flow",{"type":14,"tag":208,"props":247,"children":248},{},[249],{"type":20,"value":250},"Can be called directly or specified as a callback in other functions",{"type":14,"tag":23,"props":252,"children":254},{"id":253},"links",[255],{"type":20,"value":256},"Links",{"type":14,"tag":30,"props":258,"children":259},{},[260,267,269],{"type":14,"tag":261,"props":262,"children":264},"a",{"href":263},"/dragonfly/misc/savedb",[265],{"type":20,"value":266},"Save DB",{"type":20,"value":268}," |\n",{"type":14,"tag":261,"props":270,"children":271},{"href":4},[272],{"type":20,"value":21},{"title":7,"searchDepth":274,"depth":274,"links":275},2,[276,277,278,279,280,286,287],{"id":25,"depth":274,"text":28},{"id":37,"depth":274,"text":40},{"id":56,"depth":274,"text":59},{"id":128,"depth":274,"text":131},{"id":147,"depth":274,"text":150,"children":281},[282,284,285],{"id":154,"depth":283,"text":157},3,{"id":169,"depth":283,"text":172},{"id":184,"depth":283,"text":187},{"id":199,"depth":274,"text":202},{"id":253,"depth":274,"text":256},"markdown","content:dragonfly:misc:test.md","content","dragonfly/misc/test.md","dragonfly/misc/test","md",1742777962650]