BIS fnc validateParametersOO: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (pf) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Validating the parameters of a certain method in a class. |Description= | ||
____________________________________________________________________________________________ | |||
| [class,method,params] call [[BIS_fnc_validateParametersOO]] |Syntax= | |||
|p1= class: [[String]] - Class name |Parameter 1= | |||
| | |p2= method: [[String]] - Method used for validating (Taken from '''class >> "Methods"''') |Parameter 2= | ||
| | |p3= params: [[Array]] - To be validated parameters |Parameter 3= | ||
| | | | [[Boolean]] - Validating flag |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= | |x1= ["someClass","someMethod",[5,47,"test"]] [[call]] [[BIS_fnc_validateParametersOO]];|Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[BIS_fnc_addClassOO]], [[BIS_fnc_createObjectOO]] |See also= | ||
}} | }} | ||
Revision as of 09:49, 20 June 2018
Description
- Description:
- Validating the parameters of a certain method in a class.
- Execution:
- call
- Groups:
- Uncategorised
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