BIS fnc uniqueClasses: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function
|game1= arma3
|version1= 1.00


{{Function|= Comments
|gr1= Configs
____________________________________________________________________________________________


| arma3 |= Game name
|descr= <pre>/*
 
|1.00|= Game version
____________________________________________________________________________________________
 
| <pre>/*


Description:
Description:
Composes array of classes with unique param (based on returned value of passed code).
Composes array of classes with unique param (based on returned value of passed code).
If class inherits the param from parent, it's not listed.
If class inherits the param from parent, it is not listed.
Parameter(s):
Parameter(s):
Line 22: Line 19:
class: CONFIG - class with unique param
class: CONFIG - class with unique param
value: ANY - value returned by the passed code for the given class
value: ANY - value returned by the passed code for the given class
*/
*/</pre>
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_uniqueClasses]]; --> |SYNTAX=
 
|p1= |PARAMETER1=


| |RETURNVALUE=
{{Wiki|placeholder}}|s1= <!-- [] call [[BIS_fnc_uniqueClasses]]; -->|p1=
____________________________________________________________________________________________


|x1= <code></code> |=
|r1=
____________________________________________________________________________________________


| |SEEALSO=
|x1=


|seealso=
}}
}}
<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: Configs|{{uc:uniqueClasses}}]]
[[Category:Functions|{{uc:uniqueClasses}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:uniqueClasses}}]]

Latest revision as of 23:17, 13 June 2021

Hover & click on the images for description

Description

Description:
/*

	Description:
	Composes array of classes with unique param (based on returned value of passed code).
	If class inherits the param from parent, it is not listed.
	
	Parameter(s):
		0: CONFIG - class which is searched
		1: CODE - code executed on class, which is passed as _this
	
	Returns:
		ARRAY - classes in format [class,value]
			class: CONFIG - class with unique param
			value: ANY - value returned by the passed code for the given class
*/
🏗
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki.
Execution:
call
Groups:
Configs

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Examples:
Example needed

Additional Information

See also:
See also needed

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