openfl
Version:
A fast, productive library for 2D cross-platform development.
25 lines (18 loc) • 1.83 kB
JavaScript
// Enum: openfl.utils._internal.format.amf.AMFValue
var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this
$global.Object.defineProperty(exports, "__esModule", {value: true});
// Imports
var $estr = require("./../../../../../estr_stub").default;
var $hxEnums = require("./../../../../../hxEnums_stub").default;
// Definition
var AMFValue = $hxEnums["openfl.utils._internal.format.amf.AMFValue"] = { __ename__ : "openfl.utils._internal.format.amf.AMFValue", __constructs__ : ["ANumber","ABool","AString","AObject","ADate","AUndefined","ANull","AArray"]
,AUndefined: {_hx_index:5,__enum__:"openfl.utils._internal.format.amf.AMFValue",toString:$estr}
,AString: ($_=function(s) { return {_hx_index:2,s:s,__enum__:"openfl.utils._internal.format.amf.AMFValue",toString:$estr}; },$_.__params__ = ["s"],$_)
,AObject: ($_=function(fields,size) { return {_hx_index:3,fields:fields,size:size,__enum__:"openfl.utils._internal.format.amf.AMFValue",toString:$estr}; },$_.__params__ = ["fields","size"],$_)
,ANumber: ($_=function(f) { return {_hx_index:0,f:f,__enum__:"openfl.utils._internal.format.amf.AMFValue",toString:$estr}; },$_.__params__ = ["f"],$_)
,ANull: {_hx_index:6,__enum__:"openfl.utils._internal.format.amf.AMFValue",toString:$estr}
,ADate: ($_=function(d) { return {_hx_index:4,d:d,__enum__:"openfl.utils._internal.format.amf.AMFValue",toString:$estr}; },$_.__params__ = ["d"],$_)
,ABool: ($_=function(b) { return {_hx_index:1,b:b,__enum__:"openfl.utils._internal.format.amf.AMFValue",toString:$estr}; },$_.__params__ = ["b"],$_)
,AArray: ($_=function(values) { return {_hx_index:7,values:values,__enum__:"openfl.utils._internal.format.amf.AMFValue",toString:$estr}; },$_.__params__ = ["values"],$_)
};
exports.default = AMFValue;