First commit

This commit is contained in:
2021-03-07 05:58:59 +01:00
commit 8204c6b556
18475 changed files with 3309357 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_net_NetConnection
#define INCLUDED_openfl_net_NetConnection
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_events_EventDispatcher
#include <openfl/events/EventDispatcher.h>
#endif
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
HX_DECLARE_CLASS2(openfl,net,NetConnection)
namespace openfl{
namespace net{
class HXCPP_CLASS_ATTRIBUTES NetConnection_obj : public ::openfl::events::EventDispatcher_obj
{
public:
typedef ::openfl::events::EventDispatcher_obj super;
typedef NetConnection_obj OBJ_;
NetConnection_obj();
public:
enum { _hx_ClassId = 0x264826ba };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.net.NetConnection")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.net.NetConnection"); }
static hx::ObjectPtr< NetConnection_obj > __new();
static hx::ObjectPtr< NetConnection_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~NetConnection_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("NetConnection",bb,ba,b8,81); }
static void __boot();
static ::Dynamic __meta__;
static ::String CONNECT_SUCCESS;
void connect(::String command, ::Dynamic p1, ::Dynamic p2, ::Dynamic p3, ::Dynamic p4, ::Dynamic p5);
::Dynamic connect_dyn();
};
} // end namespace openfl
} // end namespace net
#endif /* INCLUDED_openfl_net_NetConnection */

View File

@@ -0,0 +1,160 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_net_NetStream
#define INCLUDED_openfl_net_NetStream
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_events_EventDispatcher
#include <openfl/events/EventDispatcher.h>
#endif
HX_DECLARE_CLASS1(haxe,Timer)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
HX_DECLARE_CLASS2(openfl,media,SoundTransform)
HX_DECLARE_CLASS2(openfl,net,NetConnection)
HX_DECLARE_CLASS2(openfl,net,NetStream)
namespace openfl{
namespace net{
class HXCPP_CLASS_ATTRIBUTES NetStream_obj : public ::openfl::events::EventDispatcher_obj
{
public:
typedef ::openfl::events::EventDispatcher_obj super;
typedef NetStream_obj OBJ_;
NetStream_obj();
public:
enum { _hx_ClassId = 0x0c38daf0 };
void __construct( ::openfl::net::NetConnection connection,::String peerID);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.net.NetStream")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.net.NetStream"); }
static hx::ObjectPtr< NetStream_obj > __new( ::openfl::net::NetConnection connection,::String peerID);
static hx::ObjectPtr< NetStream_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::net::NetConnection connection,::String peerID);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~NetStream_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("NetStream",9d,5c,f0,f3); }
static void __boot();
static ::Dynamic __meta__;
int audioCodec;
Float bufferLength;
Float bufferTime;
int bytesLoaded;
int bytesTotal;
bool checkPolicyFile;
::Dynamic client;
Float currentFPS;
int decodedFrames;
Float liveDelay;
int objectEncoding;
Float time;
int videoCode;
bool _hx___closed;
::openfl::net::NetConnection _hx___connection;
::openfl::media::SoundTransform _hx___soundTransform;
::haxe::Timer _hx___timer;
void close();
::Dynamic close_dyn();
void dispose();
::Dynamic dispose_dyn();
void pause();
::Dynamic pause_dyn();
void play(::String url, ::Dynamic p1, ::Dynamic p2, ::Dynamic p3, ::Dynamic p4, ::Dynamic p5);
::Dynamic play_dyn();
void requestVideoStatus();
::Dynamic requestVideoStatus_dyn();
void resume();
::Dynamic resume_dyn();
void seek(Float time);
::Dynamic seek_dyn();
void togglePause();
::Dynamic togglePause_dyn();
void _hx___dispatchStatus(::String code);
::Dynamic _hx___dispatchStatus_dyn();
void _hx___playStatus(::String code);
::Dynamic _hx___playStatus_dyn();
void video_onCanPlay( ::Dynamic event);
::Dynamic video_onCanPlay_dyn();
void video_onCanPlayThrough( ::Dynamic event);
::Dynamic video_onCanPlayThrough_dyn();
void video_onDurationChanged( ::Dynamic event);
::Dynamic video_onDurationChanged_dyn();
void video_onEnd( ::Dynamic event);
::Dynamic video_onEnd_dyn();
void video_onError( ::Dynamic event);
::Dynamic video_onError_dyn();
void video_onLoadMetaData( ::Dynamic event);
::Dynamic video_onLoadMetaData_dyn();
void video_onLoadStart( ::Dynamic event);
::Dynamic video_onLoadStart_dyn();
void video_onPause( ::Dynamic event);
::Dynamic video_onPause_dyn();
void video_onPlaying( ::Dynamic event);
::Dynamic video_onPlaying_dyn();
void video_onSeeking( ::Dynamic event);
::Dynamic video_onSeeking_dyn();
void video_onStalled( ::Dynamic event);
::Dynamic video_onStalled_dyn();
void video_onTimeUpdate( ::Dynamic event);
::Dynamic video_onTimeUpdate_dyn();
void video_onWaiting( ::Dynamic event);
::Dynamic video_onWaiting_dyn();
::openfl::media::SoundTransform get_soundTransform();
::Dynamic get_soundTransform_dyn();
::openfl::media::SoundTransform set_soundTransform( ::openfl::media::SoundTransform value);
::Dynamic set_soundTransform_dyn();
Float get_speed();
::Dynamic get_speed_dyn();
Float set_speed(Float value);
::Dynamic set_speed_dyn();
};
} // end namespace openfl
} // end namespace net
#endif /* INCLUDED_openfl_net_NetStream */

