Difference between revisions of "BIS fnc dbValueList"

From Bohemia Interactive Community
Jump to navigation Jump to search
(See also)
m (Text replacement - " |r1=[[" to " |r1= [[")
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{RV|type=function
  
{{Function|= Comments
+
|game1= tkoh
____________________________________________________________________________________________
+
|version1= 1.00
  
| tkoh |= Game name
+
|game2= arma3
 +
|version2= 0.50
  
|1.00|= Game version
+
|gr1= Database
____________________________________________________________________________________________
 
  
| <pre>//
+
|descr= Returns all values within class.
/*
 
  
Description:
+
|s1=[database, path] call [[BIS_fnc_dbValueList]]
Returns all values withing class.
 
  
Parameter(s):
+
|p1= database - [[Array]]: Databse array
_this select 0: ARRAY - Database array
+
|p2= path- [[Array]]: Path to class
_this select 1: ARRAY - Path
 
  
Returns:
+
|r1= [[Array]]: List of all value names
ARRAY - List of value names
 
*/
 
  
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
+
|x1= <code>[["#MILLER", ["&KILLS", 1000, "&RANK", "CAPTAIN"]], ["miller"]] call BIS_fnc_dbValueList; {{codecomment|// ["KILLS","RANK"]}}</code>
____________________________________________________________________________________________
 
 
 
| <!-- [] call [[BIS_fnc_dbValueList]]; --> |SYNTAX=
 
 
 
|p1= |PARAMETER1=
 
 
 
| |RETURNVALUE=
 
____________________________________________________________________________________________
 
 
 
|x1= <code></code> |=
 
____________________________________________________________________________________________
 
 
 
| [[:Category:Function Group: Database|Database functions]] [[BIS_fnc_dbClassCheck]] [[BIS_fnc_dbClassId]] [[BIS_fnc_dbClassIndex]] [[BIS_fnc_dbClassList]] [[BIS_fnc_dbClassRemove]] [[BIS_fnc_dbClassReturn]] [[BIS_fnc_dbClassSet]] [[BIS_fnc_dbConfigPath]] [[BIS_fnc_dbImportConfig]] [[BIS_fnc_dbImportXML]] [[BIS_fnc_dbisClass]] [[BIS_fnc_dbisValue]] [[BIS_fnc_dbPrint]] [[BIS_fnc_dbSymbolClass]] [[BIS_fnc_dbSymbolValue]] [[BIS_fnc_dbValueCheck]] [[BIS_fnc_dbValueId]] [[BIS_fnc_dbValueIndex]] [[BIS_fnc_dbValueRemove]] [[BIS_fnc_dbValueReturn]] [[BIS_fnc_dbValueSet]] |SEEALSO=
 
  
 +
|seealso= [[:Category:Function Group: Database|Database functions]] [[BIS_fnc_dbClassCheck]] [[BIS_fnc_dbClassId]] [[BIS_fnc_dbClassIndex]] [[BIS_fnc_dbClassList]] [[BIS_fnc_dbClassRemove]] [[BIS_fnc_dbClassReturn]] [[BIS_fnc_dbClassSet]] [[BIS_fnc_dbConfigPath]] [[BIS_fnc_dbImportConfig]] [[BIS_fnc_dbImportXML]] [[BIS_fnc_dbisClass]] [[BIS_fnc_dbisValue]] [[BIS_fnc_dbPrint]] [[BIS_fnc_dbSymbolClass]] [[BIS_fnc_dbSymbolValue]] [[BIS_fnc_dbValueCheck]] [[BIS_fnc_dbValueId]] [[BIS_fnc_dbValueIndex]] [[BIS_fnc_dbValueRemove]] [[BIS_fnc_dbValueReturn]] [[BIS_fnc_dbValueSet]]
 
}}
 
}}
 
<h3 style="display:none">Notes</h3>
 
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
 
<!-- Note Section END -->
 
</dl>
 
 
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Function Group: Database|{{uc:dbValueList}}]]
 
[[Category:Functions|{{uc:dbValueList}}]]
 
[[Category:{{Name|tkoh}}: Functions|{{uc:dbValueList}}]]
 
[[Category:{{Name|arma3}}: Functions|{{uc:dbValueList}}]]
 

Latest revision as of 22:27, 7 August 2021

Hover & click on the images for description

Description

Description:
Returns all values within class.
Execution:
call
Groups:
Database

Syntax

Syntax:
[database, path] call BIS_fnc_dbValueList
Parameters:
database - Array: Databse array
path- Array: Path to class
Return Value:
Array: List of all value names

Examples

Example 1:
[["#MILLER", ["&KILLS", 1000, "&RANK", "CAPTAIN"]], ["miller"]] call BIS_fnc_dbValueList; // ["KILLS","RANK"]

Additional Information

See also:
Database functions BIS_fnc_dbClassCheck BIS_fnc_dbClassId BIS_fnc_dbClassIndex BIS_fnc_dbClassList BIS_fnc_dbClassRemove BIS_fnc_dbClassReturn BIS_fnc_dbClassSet BIS_fnc_dbConfigPath BIS_fnc_dbImportConfig BIS_fnc_dbImportXML BIS_fnc_dbisClass BIS_fnc_dbisValue BIS_fnc_dbPrint BIS_fnc_dbSymbolClass BIS_fnc_dbSymbolValue BIS_fnc_dbValueCheck BIS_fnc_dbValueId BIS_fnc_dbValueIndex BIS_fnc_dbValueRemove BIS_fnc_dbValueReturn BIS_fnc_dbValueSet

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note