User Tools

Site Tools


addons:functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
addons:functions [2015/11/20 01:22]
atom0s
addons:functions [2015/11/20 01:32]
atom0s
Line 2: Line 2:
  
 The following page covers the functions that are built into Ashita'​s Addons.dll plugin. The following page covers the functions that are built into Ashita'​s Addons.dll plugin.
 +
 +----
 +
 +==== Bitpack Functions ====
 +
 +//number// bitpack:​unpackBitsBE(packet,​ bitOffset, bitLength);
 +  * **Parameters**
 +    * packet - The data to unpack values from.
 +    * bitOffset - The bit offset to start unpacking at.
 +    * bitLength - The number of bits to unpack.
 +  * **Returns**
 +    * The unpacked value.
 +
 +//number// bitpack:​unpackBitsBE(packet,​ byteOffset, bitOffset, bitLength);
 +  * **Parameters**
 +    * packet - The data to unpack values from.
 +    * byteOffset - The byte offset within the data to unpack.
 +    * bitOffset - The bit offset to start unpacking at.
 +    * bitLength - The number of bits to unpack.
 +  * **Returns**
 +    * The unpacked value.
 +
 +//number// bitpack:​unpackBitsLE(packet,​ bitOffset, bitLength);
 +  * **Parameters**
 +    * packet - The data to unpack values from.
 +    * bitOffset - The bit offset to start unpacking at.
 +    * bitLength - The number of bits to unpack.
 +  * **Returns**
 +    * The unpacked value.
 +
 +//number// bitpack:​unpackBitsLE(packet,​ byteOffset, bitOffset, bitLength);
 +  * **Parameters**
 +    * packet - The data to unpack values from.
 +    * byteOffset - The byte offset within the data to unpack.
 +    * bitOffset - The bit offset to start unpacking at.
 +    * bitLength - The number of bits to unpack.
 +  * **Returns**
 +    * The unpacked value.
  
 ---- ----
Line 309: Line 347:
   * **Returns**   * **Returns**
     * //Function does not return a value.//     * //Function does not return a value.//
 +
 +----
 +
 +==== Misc. Functions ====
 +
 +//void// **misc:​open_url**(url);​
 +  * **Parameters**
 +    * url - The website url to open.
 +  * **Returns**
 +    * //Function returns no value.//
 +
 +----
 +
 +==== Sound Functions ====
 +
 +//void// **sound:​playsound**(file);​
 +  * **Parameters**
 +    * file - sound The file to play.
 +  * **Returns**
 +    * //Function returns no value.//
addons/functions.txt · Last modified: 2015/11/20 01:42 by atom0s