181 lines
		
	
	
		
			6.0 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			181 lines
		
	
	
		
			6.0 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Generated by Haxe 4.0.5
 | |
| #ifndef INCLUDED_openfl_utils_Assets
 | |
| #define INCLUDED_openfl_utils_Assets
 | |
| 
 | |
| #ifndef HXCPP_H
 | |
| #include <hxcpp.h>
 | |
| #endif
 | |
| 
 | |
| HX_DECLARE_CLASS2(haxe,io,Bytes)
 | |
| HX_DECLARE_CLASS2(lime,app,Future)
 | |
| HX_DECLARE_CLASS2(lime,text,Font)
 | |
| HX_DECLARE_CLASS2(lime,utils,AssetLibrary)
 | |
| HX_DECLARE_CLASS2(openfl,display,BitmapData)
 | |
| HX_DECLARE_CLASS2(openfl,display,DisplayObject)
 | |
| HX_DECLARE_CLASS2(openfl,display,DisplayObjectContainer)
 | |
| HX_DECLARE_CLASS2(openfl,display,IBitmapDrawable)
 | |
| HX_DECLARE_CLASS2(openfl,display,InteractiveObject)
 | |
| HX_DECLARE_CLASS2(openfl,display,MovieClip)
 | |
| HX_DECLARE_CLASS2(openfl,display,Sprite)
 | |
| HX_DECLARE_CLASS2(openfl,events,Event)
 | |
| HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
 | |
| HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
 | |
| HX_DECLARE_CLASS2(openfl,media,Sound)
 | |
| HX_DECLARE_CLASS2(openfl,text,Font)
 | |
| HX_DECLARE_CLASS2(openfl,utils,AssetLibrary)
 | |
| HX_DECLARE_CLASS2(openfl,utils,Assets)
 | |
| HX_DECLARE_CLASS2(openfl,utils,ByteArrayData)
 | |
| HX_DECLARE_CLASS2(openfl,utils,IAssetCache)
 | |
| HX_DECLARE_CLASS2(openfl,utils,IDataInput)
 | |
| HX_DECLARE_CLASS2(openfl,utils,IDataOutput)
 | |
| 
 | |