View File

@@ -0,0 +1,82 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_net_URLLoader
#define INCLUDED_openfl_net_URLLoader
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_events_EventDispatcher
#include <openfl/events/EventDispatcher.h>
#endif
HX_DECLARE_CLASS2(lime,net,_IHTTPRequest)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
HX_DECLARE_CLASS2(openfl,net,URLLoader)
HX_DECLARE_CLASS2(openfl,net,URLRequest)
namespace openfl{
namespace net{
class HXCPP_CLASS_ATTRIBUTES URLLoader_obj : public ::openfl::events::EventDispatcher_obj
{
public:
typedef ::openfl::events::EventDispatcher_obj super;
typedef URLLoader_obj OBJ_;
URLLoader_obj();
public:
enum { _hx_ClassId = 0x59fbe715 };
void __construct( ::openfl::net::URLRequest request);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.net.URLLoader")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.net.URLLoader"); }
static hx::ObjectPtr< URLLoader_obj > __new( ::openfl::net::URLRequest request);
static hx::ObjectPtr< URLLoader_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::net::URLRequest request);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~URLLoader_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("URLLoader",c2,68,b3,41); }
int bytesLoaded;
int bytesTotal;
::Dynamic data;
::Dynamic dataFormat;
::Dynamic _hx___httpRequest;
void close();
::Dynamic close_dyn();
void load( ::openfl::net::URLRequest request);
::Dynamic load_dyn();
void _hx___dispatchStatus();
::Dynamic _hx___dispatchStatus_dyn();
void _hx___prepareRequest(::Dynamic httpRequest, ::openfl::net::URLRequest request);
::Dynamic _hx___prepareRequest_dyn();
void httpRequest_onError( ::Dynamic error);
::Dynamic httpRequest_onError_dyn();
void httpRequest_onProgress(int bytesLoaded,int bytesTotal);
::Dynamic httpRequest_onProgress_dyn();
};
} // end namespace openfl
} // end namespace net
#endif /* INCLUDED_openfl_net_URLLoader */

View File

@@ -0,0 +1,62 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_net_URLRequest
#define INCLUDED_openfl_net_URLRequest
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(openfl,net,URLRequest)
HX_DECLARE_CLASS2(openfl,net,URLRequestHeader)
namespace openfl{
namespace net{
class HXCPP_CLASS_ATTRIBUTES URLRequest_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef URLRequest_obj OBJ_;
URLRequest_obj();
public:
enum { _hx_ClassId = 0x2d927a45 };
void __construct(::String url);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.net.URLRequest")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.net.URLRequest"); }
static hx::ObjectPtr< URLRequest_obj > __new(::String url);
static hx::ObjectPtr< URLRequest_obj > __alloc(hx::Ctx *_hx_ctx,::String url);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~URLRequest_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("URLRequest",c0,57,dd,76); }
::String contentType;
::Dynamic data;
bool followRedirects;
Float idleTimeout;
bool manageCookies;
::String method;
::Array< ::Dynamic> requestHeaders;
::String url;
::String userAgent;
};
} // end namespace openfl
} // end namespace net
#endif /* INCLUDED_openfl_net_URLRequest */

View File

