BIS fnc addClassOO: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= OO


|1.00|= Game version
|descr= Registering a class for the OO scripting shell.
____________________________________________________________________________________________


| <pre>
|s1= class call [[BIS_fnc_addClassOO]]
/*
File: fn_addClassOO.sqf


Description:
|p1= class: [[String]] - class for the OO scripting shell {{Feature|important|Class has to exist in CfgOO}}
Registering a class for the OO scripting shell


Parameter(s):
|r1= [[Nothing]]
_this: String (class in CfgOO)
Returns:
-
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>"someOOClass" call BIS_fnc_addClassOO;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_addClassOO]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


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

Latest revision as of 14:59, 8 November 2023

Hover & click on the images for description

Description

Description:
Registering a class for the OO scripting shell.
Execution:
call
Groups:
OO

Syntax

Syntax:
class call BIS_fnc_addClassOO
Parameters:
class: String - class for the OO scripting shell
Class has to exist in CfgOO
Return Value:
Nothing

Examples

Example 1:
"someOOClass" call BIS_fnc_addClassOO;

Additional Information

See also:
BIS_fnc_createObjectOO

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