LNXSDK/Kha/Tools/linux_x64/std/flash/net/SharedObject.hx

35 lines
1.7 KiB
Haxe
Raw Normal View History

2025-01-22 16:18:30 +01:00
package flash.net;
extern class SharedObject extends flash.events.EventDispatcher {
@:flash.property var client(get,set) : Dynamic;
@:flash.property var data(get,never) : Dynamic;
@:flash.property var fps(never,set) : Float;
@:flash.property var objectEncoding(get,set) : UInt;
@:flash.property var size(get,never) : UInt;
function new() : Void;
function clear() : Void;
function close() : Void;
function connect(myConnection : NetConnection, ?params : String) : Void;
function flush(minDiskSpace : Int = 0) : String;
private function get_client() : Dynamic;
private function get_data() : Dynamic;
private function get_objectEncoding() : UInt;
private function get_size() : UInt;
function send(restArgs : haxe.extern.Rest<Dynamic>) : Void;
function setDirty(propertyName : String) : Void;
function setProperty(propertyName : String, ?value : flash.utils.Object) : Void;
private function set_client(value : Dynamic) : Dynamic;
private function set_fps(value : Float) : Float;
private function set_objectEncoding(value : UInt) : UInt;
@:flash.property static var defaultObjectEncoding(get,set) : UInt;
@:flash.property @:require(flash11_7) static var preventBackup(get,set) : Bool;
static function deleteAll(url : String) : Int;
static function getDiskUsage(url : String) : Int;
static function getLocal(name : String, ?localPath : String, secure : Bool = false) : SharedObject;
static function getRemote(name : String, ?remotePath : String, persistence : Dynamic = false, secure : Bool = false) : SharedObject;
private static function get_defaultObjectEncoding() : UInt;
private static function get_preventBackup() : Bool;
private static function set_defaultObjectEncoding(value : UInt) : UInt;
private static function set_preventBackup(value : Bool) : Bool;
}