| namespace openfl{
 | |
| namespace utils{
 | |
| 
 | |
| 
 | |
| class HXCPP_CLASS_ATTRIBUTES Assets_obj : public hx::Object
 | |
| {
 | |
| 	public:
 | |
| 		typedef hx::Object super;
 | |
| 		typedef Assets_obj OBJ_;
 | |
| 		Assets_obj();
 | |
| 
 | |
| 	public:
 | |
| 		enum { _hx_ClassId = 0x45768360 };
 | |
| 
 | |
| 		void __construct();
 | |
| 		inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.utils.Assets")
 | |
| 			{ 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.utils.Assets"); }
 | |
| 
 | |
| 		inline static hx::ObjectPtr< Assets_obj > __new() {
 | |
| 			hx::ObjectPtr< Assets_obj > __this = new Assets_obj();
 | |
| 			__this->__construct();
 | |
| 			return __this;
 | |
| 		}
 | |
| 
 | |
| 		inline static hx::ObjectPtr< Assets_obj > __alloc(hx::Ctx *_hx_ctx) {
 | |
| 			Assets_obj *__this = (Assets_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Assets_obj), false, "openfl.utils.Assets"));
 | |
| 			*(void **)__this = Assets_obj::_hx_vtable;
 | |
| 			return __this;
 | |
| 		}
 | |
| 
 | |
| 		static void * _hx_vtable;
 | |
| 		static Dynamic __CreateEmpty();
 | |
| 		static Dynamic __Create(hx::DynamicArray inArgs);
 | |
| 		//~Assets_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_("Assets",a3,bc,97,80); }
 | |
| 
 | |
| 		static void __boot();
 | |
| 		static ::Dynamic cache;
 | |
| 		static  ::openfl::events::EventDispatcher dispatcher;
 | |
| 		static void addEventListener(::String type, ::Dynamic listener,hx::Null< bool >  useCapture,hx::Null< int >  priority,hx::Null< bool >  useWeakReference);
 | |
| 		static ::Dynamic addEventListener_dyn();
 | |
| 
 | |
| 		static bool dispatchEvent( ::openfl::events::Event event);
 | |
| 		static ::Dynamic dispatchEvent_dyn();
 | |
| 
 | |
| 		static bool exists(::String id,::String type);
 | |
| 		static ::Dynamic exists_dyn();
 | |
| 
 | |
| 		static  ::openfl::display::BitmapData getBitmapData(::String id,hx::Null< bool >  useCache);
 | |
| 		static ::Dynamic getBitmapData_dyn();
 | |
| 
 | |
| 		static  ::openfl::utils::ByteArrayData getBytes(::String id);
 | |
| 		static ::Dynamic getBytes_dyn();
 | |
| 
 | |
| 		static  ::openfl::text::Font getFont(::String id,hx::Null< bool >  useCache);
 | |
| 		static ::Dynamic getFont_dyn();
 | |
| 
 | |
| 		static  ::lime::utils::AssetLibrary getLibrary(::String name);
 | |
| 		static ::Dynamic getLibrary_dyn();
 | |
| 
 | |
| 		static  ::openfl::display::MovieClip getMovieClip(::String id);
 | |
| 		static ::Dynamic getMovieClip_dyn();
 | |
| 
 | |
| 		static  ::openfl::media::Sound getMusic(::String id,hx::Null< bool >  useCache);
 | |
| 		static ::Dynamic getMusic_dyn();
 | |
| 
 | |
| 		static ::String getPath(::String id);
 | |
| 		static ::Dynamic getPath_dyn();
 | |
| 
 | |
| 		static  ::openfl::media::Sound getSound(::String id,hx::Null< bool >  useCache);
 | |
| 		static ::Dynamic getSound_dyn();
 | |
| 
 | |
| 		static ::String getText(::String id);
 | |
| 		static ::Dynamic getText_dyn();
 | |
| 
 | |
| 		static bool hasEventListener(::String type);
 | |
| 		static ::Dynamic hasEventListener_dyn();
 | |
| 
 | |
| 		static bool hasLibrary(::String name);
 | |
| 		static ::Dynamic hasLibrary_dyn();
 | |
| 
 | |
| 		static bool isLocal(::String id,::String type,hx::Null< bool >  useCache);
 | |
| 		static ::Dynamic isLocal_dyn();
 | |
| 
 | |
| 		static bool isValidBitmapData( ::openfl::display::BitmapData bitmapData);
 | |
| 		static ::Dynamic isValidBitmapData_dyn();
 | |
| 
 | |
| 		static bool isValidSound( ::openfl::media::Sound sound);
 | |
| 		static ::Dynamic isValidSound_dyn();
 | |
| 
 | |
| 		static ::Array< ::String > list(::String type);
 | |
| 		static ::Dynamic list_dyn();
 | |
| 
 | |
| 		static  ::lime::app::Future loadBitmapData(::String id, ::Dynamic useCache);
 | |
| 		static ::Dynamic loadBitmapData_dyn();
 | |
| 
 | |
| 		static  ::lime::app::Future loadBytes(::String id);
 | |
| 		static ::Dynamic loadBytes_dyn();
 | |
| 
 | |
| 		static  ::lime::app::Future loadFont(::String id, ::Dynamic useCache);
 | |
| 		static ::Dynamic loadFont_dyn();
 | |
| 
 | |
| 		static  ::lime::app::Future loadLibrary(::String name);
 | |
| 		static ::Dynamic loadLibrary_dyn();
 | |
| 
 | |
| 		static  ::lime::app::Future loadMusic(::String id, ::Dynamic useCache);
 | |
| 		static ::Dynamic loadMusic_dyn();
 | |
| 
 | |
| 		static  ::lime::app::Future loadMovieClip(::String id);
 | |
| 		static ::Dynamic loadMovieClip_dyn();
 | |
| 
 | |
| 		static  ::lime::app::Future loadSound(::String id, ::Dynamic useCache);
 | |
| 		static ::Dynamic loadSound_dyn();
 | |
| 
 | |
| 		static  ::lime::app::Future loadText(::String id);
 | |
| 		static ::Dynamic loadText_dyn();
 | |
| 
 | |
| 		static void registerLibrary(::String name, ::openfl::utils::AssetLibrary library);
 | |
| 		static ::Dynamic registerLibrary_dyn();
 | |
| 
 | |
| 		static void removeEventListener(::String type, ::Dynamic listener,hx::Null< bool >  capture);
 | |
| 		static ::Dynamic removeEventListener_dyn();
 | |
| 
 | |
| 		static hx::Class resolveClass(::String name);
 | |
| 		static ::Dynamic resolveClass_dyn();
 | |
| 
 | |
| 		static hx::Class resolveEnum(::String name);
 | |
| 		static ::Dynamic resolveEnum_dyn();
 | |
| 
 | |
| 		static void unloadLibrary(::String name);
 | |
| 		static ::Dynamic unloadLibrary_dyn();
 | |
| 
 | |
| 		static void LimeAssets_onChange();
 | |
| 		static ::Dynamic LimeAssets_onChange_dyn();
 | |
| 
 | |
| };
 | |
| 
 | |
| } // end namespace openfl
 | |
| } // end namespace utils
 | |
| 
 | |
| #endif /* INCLUDED_openfl_utils_Assets */ 
 |