{"name":"BIS_fnc_exportCuratorCostTable","title":"BIS fnc exportCuratorCostTable","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_exportCuratorCostTable","revid":281314,"updated":"2021-06-14T09:08:09Z","groups":["Curator"],"status":"ok","games":{"arma3":"1.16"},"since":"arma3 1.16","arma3_since":"1.16","description":"Generate spreadsheet with object classes and copy it to clipboard. The table will generate export code to be used in BIS_fnc_curatorObjectRegisteredTable","syntaxes":[{"syntax":"arg call BIS_fnc_exportCuratorCostTable","params":[{"name":"arg","type":"Array, String","types":["Array","String"],"optional":true,"default":"{true}","description":"supported addons (classes from CfgPatches). When empty, all preloaded addons will be added. Use empty string to export just the cost calculation.\n1 (Optional): STRING - format, can be \"ods\" or \"xls\"\n2 (Optional): STRING - name of sheet with cost calculation. When empty, the calculation will be inserted on top of the table\n3 (Optional): ARRAY of SIDEs or NUMBERs - filter only objects of listed sides or side IDs. Supported sides are west, east, resistance, civilian, sideUnknown and sideLogic\n4 (Optional): CODE - condition for class to be listed. Config path to the class is passed as an argument (default: {true})\n5 (Optional): CODE - default cost, must return STRING. When empty string is returned, no default cost will be used (default: {\"\"})","text":"0 (Optional): ARRAY of STRINGs - supported addons (classes from CfgPatches). When empty, all preloaded addons will be added. Use empty string to export just the cost calculation.\n1 (Optional): STRING - format, can be \"ods\" or \"xls\"\n2 (Optional): STRING - name of sheet with cost calculation. When empty, the calculation will be inserted on top of the table\n3 (Optional): ARRAY of SIDEs or NUMBERs - filter only objects of listed sides or side IDs. Supported sides are west, east, resistance, civilian, sideUnknown and sideLogic\n4 (Optional): CODE - condition for class to be listed. Config path to the class is passed as an argument (default: {true})\n5 (Optional): CODE - default cost, must return STRING. When empty string is returned, no default cost will be used (default: {\"\"})","source":"docblock"}],"returns":{"type":"Boolean","type_expr":"Boolean","text":"BOOL","source":"docblock"},"inferred":true}],"see_also":["BIS_fnc_curatorObjectRegisteredTable"],"docblock":{"text":"Description:\nGenerate spreadsheet with object classes and copy it to clipboard.\nThe table will generate export code to be used in BIS_fnc_curatorObjectRegisteredTable\n\nParameter(s):\n    0 (Optional): ARRAY of STRINGs - supported addons (classes from CfgPatches). When empty, all preloaded addons will be added. Use empty string to export just the cost calculation.\n    1 (Optional): STRING - format, can be \"ods\" or \"xls\"\n    2 (Optional): STRING - name of sheet with cost calculation. When empty, the calculation will be inserted on top of the table\n    3 (Optional): ARRAY of SIDEs or NUMBERs - filter only objects of listed sides or side IDs. Supported sides are west, east, resistance, civilian, sideUnknown and sideLogic\n    4 (Optional): CODE - condition for class to be listed. Config path to the class is passed as an argument (default: {true})\n    5 (Optional): CODE - default cost, must return STRING. When empty string is returned, no default cost will be used (default: {\"\"})\n\nReturns:\nBOOL"},"filled_from_docblock":["description","params","syntax","returns"]}