BIS fnc validateParametersOO: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function| arma3|1.00|gr1 = OO| Validating the parameters of a certain method in a class.| [class,method,params] call [[BIS_fnc_validateParametersOO]]|p1= class: [[String]] - Class name|p2= method: [[String]] - Method used for validating (Taken from '''class >> "Methods"''')|p3= params: [[Array]] - To be validated parameters| [[Boolean]] - Validating flag|x1= <code>["someClass","someMethod",[5,47,"test"]] [[call]] [[BIS_fnc_validateParametersOO]];</code> | ||
| arma3 | |||
|1.00 | |||
|gr1 = OO | |||
| Validating the parameters of a certain method in a class. | |||
| [class,method,params] call [[BIS_fnc_validateParametersOO]] | |||
|p1= class: [[String]] - Class name | |||
|p2= method: [[String]] - Method used for validating (Taken from '''class >> "Methods"''') | |||
|p3= params: [[Array]] - To be validated parameters | |||
| [[Boolean]] - Validating flag | |||
|x1= <code>["someClass","someMethod",[5,47,"test"]] [[call]] [[BIS_fnc_validateParametersOO]];</code> | |||
| [[BIS_fnc_addClassOO]], [[BIS_fnc_createObjectOO]] |See also= | | [[BIS_fnc_addClassOO]], [[BIS_fnc_createObjectOO]] |See also= | ||
}} | }} |
Revision as of 09:50, 18 January 2021
Description
Syntax
- Syntax:
- [class,method,params] call BIS_fnc_validateParametersOO
- Parameters:
- class: String - Class name
- method: String - Method used for validating (Taken from class >> "Methods")
- params: Array - To be validated parameters
- Return Value:
- Boolean - Validating flag
Examples
- Example 1:
["someClass","someMethod",[5,47,"test"]] call BIS_fnc_validateParametersOO;
Additional Information
- See also:
- BIS_fnc_addClassOOBIS_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