BIS fnc uniqueClasses: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= Configs |GROUP1=")
m (Text replacement - "\[\[Category\:Function Group\: Configs(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 51: Line 51:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Configs|{{uc:uniqueClasses}}]]
 
[[Category:Functions|{{uc:uniqueClasses}}]]
[[Category:Functions|{{uc:uniqueClasses}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:uniqueClasses}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:uniqueClasses}}]]

Revision as of 13:55, 12 October 2020


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

Example 1:

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

Notes

Bottom Section