callExtension: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
No edit summary |
||
Line 36: | Line 36: | ||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on December 25, 2016 - 05:12 (UTC)</dd> | |||
<dt class="note">'''[[User:Demellion|Demellion]]'''</dt> | |||
<dd class="note"> | |||
Note that '''callExtension''' arguments sent packet size cannot exceed '''2^13 bytes (8192 bytes)''' no matter what extension is used. This might cause confusion for devs using database extensions on sending big data. Here's some table of data sizes: | |||
<br> | |||
'''ASCII''' = 1 byte/symbol of data (Arma uses 8-bit ASCII) | |||
<br> | |||
'''UTF-8''' = 2 byte/symbol of data (Such as Russian Cyryllic uses 16-bit encoding) | |||
<br> | |||
'''Digits''' = 1 byte/digit of data | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> | |||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> |
Revision as of 04:26, 25 December 2016
Description
- Description:
- Execute an extension function.
- Groups:
- Uncategorised
Syntax
- Syntax:
- extension callExtension functionWithArguments
- Parameters:
- extension: String
- functionWithArguments: String
- Return Value:
- String
Examples
- Example 1:
handle = "pipes" callExtension "openPipe(pipe)";
Additional Information
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
- Posted on December 25, 2016 - 05:12 (UTC)
- Demellion
-
Note that callExtension arguments sent packet size cannot exceed 2^13 bytes (8192 bytes) no matter what extension is used. This might cause confusion for devs using database extensions on sending big data. Here's some table of data sizes:
ASCII = 1 byte/symbol of data (Arma uses 8-bit ASCII)
UTF-8 = 2 byte/symbol of data (Such as Russian Cyryllic uses 16-bit encoding)
Digits = 1 byte/digit of data
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.60
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- ArmA 2 OA: New Scripting Commands List