callExtension: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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 05:26, 25 December 2016

Hover & click on the images for description

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

See also:
extensioncall

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