forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
59
Kha/Tools/linux_x64/std/flash/utils/ByteArray.hx
Normal file
59
Kha/Tools/linux_x64/std/flash/utils/ByteArray.hx
Normal file
@ -0,0 +1,59 @@
|
||||
package flash.utils;
|
||||
|
||||
extern class ByteArray implements IDataOutput2 implements IDataInput2 implements ArrayAccess<Int> {
|
||||
@:flash.property var bytesAvailable(get,never) : UInt;
|
||||
@:flash.property var endian(get,set) : Endian;
|
||||
@:flash.property var length(get,set) : UInt;
|
||||
@:flash.property var objectEncoding(get,set) : UInt;
|
||||
@:flash.property var position(get,set) : UInt;
|
||||
@:flash.property @:require(flash11_4) var shareable(get,set) : Bool;
|
||||
function new() : Void;
|
||||
@:require(flash11_4) function atomicCompareAndSwapIntAt(byteIndex : Int, expectedValue : Int, newValue : Int) : Int;
|
||||
@:require(flash11_4) function atomicCompareAndSwapLength(expectedLength : Int, newLength : Int) : Int;
|
||||
@:require(flash10) function clear() : Void;
|
||||
function compress(?algorithm : CompressionAlgorithm) : Void;
|
||||
@:require(flash10) function deflate() : Void;
|
||||
private function get_bytesAvailable() : UInt;
|
||||
private function get_endian() : Endian;
|
||||
private function get_length() : UInt;
|
||||
private function get_objectEncoding() : UInt;
|
||||
private function get_position() : UInt;
|
||||
private function get_shareable() : Bool;
|
||||
@:require(flash10) function inflate() : Void;
|
||||
function readBoolean() : Bool;
|
||||
function readByte() : Int;
|
||||
function readBytes(bytes : ByteArray, offset : UInt = 0, length : UInt = 0) : Void;
|
||||
function readDouble() : Float;
|
||||
function readFloat() : Float;
|
||||
function readInt() : Int;
|
||||
function readMultiByte(length : UInt, charSet : String) : String;
|
||||
function readObject() : Dynamic;
|
||||
function readShort() : Int;
|
||||
function readUTF() : String;
|
||||
function readUTFBytes(length : UInt) : String;
|
||||
function readUnsignedByte() : UInt;
|
||||
function readUnsignedInt() : UInt;
|
||||
function readUnsignedShort() : UInt;
|
||||
private function set_endian(value : Endian) : Endian;
|
||||
private function set_length(value : UInt) : UInt;
|
||||
private function set_objectEncoding(value : UInt) : UInt;
|
||||
private function set_position(value : UInt) : UInt;
|
||||
private function set_shareable(value : Bool) : Bool;
|
||||
function toString() : String;
|
||||
function uncompress(?algorithm : CompressionAlgorithm) : Void;
|
||||
function writeBoolean(value : Bool) : Void;
|
||||
function writeByte(value : Int) : Void;
|
||||
function writeBytes(bytes : ByteArray, offset : UInt = 0, length : UInt = 0) : Void;
|
||||
function writeDouble(value : Float) : Void;
|
||||
function writeFloat(value : Float) : Void;
|
||||
function writeInt(value : Int) : Void;
|
||||
function writeMultiByte(value : String, charSet : String) : Void;
|
||||
function writeObject(object : Dynamic) : Void;
|
||||
function writeShort(value : Int) : Void;
|
||||
function writeUTF(value : String) : Void;
|
||||
function writeUTFBytes(value : String) : Void;
|
||||
function writeUnsignedInt(value : UInt) : Void;
|
||||
@:flash.property static var defaultObjectEncoding(get,set) : UInt;
|
||||
private static function get_defaultObjectEncoding() : UInt;
|
||||
private static function set_defaultObjectEncoding(value : UInt) : UInt;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package flash.utils;
|
||||
|
||||
@:native("flash.utils.CompressionAlgorithm") @:require(flash11) extern enum abstract CompressionAlgorithm(String) {
|
||||
var DEFLATE;
|
||||
var LZMA;
|
||||
var ZLIB;
|
||||
}
|
5
Kha/Tools/linux_x64/std/flash/utils/Dictionary.hx
Normal file
5
Kha/Tools/linux_x64/std/flash/utils/Dictionary.hx
Normal file
@ -0,0 +1,5 @@
|
||||
package flash.utils;
|
||||
|
||||
extern class Dictionary implements ArrayAccess<Dynamic> {
|
||||
function new(weakKeys : Bool = false) : Void;
|
||||
}
|
6
Kha/Tools/linux_x64/std/flash/utils/Endian.hx
Normal file
6
Kha/Tools/linux_x64/std/flash/utils/Endian.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.utils;
|
||||
|
||||
@:native("flash.utils.Endian") extern enum abstract Endian(String) {
|
||||
var BIG_ENDIAN;
|
||||
var LITTLE_ENDIAN;
|
||||
}
|
3
Kha/Tools/linux_x64/std/flash/utils/Function.hx
Normal file
3
Kha/Tools/linux_x64/std/flash/utils/Function.hx
Normal file
@ -0,0 +1,3 @@
|
||||
package flash.utils;
|
||||
|
||||
typedef Function = Dynamic
|
26
Kha/Tools/linux_x64/std/flash/utils/IDataInput.hx
Normal file
26
Kha/Tools/linux_x64/std/flash/utils/IDataInput.hx
Normal file
@ -0,0 +1,26 @@
|
||||
package flash.utils;
|
||||
|
||||
extern interface IDataInput {
|
||||
@:flash.property var bytesAvailable(get,never) : UInt;
|
||||
@:flash.property var endian(get,set) : Endian;
|
||||
@:flash.property var objectEncoding(get,set) : UInt;
|
||||
private function get_bytesAvailable() : UInt;
|
||||
private function get_endian() : Endian;
|
||||
private function get_objectEncoding() : UInt;
|
||||
function readBoolean() : Bool;
|
||||
function readByte() : Int;
|
||||
function readBytes(bytes : ByteArray, offset : UInt = 0, length : UInt = 0) : Void;
|
||||
function readDouble() : Float;
|
||||
function readFloat() : Float;
|
||||
function readInt() : Int;
|
||||
function readMultiByte(length : UInt, charSet : String) : String;
|
||||
function readObject() : Dynamic;
|
||||
function readShort() : Int;
|
||||
function readUTF() : String;
|
||||
function readUTFBytes(length : UInt) : String;
|
||||
function readUnsignedByte() : UInt;
|
||||
function readUnsignedInt() : UInt;
|
||||
function readUnsignedShort() : UInt;
|
||||
private function set_endian(value : Endian) : Endian;
|
||||
private function set_objectEncoding(value : UInt) : UInt;
|
||||
}
|
4
Kha/Tools/linux_x64/std/flash/utils/IDataInput2.hx
Normal file
4
Kha/Tools/linux_x64/std/flash/utils/IDataInput2.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package flash.utils;
|
||||
|
||||
extern interface IDataInput2 extends IDataInput {
|
||||
}
|
22
Kha/Tools/linux_x64/std/flash/utils/IDataOutput.hx
Normal file
22
Kha/Tools/linux_x64/std/flash/utils/IDataOutput.hx
Normal file
@ -0,0 +1,22 @@
|
||||
package flash.utils;
|
||||
|
||||
extern interface IDataOutput {
|
||||
@:flash.property var endian(get,set) : Endian;
|
||||
@:flash.property var objectEncoding(get,set) : UInt;
|
||||
private function get_endian() : Endian;
|
||||
private function get_objectEncoding() : UInt;
|
||||
private function set_endian(value : Endian) : Endian;
|
||||
private function set_objectEncoding(value : UInt) : UInt;
|
||||
function writeBoolean(value : Bool) : Void;
|
||||
function writeByte(value : Int) : Void;
|
||||
function writeBytes(bytes : ByteArray, offset : UInt = 0, length : UInt = 0) : Void;
|
||||
function writeDouble(value : Float) : Void;
|
||||
function writeFloat(value : Float) : Void;
|
||||
function writeInt(value : Int) : Void;
|
||||
function writeMultiByte(value : String, charSet : String) : Void;
|
||||
function writeObject(object : Dynamic) : Void;
|
||||
function writeShort(value : Int) : Void;
|
||||
function writeUTF(value : String) : Void;
|
||||
function writeUTFBytes(value : String) : Void;
|
||||
function writeUnsignedInt(value : UInt) : Void;
|
||||
}
|
4
Kha/Tools/linux_x64/std/flash/utils/IDataOutput2.hx
Normal file
4
Kha/Tools/linux_x64/std/flash/utils/IDataOutput2.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package flash.utils;
|
||||
|
||||
extern interface IDataOutput2 extends IDataOutput {
|
||||
}
|
6
Kha/Tools/linux_x64/std/flash/utils/IExternalizable.hx
Normal file
6
Kha/Tools/linux_x64/std/flash/utils/IExternalizable.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.utils;
|
||||
|
||||
extern interface IExternalizable {
|
||||
function readExternal(input : IDataInput) : Void;
|
||||
function writeExternal(output : IDataOutput) : Void;
|
||||
}
|
6
Kha/Tools/linux_x64/std/flash/utils/JSON.hx
Normal file
6
Kha/Tools/linux_x64/std/flash/utils/JSON.hx
Normal file
@ -0,0 +1,6 @@
|
||||
package flash.utils;
|
||||
|
||||
@:native("JSON") @:require(flash11) extern class JSON {
|
||||
static function parse(text : String, ?reviver : Dynamic) : Dynamic;
|
||||
static function stringify(value : Dynamic, ?replacer : Dynamic, ?space : Dynamic) : String;
|
||||
}
|
9
Kha/Tools/linux_x64/std/flash/utils/Namespace.hx
Normal file
9
Kha/Tools/linux_x64/std/flash/utils/Namespace.hx
Normal file
@ -0,0 +1,9 @@
|
||||
package flash.utils;
|
||||
|
||||
extern final class Namespace {
|
||||
@:flash.property var prefix(get,never) : Dynamic;
|
||||
@:flash.property var uri(get,never) : String;
|
||||
function new(?prefix : Dynamic, ?uri : Dynamic) : Void;
|
||||
private function get_prefix() : Dynamic;
|
||||
private function get_uri() : String;
|
||||
}
|
4
Kha/Tools/linux_x64/std/flash/utils/Object.hx
Normal file
4
Kha/Tools/linux_x64/std/flash/utils/Object.hx
Normal file
@ -0,0 +1,4 @@
|
||||
package flash.utils;
|
||||
|
||||
@:coreType @:runtimeValue
|
||||
abstract Object from Dynamic to Dynamic {}
|
27
Kha/Tools/linux_x64/std/flash/utils/ObjectInput.hx
Normal file
27
Kha/Tools/linux_x64/std/flash/utils/ObjectInput.hx
Normal file
@ -0,0 +1,27 @@
|
||||
package flash.utils;
|
||||
|
||||
extern class ObjectInput implements IDataInput {
|
||||
@:flash.property var bytesAvailable(get,never) : UInt;
|
||||
@:flash.property var endian(get,set) : Endian;
|
||||
@:flash.property var objectEncoding(get,set) : UInt;
|
||||
function new() : Void;
|
||||
private function get_bytesAvailable() : UInt;
|
||||
private function get_endian() : Endian;
|
||||
private function get_objectEncoding() : UInt;
|
||||
function readBoolean() : Bool;
|
||||
function readByte() : Int;
|
||||
function readBytes(bytes : ByteArray, offset : UInt = 0, length : UInt = 0) : Void;
|
||||
function readDouble() : Float;
|
||||
function readFloat() : Float;
|
||||
function readInt() : Int;
|
||||
function readMultiByte(length : UInt, charSet : String) : String;
|
||||
function readObject() : Dynamic;
|
||||
function readShort() : Int;
|
||||
function readUTF() : String;
|
||||
function readUTFBytes(length : UInt) : String;
|
||||
function readUnsignedByte() : UInt;
|
||||
function readUnsignedInt() : UInt;
|
||||
function readUnsignedShort() : UInt;
|
||||
private function set_endian(value : Endian) : Endian;
|
||||
private function set_objectEncoding(value : UInt) : UInt;
|
||||
}
|
23
Kha/Tools/linux_x64/std/flash/utils/ObjectOutput.hx
Normal file
23
Kha/Tools/linux_x64/std/flash/utils/ObjectOutput.hx
Normal file
@ -0,0 +1,23 @@
|
||||
package flash.utils;
|
||||
|
||||
extern class ObjectOutput implements IDataOutput {
|
||||
@:flash.property var endian(get,set) : Endian;
|
||||
@:flash.property var objectEncoding(get,set) : UInt;
|
||||
function new() : Void;
|
||||
private function get_endian() : Endian;
|
||||
private function get_objectEncoding() : UInt;
|
||||
private function set_endian(value : Endian) : Endian;
|
||||
private function set_objectEncoding(value : UInt) : UInt;
|
||||
function writeBoolean(value : Bool) : Void;
|
||||
function writeByte(value : Int) : Void;
|
||||
function writeBytes(bytes : ByteArray, offset : UInt = 0, length : UInt = 0) : Void;
|
||||
function writeDouble(value : Float) : Void;
|
||||
function writeFloat(value : Float) : Void;
|
||||
function writeInt(value : Int) : Void;
|
||||
function writeMultiByte(value : String, charSet : String) : Void;
|
||||
function writeObject(object : Dynamic) : Void;
|
||||
function writeShort(value : Int) : Void;
|
||||
function writeUTF(value : String) : Void;
|
||||
function writeUTFBytes(value : String) : Void;
|
||||
function writeUnsignedInt(value : UInt) : Void;
|
||||
}
|
15
Kha/Tools/linux_x64/std/flash/utils/Proxy.hx
Normal file
15
Kha/Tools/linux_x64/std/flash/utils/Proxy.hx
Normal file
@ -0,0 +1,15 @@
|
||||
package flash.utils;
|
||||
|
||||
extern class Proxy {
|
||||
function new() : Void;
|
||||
@:ns("http://www.adobe.com/2006/actionscript/flash/proxy") function callProperty(name : Dynamic, restArgs : haxe.extern.Rest<Dynamic>) : Dynamic;
|
||||
@:ns("http://www.adobe.com/2006/actionscript/flash/proxy") function deleteProperty(name : Dynamic) : Bool;
|
||||
@:ns("http://www.adobe.com/2006/actionscript/flash/proxy") function getDescendants(name : Dynamic) : Dynamic;
|
||||
@:ns("http://www.adobe.com/2006/actionscript/flash/proxy") function getProperty(name : Dynamic) : Dynamic;
|
||||
@:ns("http://www.adobe.com/2006/actionscript/flash/proxy") function hasProperty(name : Dynamic) : Bool;
|
||||
@:ns("http://www.adobe.com/2006/actionscript/flash/proxy") function isAttribute(name : Dynamic) : Bool;
|
||||
@:ns("http://www.adobe.com/2006/actionscript/flash/proxy") function nextName(index : Int) : String;
|
||||
@:ns("http://www.adobe.com/2006/actionscript/flash/proxy") function nextNameIndex(index : Int) : Int;
|
||||
@:ns("http://www.adobe.com/2006/actionscript/flash/proxy") function nextValue(index : Int) : Dynamic;
|
||||
@:ns("http://www.adobe.com/2006/actionscript/flash/proxy") function setProperty(name : Dynamic, value : Dynamic) : Void;
|
||||
}
|
9
Kha/Tools/linux_x64/std/flash/utils/QName.hx
Normal file
9
Kha/Tools/linux_x64/std/flash/utils/QName.hx
Normal file
@ -0,0 +1,9 @@
|
||||
package flash.utils;
|
||||
|
||||
extern final class QName {
|
||||
@:flash.property var localName(get,never) : String;
|
||||
@:flash.property var uri(get,never) : Dynamic;
|
||||
function new(?namespace : Dynamic, ?name : Dynamic) : Void;
|
||||
private function get_localName() : String;
|
||||
private function get_uri() : Dynamic;
|
||||
}
|
22
Kha/Tools/linux_x64/std/flash/utils/RegExp.hx
Normal file
22
Kha/Tools/linux_x64/std/flash/utils/RegExp.hx
Normal file
@ -0,0 +1,22 @@
|
||||
package flash.utils;
|
||||
|
||||
@:realPath("flash.utils.RegExp") @:native("RegExp") extern class RegExp implements Dynamic {
|
||||
@:flash.property var dotall(get,never) : Bool;
|
||||
@:flash.property var extended(get,never) : Bool;
|
||||
@:flash.property var global(get,never) : Bool;
|
||||
@:flash.property var ignoreCase(get,never) : Bool;
|
||||
@:flash.property var lastIndex(get,set) : Int;
|
||||
@:flash.property var multiline(get,never) : Bool;
|
||||
@:flash.property var source(get,never) : String;
|
||||
function new(?pattern : Dynamic, ?options : Dynamic) : Void;
|
||||
@:ns("http://adobe.com/AS3/2006/builtin") function exec(?s : String) : Dynamic;
|
||||
private function get_dotall() : Bool;
|
||||
private function get_extended() : Bool;
|
||||
private function get_global() : Bool;
|
||||
private function get_ignoreCase() : Bool;
|
||||
private function get_lastIndex() : Int;
|
||||
private function get_multiline() : Bool;
|
||||
private function get_source() : String;
|
||||
private function set_lastIndex(value : Int) : Int;
|
||||
@:ns("http://adobe.com/AS3/2006/builtin") function test(?s : String) : Bool;
|
||||
}
|
7
Kha/Tools/linux_x64/std/flash/utils/SetIntervalTimer.hx
Normal file
7
Kha/Tools/linux_x64/std/flash/utils/SetIntervalTimer.hx
Normal file
@ -0,0 +1,7 @@
|
||||
package flash.utils;
|
||||
|
||||
extern final class SetIntervalTimer extends Timer {
|
||||
@:ns("flash.utils",internal) var id : UInt;
|
||||
function new(closure : Dynamic, delay : Float, repeats : Bool, rest : Array<Dynamic>) : Void;
|
||||
@:ns("flash.utils",internal) static function clearInterval(id_to_clear : UInt) : Void;
|
||||
}
|
10
Kha/Tools/linux_x64/std/flash/utils/Telemetry.hx
Normal file
10
Kha/Tools/linux_x64/std/flash/utils/Telemetry.hx
Normal file
@ -0,0 +1,10 @@
|
||||
package flash.utils;
|
||||
|
||||
@:require(flash11_4) @:native("flash.profiler.Telemetry") extern class Telemetry extends flash.events.EventDispatcher {
|
||||
static var connected(default,null) : Bool;
|
||||
static var spanMarker(default,null) : Float;
|
||||
static function registerCommandHandler(commandName : String, handler : Dynamic) : Bool;
|
||||
static function unregisterCommandHandler(commandName : String) : Bool;
|
||||
static function sendMetric(metric : String, value : Dynamic) : Void;
|
||||
static function sendSpanMetric(metric : String, startMarker : Float) : Void;
|
||||
}
|
18
Kha/Tools/linux_x64/std/flash/utils/Timer.hx
Normal file
18
Kha/Tools/linux_x64/std/flash/utils/Timer.hx
Normal file
@ -0,0 +1,18 @@
|
||||
package flash.utils;
|
||||
|
||||
extern class Timer extends flash.events.EventDispatcher {
|
||||
@:flash.property var currentCount(get,never) : Int;
|
||||
@:flash.property var delay(get,set) : Float;
|
||||
@:flash.property var repeatCount(get,set) : Int;
|
||||
@:flash.property var running(get,never) : Bool;
|
||||
function new(delay : Float, repeatCount : Int = 0) : Void;
|
||||
private function get_currentCount() : Int;
|
||||
private function get_delay() : Float;
|
||||
private function get_repeatCount() : Int;
|
||||
private function get_running() : Bool;
|
||||
function reset() : Void;
|
||||
private function set_delay(value : Float) : Float;
|
||||
private function set_repeatCount(value : Int) : Int;
|
||||
function start() : Void;
|
||||
function stop() : Void;
|
||||
}
|
Reference in New Issue
Block a user