@@ -0,0 +1,65 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_net_URLRequestDefaults
#define INCLUDED_openfl_net_URLRequestDefaults
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(openfl,net,URLRequestDefaults)
namespace openfl{
namespace net{
class HXCPP_CLASS_ATTRIBUTES URLRequestDefaults_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef URLRequestDefaults_obj OBJ_;
URLRequestDefaults_obj();
public:
enum { _hx_ClassId = 0x7ff953f7 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.net.URLRequestDefaults")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.net.URLRequestDefaults"); }
inline static hx::ObjectPtr< URLRequestDefaults_obj > __new() {
hx::ObjectPtr< URLRequestDefaults_obj > __this = new URLRequestDefaults_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< URLRequestDefaults_obj > __alloc(hx::Ctx *_hx_ctx) {
URLRequestDefaults_obj *__this = (URLRequestDefaults_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(URLRequestDefaults_obj), false, "openfl.net.URLRequestDefaults"));
*(void **)__this = URLRequestDefaults_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~URLRequestDefaults_obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("URLRequestDefaults",72,a4,e6,e4); }
static void __boot();
static bool followRedirects;
static Float idleTimeout;
static bool manageCookies;
static ::String userAgent;
};
} // end namespace openfl
} // end namespace net
#endif /* INCLUDED_openfl_net_URLRequestDefaults */

View File

@@ -0,0 +1,76 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_net_URLRequestHeader
#define INCLUDED_openfl_net_URLRequestHeader
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_8cde7e51a6201b8b_100_new)
HX_DECLARE_CLASS2(openfl,net,URLRequestHeader)
namespace openfl{
namespace net{
class HXCPP_CLASS_ATTRIBUTES URLRequestHeader_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef URLRequestHeader_obj OBJ_;
URLRequestHeader_obj();
public:
enum { _hx_ClassId = 0x07e4677a };
void __construct(::String __o_name,::String __o_value);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.net.URLRequestHeader")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.net.URLRequestHeader"); }
inline static hx::ObjectPtr< URLRequestHeader_obj > __new(::String __o_name,::String __o_value) {
hx::ObjectPtr< URLRequestHeader_obj > __this = new URLRequestHeader_obj();
__this->__construct(__o_name,__o_value);
return __this;
}
inline static hx::ObjectPtr< URLRequestHeader_obj > __alloc(hx::Ctx *_hx_ctx,::String __o_name,::String __o_value) {
URLRequestHeader_obj *__this = (URLRequestHeader_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(URLRequestHeader_obj), true, "openfl.net.URLRequestHeader"));
*(void **)__this = URLRequestHeader_obj::_hx_vtable;
{
::String name = __o_name;
if (hx::IsNull(__o_name)) name = HX_("",00,00,00,00);
::String value = __o_value;
if (hx::IsNull(__o_value)) value = HX_("",00,00,00,00);
HX_STACKFRAME(&_hx_pos_8cde7e51a6201b8b_100_new)
HXLINE( 101) ( ( ::openfl::net::URLRequestHeader)(__this) )->name = name;
HXLINE( 102) ( ( ::openfl::net::URLRequestHeader)(__this) )->value = value;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~URLRequestHeader_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("URLRequestHeader",6d,25,a6,a7); }
::String name;
::String value;
};
} // end namespace openfl
} // end namespace net
#endif /* INCLUDED_openfl_net_URLRequestHeader */

View File

@@ -0,0 +1,71 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_net__URLLoaderDataFormat_URLLoaderDataFormat_Impl_
#define INCLUDED_openfl_net__URLLoaderDataFormat_URLLoaderDataFormat_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,net,_URLLoaderDataFormat,URLLoaderDataFormat_Impl_)
namespace openfl{
namespace net{
namespace _URLLoaderDataFormat{
class HXCPP_CLASS_ATTRIBUTES URLLoaderDataFormat_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef URLLoaderDataFormat_Impl__obj OBJ_;
URLLoaderDataFormat_Impl__obj();
public:
enum { _hx_ClassId = 0x7a0918fa };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.net._URLLoaderDataFormat.URLLoaderDataFormat_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.net._URLLoaderDataFormat.URLLoaderDataFormat_Impl_"); }
inline static hx::ObjectPtr< URLLoaderDataFormat_Impl__obj > __new() {
hx::ObjectPtr< URLLoaderDataFormat_Impl__obj > __this = new URLLoaderDataFormat_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< URLLoaderDataFormat_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
URLLoaderDataFormat_Impl__obj *__this = (URLLoaderDataFormat_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(URLLoaderDataFormat_Impl__obj), false, "openfl.net._URLLoaderDataFormat.URLLoaderDataFormat_Impl_"));
*(void **)__this = URLLoaderDataFormat_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~URLLoaderDataFormat_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("URLLoaderDataFormat_Impl_",43,31,80,7f); }
static void __boot();
static ::Dynamic BINARY;
static ::Dynamic TEXT;
static ::Dynamic VARIABLES;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace net
} // end namespace _URLLoaderDataFormat
#endif /* INCLUDED_openfl_net__URLLoaderDataFormat_URLLoaderDataFormat_Impl_ */