Generated_Classes.cpp 382 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794
  1. // DO NOT EDIT. This file is generated
  2. #include "../Precompiled.h"
  3. #include "../AngelScript/APITemplates.h"
  4. #include "../AngelScript/Generated_Includes.h"
  5. #include "../AngelScript/Generated_Members.h"
  6. #include "../AngelScript/Manual.h"
  7. namespace Urho3D
  8. {
  9. // struct AnimationControl | File: ../Graphics/AnimationController.h
  10. static void Register_AnimationControl(asIScriptEngine* engine)
  11. {
  12. // AnimationControl::AnimationControl() | File: ../Graphics/AnimationController.h
  13. // Factory not registered since the @nocount object created in a script through the factory will never be deleted
  14. RegisterMembers_AnimationControl<AnimationControl>(engine, "AnimationControl");
  15. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationControl
  16. REGISTER_CLASS_MANUAL_PART_AnimationControl();
  17. #endif
  18. // AnimationControl& AnimationControl::operator =(const AnimationControl&) | Possible implicitly-declared
  19. RegisterImplicitlyDeclaredAssignOperatorIfPossible<AnimationControl>(engine, "AnimationControl");
  20. }
  21. // struct AnimationKeyFrame | File: ../Graphics/Animation.h
  22. static void Register_AnimationKeyFrame(asIScriptEngine* engine)
  23. {
  24. // AnimationKeyFrame::~AnimationKeyFrame() | Implicitly-declared
  25. engine->RegisterObjectBehaviour("AnimationKeyFrame", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(AnimationKeyFrame), AS_CALL_CDECL_OBJFIRST);
  26. RegisterMembers_AnimationKeyFrame<AnimationKeyFrame>(engine, "AnimationKeyFrame");
  27. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationKeyFrame
  28. REGISTER_CLASS_MANUAL_PART_AnimationKeyFrame();
  29. #endif
  30. // AnimationKeyFrame& AnimationKeyFrame::operator =(const AnimationKeyFrame&) | Possible implicitly-declared
  31. RegisterImplicitlyDeclaredAssignOperatorIfPossible<AnimationKeyFrame>(engine, "AnimationKeyFrame");
  32. }
  33. // struct AnimationStateTrack | File: ../Graphics/AnimationState.h
  34. static void Register_AnimationStateTrack(asIScriptEngine* engine)
  35. {
  36. // AnimationStateTrack::~AnimationStateTrack()
  37. engine->RegisterObjectBehaviour("AnimationStateTrack", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(AnimationStateTrack), AS_CALL_CDECL_OBJFIRST);
  38. RegisterMembers_AnimationStateTrack<AnimationStateTrack>(engine, "AnimationStateTrack");
  39. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationStateTrack
  40. REGISTER_CLASS_MANUAL_PART_AnimationStateTrack();
  41. #endif
  42. // AnimationStateTrack& AnimationStateTrack::operator =(const AnimationStateTrack&) | Possible implicitly-declared
  43. RegisterImplicitlyDeclaredAssignOperatorIfPossible<AnimationStateTrack>(engine, "AnimationStateTrack");
  44. }
  45. // struct AnimationTrack | File: ../Graphics/Animation.h
  46. static void Register_AnimationTrack(asIScriptEngine* engine)
  47. {
  48. // AnimationTrack::AnimationTrack() | File: ../Graphics/Animation.h
  49. // Factory not registered since the @nocount object created in a script through the factory will never be deleted
  50. RegisterMembers_AnimationTrack<AnimationTrack>(engine, "AnimationTrack");
  51. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationTrack
  52. REGISTER_CLASS_MANUAL_PART_AnimationTrack();
  53. #endif
  54. // AnimationTrack& AnimationTrack::operator =(const AnimationTrack&) | Possible implicitly-declared
  55. RegisterImplicitlyDeclaredAssignOperatorIfPossible<AnimationTrack>(engine, "AnimationTrack");
  56. }
  57. // struct AnimationTriggerPoint | File: ../Graphics/Animation.h
  58. static void Register_AnimationTriggerPoint(asIScriptEngine* engine)
  59. {
  60. // AnimationTriggerPoint::~AnimationTriggerPoint() | Implicitly-declared
  61. engine->RegisterObjectBehaviour("AnimationTriggerPoint", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(AnimationTriggerPoint), AS_CALL_CDECL_OBJFIRST);
  62. RegisterMembers_AnimationTriggerPoint<AnimationTriggerPoint>(engine, "AnimationTriggerPoint");
  63. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationTriggerPoint
  64. REGISTER_CLASS_MANUAL_PART_AnimationTriggerPoint();
  65. #endif
  66. // AnimationTriggerPoint& AnimationTriggerPoint::operator =(const AnimationTriggerPoint&) | Possible implicitly-declared
  67. RegisterImplicitlyDeclaredAssignOperatorIfPossible<AnimationTriggerPoint>(engine, "AnimationTriggerPoint");
  68. }
  69. // AreaAllocator::AreaAllocator(int width, int height, bool fastMode = true)
  70. static void AreaAllocator__AreaAllocator_int_int_bool(AreaAllocator* _ptr, int width, int height, bool fastMode)
  71. {
  72. new(_ptr) AreaAllocator(width, height, fastMode);
  73. }
  74. // AreaAllocator::AreaAllocator(int width, int height, int maxWidth, int maxHeight, bool fastMode = true)
  75. static void AreaAllocator__AreaAllocator_int_int_int_int_bool(AreaAllocator* _ptr, int width, int height, int maxWidth, int maxHeight, bool fastMode)
  76. {
  77. new(_ptr) AreaAllocator(width, height, maxWidth, maxHeight, fastMode);
  78. }
  79. // class AreaAllocator | File: ../Math/AreaAllocator.h
  80. static void Register_AreaAllocator(asIScriptEngine* engine)
  81. {
  82. // AreaAllocator::AreaAllocator(int width, int height, bool fastMode = true)
  83. engine->RegisterObjectBehaviour("AreaAllocator", asBEHAVE_CONSTRUCT, "void f(int, int, bool = true)", AS_FUNCTION_OBJFIRST(AreaAllocator__AreaAllocator_int_int_bool), AS_CALL_CDECL_OBJFIRST);
  84. // AreaAllocator::AreaAllocator(int width, int height, int maxWidth, int maxHeight, bool fastMode = true)
  85. engine->RegisterObjectBehaviour("AreaAllocator", asBEHAVE_CONSTRUCT, "void f(int, int, int, int, bool = true)", AS_FUNCTION_OBJFIRST(AreaAllocator__AreaAllocator_int_int_int_int_bool), AS_CALL_CDECL_OBJFIRST);
  86. // AreaAllocator::~AreaAllocator() | Implicitly-declared
  87. engine->RegisterObjectBehaviour("AreaAllocator", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(AreaAllocator), AS_CALL_CDECL_OBJFIRST);
  88. RegisterMembers_AreaAllocator<AreaAllocator>(engine, "AreaAllocator");
  89. #ifdef REGISTER_CLASS_MANUAL_PART_AreaAllocator
  90. REGISTER_CLASS_MANUAL_PART_AreaAllocator();
  91. #endif
  92. // AreaAllocator& AreaAllocator::operator =(const AreaAllocator&) | Possible implicitly-declared
  93. RegisterImplicitlyDeclaredAssignOperatorIfPossible<AreaAllocator>(engine, "AreaAllocator");
  94. }
  95. // struct AsyncProgress | File: ../Scene/Scene.h
  96. static void Register_AsyncProgress(asIScriptEngine* engine)
  97. {
  98. // AsyncProgress::~AsyncProgress() | Implicitly-declared
  99. engine->RegisterObjectBehaviour("AsyncProgress", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(AsyncProgress), AS_CALL_CDECL_OBJFIRST);
  100. RegisterMembers_AsyncProgress<AsyncProgress>(engine, "AsyncProgress");
  101. #ifdef REGISTER_CLASS_MANUAL_PART_AsyncProgress
  102. REGISTER_CLASS_MANUAL_PART_AsyncProgress();
  103. #endif
  104. // AsyncProgress& AsyncProgress::operator =(const AsyncProgress&) | Possible implicitly-declared
  105. RegisterImplicitlyDeclaredAssignOperatorIfPossible<AsyncProgress>(engine, "AsyncProgress");
  106. }
  107. // struct AttributeInfo | File: ../Core/Attribute.h
  108. static void Register_AttributeInfo(asIScriptEngine* engine)
  109. {
  110. // AttributeInfo::AttributeInfo(VariantType type, const char* name, const SharedPtr<AttributeAccessor>& accessor, const char** enumNames, const Variant& defaultValue, AttributeModeFlags mode)
  111. // Error: type "const char*" can not automatically bind
  112. // AttributeInfo::~AttributeInfo() | Implicitly-declared
  113. engine->RegisterObjectBehaviour("AttributeInfo", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(AttributeInfo), AS_CALL_CDECL_OBJFIRST);
  114. RegisterMembers_AttributeInfo<AttributeInfo>(engine, "AttributeInfo");
  115. #ifdef REGISTER_CLASS_MANUAL_PART_AttributeInfo
  116. REGISTER_CLASS_MANUAL_PART_AttributeInfo();
  117. #endif
  118. // AttributeInfo& AttributeInfo::operator =(const AttributeInfo&) | Possible implicitly-declared
  119. RegisterImplicitlyDeclaredAssignOperatorIfPossible<AttributeInfo>(engine, "AttributeInfo");
  120. }
  121. // struct BackgroundLoadItem | File: ../Resource/BackgroundLoader.h
  122. static void Register_BackgroundLoadItem(asIScriptEngine* engine)
  123. {
  124. // BackgroundLoadItem::~BackgroundLoadItem() | Implicitly-declared
  125. engine->RegisterObjectBehaviour("BackgroundLoadItem", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(BackgroundLoadItem), AS_CALL_CDECL_OBJFIRST);
  126. RegisterMembers_BackgroundLoadItem<BackgroundLoadItem>(engine, "BackgroundLoadItem");
  127. #ifdef REGISTER_CLASS_MANUAL_PART_BackgroundLoadItem
  128. REGISTER_CLASS_MANUAL_PART_BackgroundLoadItem();
  129. #endif
  130. // BackgroundLoadItem& BackgroundLoadItem::operator =(const BackgroundLoadItem&) | Possible implicitly-declared
  131. RegisterImplicitlyDeclaredAssignOperatorIfPossible<BackgroundLoadItem>(engine, "BackgroundLoadItem");
  132. }
  133. // explicit Batch::Batch(const SourceBatch& rhs)
  134. static void Batch__Batch_constspSourceBatchamp(Batch* _ptr, const SourceBatch& rhs)
  135. {
  136. new(_ptr) Batch(rhs);
  137. }
  138. // struct Batch | File: ../Graphics/Batch.h
  139. static void Register_Batch(asIScriptEngine* engine)
  140. {
  141. // explicit Batch::Batch(const SourceBatch& rhs)
  142. engine->RegisterObjectBehaviour("Batch", asBEHAVE_CONSTRUCT, "void f(const SourceBatch&in)", AS_FUNCTION_OBJFIRST(Batch__Batch_constspSourceBatchamp), AS_CALL_CDECL_OBJFIRST);
  143. // Batch::~Batch() | Implicitly-declared
  144. engine->RegisterObjectBehaviour("Batch", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Batch), AS_CALL_CDECL_OBJFIRST);
  145. RegisterMembers_Batch<Batch>(engine, "Batch");
  146. #ifdef REGISTER_CLASS_MANUAL_PART_Batch
  147. REGISTER_CLASS_MANUAL_PART_Batch();
  148. #endif
  149. // Batch& Batch::operator =(const Batch&) | Possible implicitly-declared
  150. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Batch>(engine, "Batch");
  151. }
  152. // explicit BatchGroupKey::BatchGroupKey(const Batch& batch)
  153. static void BatchGroupKey__BatchGroupKey_constspBatchamp(BatchGroupKey* _ptr, const Batch& batch)
  154. {
  155. new(_ptr) BatchGroupKey(batch);
  156. }
  157. // struct BatchGroupKey | File: ../Graphics/Batch.h
  158. static void Register_BatchGroupKey(asIScriptEngine* engine)
  159. {
  160. // explicit BatchGroupKey::BatchGroupKey(const Batch& batch)
  161. engine->RegisterObjectBehaviour("BatchGroupKey", asBEHAVE_CONSTRUCT, "void f(const Batch&in)", AS_FUNCTION_OBJFIRST(BatchGroupKey__BatchGroupKey_constspBatchamp), AS_CALL_CDECL_OBJFIRST);
  162. // BatchGroupKey::~BatchGroupKey() | Implicitly-declared
  163. engine->RegisterObjectBehaviour("BatchGroupKey", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(BatchGroupKey), AS_CALL_CDECL_OBJFIRST);
  164. RegisterMembers_BatchGroupKey<BatchGroupKey>(engine, "BatchGroupKey");
  165. #ifdef REGISTER_CLASS_MANUAL_PART_BatchGroupKey
  166. REGISTER_CLASS_MANUAL_PART_BatchGroupKey();
  167. #endif
  168. // BatchGroupKey& BatchGroupKey::operator =(const BatchGroupKey&) | Possible implicitly-declared
  169. RegisterImplicitlyDeclaredAssignOperatorIfPossible<BatchGroupKey>(engine, "BatchGroupKey");
  170. }
  171. // struct BatchQueue | File: ../Graphics/Batch.h
  172. static void Register_BatchQueue(asIScriptEngine* engine)
  173. {
  174. // BatchQueue::~BatchQueue() | Implicitly-declared
  175. engine->RegisterObjectBehaviour("BatchQueue", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(BatchQueue), AS_CALL_CDECL_OBJFIRST);
  176. RegisterMembers_BatchQueue<BatchQueue>(engine, "BatchQueue");
  177. #ifdef REGISTER_CLASS_MANUAL_PART_BatchQueue
  178. REGISTER_CLASS_MANUAL_PART_BatchQueue();
  179. #endif
  180. // BatchQueue& BatchQueue::operator =(const BatchQueue&) | Possible implicitly-declared
  181. RegisterImplicitlyDeclaredAssignOperatorIfPossible<BatchQueue>(engine, "BatchQueue");
  182. }
  183. // BiasParameters::BiasParameters(float constantBias, float slopeScaledBias, float normalOffset = 0.0f)
  184. static void BiasParameters__BiasParameters_float_float_float(BiasParameters* _ptr, float constantBias, float slopeScaledBias, float normalOffset)
  185. {
  186. new(_ptr) BiasParameters(constantBias, slopeScaledBias, normalOffset);
  187. }
  188. // struct BiasParameters | File: ../Graphics/Light.h
  189. static void Register_BiasParameters(asIScriptEngine* engine)
  190. {
  191. // BiasParameters::BiasParameters(float constantBias, float slopeScaledBias, float normalOffset = 0.0f)
  192. engine->RegisterObjectBehaviour("BiasParameters", asBEHAVE_CONSTRUCT, "void f(float, float, float = 0.0f)", AS_FUNCTION_OBJFIRST(BiasParameters__BiasParameters_float_float_float), AS_CALL_CDECL_OBJFIRST);
  193. RegisterMembers_BiasParameters<BiasParameters>(engine, "BiasParameters");
  194. #ifdef REGISTER_CLASS_MANUAL_PART_BiasParameters
  195. REGISTER_CLASS_MANUAL_PART_BiasParameters();
  196. #endif
  197. // BiasParameters& BiasParameters::operator =(const BiasParameters&) | Possible implicitly-declared
  198. RegisterImplicitlyDeclaredAssignOperatorIfPossible<BiasParameters>(engine, "BiasParameters");
  199. }
  200. // BigInt::BigInt(const String& str)
  201. static void BigInt__BigInt_constspStringamp(BigInt* _ptr, const String& str)
  202. {
  203. new(_ptr) BigInt(str);
  204. }
  205. // BigInt::BigInt(i32 value)
  206. static void BigInt__BigInt_i32(BigInt* _ptr, i32 value)
  207. {
  208. new(_ptr) BigInt(value);
  209. }
  210. // BigInt::BigInt(i64 value)
  211. static void BigInt__BigInt_i64(BigInt* _ptr, i64 value)
  212. {
  213. new(_ptr) BigInt(value);
  214. }
  215. // BigInt::BigInt(u32 value)
  216. static void BigInt__BigInt_u32(BigInt* _ptr, u32 value)
  217. {
  218. new(_ptr) BigInt(value);
  219. }
  220. // BigInt::BigInt(u64 value)
  221. static void BigInt__BigInt_u64(BigInt* _ptr, u64 value)
  222. {
  223. new(_ptr) BigInt(value);
  224. }
  225. // class BigInt | File: ../Math/BigInt.h
  226. static void Register_BigInt(asIScriptEngine* engine)
  227. {
  228. // BigInt::BigInt(const String& str)
  229. engine->RegisterObjectBehaviour("BigInt", asBEHAVE_CONSTRUCT, "void f(const String&in)", AS_FUNCTION_OBJFIRST(BigInt__BigInt_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  230. // BigInt::BigInt(i32 value)
  231. engine->RegisterObjectBehaviour("BigInt", asBEHAVE_CONSTRUCT, "void f(int)", AS_FUNCTION_OBJFIRST(BigInt__BigInt_i32), AS_CALL_CDECL_OBJFIRST);
  232. // BigInt::BigInt(i64 value)
  233. engine->RegisterObjectBehaviour("BigInt", asBEHAVE_CONSTRUCT, "void f(int64)", AS_FUNCTION_OBJFIRST(BigInt__BigInt_i64), AS_CALL_CDECL_OBJFIRST);
  234. // BigInt::BigInt(u32 value)
  235. engine->RegisterObjectBehaviour("BigInt", asBEHAVE_CONSTRUCT, "void f(uint)", AS_FUNCTION_OBJFIRST(BigInt__BigInt_u32), AS_CALL_CDECL_OBJFIRST);
  236. // BigInt::BigInt(u64 value)
  237. engine->RegisterObjectBehaviour("BigInt", asBEHAVE_CONSTRUCT, "void f(uint64)", AS_FUNCTION_OBJFIRST(BigInt__BigInt_u64), AS_CALL_CDECL_OBJFIRST);
  238. // BigInt::~BigInt() | Implicitly-declared
  239. engine->RegisterObjectBehaviour("BigInt", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(BigInt), AS_CALL_CDECL_OBJFIRST);
  240. RegisterMembers_BigInt<BigInt>(engine, "BigInt");
  241. #ifdef REGISTER_CLASS_MANUAL_PART_BigInt
  242. REGISTER_CLASS_MANUAL_PART_BigInt();
  243. #endif
  244. // BigInt& BigInt::operator =(const BigInt&) | Possible implicitly-declared
  245. RegisterImplicitlyDeclaredAssignOperatorIfPossible<BigInt>(engine, "BigInt");
  246. }
  247. // struct Billboard | File: ../Graphics/BillboardSet.h
  248. static void Register_Billboard(asIScriptEngine* engine)
  249. {
  250. RegisterMembers_Billboard<Billboard>(engine, "Billboard");
  251. #ifdef REGISTER_CLASS_MANUAL_PART_Billboard
  252. REGISTER_CLASS_MANUAL_PART_Billboard();
  253. #endif
  254. // Billboard& Billboard::operator =(const Billboard&) | Possible implicitly-declared
  255. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Billboard>(engine, "Billboard");
  256. }
  257. // struct Bone | File: ../Graphics/Skeleton.h
  258. static void Register_Bone(asIScriptEngine* engine)
  259. {
  260. // Bone::Bone() | File: ../Graphics/Skeleton.h
  261. // Factory not registered since the @nocount object created in a script through the factory will never be deleted
  262. RegisterMembers_Bone<Bone>(engine, "Bone");
  263. #ifdef REGISTER_CLASS_MANUAL_PART_Bone
  264. REGISTER_CLASS_MANUAL_PART_Bone();
  265. #endif
  266. // Bone& Bone::operator =(const Bone&) | Possible implicitly-declared
  267. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Bone>(engine, "Bone");
  268. }
  269. // BoundingBox::BoundingBox(const BoundingBox& box) noexcept
  270. static void BoundingBox__BoundingBox_constspBoundingBoxamp(BoundingBox* _ptr, const BoundingBox& box)
  271. {
  272. new(_ptr) BoundingBox(box);
  273. }
  274. // explicit BoundingBox::BoundingBox(const Rect& rect) noexcept
  275. static void BoundingBox__BoundingBox_constspRectamp(BoundingBox* _ptr, const Rect& rect)
  276. {
  277. new(_ptr) BoundingBox(rect);
  278. }
  279. // BoundingBox::BoundingBox(const Vector3& min, const Vector3& max) noexcept
  280. static void BoundingBox__BoundingBox_constspVector3amp_constspVector3amp(BoundingBox* _ptr, const Vector3& min, const Vector3& max)
  281. {
  282. new(_ptr) BoundingBox(min, max);
  283. }
  284. // BoundingBox::BoundingBox(float min, float max) noexcept
  285. static void BoundingBox__BoundingBox_float_float(BoundingBox* _ptr, float min, float max)
  286. {
  287. new(_ptr) BoundingBox(min, max);
  288. }
  289. // explicit BoundingBox::BoundingBox(const Frustum& frustum)
  290. static void BoundingBox__BoundingBox_constspFrustumamp(BoundingBox* _ptr, const Frustum& frustum)
  291. {
  292. new(_ptr) BoundingBox(frustum);
  293. }
  294. // explicit BoundingBox::BoundingBox(const Polyhedron& poly)
  295. static void BoundingBox__BoundingBox_constspPolyhedronamp(BoundingBox* _ptr, const Polyhedron& poly)
  296. {
  297. new(_ptr) BoundingBox(poly);
  298. }
  299. // explicit BoundingBox::BoundingBox(const Sphere& sphere)
  300. static void BoundingBox__BoundingBox_constspSphereamp(BoundingBox* _ptr, const Sphere& sphere)
  301. {
  302. new(_ptr) BoundingBox(sphere);
  303. }
  304. // class BoundingBox | File: ../Math/BoundingBox.h
  305. static void Register_BoundingBox(asIScriptEngine* engine)
  306. {
  307. // BoundingBox::BoundingBox(const Vector3* vertices, unsigned count)
  308. // Error: type "const Vector3*" can not automatically bind
  309. // BoundingBox::BoundingBox(const BoundingBox& box) noexcept
  310. engine->RegisterObjectBehaviour("BoundingBox", asBEHAVE_CONSTRUCT, "void f(const BoundingBox&in)", AS_FUNCTION_OBJFIRST(BoundingBox__BoundingBox_constspBoundingBoxamp), AS_CALL_CDECL_OBJFIRST);
  311. // explicit BoundingBox::BoundingBox(const Rect& rect) noexcept
  312. engine->RegisterObjectBehaviour("BoundingBox", asBEHAVE_CONSTRUCT, "void f(const Rect&in)", AS_FUNCTION_OBJFIRST(BoundingBox__BoundingBox_constspRectamp), AS_CALL_CDECL_OBJFIRST);
  313. // BoundingBox::BoundingBox(const Vector3& min, const Vector3& max) noexcept
  314. engine->RegisterObjectBehaviour("BoundingBox", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Vector3&in)", AS_FUNCTION_OBJFIRST(BoundingBox__BoundingBox_constspVector3amp_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  315. // BoundingBox::BoundingBox(float min, float max) noexcept
  316. engine->RegisterObjectBehaviour("BoundingBox", asBEHAVE_CONSTRUCT, "void f(float, float)", AS_FUNCTION_OBJFIRST(BoundingBox__BoundingBox_float_float), AS_CALL_CDECL_OBJFIRST);
  317. // explicit BoundingBox::BoundingBox(const Frustum& frustum)
  318. engine->RegisterObjectBehaviour("BoundingBox", asBEHAVE_CONSTRUCT, "void f(const Frustum&in)", AS_FUNCTION_OBJFIRST(BoundingBox__BoundingBox_constspFrustumamp), AS_CALL_CDECL_OBJFIRST);
  319. // explicit BoundingBox::BoundingBox(const Polyhedron& poly)
  320. engine->RegisterObjectBehaviour("BoundingBox", asBEHAVE_CONSTRUCT, "void f(const Polyhedron&in)", AS_FUNCTION_OBJFIRST(BoundingBox__BoundingBox_constspPolyhedronamp), AS_CALL_CDECL_OBJFIRST);
  321. // explicit BoundingBox::BoundingBox(const Sphere& sphere)
  322. engine->RegisterObjectBehaviour("BoundingBox", asBEHAVE_CONSTRUCT, "void f(const Sphere&in)", AS_FUNCTION_OBJFIRST(BoundingBox__BoundingBox_constspSphereamp), AS_CALL_CDECL_OBJFIRST);
  323. RegisterMembers_BoundingBox<BoundingBox>(engine, "BoundingBox");
  324. #ifdef REGISTER_CLASS_MANUAL_PART_BoundingBox
  325. REGISTER_CLASS_MANUAL_PART_BoundingBox();
  326. #endif
  327. }
  328. // CascadeParameters::CascadeParameters(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f)
  329. static void CascadeParameters__CascadeParameters_float_float_float_float_float_float(CascadeParameters* _ptr, float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust)
  330. {
  331. new(_ptr) CascadeParameters(split1, split2, split3, split4, fadeStart, biasAutoAdjust);
  332. }
  333. // struct CascadeParameters | File: ../Graphics/Light.h
  334. static void Register_CascadeParameters(asIScriptEngine* engine)
  335. {
  336. // CascadeParameters::CascadeParameters(float split1, float split2, float split3, float split4, float fadeStart, float biasAutoAdjust = 1.0f)
  337. engine->RegisterObjectBehaviour("CascadeParameters", asBEHAVE_CONSTRUCT, "void f(float, float, float, float, float, float = 1.0f)", AS_FUNCTION_OBJFIRST(CascadeParameters__CascadeParameters_float_float_float_float_float_float), AS_CALL_CDECL_OBJFIRST);
  338. RegisterMembers_CascadeParameters<CascadeParameters>(engine, "CascadeParameters");
  339. #ifdef REGISTER_CLASS_MANUAL_PART_CascadeParameters
  340. REGISTER_CLASS_MANUAL_PART_CascadeParameters();
  341. #endif
  342. // CascadeParameters& CascadeParameters::operator =(const CascadeParameters&) | Possible implicitly-declared
  343. RegisterImplicitlyDeclaredAssignOperatorIfPossible<CascadeParameters>(engine, "CascadeParameters");
  344. }
  345. // struct CharLocation | File: ../UI/Text.h
  346. static void Register_CharLocation(asIScriptEngine* engine)
  347. {
  348. // CharLocation::~CharLocation() | Implicitly-declared
  349. engine->RegisterObjectBehaviour("CharLocation", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(CharLocation), AS_CALL_CDECL_OBJFIRST);
  350. RegisterMembers_CharLocation<CharLocation>(engine, "CharLocation");
  351. #ifdef REGISTER_CLASS_MANUAL_PART_CharLocation
  352. REGISTER_CLASS_MANUAL_PART_CharLocation();
  353. #endif
  354. // CharLocation& CharLocation::operator =(const CharLocation&) | Possible implicitly-declared
  355. RegisterImplicitlyDeclaredAssignOperatorIfPossible<CharLocation>(engine, "CharLocation");
  356. }
  357. // Color::Color(const Color& color) noexcept = default
  358. static void Color__Color_constspColoramp(Color* _ptr, const Color& color)
  359. {
  360. new(_ptr) Color(color);
  361. }
  362. // Color::Color(const Color& color, float a) noexcept
  363. static void Color__Color_constspColoramp_float(Color* _ptr, const Color& color, float a)
  364. {
  365. new(_ptr) Color(color, a);
  366. }
  367. // Color::Color(float r, float g, float b) noexcept
  368. static void Color__Color_float_float_float(Color* _ptr, float r, float g, float b)
  369. {
  370. new(_ptr) Color(r, g, b);
  371. }
  372. // Color::Color(float r, float g, float b, float a) noexcept
  373. static void Color__Color_float_float_float_float(Color* _ptr, float r, float g, float b, float a)
  374. {
  375. new(_ptr) Color(r, g, b, a);
  376. }
  377. // explicit Color::Color(const Vector3& color)
  378. static void Color__Color_constspVector3amp(Color* _ptr, const Vector3& color)
  379. {
  380. new(_ptr) Color(color);
  381. }
  382. // explicit Color::Color(const Vector4& color)
  383. static void Color__Color_constspVector4amp(Color* _ptr, const Vector4& color)
  384. {
  385. new(_ptr) Color(color);
  386. }
  387. // class Color | File: ../Math/Color.h
  388. static void Register_Color(asIScriptEngine* engine)
  389. {
  390. // explicit Color::Color(const float* data) noexcept
  391. // Error: type "const float*" can not automatically bind
  392. // explicit Color::Color(unsigned color, const ChannelMask& mask = ABGR)
  393. // Error: type "const ChannelMask&" can not automatically bind
  394. // Color::Color(const Color& color) noexcept = default
  395. engine->RegisterObjectBehaviour("Color", asBEHAVE_CONSTRUCT, "void f(const Color&in)", AS_FUNCTION_OBJFIRST(Color__Color_constspColoramp), AS_CALL_CDECL_OBJFIRST);
  396. // Color::Color(const Color& color, float a) noexcept
  397. engine->RegisterObjectBehaviour("Color", asBEHAVE_CONSTRUCT, "void f(const Color&in, float)", AS_FUNCTION_OBJFIRST(Color__Color_constspColoramp_float), AS_CALL_CDECL_OBJFIRST);
  398. // Color::Color(float r, float g, float b) noexcept
  399. engine->RegisterObjectBehaviour("Color", asBEHAVE_CONSTRUCT, "void f(float, float, float)", AS_FUNCTION_OBJFIRST(Color__Color_float_float_float), AS_CALL_CDECL_OBJFIRST);
  400. // Color::Color(float r, float g, float b, float a) noexcept
  401. engine->RegisterObjectBehaviour("Color", asBEHAVE_CONSTRUCT, "void f(float, float, float, float)", AS_FUNCTION_OBJFIRST(Color__Color_float_float_float_float), AS_CALL_CDECL_OBJFIRST);
  402. // explicit Color::Color(const Vector3& color)
  403. engine->RegisterObjectBehaviour("Color", asBEHAVE_CONSTRUCT, "void f(const Vector3&in)", AS_FUNCTION_OBJFIRST(Color__Color_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  404. // explicit Color::Color(const Vector4& color)
  405. engine->RegisterObjectBehaviour("Color", asBEHAVE_CONSTRUCT, "void f(const Vector4&in)", AS_FUNCTION_OBJFIRST(Color__Color_constspVector4amp), AS_CALL_CDECL_OBJFIRST);
  406. RegisterMembers_Color<Color>(engine, "Color");
  407. #ifdef REGISTER_CLASS_MANUAL_PART_Color
  408. REGISTER_CLASS_MANUAL_PART_Color();
  409. #endif
  410. }
  411. // struct ColorFrame | File: ../Graphics/ParticleEffect.h
  412. static void Register_ColorFrame(asIScriptEngine* engine)
  413. {
  414. // ColorFrame::ColorFrame() | File: ../Graphics/ParticleEffect.h
  415. // Factory not registered since the @nocount object created in a script through the factory will never be deleted
  416. // ColorFrame::ColorFrame(const Color& color, float time) | File: ../Graphics/ParticleEffect.h
  417. // Factory not registered since the @nocount object created in a script through the factory will never be deleted
  418. // explicit ColorFrame::ColorFrame(const Color& color) | File: ../Graphics/ParticleEffect.h
  419. // Factory not registered since the @nocount object created in a script through the factory will never be deleted
  420. RegisterMembers_ColorFrame<ColorFrame>(engine, "ColorFrame");
  421. #ifdef REGISTER_CLASS_MANUAL_PART_ColorFrame
  422. REGISTER_CLASS_MANUAL_PART_ColorFrame();
  423. #endif
  424. // ColorFrame& ColorFrame::operator =(const ColorFrame&) | Possible implicitly-declared
  425. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ColorFrame>(engine, "ColorFrame");
  426. }
  427. // struct CompressedLevel | File: ../Resource/Image.h
  428. static void Register_CompressedLevel(asIScriptEngine* engine)
  429. {
  430. // CompressedLevel::~CompressedLevel() | Implicitly-declared
  431. engine->RegisterObjectBehaviour("CompressedLevel", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(CompressedLevel), AS_CALL_CDECL_OBJFIRST);
  432. RegisterMembers_CompressedLevel<CompressedLevel>(engine, "CompressedLevel");
  433. #ifdef REGISTER_CLASS_MANUAL_PART_CompressedLevel
  434. REGISTER_CLASS_MANUAL_PART_CompressedLevel();
  435. #endif
  436. // CompressedLevel& CompressedLevel::operator =(const CompressedLevel&) | Possible implicitly-declared
  437. RegisterImplicitlyDeclaredAssignOperatorIfPossible<CompressedLevel>(engine, "CompressedLevel");
  438. }
  439. // class Condition | File: ../Core/Condition.h
  440. static void Register_Condition(asIScriptEngine* engine)
  441. {
  442. // Condition::~Condition()
  443. engine->RegisterObjectBehaviour("Condition", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Condition), AS_CALL_CDECL_OBJFIRST);
  444. RegisterMembers_Condition<Condition>(engine, "Condition");
  445. #ifdef REGISTER_CLASS_MANUAL_PART_Condition
  446. REGISTER_CLASS_MANUAL_PART_Condition();
  447. #endif
  448. // Condition& Condition::operator =(const Condition&) | Possible implicitly-declared
  449. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Condition>(engine, "Condition");
  450. }
  451. // class Controls | File: ../Input/Controls.h
  452. static void Register_Controls(asIScriptEngine* engine)
  453. {
  454. // Controls::~Controls()
  455. engine->RegisterObjectBehaviour("Controls", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Controls), AS_CALL_CDECL_OBJFIRST);
  456. RegisterMembers_Controls<Controls>(engine, "Controls");
  457. #ifdef REGISTER_CLASS_MANUAL_PART_Controls
  458. REGISTER_CLASS_MANUAL_PART_Controls();
  459. #endif
  460. // Controls& Controls::operator =(const Controls&) | Possible implicitly-declared
  461. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Controls>(engine, "Controls");
  462. }
  463. // explicit CursorShapeInfo::CursorShapeInfo(int systemCursor)
  464. static void CursorShapeInfo__CursorShapeInfo_int(CursorShapeInfo* _ptr, int systemCursor)
  465. {
  466. new(_ptr) CursorShapeInfo(systemCursor);
  467. }
  468. // struct CursorShapeInfo | File: ../UI/Cursor.h
  469. static void Register_CursorShapeInfo(asIScriptEngine* engine)
  470. {
  471. // explicit CursorShapeInfo::CursorShapeInfo(int systemCursor)
  472. engine->RegisterObjectBehaviour("CursorShapeInfo", asBEHAVE_CONSTRUCT, "void f(int)", AS_FUNCTION_OBJFIRST(CursorShapeInfo__CursorShapeInfo_int), AS_CALL_CDECL_OBJFIRST);
  473. // CursorShapeInfo::~CursorShapeInfo() | Implicitly-declared
  474. engine->RegisterObjectBehaviour("CursorShapeInfo", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(CursorShapeInfo), AS_CALL_CDECL_OBJFIRST);
  475. RegisterMembers_CursorShapeInfo<CursorShapeInfo>(engine, "CursorShapeInfo");
  476. #ifdef REGISTER_CLASS_MANUAL_PART_CursorShapeInfo
  477. REGISTER_CLASS_MANUAL_PART_CursorShapeInfo();
  478. #endif
  479. // CursorShapeInfo& CursorShapeInfo::operator =(const CursorShapeInfo&) | Possible implicitly-declared
  480. RegisterImplicitlyDeclaredAssignOperatorIfPossible<CursorShapeInfo>(engine, "CursorShapeInfo");
  481. }
  482. // struct CustomGeometryVertex | File: ../Graphics/CustomGeometry.h
  483. static void Register_CustomGeometryVertex(asIScriptEngine* engine)
  484. {
  485. RegisterMembers_CustomGeometryVertex<CustomGeometryVertex>(engine, "CustomGeometryVertex");
  486. #ifdef REGISTER_CLASS_MANUAL_PART_CustomGeometryVertex
  487. REGISTER_CLASS_MANUAL_PART_CustomGeometryVertex();
  488. #endif
  489. // CustomGeometryVertex& CustomGeometryVertex::operator =(const CustomGeometryVertex&) | Possible implicitly-declared
  490. RegisterImplicitlyDeclaredAssignOperatorIfPossible<CustomGeometryVertex>(engine, "CustomGeometryVertex");
  491. }
  492. // DebugLine::DebugLine(const Vector3& start, const Vector3& end, unsigned color)
  493. static void DebugLine__DebugLine_constspVector3amp_constspVector3amp_unsigned(DebugLine* _ptr, const Vector3& start, const Vector3& end, unsigned color)
  494. {
  495. new(_ptr) DebugLine(start, end, color);
  496. }
  497. // struct DebugLine | File: ../Graphics/DebugRenderer.h
  498. static void Register_DebugLine(asIScriptEngine* engine)
  499. {
  500. // DebugLine::DebugLine(const Vector3& start, const Vector3& end, unsigned color)
  501. engine->RegisterObjectBehaviour("DebugLine", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Vector3&in, uint)", AS_FUNCTION_OBJFIRST(DebugLine__DebugLine_constspVector3amp_constspVector3amp_unsigned), AS_CALL_CDECL_OBJFIRST);
  502. // DebugLine::~DebugLine() | Implicitly-declared
  503. engine->RegisterObjectBehaviour("DebugLine", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(DebugLine), AS_CALL_CDECL_OBJFIRST);
  504. RegisterMembers_DebugLine<DebugLine>(engine, "DebugLine");
  505. #ifdef REGISTER_CLASS_MANUAL_PART_DebugLine
  506. REGISTER_CLASS_MANUAL_PART_DebugLine();
  507. #endif
  508. // DebugLine& DebugLine::operator =(const DebugLine&) | Possible implicitly-declared
  509. RegisterImplicitlyDeclaredAssignOperatorIfPossible<DebugLine>(engine, "DebugLine");
  510. }
  511. // DebugTriangle::DebugTriangle(const Vector3& v1, const Vector3& v2, const Vector3& v3, unsigned color)
  512. static void DebugTriangle__DebugTriangle_constspVector3amp_constspVector3amp_constspVector3amp_unsigned(DebugTriangle* _ptr, const Vector3& v1, const Vector3& v2, const Vector3& v3, unsigned color)
  513. {
  514. new(_ptr) DebugTriangle(v1, v2, v3, color);
  515. }
  516. // struct DebugTriangle | File: ../Graphics/DebugRenderer.h
  517. static void Register_DebugTriangle(asIScriptEngine* engine)
  518. {
  519. // DebugTriangle::DebugTriangle(const Vector3& v1, const Vector3& v2, const Vector3& v3, unsigned color)
  520. engine->RegisterObjectBehaviour("DebugTriangle", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Vector3&in, const Vector3&in, uint)", AS_FUNCTION_OBJFIRST(DebugTriangle__DebugTriangle_constspVector3amp_constspVector3amp_constspVector3amp_unsigned), AS_CALL_CDECL_OBJFIRST);
  521. // DebugTriangle::~DebugTriangle() | Implicitly-declared
  522. engine->RegisterObjectBehaviour("DebugTriangle", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(DebugTriangle), AS_CALL_CDECL_OBJFIRST);
  523. RegisterMembers_DebugTriangle<DebugTriangle>(engine, "DebugTriangle");
  524. #ifdef REGISTER_CLASS_MANUAL_PART_DebugTriangle
  525. REGISTER_CLASS_MANUAL_PART_DebugTriangle();
  526. #endif
  527. // DebugTriangle& DebugTriangle::operator =(const DebugTriangle&) | Possible implicitly-declared
  528. RegisterImplicitlyDeclaredAssignOperatorIfPossible<DebugTriangle>(engine, "DebugTriangle");
  529. }
  530. // struct Decal | File: ../Graphics/DecalSet.h
  531. static void Register_Decal(asIScriptEngine* engine)
  532. {
  533. // Decal::~Decal() | Implicitly-declared
  534. engine->RegisterObjectBehaviour("Decal", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Decal), AS_CALL_CDECL_OBJFIRST);
  535. RegisterMembers_Decal<Decal>(engine, "Decal");
  536. #ifdef REGISTER_CLASS_MANUAL_PART_Decal
  537. REGISTER_CLASS_MANUAL_PART_Decal();
  538. #endif
  539. // Decal& Decal::operator =(const Decal&) | Possible implicitly-declared
  540. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Decal>(engine, "Decal");
  541. }
  542. // DecalVertex::DecalVertex(const Vector3& position, const Vector3& normal)
  543. static void DecalVertex__DecalVertex_constspVector3amp_constspVector3amp(DecalVertex* _ptr, const Vector3& position, const Vector3& normal)
  544. {
  545. new(_ptr) DecalVertex(position, normal);
  546. }
  547. // struct DecalVertex | File: ../Graphics/DecalSet.h
  548. static void Register_DecalVertex(asIScriptEngine* engine)
  549. {
  550. // DecalVertex::DecalVertex(const Vector3& position, const Vector3& normal, const float* blendWeights, const unsigned char* blendIndices)
  551. // Error: type "const float*" can not automatically bind
  552. // DecalVertex::DecalVertex(const Vector3& position, const Vector3& normal)
  553. engine->RegisterObjectBehaviour("DecalVertex", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Vector3&in)", AS_FUNCTION_OBJFIRST(DecalVertex__DecalVertex_constspVector3amp_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  554. // DecalVertex::~DecalVertex() | Implicitly-declared
  555. engine->RegisterObjectBehaviour("DecalVertex", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(DecalVertex), AS_CALL_CDECL_OBJFIRST);
  556. RegisterMembers_DecalVertex<DecalVertex>(engine, "DecalVertex");
  557. #ifdef REGISTER_CLASS_MANUAL_PART_DecalVertex
  558. REGISTER_CLASS_MANUAL_PART_DecalVertex();
  559. #endif
  560. // DecalVertex& DecalVertex::operator =(const DecalVertex&) | Possible implicitly-declared
  561. RegisterImplicitlyDeclaredAssignOperatorIfPossible<DecalVertex>(engine, "DecalVertex");
  562. }
  563. // struct DepthValue | File: ../Graphics/OcclusionBuffer.h
  564. static void Register_DepthValue(asIScriptEngine* engine)
  565. {
  566. RegisterMembers_DepthValue<DepthValue>(engine, "DepthValue");
  567. #ifdef REGISTER_CLASS_MANUAL_PART_DepthValue
  568. REGISTER_CLASS_MANUAL_PART_DepthValue();
  569. #endif
  570. // DepthValue& DepthValue::operator =(const DepthValue&) | Possible implicitly-declared
  571. RegisterImplicitlyDeclaredAssignOperatorIfPossible<DepthValue>(engine, "DepthValue");
  572. }
  573. // class Deserializer | File: ../IO/Deserializer.h
  574. static void Register_Deserializer(asIScriptEngine* engine)
  575. {
  576. RegisterMembers_Deserializer<Deserializer>(engine, "Deserializer");
  577. #ifdef REGISTER_CLASS_MANUAL_PART_Deserializer
  578. REGISTER_CLASS_MANUAL_PART_Deserializer();
  579. #endif
  580. // Deserializer& Deserializer::operator =(const Deserializer&) | Possible implicitly-declared
  581. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Deserializer>(engine, "Deserializer");
  582. }
  583. // DirtyBits::DirtyBits(const DirtyBits& bits)
  584. static void DirtyBits__DirtyBits_constspDirtyBitsamp(DirtyBits* _ptr, const DirtyBits& bits)
  585. {
  586. new(_ptr) DirtyBits(bits);
  587. }
  588. // struct DirtyBits | File: ../Scene/ReplicationState.h
  589. static void Register_DirtyBits(asIScriptEngine* engine)
  590. {
  591. // DirtyBits::DirtyBits(const DirtyBits& bits)
  592. engine->RegisterObjectBehaviour("DirtyBits", asBEHAVE_CONSTRUCT, "void f(const DirtyBits&in)", AS_FUNCTION_OBJFIRST(DirtyBits__DirtyBits_constspDirtyBitsamp), AS_CALL_CDECL_OBJFIRST);
  593. // DirtyBits::~DirtyBits() | Implicitly-declared
  594. engine->RegisterObjectBehaviour("DirtyBits", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(DirtyBits), AS_CALL_CDECL_OBJFIRST);
  595. RegisterMembers_DirtyBits<DirtyBits>(engine, "DirtyBits");
  596. #ifdef REGISTER_CLASS_MANUAL_PART_DirtyBits
  597. REGISTER_CLASS_MANUAL_PART_DirtyBits();
  598. #endif
  599. // DirtyBits& DirtyBits::operator =(const DirtyBits&) | Possible implicitly-declared
  600. RegisterImplicitlyDeclaredAssignOperatorIfPossible<DirtyBits>(engine, "DirtyBits");
  601. }
  602. // struct FileSelectorEntry | File: ../UI/FileSelector.h
  603. static void Register_FileSelectorEntry(asIScriptEngine* engine)
  604. {
  605. // FileSelectorEntry::~FileSelectorEntry() | Implicitly-declared
  606. engine->RegisterObjectBehaviour("FileSelectorEntry", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(FileSelectorEntry), AS_CALL_CDECL_OBJFIRST);
  607. RegisterMembers_FileSelectorEntry<FileSelectorEntry>(engine, "FileSelectorEntry");
  608. #ifdef REGISTER_CLASS_MANUAL_PART_FileSelectorEntry
  609. REGISTER_CLASS_MANUAL_PART_FileSelectorEntry();
  610. #endif
  611. // FileSelectorEntry& FileSelectorEntry::operator =(const FileSelectorEntry&) | Possible implicitly-declared
  612. RegisterImplicitlyDeclaredAssignOperatorIfPossible<FileSelectorEntry>(engine, "FileSelectorEntry");
  613. }
  614. // FocusParameters::FocusParameters(bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
  615. static void FocusParameters__FocusParameters_bool_bool_bool_float_float(FocusParameters* _ptr, bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
  616. {
  617. new(_ptr) FocusParameters(focus, nonUniform, autoSize, quantize, minView);
  618. }
  619. // struct FocusParameters | File: ../Graphics/Light.h
  620. static void Register_FocusParameters(asIScriptEngine* engine)
  621. {
  622. // FocusParameters::FocusParameters(bool focus, bool nonUniform, bool autoSize, float quantize, float minView)
  623. engine->RegisterObjectBehaviour("FocusParameters", asBEHAVE_CONSTRUCT, "void f(bool, bool, bool, float, float)", AS_FUNCTION_OBJFIRST(FocusParameters__FocusParameters_bool_bool_bool_float_float), AS_CALL_CDECL_OBJFIRST);
  624. RegisterMembers_FocusParameters<FocusParameters>(engine, "FocusParameters");
  625. #ifdef REGISTER_CLASS_MANUAL_PART_FocusParameters
  626. REGISTER_CLASS_MANUAL_PART_FocusParameters();
  627. #endif
  628. // FocusParameters& FocusParameters::operator =(const FocusParameters&) | Possible implicitly-declared
  629. RegisterImplicitlyDeclaredAssignOperatorIfPossible<FocusParameters>(engine, "FocusParameters");
  630. }
  631. // struct FontGlyph | File: ../UI/FontFace.h
  632. static void Register_FontGlyph(asIScriptEngine* engine)
  633. {
  634. // FontGlyph::~FontGlyph() | Implicitly-declared
  635. engine->RegisterObjectBehaviour("FontGlyph", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(FontGlyph), AS_CALL_CDECL_OBJFIRST);
  636. RegisterMembers_FontGlyph<FontGlyph>(engine, "FontGlyph");
  637. #ifdef REGISTER_CLASS_MANUAL_PART_FontGlyph
  638. REGISTER_CLASS_MANUAL_PART_FontGlyph();
  639. #endif
  640. // FontGlyph& FontGlyph::operator =(const FontGlyph&) | Possible implicitly-declared
  641. RegisterImplicitlyDeclaredAssignOperatorIfPossible<FontGlyph>(engine, "FontGlyph");
  642. }
  643. // struct FrameInfo | File: ../Graphics/Drawable.h
  644. static void Register_FrameInfo(asIScriptEngine* engine)
  645. {
  646. // FrameInfo::~FrameInfo() | Implicitly-declared
  647. engine->RegisterObjectBehaviour("FrameInfo", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(FrameInfo), AS_CALL_CDECL_OBJFIRST);
  648. RegisterMembers_FrameInfo<FrameInfo>(engine, "FrameInfo");
  649. #ifdef REGISTER_CLASS_MANUAL_PART_FrameInfo
  650. REGISTER_CLASS_MANUAL_PART_FrameInfo();
  651. #endif
  652. // FrameInfo& FrameInfo::operator =(const FrameInfo&) | Possible implicitly-declared
  653. RegisterImplicitlyDeclaredAssignOperatorIfPossible<FrameInfo>(engine, "FrameInfo");
  654. }
  655. // Frustum::Frustum(const Frustum& frustum) noexcept
  656. static void Frustum__Frustum_constspFrustumamp(Frustum* _ptr, const Frustum& frustum)
  657. {
  658. new(_ptr) Frustum(frustum);
  659. }
  660. // class Frustum | File: ../Math/Frustum.h
  661. static void Register_Frustum(asIScriptEngine* engine)
  662. {
  663. // Frustum::Frustum(const Frustum& frustum) noexcept
  664. engine->RegisterObjectBehaviour("Frustum", asBEHAVE_CONSTRUCT, "void f(const Frustum&in)", AS_FUNCTION_OBJFIRST(Frustum__Frustum_constspFrustumamp), AS_CALL_CDECL_OBJFIRST);
  665. // Frustum::~Frustum() | Implicitly-declared
  666. engine->RegisterObjectBehaviour("Frustum", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Frustum), AS_CALL_CDECL_OBJFIRST);
  667. RegisterMembers_Frustum<Frustum>(engine, "Frustum");
  668. #ifdef REGISTER_CLASS_MANUAL_PART_Frustum
  669. REGISTER_CLASS_MANUAL_PART_Frustum();
  670. #endif
  671. }
  672. // explicit GPUObject::GPUObject(Graphics* graphics)
  673. static void GPUObject__GPUObject_Graphicsstar(GPUObject* _ptr, Graphics* graphics)
  674. {
  675. new(_ptr) GPUObject(graphics);
  676. }
  677. // class GPUObject | File: ../GraphicsAPI/GPUObject.h
  678. static void Register_GPUObject(asIScriptEngine* engine)
  679. {
  680. // explicit GPUObject::GPUObject(Graphics* graphics)
  681. engine->RegisterObjectBehaviour("GPUObject", asBEHAVE_CONSTRUCT, "void f(Graphics@+)", AS_FUNCTION_OBJFIRST(GPUObject__GPUObject_Graphicsstar), AS_CALL_CDECL_OBJFIRST);
  682. // virtual GPUObject::~GPUObject()
  683. engine->RegisterObjectBehaviour("GPUObject", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(GPUObject), AS_CALL_CDECL_OBJFIRST);
  684. RegisterMembers_GPUObject<GPUObject>(engine, "GPUObject");
  685. #ifdef REGISTER_CLASS_MANUAL_PART_GPUObject
  686. REGISTER_CLASS_MANUAL_PART_GPUObject();
  687. #endif
  688. // GPUObject& GPUObject::operator =(const GPUObject&) | Possible implicitly-declared
  689. RegisterImplicitlyDeclaredAssignOperatorIfPossible<GPUObject>(engine, "GPUObject");
  690. }
  691. // struct GeometryDesc | File: ../Graphics/Model.h
  692. static void Register_GeometryDesc(asIScriptEngine* engine)
  693. {
  694. // GeometryDesc::~GeometryDesc() | Implicitly-declared
  695. engine->RegisterObjectBehaviour("GeometryDesc", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(GeometryDesc), AS_CALL_CDECL_OBJFIRST);
  696. RegisterMembers_GeometryDesc<GeometryDesc>(engine, "GeometryDesc");
  697. #ifdef REGISTER_CLASS_MANUAL_PART_GeometryDesc
  698. REGISTER_CLASS_MANUAL_PART_GeometryDesc();
  699. #endif
  700. // GeometryDesc& GeometryDesc::operator =(const GeometryDesc&) | Possible implicitly-declared
  701. RegisterImplicitlyDeclaredAssignOperatorIfPossible<GeometryDesc>(engine, "GeometryDesc");
  702. }
  703. // class HashBase | File: ../Container/HashBase.h
  704. static void Register_HashBase(asIScriptEngine* engine)
  705. {
  706. // HashBase::~HashBase() | Implicitly-declared
  707. engine->RegisterObjectBehaviour("HashBase", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(HashBase), AS_CALL_CDECL_OBJFIRST);
  708. RegisterMembers_HashBase<HashBase>(engine, "HashBase");
  709. #ifdef REGISTER_CLASS_MANUAL_PART_HashBase
  710. REGISTER_CLASS_MANUAL_PART_HashBase();
  711. #endif
  712. // HashBase& HashBase::operator =(const HashBase&) | Possible implicitly-declared
  713. RegisterImplicitlyDeclaredAssignOperatorIfPossible<HashBase>(engine, "HashBase");
  714. }
  715. // struct HashIteratorBase | File: ../Container/HashBase.h
  716. static void Register_HashIteratorBase(asIScriptEngine* engine)
  717. {
  718. // explicit HashIteratorBase::HashIteratorBase(HashNodeBase* ptr)
  719. // Error: type "HashNodeBase*" can not automatically bind
  720. // HashIteratorBase::~HashIteratorBase() | Implicitly-declared
  721. engine->RegisterObjectBehaviour("HashIteratorBase", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(HashIteratorBase), AS_CALL_CDECL_OBJFIRST);
  722. RegisterMembers_HashIteratorBase<HashIteratorBase>(engine, "HashIteratorBase");
  723. #ifdef REGISTER_CLASS_MANUAL_PART_HashIteratorBase
  724. REGISTER_CLASS_MANUAL_PART_HashIteratorBase();
  725. #endif
  726. // HashIteratorBase& HashIteratorBase::operator =(const HashIteratorBase&) | Possible implicitly-declared
  727. RegisterImplicitlyDeclaredAssignOperatorIfPossible<HashIteratorBase>(engine, "HashIteratorBase");
  728. }
  729. // struct HashNodeBase | File: ../Container/HashBase.h
  730. static void Register_HashNodeBase(asIScriptEngine* engine)
  731. {
  732. // HashNodeBase::~HashNodeBase() | Implicitly-declared
  733. engine->RegisterObjectBehaviour("HashNodeBase", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(HashNodeBase), AS_CALL_CDECL_OBJFIRST);
  734. RegisterMembers_HashNodeBase<HashNodeBase>(engine, "HashNodeBase");
  735. #ifdef REGISTER_CLASS_MANUAL_PART_HashNodeBase
  736. REGISTER_CLASS_MANUAL_PART_HashNodeBase();
  737. #endif
  738. // HashNodeBase& HashNodeBase::operator =(const HashNodeBase&) | Possible implicitly-declared
  739. RegisterImplicitlyDeclaredAssignOperatorIfPossible<HashNodeBase>(engine, "HashNodeBase");
  740. }
  741. // class HiresTimer | File: ../Core/Timer.h
  742. static void Register_HiresTimer(asIScriptEngine* engine)
  743. {
  744. // HiresTimer::~HiresTimer() | Implicitly-declared
  745. engine->RegisterObjectBehaviour("HiresTimer", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(HiresTimer), AS_CALL_CDECL_OBJFIRST);
  746. RegisterMembers_HiresTimer<HiresTimer>(engine, "HiresTimer");
  747. #ifdef REGISTER_CLASS_MANUAL_PART_HiresTimer
  748. REGISTER_CLASS_MANUAL_PART_HiresTimer();
  749. #endif
  750. // HiresTimer& HiresTimer::operator =(const HiresTimer&) | Possible implicitly-declared
  751. RegisterImplicitlyDeclaredAssignOperatorIfPossible<HiresTimer>(engine, "HiresTimer");
  752. }
  753. // struct IndexBufferDesc | File: ../Graphics/Model.h
  754. static void Register_IndexBufferDesc(asIScriptEngine* engine)
  755. {
  756. // IndexBufferDesc::~IndexBufferDesc() | Implicitly-declared
  757. engine->RegisterObjectBehaviour("IndexBufferDesc", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(IndexBufferDesc), AS_CALL_CDECL_OBJFIRST);
  758. RegisterMembers_IndexBufferDesc<IndexBufferDesc>(engine, "IndexBufferDesc");
  759. #ifdef REGISTER_CLASS_MANUAL_PART_IndexBufferDesc
  760. REGISTER_CLASS_MANUAL_PART_IndexBufferDesc();
  761. #endif
  762. // IndexBufferDesc& IndexBufferDesc::operator =(const IndexBufferDesc&) | Possible implicitly-declared
  763. RegisterImplicitlyDeclaredAssignOperatorIfPossible<IndexBufferDesc>(engine, "IndexBufferDesc");
  764. }
  765. // struct InstanceData | File: ../Graphics/Batch.h
  766. static void Register_InstanceData(asIScriptEngine* engine)
  767. {
  768. // InstanceData::InstanceData(const Matrix3x4* worldTransform, const void* instancingData, float distance)
  769. // Error: type "const Matrix3x4*" can not automatically bind
  770. // InstanceData::~InstanceData() | Implicitly-declared
  771. engine->RegisterObjectBehaviour("InstanceData", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(InstanceData), AS_CALL_CDECL_OBJFIRST);
  772. RegisterMembers_InstanceData<InstanceData>(engine, "InstanceData");
  773. #ifdef REGISTER_CLASS_MANUAL_PART_InstanceData
  774. REGISTER_CLASS_MANUAL_PART_InstanceData();
  775. #endif
  776. // InstanceData& InstanceData::operator =(const InstanceData&) | Possible implicitly-declared
  777. RegisterImplicitlyDeclaredAssignOperatorIfPossible<InstanceData>(engine, "InstanceData");
  778. }
  779. // IntRect::IntRect(const IntVector2& min, const IntVector2& max) noexcept
  780. static void IntRect__IntRect_constspIntVector2amp_constspIntVector2amp(IntRect* _ptr, const IntVector2& min, const IntVector2& max)
  781. {
  782. new(_ptr) IntRect(min, max);
  783. }
  784. // IntRect::IntRect(int left, int top, int right, int bottom) noexcept
  785. static void IntRect__IntRect_int_int_int_int(IntRect* _ptr, int left, int top, int right, int bottom)
  786. {
  787. new(_ptr) IntRect(left, top, right, bottom);
  788. }
  789. // class IntRect | File: ../Math/Rect.h
  790. static void Register_IntRect(asIScriptEngine* engine)
  791. {
  792. // explicit IntRect::IntRect(const int* data) noexcept
  793. // Error: type "const int*" can not automatically bind
  794. // IntRect::IntRect(const IntVector2& min, const IntVector2& max) noexcept
  795. engine->RegisterObjectBehaviour("IntRect", asBEHAVE_CONSTRUCT, "void f(const IntVector2&in, const IntVector2&in)", AS_FUNCTION_OBJFIRST(IntRect__IntRect_constspIntVector2amp_constspIntVector2amp), AS_CALL_CDECL_OBJFIRST);
  796. // IntRect::IntRect(int left, int top, int right, int bottom) noexcept
  797. engine->RegisterObjectBehaviour("IntRect", asBEHAVE_CONSTRUCT, "void f(int, int, int, int)", AS_FUNCTION_OBJFIRST(IntRect__IntRect_int_int_int_int), AS_CALL_CDECL_OBJFIRST);
  798. RegisterMembers_IntRect<IntRect>(engine, "IntRect");
  799. #ifdef REGISTER_CLASS_MANUAL_PART_IntRect
  800. REGISTER_CLASS_MANUAL_PART_IntRect();
  801. #endif
  802. // IntRect& IntRect::operator =(const IntRect&) | Possible implicitly-declared
  803. RegisterImplicitlyDeclaredAssignOperatorIfPossible<IntRect>(engine, "IntRect");
  804. }
  805. // IntVector2::IntVector2(int x, int y) noexcept
  806. static void IntVector2__IntVector2_int_int(IntVector2* _ptr, int x, int y)
  807. {
  808. new(_ptr) IntVector2(x, y);
  809. }
  810. // IntVector2::IntVector2(const IntVector2& rhs) noexcept = default
  811. static void IntVector2__IntVector2_constspIntVector2amp(IntVector2* _ptr, const IntVector2& rhs)
  812. {
  813. new(_ptr) IntVector2(rhs);
  814. }
  815. // class IntVector2 | File: ../Math/Vector2.h
  816. static void Register_IntVector2(asIScriptEngine* engine)
  817. {
  818. // explicit IntVector2::IntVector2(const float* data)
  819. // Error: type "const float*" can not automatically bind
  820. // explicit IntVector2::IntVector2(const int* data) noexcept
  821. // Error: type "const int*" can not automatically bind
  822. // IntVector2::IntVector2(int x, int y) noexcept
  823. engine->RegisterObjectBehaviour("IntVector2", asBEHAVE_CONSTRUCT, "void f(int, int)", AS_FUNCTION_OBJFIRST(IntVector2__IntVector2_int_int), AS_CALL_CDECL_OBJFIRST);
  824. // IntVector2::IntVector2(const IntVector2& rhs) noexcept = default
  825. engine->RegisterObjectBehaviour("IntVector2", asBEHAVE_CONSTRUCT, "void f(const IntVector2&in)", AS_FUNCTION_OBJFIRST(IntVector2__IntVector2_constspIntVector2amp), AS_CALL_CDECL_OBJFIRST);
  826. RegisterMembers_IntVector2<IntVector2>(engine, "IntVector2");
  827. #ifdef REGISTER_CLASS_MANUAL_PART_IntVector2
  828. REGISTER_CLASS_MANUAL_PART_IntVector2();
  829. #endif
  830. }
  831. // IntVector3::IntVector3(int x, int y, int z) noexcept
  832. static void IntVector3__IntVector3_int_int_int(IntVector3* _ptr, int x, int y, int z)
  833. {
  834. new(_ptr) IntVector3(x, y, z);
  835. }
  836. // IntVector3::IntVector3(const IntVector3& rhs) noexcept = default
  837. static void IntVector3__IntVector3_constspIntVector3amp(IntVector3* _ptr, const IntVector3& rhs)
  838. {
  839. new(_ptr) IntVector3(rhs);
  840. }
  841. // class IntVector3 | File: ../Math/Vector3.h
  842. static void Register_IntVector3(asIScriptEngine* engine)
  843. {
  844. // explicit IntVector3::IntVector3(const int* data) noexcept
  845. // Error: type "const int*" can not automatically bind
  846. // IntVector3::IntVector3(int x, int y, int z) noexcept
  847. engine->RegisterObjectBehaviour("IntVector3", asBEHAVE_CONSTRUCT, "void f(int, int, int)", AS_FUNCTION_OBJFIRST(IntVector3__IntVector3_int_int_int), AS_CALL_CDECL_OBJFIRST);
  848. // IntVector3::IntVector3(const IntVector3& rhs) noexcept = default
  849. engine->RegisterObjectBehaviour("IntVector3", asBEHAVE_CONSTRUCT, "void f(const IntVector3&in)", AS_FUNCTION_OBJFIRST(IntVector3__IntVector3_constspIntVector3amp), AS_CALL_CDECL_OBJFIRST);
  850. RegisterMembers_IntVector3<IntVector3>(engine, "IntVector3");
  851. #ifdef REGISTER_CLASS_MANUAL_PART_IntVector3
  852. REGISTER_CLASS_MANUAL_PART_IntVector3();
  853. #endif
  854. }
  855. // JSONValue::JSONValue(bool value)
  856. static void JSONValue__JSONValue_bool(JSONValue* _ptr, bool value)
  857. {
  858. new(_ptr) JSONValue(value);
  859. }
  860. // JSONValue::JSONValue(int value)
  861. static void JSONValue__JSONValue_int(JSONValue* _ptr, int value)
  862. {
  863. new(_ptr) JSONValue(value);
  864. }
  865. // JSONValue::JSONValue(unsigned value)
  866. static void JSONValue__JSONValue_unsigned(JSONValue* _ptr, unsigned value)
  867. {
  868. new(_ptr) JSONValue(value);
  869. }
  870. // JSONValue::JSONValue(float value)
  871. static void JSONValue__JSONValue_float(JSONValue* _ptr, float value)
  872. {
  873. new(_ptr) JSONValue(value);
  874. }
  875. // JSONValue::JSONValue(double value)
  876. static void JSONValue__JSONValue_double(JSONValue* _ptr, double value)
  877. {
  878. new(_ptr) JSONValue(value);
  879. }
  880. // JSONValue::JSONValue(const String& value)
  881. static void JSONValue__JSONValue_constspStringamp(JSONValue* _ptr, const String& value)
  882. {
  883. new(_ptr) JSONValue(value);
  884. }
  885. // JSONValue::JSONValue(const JSONValue& value)
  886. static void JSONValue__JSONValue_constspJSONValueamp(JSONValue* _ptr, const JSONValue& value)
  887. {
  888. new(_ptr) JSONValue(value);
  889. }
  890. // class JSONValue | File: ../Resource/JSONValue.h
  891. static void Register_JSONValue(asIScriptEngine* engine)
  892. {
  893. // JSONValue::JSONValue(const JSONArray& value)
  894. // Error: type "const JSONArray&" can not automatically bind
  895. // JSONValue::JSONValue(const JSONObject& value)
  896. // Error: type "const JSONObject&" can not automatically bind
  897. // JSONValue::JSONValue(const char* value)
  898. // Error: type "const char*" can not automatically bind
  899. // JSONValue::JSONValue(bool value)
  900. engine->RegisterObjectBehaviour("JSONValue", asBEHAVE_CONSTRUCT, "void f(bool)", AS_FUNCTION_OBJFIRST(JSONValue__JSONValue_bool), AS_CALL_CDECL_OBJFIRST);
  901. // JSONValue::JSONValue(int value)
  902. engine->RegisterObjectBehaviour("JSONValue", asBEHAVE_CONSTRUCT, "void f(int)", AS_FUNCTION_OBJFIRST(JSONValue__JSONValue_int), AS_CALL_CDECL_OBJFIRST);
  903. // JSONValue::JSONValue(unsigned value)
  904. engine->RegisterObjectBehaviour("JSONValue", asBEHAVE_CONSTRUCT, "void f(uint)", AS_FUNCTION_OBJFIRST(JSONValue__JSONValue_unsigned), AS_CALL_CDECL_OBJFIRST);
  905. // JSONValue::JSONValue(float value)
  906. engine->RegisterObjectBehaviour("JSONValue", asBEHAVE_CONSTRUCT, "void f(float)", AS_FUNCTION_OBJFIRST(JSONValue__JSONValue_float), AS_CALL_CDECL_OBJFIRST);
  907. // JSONValue::JSONValue(double value)
  908. engine->RegisterObjectBehaviour("JSONValue", asBEHAVE_CONSTRUCT, "void f(double)", AS_FUNCTION_OBJFIRST(JSONValue__JSONValue_double), AS_CALL_CDECL_OBJFIRST);
  909. // JSONValue::JSONValue(const String& value)
  910. engine->RegisterObjectBehaviour("JSONValue", asBEHAVE_CONSTRUCT, "void f(const String&in)", AS_FUNCTION_OBJFIRST(JSONValue__JSONValue_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  911. // JSONValue::JSONValue(const JSONValue& value)
  912. engine->RegisterObjectBehaviour("JSONValue", asBEHAVE_CONSTRUCT, "void f(const JSONValue&in)", AS_FUNCTION_OBJFIRST(JSONValue__JSONValue_constspJSONValueamp), AS_CALL_CDECL_OBJFIRST);
  913. // JSONValue::~JSONValue()
  914. engine->RegisterObjectBehaviour("JSONValue", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(JSONValue), AS_CALL_CDECL_OBJFIRST);
  915. RegisterMembers_JSONValue<JSONValue>(engine, "JSONValue");
  916. #ifdef REGISTER_CLASS_MANUAL_PART_JSONValue
  917. REGISTER_CLASS_MANUAL_PART_JSONValue();
  918. #endif
  919. }
  920. // struct JoystickState | File: ../Input/Input.h
  921. static void Register_JoystickState(asIScriptEngine* engine)
  922. {
  923. RegisterMembers_JoystickState<JoystickState>(engine, "JoystickState");
  924. #ifdef REGISTER_CLASS_MANUAL_PART_JoystickState
  925. REGISTER_CLASS_MANUAL_PART_JoystickState();
  926. #endif
  927. // JoystickState& JoystickState::operator =(const JoystickState&) | Possible implicitly-declared
  928. RegisterImplicitlyDeclaredAssignOperatorIfPossible<JoystickState>(engine, "JoystickState");
  929. }
  930. // struct LightBatchQueue | File: ../Graphics/Batch.h
  931. static void Register_LightBatchQueue(asIScriptEngine* engine)
  932. {
  933. // LightBatchQueue::~LightBatchQueue() | Implicitly-declared
  934. engine->RegisterObjectBehaviour("LightBatchQueue", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(LightBatchQueue), AS_CALL_CDECL_OBJFIRST);
  935. RegisterMembers_LightBatchQueue<LightBatchQueue>(engine, "LightBatchQueue");
  936. #ifdef REGISTER_CLASS_MANUAL_PART_LightBatchQueue
  937. REGISTER_CLASS_MANUAL_PART_LightBatchQueue();
  938. #endif
  939. // LightBatchQueue& LightBatchQueue::operator =(const LightBatchQueue&) | Possible implicitly-declared
  940. RegisterImplicitlyDeclaredAssignOperatorIfPossible<LightBatchQueue>(engine, "LightBatchQueue");
  941. }
  942. // struct LightQueryResult | File: ../Graphics/View.h
  943. static void Register_LightQueryResult(asIScriptEngine* engine)
  944. {
  945. // LightQueryResult::~LightQueryResult() | Implicitly-declared
  946. engine->RegisterObjectBehaviour("LightQueryResult", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(LightQueryResult), AS_CALL_CDECL_OBJFIRST);
  947. RegisterMembers_LightQueryResult<LightQueryResult>(engine, "LightQueryResult");
  948. #ifdef REGISTER_CLASS_MANUAL_PART_LightQueryResult
  949. REGISTER_CLASS_MANUAL_PART_LightQueryResult();
  950. #endif
  951. // LightQueryResult& LightQueryResult::operator =(const LightQueryResult&) | Possible implicitly-declared
  952. RegisterImplicitlyDeclaredAssignOperatorIfPossible<LightQueryResult>(engine, "LightQueryResult");
  953. }
  954. // struct LinkedListNode | File: ../Container/LinkedList.h
  955. static void Register_LinkedListNode(asIScriptEngine* engine)
  956. {
  957. // LinkedListNode::~LinkedListNode() | Implicitly-declared
  958. engine->RegisterObjectBehaviour("LinkedListNode", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(LinkedListNode), AS_CALL_CDECL_OBJFIRST);
  959. RegisterMembers_LinkedListNode<LinkedListNode>(engine, "LinkedListNode");
  960. #ifdef REGISTER_CLASS_MANUAL_PART_LinkedListNode
  961. REGISTER_CLASS_MANUAL_PART_LinkedListNode();
  962. #endif
  963. // LinkedListNode& LinkedListNode::operator =(const LinkedListNode&) | Possible implicitly-declared
  964. RegisterImplicitlyDeclaredAssignOperatorIfPossible<LinkedListNode>(engine, "LinkedListNode");
  965. }
  966. // class ListBase | File: ../Container/ListBase.h
  967. static void Register_ListBase(asIScriptEngine* engine)
  968. {
  969. // ListBase::~ListBase() | Implicitly-declared
  970. engine->RegisterObjectBehaviour("ListBase", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ListBase), AS_CALL_CDECL_OBJFIRST);
  971. RegisterMembers_ListBase<ListBase>(engine, "ListBase");
  972. #ifdef REGISTER_CLASS_MANUAL_PART_ListBase
  973. REGISTER_CLASS_MANUAL_PART_ListBase();
  974. #endif
  975. // ListBase& ListBase::operator =(const ListBase&) | Possible implicitly-declared
  976. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ListBase>(engine, "ListBase");
  977. }
  978. // struct ListIteratorBase | File: ../Container/ListBase.h
  979. static void Register_ListIteratorBase(asIScriptEngine* engine)
  980. {
  981. // explicit ListIteratorBase::ListIteratorBase(ListNodeBase* ptr)
  982. // Error: type "ListNodeBase*" can not automatically bind
  983. // ListIteratorBase::~ListIteratorBase() | Implicitly-declared
  984. engine->RegisterObjectBehaviour("ListIteratorBase", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ListIteratorBase), AS_CALL_CDECL_OBJFIRST);
  985. RegisterMembers_ListIteratorBase<ListIteratorBase>(engine, "ListIteratorBase");
  986. #ifdef REGISTER_CLASS_MANUAL_PART_ListIteratorBase
  987. REGISTER_CLASS_MANUAL_PART_ListIteratorBase();
  988. #endif
  989. // ListIteratorBase& ListIteratorBase::operator =(const ListIteratorBase&) | Possible implicitly-declared
  990. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ListIteratorBase>(engine, "ListIteratorBase");
  991. }
  992. // struct ListNodeBase | File: ../Container/ListBase.h
  993. static void Register_ListNodeBase(asIScriptEngine* engine)
  994. {
  995. // ListNodeBase::~ListNodeBase() | Implicitly-declared
  996. engine->RegisterObjectBehaviour("ListNodeBase", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ListNodeBase), AS_CALL_CDECL_OBJFIRST);
  997. RegisterMembers_ListNodeBase<ListNodeBase>(engine, "ListNodeBase");
  998. #ifdef REGISTER_CLASS_MANUAL_PART_ListNodeBase
  999. REGISTER_CLASS_MANUAL_PART_ListNodeBase();
  1000. #endif
  1001. // ListNodeBase& ListNodeBase::operator =(const ListNodeBase&) | Possible implicitly-declared
  1002. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ListNodeBase>(engine, "ListNodeBase");
  1003. }
  1004. // struct MaterialShaderParameter | File: ../Graphics/Material.h
  1005. static void Register_MaterialShaderParameter(asIScriptEngine* engine)
  1006. {
  1007. // MaterialShaderParameter::~MaterialShaderParameter() | Implicitly-declared
  1008. engine->RegisterObjectBehaviour("MaterialShaderParameter", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(MaterialShaderParameter), AS_CALL_CDECL_OBJFIRST);
  1009. RegisterMembers_MaterialShaderParameter<MaterialShaderParameter>(engine, "MaterialShaderParameter");
  1010. #ifdef REGISTER_CLASS_MANUAL_PART_MaterialShaderParameter
  1011. REGISTER_CLASS_MANUAL_PART_MaterialShaderParameter();
  1012. #endif
  1013. // MaterialShaderParameter& MaterialShaderParameter::operator =(const MaterialShaderParameter&) | Possible implicitly-declared
  1014. RegisterImplicitlyDeclaredAssignOperatorIfPossible<MaterialShaderParameter>(engine, "MaterialShaderParameter");
  1015. }
  1016. // Matrix2::Matrix2(const Matrix2& matrix) noexcept = default
  1017. static void Matrix2__Matrix2_constspMatrix2amp(Matrix2* _ptr, const Matrix2& matrix)
  1018. {
  1019. new(_ptr) Matrix2(matrix);
  1020. }
  1021. // Matrix2::Matrix2(float v00, float v01, float v10, float v11) noexcept
  1022. static void Matrix2__Matrix2_float_float_float_float(Matrix2* _ptr, float v00, float v01, float v10, float v11)
  1023. {
  1024. new(_ptr) Matrix2(v00, v01, v10, v11);
  1025. }
  1026. // class Matrix2 | File: ../Math/Matrix2.h
  1027. static void Register_Matrix2(asIScriptEngine* engine)
  1028. {
  1029. // explicit Matrix2::Matrix2(const float* data) noexcept
  1030. // Error: type "const float*" can not automatically bind
  1031. // Matrix2::Matrix2(const Matrix2& matrix) noexcept = default
  1032. engine->RegisterObjectBehaviour("Matrix2", asBEHAVE_CONSTRUCT, "void f(const Matrix2&in)", AS_FUNCTION_OBJFIRST(Matrix2__Matrix2_constspMatrix2amp), AS_CALL_CDECL_OBJFIRST);
  1033. // Matrix2::Matrix2(float v00, float v01, float v10, float v11) noexcept
  1034. engine->RegisterObjectBehaviour("Matrix2", asBEHAVE_CONSTRUCT, "void f(float, float, float, float)", AS_FUNCTION_OBJFIRST(Matrix2__Matrix2_float_float_float_float), AS_CALL_CDECL_OBJFIRST);
  1035. RegisterMembers_Matrix2<Matrix2>(engine, "Matrix2");
  1036. #ifdef REGISTER_CLASS_MANUAL_PART_Matrix2
  1037. REGISTER_CLASS_MANUAL_PART_Matrix2();
  1038. #endif
  1039. }
  1040. // Matrix3::Matrix3(const Matrix3& matrix) noexcept = default
  1041. static void Matrix3__Matrix3_constspMatrix3amp(Matrix3* _ptr, const Matrix3& matrix)
  1042. {
  1043. new(_ptr) Matrix3(matrix);
  1044. }
  1045. // Matrix3::Matrix3(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22) noexcept
  1046. static void Matrix3__Matrix3_float_float_float_float_float_float_float_float_float(Matrix3* _ptr, float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22)
  1047. {
  1048. new(_ptr) Matrix3(v00, v01, v02, v10, v11, v12, v20, v21, v22);
  1049. }
  1050. // class Matrix3 | File: ../Math/Matrix3.h
  1051. static void Register_Matrix3(asIScriptEngine* engine)
  1052. {
  1053. // explicit Matrix3::Matrix3(const float* data) noexcept
  1054. // Error: type "const float*" can not automatically bind
  1055. // Matrix3::Matrix3(const Matrix3& matrix) noexcept = default
  1056. engine->RegisterObjectBehaviour("Matrix3", asBEHAVE_CONSTRUCT, "void f(const Matrix3&in)", AS_FUNCTION_OBJFIRST(Matrix3__Matrix3_constspMatrix3amp), AS_CALL_CDECL_OBJFIRST);
  1057. // Matrix3::Matrix3(float v00, float v01, float v02, float v10, float v11, float v12, float v20, float v21, float v22) noexcept
  1058. engine->RegisterObjectBehaviour("Matrix3", asBEHAVE_CONSTRUCT, "void f(float, float, float, float, float, float, float, float, float)", AS_FUNCTION_OBJFIRST(Matrix3__Matrix3_float_float_float_float_float_float_float_float_float), AS_CALL_CDECL_OBJFIRST);
  1059. RegisterMembers_Matrix3<Matrix3>(engine, "Matrix3");
  1060. #ifdef REGISTER_CLASS_MANUAL_PART_Matrix3
  1061. REGISTER_CLASS_MANUAL_PART_Matrix3();
  1062. #endif
  1063. }
  1064. // Matrix3x4::Matrix3x4(const Matrix3x4& matrix) noexcept = default
  1065. static void Matrix3x4__Matrix3x4_constspMatrix3x4amp(Matrix3x4* _ptr, const Matrix3x4& matrix)
  1066. {
  1067. new(_ptr) Matrix3x4(matrix);
  1068. }
  1069. // explicit Matrix3x4::Matrix3x4(const Matrix3& matrix) noexcept
  1070. static void Matrix3x4__Matrix3x4_constspMatrix3amp(Matrix3x4* _ptr, const Matrix3& matrix)
  1071. {
  1072. new(_ptr) Matrix3x4(matrix);
  1073. }
  1074. // explicit Matrix3x4::Matrix3x4(const Matrix4& matrix) noexcept
  1075. static void Matrix3x4__Matrix3x4_constspMatrix4amp(Matrix3x4* _ptr, const Matrix4& matrix)
  1076. {
  1077. new(_ptr) Matrix3x4(matrix);
  1078. }
  1079. // Matrix3x4::Matrix3x4(float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23) noexcept
  1080. static void Matrix3x4__Matrix3x4_float_float_float_float_float_float_float_float_float_float_float_float(Matrix3x4* _ptr, float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23)
  1081. {
  1082. new(_ptr) Matrix3x4(v00, v01, v02, v03, v10, v11, v12, v13, v20, v21, v22, v23);
  1083. }
  1084. // Matrix3x4::Matrix3x4(const Vector3& translation, const Quaternion& rotation, float scale) noexcept
  1085. static void Matrix3x4__Matrix3x4_constspVector3amp_constspQuaternionamp_float(Matrix3x4* _ptr, const Vector3& translation, const Quaternion& rotation, float scale)
  1086. {
  1087. new(_ptr) Matrix3x4(translation, rotation, scale);
  1088. }
  1089. // Matrix3x4::Matrix3x4(const Vector3& translation, const Quaternion& rotation, const Vector3& scale) noexcept
  1090. static void Matrix3x4__Matrix3x4_constspVector3amp_constspQuaternionamp_constspVector3amp(Matrix3x4* _ptr, const Vector3& translation, const Quaternion& rotation, const Vector3& scale)
  1091. {
  1092. new(_ptr) Matrix3x4(translation, rotation, scale);
  1093. }
  1094. // class Matrix3x4 | File: ../Math/Matrix3x4.h
  1095. static void Register_Matrix3x4(asIScriptEngine* engine)
  1096. {
  1097. // explicit Matrix3x4::Matrix3x4(const float* data) noexcept
  1098. // Error: type "const float*" can not automatically bind
  1099. // Matrix3x4::Matrix3x4(const Matrix3x4& matrix) noexcept = default
  1100. engine->RegisterObjectBehaviour("Matrix3x4", asBEHAVE_CONSTRUCT, "void f(const Matrix3x4&in)", AS_FUNCTION_OBJFIRST(Matrix3x4__Matrix3x4_constspMatrix3x4amp), AS_CALL_CDECL_OBJFIRST);
  1101. // explicit Matrix3x4::Matrix3x4(const Matrix3& matrix) noexcept
  1102. engine->RegisterObjectBehaviour("Matrix3x4", asBEHAVE_CONSTRUCT, "void f(const Matrix3&in)", AS_FUNCTION_OBJFIRST(Matrix3x4__Matrix3x4_constspMatrix3amp), AS_CALL_CDECL_OBJFIRST);
  1103. // explicit Matrix3x4::Matrix3x4(const Matrix4& matrix) noexcept
  1104. engine->RegisterObjectBehaviour("Matrix3x4", asBEHAVE_CONSTRUCT, "void f(const Matrix4&in)", AS_FUNCTION_OBJFIRST(Matrix3x4__Matrix3x4_constspMatrix4amp), AS_CALL_CDECL_OBJFIRST);
  1105. // Matrix3x4::Matrix3x4(float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23) noexcept
  1106. engine->RegisterObjectBehaviour("Matrix3x4", asBEHAVE_CONSTRUCT, "void f(float, float, float, float, float, float, float, float, float, float, float, float)", AS_FUNCTION_OBJFIRST(Matrix3x4__Matrix3x4_float_float_float_float_float_float_float_float_float_float_float_float), AS_CALL_CDECL_OBJFIRST);
  1107. // Matrix3x4::Matrix3x4(const Vector3& translation, const Quaternion& rotation, float scale) noexcept
  1108. engine->RegisterObjectBehaviour("Matrix3x4", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Quaternion&in, float)", AS_FUNCTION_OBJFIRST(Matrix3x4__Matrix3x4_constspVector3amp_constspQuaternionamp_float), AS_CALL_CDECL_OBJFIRST);
  1109. // Matrix3x4::Matrix3x4(const Vector3& translation, const Quaternion& rotation, const Vector3& scale) noexcept
  1110. engine->RegisterObjectBehaviour("Matrix3x4", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Quaternion&in, const Vector3&in)", AS_FUNCTION_OBJFIRST(Matrix3x4__Matrix3x4_constspVector3amp_constspQuaternionamp_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  1111. RegisterMembers_Matrix3x4<Matrix3x4>(engine, "Matrix3x4");
  1112. #ifdef REGISTER_CLASS_MANUAL_PART_Matrix3x4
  1113. REGISTER_CLASS_MANUAL_PART_Matrix3x4();
  1114. #endif
  1115. }
  1116. // Matrix4::Matrix4(const Matrix4& matrix) noexcept
  1117. static void Matrix4__Matrix4_constspMatrix4amp(Matrix4* _ptr, const Matrix4& matrix)
  1118. {
  1119. new(_ptr) Matrix4(matrix);
  1120. }
  1121. // explicit Matrix4::Matrix4(const Matrix3& matrix) noexcept
  1122. static void Matrix4__Matrix4_constspMatrix3amp(Matrix4* _ptr, const Matrix3& matrix)
  1123. {
  1124. new(_ptr) Matrix4(matrix);
  1125. }
  1126. // Matrix4::Matrix4(float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23, float v30, float v31, float v32, float v33) noexcept
  1127. static void Matrix4__Matrix4_float_float_float_float_float_float_float_float_float_float_float_float_float_float_float_float(Matrix4* _ptr, float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23, float v30, float v31, float v32, float v33)
  1128. {
  1129. new(_ptr) Matrix4(v00, v01, v02, v03, v10, v11, v12, v13, v20, v21, v22, v23, v30, v31, v32, v33);
  1130. }
  1131. // class Matrix4 | File: ../Math/Matrix4.h
  1132. static void Register_Matrix4(asIScriptEngine* engine)
  1133. {
  1134. // explicit Matrix4::Matrix4(const float* data) noexcept
  1135. // Error: type "const float*" can not automatically bind
  1136. // Matrix4::Matrix4(const Matrix4& matrix) noexcept
  1137. engine->RegisterObjectBehaviour("Matrix4", asBEHAVE_CONSTRUCT, "void f(const Matrix4&in)", AS_FUNCTION_OBJFIRST(Matrix4__Matrix4_constspMatrix4amp), AS_CALL_CDECL_OBJFIRST);
  1138. // explicit Matrix4::Matrix4(const Matrix3& matrix) noexcept
  1139. engine->RegisterObjectBehaviour("Matrix4", asBEHAVE_CONSTRUCT, "void f(const Matrix3&in)", AS_FUNCTION_OBJFIRST(Matrix4__Matrix4_constspMatrix3amp), AS_CALL_CDECL_OBJFIRST);
  1140. // Matrix4::Matrix4(float v00, float v01, float v02, float v03, float v10, float v11, float v12, float v13, float v20, float v21, float v22, float v23, float v30, float v31, float v32, float v33) noexcept
  1141. engine->RegisterObjectBehaviour("Matrix4", asBEHAVE_CONSTRUCT, "void f(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)", AS_FUNCTION_OBJFIRST(Matrix4__Matrix4_float_float_float_float_float_float_float_float_float_float_float_float_float_float_float_float), AS_CALL_CDECL_OBJFIRST);
  1142. RegisterMembers_Matrix4<Matrix4>(engine, "Matrix4");
  1143. #ifdef REGISTER_CLASS_MANUAL_PART_Matrix4
  1144. REGISTER_CLASS_MANUAL_PART_Matrix4();
  1145. #endif
  1146. }
  1147. // struct ModelMorph | File: ../Graphics/Model.h
  1148. static void Register_ModelMorph(asIScriptEngine* engine)
  1149. {
  1150. // ModelMorph::~ModelMorph() | Implicitly-declared
  1151. engine->RegisterObjectBehaviour("ModelMorph", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ModelMorph), AS_CALL_CDECL_OBJFIRST);
  1152. RegisterMembers_ModelMorph<ModelMorph>(engine, "ModelMorph");
  1153. #ifdef REGISTER_CLASS_MANUAL_PART_ModelMorph
  1154. REGISTER_CLASS_MANUAL_PART_ModelMorph();
  1155. #endif
  1156. // ModelMorph& ModelMorph::operator =(const ModelMorph&) | Possible implicitly-declared
  1157. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ModelMorph>(engine, "ModelMorph");
  1158. }
  1159. // class Mutex | File: ../Core/Mutex.h
  1160. static void Register_Mutex(asIScriptEngine* engine)
  1161. {
  1162. // Mutex::~Mutex()
  1163. engine->RegisterObjectBehaviour("Mutex", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Mutex), AS_CALL_CDECL_OBJFIRST);
  1164. RegisterMembers_Mutex<Mutex>(engine, "Mutex");
  1165. #ifdef REGISTER_CLASS_MANUAL_PART_Mutex
  1166. REGISTER_CLASS_MANUAL_PART_Mutex();
  1167. #endif
  1168. // Mutex& Mutex::operator =(const Mutex&) | Possible implicitly-declared
  1169. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Mutex>(engine, "Mutex");
  1170. }
  1171. // explicit MutexLock::MutexLock(Mutex& mutex)
  1172. static void MutexLock__MutexLock_Mutexamp(MutexLock* _ptr, Mutex& mutex)
  1173. {
  1174. new(_ptr) MutexLock(mutex);
  1175. }
  1176. // class MutexLock | File: ../Core/Mutex.h
  1177. static void Register_MutexLock(asIScriptEngine* engine)
  1178. {
  1179. // MutexLock::MutexLock(const MutexLock& rhs) = delete
  1180. // Not registered because deleted
  1181. // explicit MutexLock::MutexLock(Mutex& mutex)
  1182. engine->RegisterObjectBehaviour("MutexLock", asBEHAVE_CONSTRUCT, "void f(Mutex&)", AS_FUNCTION_OBJFIRST(MutexLock__MutexLock_Mutexamp), AS_CALL_CDECL_OBJFIRST);
  1183. // MutexLock::~MutexLock()
  1184. engine->RegisterObjectBehaviour("MutexLock", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(MutexLock), AS_CALL_CDECL_OBJFIRST);
  1185. RegisterMembers_MutexLock<MutexLock>(engine, "MutexLock");
  1186. #ifdef REGISTER_CLASS_MANUAL_PART_MutexLock
  1187. REGISTER_CLASS_MANUAL_PART_MutexLock();
  1188. #endif
  1189. }
  1190. // struct NetworkState | File: ../Scene/ReplicationState.h
  1191. static void Register_NetworkState(asIScriptEngine* engine)
  1192. {
  1193. // NetworkState::~NetworkState() | Implicitly-declared
  1194. engine->RegisterObjectBehaviour("NetworkState", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NetworkState), AS_CALL_CDECL_OBJFIRST);
  1195. RegisterMembers_NetworkState<NetworkState>(engine, "NetworkState");
  1196. #ifdef REGISTER_CLASS_MANUAL_PART_NetworkState
  1197. REGISTER_CLASS_MANUAL_PART_NetworkState();
  1198. #endif
  1199. // NetworkState& NetworkState::operator =(const NetworkState&) | Possible implicitly-declared
  1200. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NetworkState>(engine, "NetworkState");
  1201. }
  1202. // struct NodeImpl | File: ../Scene/Node.h
  1203. static void Register_NodeImpl(asIScriptEngine* engine)
  1204. {
  1205. // NodeImpl::~NodeImpl() | Implicitly-declared
  1206. engine->RegisterObjectBehaviour("NodeImpl", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NodeImpl), AS_CALL_CDECL_OBJFIRST);
  1207. RegisterMembers_NodeImpl<NodeImpl>(engine, "NodeImpl");
  1208. #ifdef REGISTER_CLASS_MANUAL_PART_NodeImpl
  1209. REGISTER_CLASS_MANUAL_PART_NodeImpl();
  1210. #endif
  1211. // NodeImpl& NodeImpl::operator =(const NodeImpl&) | Possible implicitly-declared
  1212. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NodeImpl>(engine, "NodeImpl");
  1213. }
  1214. // struct OcclusionBatch | File: ../Graphics/OcclusionBuffer.h
  1215. static void Register_OcclusionBatch(asIScriptEngine* engine)
  1216. {
  1217. // OcclusionBatch::~OcclusionBatch() | Implicitly-declared
  1218. engine->RegisterObjectBehaviour("OcclusionBatch", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(OcclusionBatch), AS_CALL_CDECL_OBJFIRST);
  1219. RegisterMembers_OcclusionBatch<OcclusionBatch>(engine, "OcclusionBatch");
  1220. #ifdef REGISTER_CLASS_MANUAL_PART_OcclusionBatch
  1221. REGISTER_CLASS_MANUAL_PART_OcclusionBatch();
  1222. #endif
  1223. // OcclusionBatch& OcclusionBatch::operator =(const OcclusionBatch&) | Possible implicitly-declared
  1224. RegisterImplicitlyDeclaredAssignOperatorIfPossible<OcclusionBatch>(engine, "OcclusionBatch");
  1225. }
  1226. // struct OcclusionBufferData | File: ../Graphics/OcclusionBuffer.h
  1227. static void Register_OcclusionBufferData(asIScriptEngine* engine)
  1228. {
  1229. // OcclusionBufferData::~OcclusionBufferData() | Implicitly-declared
  1230. engine->RegisterObjectBehaviour("OcclusionBufferData", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(OcclusionBufferData), AS_CALL_CDECL_OBJFIRST);
  1231. RegisterMembers_OcclusionBufferData<OcclusionBufferData>(engine, "OcclusionBufferData");
  1232. #ifdef REGISTER_CLASS_MANUAL_PART_OcclusionBufferData
  1233. REGISTER_CLASS_MANUAL_PART_OcclusionBufferData();
  1234. #endif
  1235. // OcclusionBufferData& OcclusionBufferData::operator =(const OcclusionBufferData&) | Possible implicitly-declared
  1236. RegisterImplicitlyDeclaredAssignOperatorIfPossible<OcclusionBufferData>(engine, "OcclusionBufferData");
  1237. }
  1238. // struct OctreeQueryResult | File: ../Graphics/OctreeQuery.h
  1239. static void Register_OctreeQueryResult(asIScriptEngine* engine)
  1240. {
  1241. // OctreeQueryResult::~OctreeQueryResult() | Implicitly-declared
  1242. engine->RegisterObjectBehaviour("OctreeQueryResult", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(OctreeQueryResult), AS_CALL_CDECL_OBJFIRST);
  1243. RegisterMembers_OctreeQueryResult<OctreeQueryResult>(engine, "OctreeQueryResult");
  1244. #ifdef REGISTER_CLASS_MANUAL_PART_OctreeQueryResult
  1245. REGISTER_CLASS_MANUAL_PART_OctreeQueryResult();
  1246. #endif
  1247. // OctreeQueryResult& OctreeQueryResult::operator =(const OctreeQueryResult&) | Possible implicitly-declared
  1248. RegisterImplicitlyDeclaredAssignOperatorIfPossible<OctreeQueryResult>(engine, "OctreeQueryResult");
  1249. }
  1250. // struct PackageEntry | File: ../IO/PackageFile.h
  1251. static void Register_PackageEntry(asIScriptEngine* engine)
  1252. {
  1253. RegisterMembers_PackageEntry<PackageEntry>(engine, "PackageEntry");
  1254. #ifdef REGISTER_CLASS_MANUAL_PART_PackageEntry
  1255. REGISTER_CLASS_MANUAL_PART_PackageEntry();
  1256. #endif
  1257. // PackageEntry& PackageEntry::operator =(const PackageEntry&) | Possible implicitly-declared
  1258. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PackageEntry>(engine, "PackageEntry");
  1259. }
  1260. // struct Particle | File: ../Graphics/ParticleEmitter.h
  1261. static void Register_Particle(asIScriptEngine* engine)
  1262. {
  1263. // Particle::~Particle() | Implicitly-declared
  1264. engine->RegisterObjectBehaviour("Particle", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Particle), AS_CALL_CDECL_OBJFIRST);
  1265. RegisterMembers_Particle<Particle>(engine, "Particle");
  1266. #ifdef REGISTER_CLASS_MANUAL_PART_Particle
  1267. REGISTER_CLASS_MANUAL_PART_Particle();
  1268. #endif
  1269. // Particle& Particle::operator =(const Particle&) | Possible implicitly-declared
  1270. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Particle>(engine, "Particle");
  1271. }
  1272. // struct PerThreadSceneResult | File: ../Graphics/View.h
  1273. static void Register_PerThreadSceneResult(asIScriptEngine* engine)
  1274. {
  1275. // PerThreadSceneResult::~PerThreadSceneResult() | Implicitly-declared
  1276. engine->RegisterObjectBehaviour("PerThreadSceneResult", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PerThreadSceneResult), AS_CALL_CDECL_OBJFIRST);
  1277. RegisterMembers_PerThreadSceneResult<PerThreadSceneResult>(engine, "PerThreadSceneResult");
  1278. #ifdef REGISTER_CLASS_MANUAL_PART_PerThreadSceneResult
  1279. REGISTER_CLASS_MANUAL_PART_PerThreadSceneResult();
  1280. #endif
  1281. // PerThreadSceneResult& PerThreadSceneResult::operator =(const PerThreadSceneResult&) | Possible implicitly-declared
  1282. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PerThreadSceneResult>(engine, "PerThreadSceneResult");
  1283. }
  1284. // Plane::Plane(const Plane& plane) noexcept = default
  1285. static void Plane__Plane_constspPlaneamp(Plane* _ptr, const Plane& plane)
  1286. {
  1287. new(_ptr) Plane(plane);
  1288. }
  1289. // Plane::Plane(const Vector3& v0, const Vector3& v1, const Vector3& v2) noexcept
  1290. static void Plane__Plane_constspVector3amp_constspVector3amp_constspVector3amp(Plane* _ptr, const Vector3& v0, const Vector3& v1, const Vector3& v2)
  1291. {
  1292. new(_ptr) Plane(v0, v1, v2);
  1293. }
  1294. // Plane::Plane(const Vector3& normal, const Vector3& point) noexcept
  1295. static void Plane__Plane_constspVector3amp_constspVector3amp(Plane* _ptr, const Vector3& normal, const Vector3& point)
  1296. {
  1297. new(_ptr) Plane(normal, point);
  1298. }
  1299. // explicit Plane::Plane(const Vector4& plane) noexcept
  1300. static void Plane__Plane_constspVector4amp(Plane* _ptr, const Vector4& plane)
  1301. {
  1302. new(_ptr) Plane(plane);
  1303. }
  1304. // class Plane | File: ../Math/Plane.h
  1305. static void Register_Plane(asIScriptEngine* engine)
  1306. {
  1307. // Plane::Plane(const Plane& plane) noexcept = default
  1308. engine->RegisterObjectBehaviour("Plane", asBEHAVE_CONSTRUCT, "void f(const Plane&in)", AS_FUNCTION_OBJFIRST(Plane__Plane_constspPlaneamp), AS_CALL_CDECL_OBJFIRST);
  1309. // Plane::Plane(const Vector3& v0, const Vector3& v1, const Vector3& v2) noexcept
  1310. engine->RegisterObjectBehaviour("Plane", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Vector3&in, const Vector3&in)", AS_FUNCTION_OBJFIRST(Plane__Plane_constspVector3amp_constspVector3amp_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  1311. // Plane::Plane(const Vector3& normal, const Vector3& point) noexcept
  1312. engine->RegisterObjectBehaviour("Plane", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Vector3&in)", AS_FUNCTION_OBJFIRST(Plane__Plane_constspVector3amp_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  1313. // explicit Plane::Plane(const Vector4& plane) noexcept
  1314. engine->RegisterObjectBehaviour("Plane", asBEHAVE_CONSTRUCT, "void f(const Vector4&in)", AS_FUNCTION_OBJFIRST(Plane__Plane_constspVector4amp), AS_CALL_CDECL_OBJFIRST);
  1315. RegisterMembers_Plane<Plane>(engine, "Plane");
  1316. #ifdef REGISTER_CLASS_MANUAL_PART_Plane
  1317. REGISTER_CLASS_MANUAL_PART_Plane();
  1318. #endif
  1319. }
  1320. // Polyhedron::Polyhedron(const Polyhedron& polyhedron)
  1321. static void Polyhedron__Polyhedron_constspPolyhedronamp(Polyhedron* _ptr, const Polyhedron& polyhedron)
  1322. {
  1323. new(_ptr) Polyhedron(polyhedron);
  1324. }
  1325. // explicit Polyhedron::Polyhedron(const BoundingBox& box)
  1326. static void Polyhedron__Polyhedron_constspBoundingBoxamp(Polyhedron* _ptr, const BoundingBox& box)
  1327. {
  1328. new(_ptr) Polyhedron(box);
  1329. }
  1330. // explicit Polyhedron::Polyhedron(const Frustum& frustum)
  1331. static void Polyhedron__Polyhedron_constspFrustumamp(Polyhedron* _ptr, const Frustum& frustum)
  1332. {
  1333. new(_ptr) Polyhedron(frustum);
  1334. }
  1335. // class Polyhedron | File: ../Math/Polyhedron.h
  1336. static void Register_Polyhedron(asIScriptEngine* engine)
  1337. {
  1338. // explicit Polyhedron::Polyhedron(const Vector<Vector<Vector3>>& faces)
  1339. // Error: type "const Vector<Vector<Vector3>>&" can not automatically bind
  1340. // Polyhedron::Polyhedron(const Polyhedron& polyhedron)
  1341. engine->RegisterObjectBehaviour("Polyhedron", asBEHAVE_CONSTRUCT, "void f(const Polyhedron&in)", AS_FUNCTION_OBJFIRST(Polyhedron__Polyhedron_constspPolyhedronamp), AS_CALL_CDECL_OBJFIRST);
  1342. // explicit Polyhedron::Polyhedron(const BoundingBox& box)
  1343. engine->RegisterObjectBehaviour("Polyhedron", asBEHAVE_CONSTRUCT, "void f(const BoundingBox&in)", AS_FUNCTION_OBJFIRST(Polyhedron__Polyhedron_constspBoundingBoxamp), AS_CALL_CDECL_OBJFIRST);
  1344. // explicit Polyhedron::Polyhedron(const Frustum& frustum)
  1345. engine->RegisterObjectBehaviour("Polyhedron", asBEHAVE_CONSTRUCT, "void f(const Frustum&in)", AS_FUNCTION_OBJFIRST(Polyhedron__Polyhedron_constspFrustumamp), AS_CALL_CDECL_OBJFIRST);
  1346. // Polyhedron::~Polyhedron() noexcept = default
  1347. engine->RegisterObjectBehaviour("Polyhedron", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Polyhedron), AS_CALL_CDECL_OBJFIRST);
  1348. RegisterMembers_Polyhedron<Polyhedron>(engine, "Polyhedron");
  1349. #ifdef REGISTER_CLASS_MANUAL_PART_Polyhedron
  1350. REGISTER_CLASS_MANUAL_PART_Polyhedron();
  1351. #endif
  1352. }
  1353. // Quaternion::Quaternion(const Quaternion& quat) noexcept
  1354. static void Quaternion__Quaternion_constspQuaternionamp(Quaternion* _ptr, const Quaternion& quat)
  1355. {
  1356. new(_ptr) Quaternion(quat);
  1357. }
  1358. // Quaternion::Quaternion(float w, float x, float y, float z) noexcept
  1359. static void Quaternion__Quaternion_float_float_float_float(Quaternion* _ptr, float w, float x, float y, float z)
  1360. {
  1361. new(_ptr) Quaternion(w, x, y, z);
  1362. }
  1363. // Quaternion::Quaternion(float angle, const Vector3& axis) noexcept
  1364. static void Quaternion__Quaternion_float_constspVector3amp(Quaternion* _ptr, float angle, const Vector3& axis)
  1365. {
  1366. new(_ptr) Quaternion(angle, axis);
  1367. }
  1368. // explicit Quaternion::Quaternion(float angle) noexcept
  1369. static void Quaternion__Quaternion_float(Quaternion* _ptr, float angle)
  1370. {
  1371. new(_ptr) Quaternion(angle);
  1372. }
  1373. // Quaternion::Quaternion(float x, float y, float z) noexcept
  1374. static void Quaternion__Quaternion_float_float_float(Quaternion* _ptr, float x, float y, float z)
  1375. {
  1376. new(_ptr) Quaternion(x, y, z);
  1377. }
  1378. // explicit Quaternion::Quaternion(const Vector3& angles) noexcept
  1379. static void Quaternion__Quaternion_constspVector3amp(Quaternion* _ptr, const Vector3& angles)
  1380. {
  1381. new(_ptr) Quaternion(angles);
  1382. }
  1383. // Quaternion::Quaternion(const Vector3& start, const Vector3& end) noexcept
  1384. static void Quaternion__Quaternion_constspVector3amp_constspVector3amp(Quaternion* _ptr, const Vector3& start, const Vector3& end)
  1385. {
  1386. new(_ptr) Quaternion(start, end);
  1387. }
  1388. // Quaternion::Quaternion(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis) noexcept
  1389. static void Quaternion__Quaternion_constspVector3amp_constspVector3amp_constspVector3amp(Quaternion* _ptr, const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis)
  1390. {
  1391. new(_ptr) Quaternion(xAxis, yAxis, zAxis);
  1392. }
  1393. // explicit Quaternion::Quaternion(const Matrix3& matrix) noexcept
  1394. static void Quaternion__Quaternion_constspMatrix3amp(Quaternion* _ptr, const Matrix3& matrix)
  1395. {
  1396. new(_ptr) Quaternion(matrix);
  1397. }
  1398. // class Quaternion | File: ../Math/Quaternion.h
  1399. static void Register_Quaternion(asIScriptEngine* engine)
  1400. {
  1401. // explicit Quaternion::Quaternion(const float* data) noexcept
  1402. // Error: type "const float*" can not automatically bind
  1403. // Quaternion::Quaternion(const Quaternion& quat) noexcept
  1404. engine->RegisterObjectBehaviour("Quaternion", asBEHAVE_CONSTRUCT, "void f(const Quaternion&in)", AS_FUNCTION_OBJFIRST(Quaternion__Quaternion_constspQuaternionamp), AS_CALL_CDECL_OBJFIRST);
  1405. // Quaternion::Quaternion(float w, float x, float y, float z) noexcept
  1406. engine->RegisterObjectBehaviour("Quaternion", asBEHAVE_CONSTRUCT, "void f(float, float, float, float)", AS_FUNCTION_OBJFIRST(Quaternion__Quaternion_float_float_float_float), AS_CALL_CDECL_OBJFIRST);
  1407. // Quaternion::Quaternion(float angle, const Vector3& axis) noexcept
  1408. engine->RegisterObjectBehaviour("Quaternion", asBEHAVE_CONSTRUCT, "void f(float, const Vector3&in)", AS_FUNCTION_OBJFIRST(Quaternion__Quaternion_float_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  1409. // explicit Quaternion::Quaternion(float angle) noexcept
  1410. engine->RegisterObjectBehaviour("Quaternion", asBEHAVE_CONSTRUCT, "void f(float)", AS_FUNCTION_OBJFIRST(Quaternion__Quaternion_float), AS_CALL_CDECL_OBJFIRST);
  1411. // Quaternion::Quaternion(float x, float y, float z) noexcept
  1412. engine->RegisterObjectBehaviour("Quaternion", asBEHAVE_CONSTRUCT, "void f(float, float, float)", AS_FUNCTION_OBJFIRST(Quaternion__Quaternion_float_float_float), AS_CALL_CDECL_OBJFIRST);
  1413. // explicit Quaternion::Quaternion(const Vector3& angles) noexcept
  1414. engine->RegisterObjectBehaviour("Quaternion", asBEHAVE_CONSTRUCT, "void f(const Vector3&in)", AS_FUNCTION_OBJFIRST(Quaternion__Quaternion_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  1415. // Quaternion::Quaternion(const Vector3& start, const Vector3& end) noexcept
  1416. engine->RegisterObjectBehaviour("Quaternion", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Vector3&in)", AS_FUNCTION_OBJFIRST(Quaternion__Quaternion_constspVector3amp_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  1417. // Quaternion::Quaternion(const Vector3& xAxis, const Vector3& yAxis, const Vector3& zAxis) noexcept
  1418. engine->RegisterObjectBehaviour("Quaternion", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Vector3&in, const Vector3&in)", AS_FUNCTION_OBJFIRST(Quaternion__Quaternion_constspVector3amp_constspVector3amp_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  1419. // explicit Quaternion::Quaternion(const Matrix3& matrix) noexcept
  1420. engine->RegisterObjectBehaviour("Quaternion", asBEHAVE_CONSTRUCT, "void f(const Matrix3&in)", AS_FUNCTION_OBJFIRST(Quaternion__Quaternion_constspMatrix3amp), AS_CALL_CDECL_OBJFIRST);
  1421. RegisterMembers_Quaternion<Quaternion>(engine, "Quaternion");
  1422. #ifdef REGISTER_CLASS_MANUAL_PART_Quaternion
  1423. REGISTER_CLASS_MANUAL_PART_Quaternion();
  1424. #endif
  1425. }
  1426. // Ray::Ray(const Vector3& origin, const Vector3& direction) noexcept
  1427. static void Ray__Ray_constspVector3amp_constspVector3amp(Ray* _ptr, const Vector3& origin, const Vector3& direction)
  1428. {
  1429. new(_ptr) Ray(origin, direction);
  1430. }
  1431. // Ray::Ray(const Ray& ray) noexcept = default
  1432. static void Ray__Ray_constspRayamp(Ray* _ptr, const Ray& ray)
  1433. {
  1434. new(_ptr) Ray(ray);
  1435. }
  1436. // class Ray | File: ../Math/Ray.h
  1437. static void Register_Ray(asIScriptEngine* engine)
  1438. {
  1439. // Ray::Ray(const Vector3& origin, const Vector3& direction) noexcept
  1440. engine->RegisterObjectBehaviour("Ray", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Vector3&in)", AS_FUNCTION_OBJFIRST(Ray__Ray_constspVector3amp_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  1441. // Ray::Ray(const Ray& ray) noexcept = default
  1442. engine->RegisterObjectBehaviour("Ray", asBEHAVE_CONSTRUCT, "void f(const Ray&in)", AS_FUNCTION_OBJFIRST(Ray__Ray_constspRayamp), AS_CALL_CDECL_OBJFIRST);
  1443. RegisterMembers_Ray<Ray>(engine, "Ray");
  1444. #ifdef REGISTER_CLASS_MANUAL_PART_Ray
  1445. REGISTER_CLASS_MANUAL_PART_Ray();
  1446. #endif
  1447. }
  1448. // struct RayQueryResult | File: ../Graphics/OctreeQuery.h
  1449. static void Register_RayQueryResult(asIScriptEngine* engine)
  1450. {
  1451. // RayQueryResult::~RayQueryResult() | Implicitly-declared
  1452. engine->RegisterObjectBehaviour("RayQueryResult", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(RayQueryResult), AS_CALL_CDECL_OBJFIRST);
  1453. RegisterMembers_RayQueryResult<RayQueryResult>(engine, "RayQueryResult");
  1454. #ifdef REGISTER_CLASS_MANUAL_PART_RayQueryResult
  1455. REGISTER_CLASS_MANUAL_PART_RayQueryResult();
  1456. #endif
  1457. // RayQueryResult& RayQueryResult::operator =(const RayQueryResult&) | Possible implicitly-declared
  1458. RegisterImplicitlyDeclaredAssignOperatorIfPossible<RayQueryResult>(engine, "RayQueryResult");
  1459. }
  1460. // Rect::Rect(const Vector2& min, const Vector2& max) noexcept
  1461. static void Rect__Rect_constspVector2amp_constspVector2amp(Rect* _ptr, const Vector2& min, const Vector2& max)
  1462. {
  1463. new(_ptr) Rect(min, max);
  1464. }
  1465. // Rect::Rect(float left, float top, float right, float bottom) noexcept
  1466. static void Rect__Rect_float_float_float_float(Rect* _ptr, float left, float top, float right, float bottom)
  1467. {
  1468. new(_ptr) Rect(left, top, right, bottom);
  1469. }
  1470. // explicit Rect::Rect(const Vector4& vector) noexcept
  1471. static void Rect__Rect_constspVector4amp(Rect* _ptr, const Vector4& vector)
  1472. {
  1473. new(_ptr) Rect(vector);
  1474. }
  1475. // Rect::Rect(const Rect& rect) noexcept = default
  1476. static void Rect__Rect_constspRectamp(Rect* _ptr, const Rect& rect)
  1477. {
  1478. new(_ptr) Rect(rect);
  1479. }
  1480. // class Rect | File: ../Math/Rect.h
  1481. static void Register_Rect(asIScriptEngine* engine)
  1482. {
  1483. // explicit Rect::Rect(const float* data) noexcept
  1484. // Error: type "const float*" can not automatically bind
  1485. // Rect::Rect(const Vector2& min, const Vector2& max) noexcept
  1486. engine->RegisterObjectBehaviour("Rect", asBEHAVE_CONSTRUCT, "void f(const Vector2&in, const Vector2&in)", AS_FUNCTION_OBJFIRST(Rect__Rect_constspVector2amp_constspVector2amp), AS_CALL_CDECL_OBJFIRST);
  1487. // Rect::Rect(float left, float top, float right, float bottom) noexcept
  1488. engine->RegisterObjectBehaviour("Rect", asBEHAVE_CONSTRUCT, "void f(float, float, float, float)", AS_FUNCTION_OBJFIRST(Rect__Rect_float_float_float_float), AS_CALL_CDECL_OBJFIRST);
  1489. // explicit Rect::Rect(const Vector4& vector) noexcept
  1490. engine->RegisterObjectBehaviour("Rect", asBEHAVE_CONSTRUCT, "void f(const Vector4&in)", AS_FUNCTION_OBJFIRST(Rect__Rect_constspVector4amp), AS_CALL_CDECL_OBJFIRST);
  1491. // Rect::Rect(const Rect& rect) noexcept = default
  1492. engine->RegisterObjectBehaviour("Rect", asBEHAVE_CONSTRUCT, "void f(const Rect&in)", AS_FUNCTION_OBJFIRST(Rect__Rect_constspRectamp), AS_CALL_CDECL_OBJFIRST);
  1493. RegisterMembers_Rect<Rect>(engine, "Rect");
  1494. #ifdef REGISTER_CLASS_MANUAL_PART_Rect
  1495. REGISTER_CLASS_MANUAL_PART_Rect();
  1496. #endif
  1497. }
  1498. // struct RefCount | File: ../Container/RefCounted.h
  1499. static void Register_RefCount(asIScriptEngine* engine)
  1500. {
  1501. // RefCount::~RefCount()
  1502. engine->RegisterObjectBehaviour("RefCount", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(RefCount), AS_CALL_CDECL_OBJFIRST);
  1503. RegisterMembers_RefCount<RefCount>(engine, "RefCount");
  1504. #ifdef REGISTER_CLASS_MANUAL_PART_RefCount
  1505. REGISTER_CLASS_MANUAL_PART_RefCount();
  1506. #endif
  1507. // RefCount& RefCount::operator =(const RefCount&) | Possible implicitly-declared
  1508. RegisterImplicitlyDeclaredAssignOperatorIfPossible<RefCount>(engine, "RefCount");
  1509. }
  1510. // class RefCounted | File: ../Container/RefCounted.h
  1511. static void Register_RefCounted(asIScriptEngine* engine)
  1512. {
  1513. // RefCounted::RefCounted(const RefCounted& rhs) = delete
  1514. // Not registered because deleted
  1515. RegisterMembers_RefCounted<RefCounted>(engine, "RefCounted");
  1516. #ifdef REGISTER_CLASS_MANUAL_PART_RefCounted
  1517. REGISTER_CLASS_MANUAL_PART_RefCounted();
  1518. #endif
  1519. }
  1520. // struct RenderPathCommand | File: ../Graphics/RenderPath.h
  1521. static void Register_RenderPathCommand(asIScriptEngine* engine)
  1522. {
  1523. // RenderPathCommand::~RenderPathCommand() | Implicitly-declared
  1524. engine->RegisterObjectBehaviour("RenderPathCommand", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(RenderPathCommand), AS_CALL_CDECL_OBJFIRST);
  1525. RegisterMembers_RenderPathCommand<RenderPathCommand>(engine, "RenderPathCommand");
  1526. #ifdef REGISTER_CLASS_MANUAL_PART_RenderPathCommand
  1527. REGISTER_CLASS_MANUAL_PART_RenderPathCommand();
  1528. #endif
  1529. // RenderPathCommand& RenderPathCommand::operator =(const RenderPathCommand&) | Possible implicitly-declared
  1530. RegisterImplicitlyDeclaredAssignOperatorIfPossible<RenderPathCommand>(engine, "RenderPathCommand");
  1531. }
  1532. // struct RenderTargetInfo | File: ../Graphics/RenderPath.h
  1533. static void Register_RenderTargetInfo(asIScriptEngine* engine)
  1534. {
  1535. // RenderTargetInfo::~RenderTargetInfo() | Implicitly-declared
  1536. engine->RegisterObjectBehaviour("RenderTargetInfo", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(RenderTargetInfo), AS_CALL_CDECL_OBJFIRST);
  1537. RegisterMembers_RenderTargetInfo<RenderTargetInfo>(engine, "RenderTargetInfo");
  1538. #ifdef REGISTER_CLASS_MANUAL_PART_RenderTargetInfo
  1539. REGISTER_CLASS_MANUAL_PART_RenderTargetInfo();
  1540. #endif
  1541. // RenderTargetInfo& RenderTargetInfo::operator =(const RenderTargetInfo&) | Possible implicitly-declared
  1542. RegisterImplicitlyDeclaredAssignOperatorIfPossible<RenderTargetInfo>(engine, "RenderTargetInfo");
  1543. }
  1544. // struct ReplicationState | File: ../Scene/ReplicationState.h
  1545. static void Register_ReplicationState(asIScriptEngine* engine)
  1546. {
  1547. // ReplicationState::~ReplicationState() | Implicitly-declared
  1548. engine->RegisterObjectBehaviour("ReplicationState", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ReplicationState), AS_CALL_CDECL_OBJFIRST);
  1549. RegisterMembers_ReplicationState<ReplicationState>(engine, "ReplicationState");
  1550. #ifdef REGISTER_CLASS_MANUAL_PART_ReplicationState
  1551. REGISTER_CLASS_MANUAL_PART_ReplicationState();
  1552. #endif
  1553. // ReplicationState& ReplicationState::operator =(const ReplicationState&) | Possible implicitly-declared
  1554. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ReplicationState>(engine, "ReplicationState");
  1555. }
  1556. // struct ResourceGroup | File: ../Resource/ResourceCache.h
  1557. static void Register_ResourceGroup(asIScriptEngine* engine)
  1558. {
  1559. // ResourceGroup::~ResourceGroup() | Implicitly-declared
  1560. engine->RegisterObjectBehaviour("ResourceGroup", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ResourceGroup), AS_CALL_CDECL_OBJFIRST);
  1561. RegisterMembers_ResourceGroup<ResourceGroup>(engine, "ResourceGroup");
  1562. #ifdef REGISTER_CLASS_MANUAL_PART_ResourceGroup
  1563. REGISTER_CLASS_MANUAL_PART_ResourceGroup();
  1564. #endif
  1565. // ResourceGroup& ResourceGroup::operator =(const ResourceGroup&) | Possible implicitly-declared
  1566. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ResourceGroup>(engine, "ResourceGroup");
  1567. }
  1568. // explicit ResourceRef::ResourceRef(StringHash type)
  1569. static void ResourceRef__ResourceRef_StringHash(ResourceRef* _ptr, StringHash type)
  1570. {
  1571. new(_ptr) ResourceRef(type);
  1572. }
  1573. // ResourceRef::ResourceRef(StringHash type, const String& name)
  1574. static void ResourceRef__ResourceRef_StringHash_constspStringamp(ResourceRef* _ptr, StringHash type, const String& name)
  1575. {
  1576. new(_ptr) ResourceRef(type, name);
  1577. }
  1578. // ResourceRef::ResourceRef(const String& type, const String& name)
  1579. static void ResourceRef__ResourceRef_constspStringamp_constspStringamp(ResourceRef* _ptr, const String& type, const String& name)
  1580. {
  1581. new(_ptr) ResourceRef(type, name);
  1582. }
  1583. // ResourceRef::ResourceRef(const ResourceRef& rhs) = default
  1584. static void ResourceRef__ResourceRef_constspResourceRefamp(ResourceRef* _ptr, const ResourceRef& rhs)
  1585. {
  1586. new(_ptr) ResourceRef(rhs);
  1587. }
  1588. // struct ResourceRef | File: ../Core/Variant.h
  1589. static void Register_ResourceRef(asIScriptEngine* engine)
  1590. {
  1591. // ResourceRef::ResourceRef(const char* type, const char* name)
  1592. // Error: type "const char*" can not automatically bind
  1593. // explicit ResourceRef::ResourceRef(StringHash type)
  1594. engine->RegisterObjectBehaviour("ResourceRef", asBEHAVE_CONSTRUCT, "void f(StringHash)", AS_FUNCTION_OBJFIRST(ResourceRef__ResourceRef_StringHash), AS_CALL_CDECL_OBJFIRST);
  1595. // ResourceRef::ResourceRef(StringHash type, const String& name)
  1596. engine->RegisterObjectBehaviour("ResourceRef", asBEHAVE_CONSTRUCT, "void f(StringHash, const String&in)", AS_FUNCTION_OBJFIRST(ResourceRef__ResourceRef_StringHash_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  1597. // ResourceRef::ResourceRef(const String& type, const String& name)
  1598. engine->RegisterObjectBehaviour("ResourceRef", asBEHAVE_CONSTRUCT, "void f(const String&in, const String&in)", AS_FUNCTION_OBJFIRST(ResourceRef__ResourceRef_constspStringamp_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  1599. // ResourceRef::ResourceRef(const ResourceRef& rhs) = default
  1600. engine->RegisterObjectBehaviour("ResourceRef", asBEHAVE_CONSTRUCT, "void f(const ResourceRef&in)", AS_FUNCTION_OBJFIRST(ResourceRef__ResourceRef_constspResourceRefamp), AS_CALL_CDECL_OBJFIRST);
  1601. // ResourceRef::~ResourceRef() | Implicitly-declared
  1602. engine->RegisterObjectBehaviour("ResourceRef", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ResourceRef), AS_CALL_CDECL_OBJFIRST);
  1603. RegisterMembers_ResourceRef<ResourceRef>(engine, "ResourceRef");
  1604. #ifdef REGISTER_CLASS_MANUAL_PART_ResourceRef
  1605. REGISTER_CLASS_MANUAL_PART_ResourceRef();
  1606. #endif
  1607. // ResourceRef& ResourceRef::operator =(const ResourceRef&) | Possible implicitly-declared
  1608. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ResourceRef>(engine, "ResourceRef");
  1609. }
  1610. // explicit ResourceRefList::ResourceRefList(StringHash type)
  1611. static void ResourceRefList__ResourceRefList_StringHash(ResourceRefList* _ptr, StringHash type)
  1612. {
  1613. new(_ptr) ResourceRefList(type);
  1614. }
  1615. // ResourceRefList::ResourceRefList(StringHash type, const StringVector& names)
  1616. static void ResourceRefList__ResourceRefList_StringHash_constspStringVectoramp(ResourceRefList* _ptr, StringHash type, CScriptArray* names_conv)
  1617. {
  1618. StringVector names = ArrayToVector<String>(names_conv);
  1619. new(_ptr) ResourceRefList(type, names);
  1620. }
  1621. // struct ResourceRefList | File: ../Core/Variant.h
  1622. static void Register_ResourceRefList(asIScriptEngine* engine)
  1623. {
  1624. // explicit ResourceRefList::ResourceRefList(StringHash type)
  1625. engine->RegisterObjectBehaviour("ResourceRefList", asBEHAVE_CONSTRUCT, "void f(StringHash)", AS_FUNCTION_OBJFIRST(ResourceRefList__ResourceRefList_StringHash), AS_CALL_CDECL_OBJFIRST);
  1626. // ResourceRefList::ResourceRefList(StringHash type, const StringVector& names)
  1627. engine->RegisterObjectBehaviour("ResourceRefList", asBEHAVE_CONSTRUCT, "void f(StringHash, Array<String>@+)", AS_FUNCTION_OBJFIRST(ResourceRefList__ResourceRefList_StringHash_constspStringVectoramp), AS_CALL_CDECL_OBJFIRST);
  1628. // ResourceRefList::~ResourceRefList() | Implicitly-declared
  1629. engine->RegisterObjectBehaviour("ResourceRefList", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ResourceRefList), AS_CALL_CDECL_OBJFIRST);
  1630. RegisterMembers_ResourceRefList<ResourceRefList>(engine, "ResourceRefList");
  1631. #ifdef REGISTER_CLASS_MANUAL_PART_ResourceRefList
  1632. REGISTER_CLASS_MANUAL_PART_ResourceRefList();
  1633. #endif
  1634. // ResourceRefList& ResourceRefList::operator =(const ResourceRefList&) | Possible implicitly-declared
  1635. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ResourceRefList>(engine, "ResourceRefList");
  1636. }
  1637. // struct ScenePassInfo | File: ../Graphics/View.h
  1638. static void Register_ScenePassInfo(asIScriptEngine* engine)
  1639. {
  1640. // ScenePassInfo::~ScenePassInfo() | Implicitly-declared
  1641. engine->RegisterObjectBehaviour("ScenePassInfo", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ScenePassInfo), AS_CALL_CDECL_OBJFIRST);
  1642. RegisterMembers_ScenePassInfo<ScenePassInfo>(engine, "ScenePassInfo");
  1643. #ifdef REGISTER_CLASS_MANUAL_PART_ScenePassInfo
  1644. REGISTER_CLASS_MANUAL_PART_ScenePassInfo();
  1645. #endif
  1646. // ScenePassInfo& ScenePassInfo::operator =(const ScenePassInfo&) | Possible implicitly-declared
  1647. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ScenePassInfo>(engine, "ScenePassInfo");
  1648. }
  1649. // class SceneResolver | File: ../Scene/SceneResolver.h
  1650. static void Register_SceneResolver(asIScriptEngine* engine)
  1651. {
  1652. // SceneResolver::~SceneResolver()
  1653. engine->RegisterObjectBehaviour("SceneResolver", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(SceneResolver), AS_CALL_CDECL_OBJFIRST);
  1654. RegisterMembers_SceneResolver<SceneResolver>(engine, "SceneResolver");
  1655. #ifdef REGISTER_CLASS_MANUAL_PART_SceneResolver
  1656. REGISTER_CLASS_MANUAL_PART_SceneResolver();
  1657. #endif
  1658. // SceneResolver& SceneResolver::operator =(const SceneResolver&) | Possible implicitly-declared
  1659. RegisterImplicitlyDeclaredAssignOperatorIfPossible<SceneResolver>(engine, "SceneResolver");
  1660. }
  1661. // struct ScratchBuffer | File: ../Graphics/Graphics.h
  1662. static void Register_ScratchBuffer(asIScriptEngine* engine)
  1663. {
  1664. // ScratchBuffer::~ScratchBuffer() | Implicitly-declared
  1665. engine->RegisterObjectBehaviour("ScratchBuffer", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ScratchBuffer), AS_CALL_CDECL_OBJFIRST);
  1666. RegisterMembers_ScratchBuffer<ScratchBuffer>(engine, "ScratchBuffer");
  1667. #ifdef REGISTER_CLASS_MANUAL_PART_ScratchBuffer
  1668. REGISTER_CLASS_MANUAL_PART_ScratchBuffer();
  1669. #endif
  1670. // ScratchBuffer& ScratchBuffer::operator =(const ScratchBuffer&) | Possible implicitly-declared
  1671. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ScratchBuffer>(engine, "ScratchBuffer");
  1672. }
  1673. // struct ScreenModeParams | File: ../Graphics/Graphics.h
  1674. static void Register_ScreenModeParams(asIScriptEngine* engine)
  1675. {
  1676. // ScreenModeParams::~ScreenModeParams() | Implicitly-declared
  1677. engine->RegisterObjectBehaviour("ScreenModeParams", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ScreenModeParams), AS_CALL_CDECL_OBJFIRST);
  1678. RegisterMembers_ScreenModeParams<ScreenModeParams>(engine, "ScreenModeParams");
  1679. #ifdef REGISTER_CLASS_MANUAL_PART_ScreenModeParams
  1680. REGISTER_CLASS_MANUAL_PART_ScreenModeParams();
  1681. #endif
  1682. // ScreenModeParams& ScreenModeParams::operator =(const ScreenModeParams&) | Possible implicitly-declared
  1683. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ScreenModeParams>(engine, "ScreenModeParams");
  1684. }
  1685. // class Serializer | File: ../IO/Serializer.h
  1686. static void Register_Serializer(asIScriptEngine* engine)
  1687. {
  1688. RegisterMembers_Serializer<Serializer>(engine, "Serializer");
  1689. #ifdef REGISTER_CLASS_MANUAL_PART_Serializer
  1690. REGISTER_CLASS_MANUAL_PART_Serializer();
  1691. #endif
  1692. // Serializer& Serializer::operator =(const Serializer&) | Possible implicitly-declared
  1693. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Serializer>(engine, "Serializer");
  1694. }
  1695. // ShaderParameter::ShaderParameter(const String& name, unsigned glType, int location)
  1696. static void ShaderParameter__ShaderParameter_constspStringamp_unsigned_int(ShaderParameter* _ptr, const String& name, unsigned glType, int location)
  1697. {
  1698. new(_ptr) ShaderParameter(name, glType, location);
  1699. }
  1700. // ShaderParameter::ShaderParameter(ShaderType type, const String& name, unsigned offset, unsigned size, unsigned buffer)
  1701. static void ShaderParameter__ShaderParameter_ShaderType_constspStringamp_unsigned_unsigned_unsigned(ShaderParameter* _ptr, ShaderType type, const String& name, unsigned offset, unsigned size, unsigned buffer)
  1702. {
  1703. new(_ptr) ShaderParameter(type, name, offset, size, buffer);
  1704. }
  1705. // ShaderParameter::ShaderParameter(ShaderType type, const String& name, unsigned reg, unsigned regCount)
  1706. static void ShaderParameter__ShaderParameter_ShaderType_constspStringamp_unsigned_unsigned(ShaderParameter* _ptr, ShaderType type, const String& name, unsigned reg, unsigned regCount)
  1707. {
  1708. new(_ptr) ShaderParameter(type, name, reg, regCount);
  1709. }
  1710. // struct ShaderParameter | File: ../GraphicsAPI/ShaderVariation.h
  1711. static void Register_ShaderParameter(asIScriptEngine* engine)
  1712. {
  1713. // ShaderParameter::ShaderParameter(const String& name, unsigned glType, int location)
  1714. engine->RegisterObjectBehaviour("ShaderParameter", asBEHAVE_CONSTRUCT, "void f(const String&in, uint, int)", AS_FUNCTION_OBJFIRST(ShaderParameter__ShaderParameter_constspStringamp_unsigned_int), AS_CALL_CDECL_OBJFIRST);
  1715. // ShaderParameter::ShaderParameter(ShaderType type, const String& name, unsigned offset, unsigned size, unsigned buffer)
  1716. engine->RegisterObjectBehaviour("ShaderParameter", asBEHAVE_CONSTRUCT, "void f(ShaderType, const String&in, uint, uint, uint)", AS_FUNCTION_OBJFIRST(ShaderParameter__ShaderParameter_ShaderType_constspStringamp_unsigned_unsigned_unsigned), AS_CALL_CDECL_OBJFIRST);
  1717. // ShaderParameter::ShaderParameter(ShaderType type, const String& name, unsigned reg, unsigned regCount)
  1718. engine->RegisterObjectBehaviour("ShaderParameter", asBEHAVE_CONSTRUCT, "void f(ShaderType, const String&in, uint, uint)", AS_FUNCTION_OBJFIRST(ShaderParameter__ShaderParameter_ShaderType_constspStringamp_unsigned_unsigned), AS_CALL_CDECL_OBJFIRST);
  1719. // ShaderParameter::~ShaderParameter() | Implicitly-declared
  1720. engine->RegisterObjectBehaviour("ShaderParameter", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ShaderParameter), AS_CALL_CDECL_OBJFIRST);
  1721. RegisterMembers_ShaderParameter<ShaderParameter>(engine, "ShaderParameter");
  1722. #ifdef REGISTER_CLASS_MANUAL_PART_ShaderParameter
  1723. REGISTER_CLASS_MANUAL_PART_ShaderParameter();
  1724. #endif
  1725. // ShaderParameter& ShaderParameter::operator =(const ShaderParameter&) | Possible implicitly-declared
  1726. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ShaderParameter>(engine, "ShaderParameter");
  1727. }
  1728. // struct ShadowBatchQueue | File: ../Graphics/Batch.h
  1729. static void Register_ShadowBatchQueue(asIScriptEngine* engine)
  1730. {
  1731. // ShadowBatchQueue::~ShadowBatchQueue() | Implicitly-declared
  1732. engine->RegisterObjectBehaviour("ShadowBatchQueue", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ShadowBatchQueue), AS_CALL_CDECL_OBJFIRST);
  1733. RegisterMembers_ShadowBatchQueue<ShadowBatchQueue>(engine, "ShadowBatchQueue");
  1734. #ifdef REGISTER_CLASS_MANUAL_PART_ShadowBatchQueue
  1735. REGISTER_CLASS_MANUAL_PART_ShadowBatchQueue();
  1736. #endif
  1737. // ShadowBatchQueue& ShadowBatchQueue::operator =(const ShadowBatchQueue&) | Possible implicitly-declared
  1738. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ShadowBatchQueue>(engine, "ShadowBatchQueue");
  1739. }
  1740. // class Skeleton | File: ../Graphics/Skeleton.h
  1741. static void Register_Skeleton(asIScriptEngine* engine)
  1742. {
  1743. // Skeleton::Skeleton() | File: ../Graphics/Skeleton.h
  1744. // Factory not registered since the @nocount object created in a script through the factory will never be deleted
  1745. RegisterMembers_Skeleton<Skeleton>(engine, "Skeleton");
  1746. #ifdef REGISTER_CLASS_MANUAL_PART_Skeleton
  1747. REGISTER_CLASS_MANUAL_PART_Skeleton();
  1748. #endif
  1749. // Skeleton& Skeleton::operator =(const Skeleton&) | Possible implicitly-declared
  1750. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Skeleton>(engine, "Skeleton");
  1751. }
  1752. // SourceBatch::SourceBatch(const SourceBatch& batch)
  1753. static void SourceBatch__SourceBatch_constspSourceBatchamp(SourceBatch* _ptr, const SourceBatch& batch)
  1754. {
  1755. new(_ptr) SourceBatch(batch);
  1756. }
  1757. // struct SourceBatch | File: ../Graphics/Drawable.h
  1758. static void Register_SourceBatch(asIScriptEngine* engine)
  1759. {
  1760. // SourceBatch::SourceBatch(const SourceBatch& batch)
  1761. engine->RegisterObjectBehaviour("SourceBatch", asBEHAVE_CONSTRUCT, "void f(const SourceBatch&in)", AS_FUNCTION_OBJFIRST(SourceBatch__SourceBatch_constspSourceBatchamp), AS_CALL_CDECL_OBJFIRST);
  1762. // SourceBatch::~SourceBatch()
  1763. engine->RegisterObjectBehaviour("SourceBatch", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(SourceBatch), AS_CALL_CDECL_OBJFIRST);
  1764. RegisterMembers_SourceBatch<SourceBatch>(engine, "SourceBatch");
  1765. #ifdef REGISTER_CLASS_MANUAL_PART_SourceBatch
  1766. REGISTER_CLASS_MANUAL_PART_SourceBatch();
  1767. #endif
  1768. }
  1769. // Sphere::Sphere(const Sphere& sphere) noexcept = default
  1770. static void Sphere__Sphere_constspSphereamp(Sphere* _ptr, const Sphere& sphere)
  1771. {
  1772. new(_ptr) Sphere(sphere);
  1773. }
  1774. // Sphere::Sphere(const Vector3& center, float radius) noexcept
  1775. static void Sphere__Sphere_constspVector3amp_float(Sphere* _ptr, const Vector3& center, float radius)
  1776. {
  1777. new(_ptr) Sphere(center, radius);
  1778. }
  1779. // explicit Sphere::Sphere(const BoundingBox& box) noexcept
  1780. static void Sphere__Sphere_constspBoundingBoxamp(Sphere* _ptr, const BoundingBox& box)
  1781. {
  1782. new(_ptr) Sphere(box);
  1783. }
  1784. // explicit Sphere::Sphere(const Frustum& frustum) noexcept
  1785. static void Sphere__Sphere_constspFrustumamp(Sphere* _ptr, const Frustum& frustum)
  1786. {
  1787. new(_ptr) Sphere(frustum);
  1788. }
  1789. // explicit Sphere::Sphere(const Polyhedron& poly) noexcept
  1790. static void Sphere__Sphere_constspPolyhedronamp(Sphere* _ptr, const Polyhedron& poly)
  1791. {
  1792. new(_ptr) Sphere(poly);
  1793. }
  1794. // class Sphere | File: ../Math/Sphere.h
  1795. static void Register_Sphere(asIScriptEngine* engine)
  1796. {
  1797. // Sphere::Sphere(const Vector3* vertices, unsigned count) noexcept
  1798. // Error: type "const Vector3*" can not automatically bind
  1799. // Sphere::Sphere(const Sphere& sphere) noexcept = default
  1800. engine->RegisterObjectBehaviour("Sphere", asBEHAVE_CONSTRUCT, "void f(const Sphere&in)", AS_FUNCTION_OBJFIRST(Sphere__Sphere_constspSphereamp), AS_CALL_CDECL_OBJFIRST);
  1801. // Sphere::Sphere(const Vector3& center, float radius) noexcept
  1802. engine->RegisterObjectBehaviour("Sphere", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, float)", AS_FUNCTION_OBJFIRST(Sphere__Sphere_constspVector3amp_float), AS_CALL_CDECL_OBJFIRST);
  1803. // explicit Sphere::Sphere(const BoundingBox& box) noexcept
  1804. engine->RegisterObjectBehaviour("Sphere", asBEHAVE_CONSTRUCT, "void f(const BoundingBox&in)", AS_FUNCTION_OBJFIRST(Sphere__Sphere_constspBoundingBoxamp), AS_CALL_CDECL_OBJFIRST);
  1805. // explicit Sphere::Sphere(const Frustum& frustum) noexcept
  1806. engine->RegisterObjectBehaviour("Sphere", asBEHAVE_CONSTRUCT, "void f(const Frustum&in)", AS_FUNCTION_OBJFIRST(Sphere__Sphere_constspFrustumamp), AS_CALL_CDECL_OBJFIRST);
  1807. // explicit Sphere::Sphere(const Polyhedron& poly) noexcept
  1808. engine->RegisterObjectBehaviour("Sphere", asBEHAVE_CONSTRUCT, "void f(const Polyhedron&in)", AS_FUNCTION_OBJFIRST(Sphere__Sphere_constspPolyhedronamp), AS_CALL_CDECL_OBJFIRST);
  1809. RegisterMembers_Sphere<Sphere>(engine, "Sphere");
  1810. #ifdef REGISTER_CLASS_MANUAL_PART_Sphere
  1811. REGISTER_CLASS_MANUAL_PART_Sphere();
  1812. #endif
  1813. }
  1814. // explicit Spline::Spline(InterpolationMode mode)
  1815. static void Spline__Spline_InterpolationMode(Spline* _ptr, InterpolationMode mode)
  1816. {
  1817. new(_ptr) Spline(mode);
  1818. }
  1819. // explicit Spline::Spline(const Vector<Variant>& knots, InterpolationMode mode = BEZIER_CURVE)
  1820. static void Spline__Spline_constspVectorlesVariantgreamp_InterpolationMode(Spline* _ptr, CScriptArray* knots_conv, InterpolationMode mode)
  1821. {
  1822. Vector<Variant> knots = ArrayToVector<Variant>(knots_conv);
  1823. new(_ptr) Spline(knots, mode);
  1824. }
  1825. // Spline::Spline(const Spline& rhs) = default
  1826. static void Spline__Spline_constspSplineamp(Spline* _ptr, const Spline& rhs)
  1827. {
  1828. new(_ptr) Spline(rhs);
  1829. }
  1830. // class Spline | File: ../Core/Spline.h
  1831. static void Register_Spline(asIScriptEngine* engine)
  1832. {
  1833. // explicit Spline::Spline(InterpolationMode mode)
  1834. engine->RegisterObjectBehaviour("Spline", asBEHAVE_CONSTRUCT, "void f(InterpolationMode)", AS_FUNCTION_OBJFIRST(Spline__Spline_InterpolationMode), AS_CALL_CDECL_OBJFIRST);
  1835. // explicit Spline::Spline(const Vector<Variant>& knots, InterpolationMode mode = BEZIER_CURVE)
  1836. engine->RegisterObjectBehaviour("Spline", asBEHAVE_CONSTRUCT, "void f(Array<Variant>@+, InterpolationMode = BEZIER_CURVE)", AS_FUNCTION_OBJFIRST(Spline__Spline_constspVectorlesVariantgreamp_InterpolationMode), AS_CALL_CDECL_OBJFIRST);
  1837. // Spline::Spline(const Spline& rhs) = default
  1838. engine->RegisterObjectBehaviour("Spline", asBEHAVE_CONSTRUCT, "void f(const Spline&in)", AS_FUNCTION_OBJFIRST(Spline__Spline_constspSplineamp), AS_CALL_CDECL_OBJFIRST);
  1839. // Spline::~Spline() | Implicitly-declared
  1840. engine->RegisterObjectBehaviour("Spline", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Spline), AS_CALL_CDECL_OBJFIRST);
  1841. RegisterMembers_Spline<Spline>(engine, "Spline");
  1842. #ifdef REGISTER_CLASS_MANUAL_PART_Spline
  1843. REGISTER_CLASS_MANUAL_PART_Spline();
  1844. #endif
  1845. }
  1846. // struct StaticModelGeometryData | File: ../Graphics/StaticModel.h
  1847. static void Register_StaticModelGeometryData(asIScriptEngine* engine)
  1848. {
  1849. // StaticModelGeometryData::~StaticModelGeometryData() | Implicitly-declared
  1850. engine->RegisterObjectBehaviour("StaticModelGeometryData", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(StaticModelGeometryData), AS_CALL_CDECL_OBJFIRST);
  1851. RegisterMembers_StaticModelGeometryData<StaticModelGeometryData>(engine, "StaticModelGeometryData");
  1852. #ifdef REGISTER_CLASS_MANUAL_PART_StaticModelGeometryData
  1853. REGISTER_CLASS_MANUAL_PART_StaticModelGeometryData();
  1854. #endif
  1855. // StaticModelGeometryData& StaticModelGeometryData::operator =(const StaticModelGeometryData&) | Possible implicitly-declared
  1856. RegisterImplicitlyDeclaredAssignOperatorIfPossible<StaticModelGeometryData>(engine, "StaticModelGeometryData");
  1857. }
  1858. // StoredLogMessage::StoredLogMessage(const String& message, int level, bool error)
  1859. static void StoredLogMessage__StoredLogMessage_constspStringamp_int_bool(StoredLogMessage* _ptr, const String& message, int level, bool error)
  1860. {
  1861. new(_ptr) StoredLogMessage(message, level, error);
  1862. }
  1863. // struct StoredLogMessage | File: ../IO/Log.h
  1864. static void Register_StoredLogMessage(asIScriptEngine* engine)
  1865. {
  1866. // StoredLogMessage::StoredLogMessage(const String& message, int level, bool error)
  1867. engine->RegisterObjectBehaviour("StoredLogMessage", asBEHAVE_CONSTRUCT, "void f(const String&in, int, bool)", AS_FUNCTION_OBJFIRST(StoredLogMessage__StoredLogMessage_constspStringamp_int_bool), AS_CALL_CDECL_OBJFIRST);
  1868. // StoredLogMessage::~StoredLogMessage() | Implicitly-declared
  1869. engine->RegisterObjectBehaviour("StoredLogMessage", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(StoredLogMessage), AS_CALL_CDECL_OBJFIRST);
  1870. RegisterMembers_StoredLogMessage<StoredLogMessage>(engine, "StoredLogMessage");
  1871. #ifdef REGISTER_CLASS_MANUAL_PART_StoredLogMessage
  1872. REGISTER_CLASS_MANUAL_PART_StoredLogMessage();
  1873. #endif
  1874. // StoredLogMessage& StoredLogMessage::operator =(const StoredLogMessage&) | Possible implicitly-declared
  1875. RegisterImplicitlyDeclaredAssignOperatorIfPossible<StoredLogMessage>(engine, "StoredLogMessage");
  1876. }
  1877. // String::String(const String& str)
  1878. static void String__String_constspStringamp(String* _ptr, const String& str)
  1879. {
  1880. new(_ptr) String(str);
  1881. }
  1882. // explicit String::String(int value)
  1883. static void String__String_int(String* _ptr, int value)
  1884. {
  1885. new(_ptr) String(value);
  1886. }
  1887. // explicit String::String(short value)
  1888. static void String__String_short(String* _ptr, short value)
  1889. {
  1890. new(_ptr) String(value);
  1891. }
  1892. // explicit String::String(long long value)
  1893. static void String__String_longsplong(String* _ptr, long long value)
  1894. {
  1895. new(_ptr) String(value);
  1896. }
  1897. // explicit String::String(unsigned value)
  1898. static void String__String_unsigned(String* _ptr, unsigned value)
  1899. {
  1900. new(_ptr) String(value);
  1901. }
  1902. // explicit String::String(unsigned short value)
  1903. static void String__String_unsignedspshort(String* _ptr, unsigned short value)
  1904. {
  1905. new(_ptr) String(value);
  1906. }
  1907. // explicit String::String(unsigned long long value)
  1908. static void String__String_unsignedsplongsplong(String* _ptr, unsigned long long value)
  1909. {
  1910. new(_ptr) String(value);
  1911. }
  1912. // explicit String::String(float value)
  1913. static void String__String_float(String* _ptr, float value)
  1914. {
  1915. new(_ptr) String(value);
  1916. }
  1917. // explicit String::String(double value)
  1918. static void String__String_double(String* _ptr, double value)
  1919. {
  1920. new(_ptr) String(value);
  1921. }
  1922. // explicit String::String(bool value)
  1923. static void String__String_bool(String* _ptr, bool value)
  1924. {
  1925. new(_ptr) String(value);
  1926. }
  1927. // explicit String::String(char value)
  1928. static void String__String_char(String* _ptr, char value)
  1929. {
  1930. new(_ptr) String(value);
  1931. }
  1932. // explicit String::String(char value, i32 length)
  1933. static void String__String_char_i32(String* _ptr, char value, i32 length)
  1934. {
  1935. new(_ptr) String(value, length);
  1936. }
  1937. // class String | File: ../Container/Str.h
  1938. static void Register_String(asIScriptEngine* engine)
  1939. {
  1940. // String::String(String&& str) noexcept
  1941. // Error: type "String&&" can not automatically bind
  1942. // String::String(char* str)
  1943. // Error: type "char*" can not automatically bind
  1944. // String::String(const char* str)
  1945. // Error: type "const char*" can not automatically bind
  1946. // String::String(const char* str, i32 length)
  1947. // Error: type "const char*" can not automatically bind
  1948. // explicit String::String(const WString& str)
  1949. // Error: type "WString" can not automatically bind bacause have @nobind mark
  1950. // explicit String::String(const wchar_t* str)
  1951. // Error: type "const wchar_t*" can not automatically bind
  1952. // explicit String::String(long value)
  1953. // Not registered because have @nobind mark
  1954. // explicit String::String(unsigned long value)
  1955. // Not registered because have @nobind mark
  1956. // explicit String::String(wchar_t* str)
  1957. // Error: type "wchar_t*" can not automatically bind
  1958. // template <class T> explicit String::String(const T& value)
  1959. // Error: type "const T&" can not automatically bind
  1960. // String::String(const String& str)
  1961. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(const String&in)", AS_FUNCTION_OBJFIRST(String__String_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  1962. // explicit String::String(int value)
  1963. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(int)", AS_FUNCTION_OBJFIRST(String__String_int), AS_CALL_CDECL_OBJFIRST);
  1964. // explicit String::String(short value)
  1965. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(int16)", AS_FUNCTION_OBJFIRST(String__String_short), AS_CALL_CDECL_OBJFIRST);
  1966. // explicit String::String(long long value)
  1967. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(int64)", AS_FUNCTION_OBJFIRST(String__String_longsplong), AS_CALL_CDECL_OBJFIRST);
  1968. // explicit String::String(unsigned value)
  1969. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(uint)", AS_FUNCTION_OBJFIRST(String__String_unsigned), AS_CALL_CDECL_OBJFIRST);
  1970. // explicit String::String(unsigned short value)
  1971. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(uint16)", AS_FUNCTION_OBJFIRST(String__String_unsignedspshort), AS_CALL_CDECL_OBJFIRST);
  1972. // explicit String::String(unsigned long long value)
  1973. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(uint64)", AS_FUNCTION_OBJFIRST(String__String_unsignedsplongsplong), AS_CALL_CDECL_OBJFIRST);
  1974. // explicit String::String(float value)
  1975. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(float)", AS_FUNCTION_OBJFIRST(String__String_float), AS_CALL_CDECL_OBJFIRST);
  1976. // explicit String::String(double value)
  1977. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(double)", AS_FUNCTION_OBJFIRST(String__String_double), AS_CALL_CDECL_OBJFIRST);
  1978. // explicit String::String(bool value)
  1979. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(bool)", AS_FUNCTION_OBJFIRST(String__String_bool), AS_CALL_CDECL_OBJFIRST);
  1980. // explicit String::String(char value)
  1981. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(int8)", AS_FUNCTION_OBJFIRST(String__String_char), AS_CALL_CDECL_OBJFIRST);
  1982. // explicit String::String(char value, i32 length)
  1983. engine->RegisterObjectBehaviour("String", asBEHAVE_CONSTRUCT, "void f(int8, int)", AS_FUNCTION_OBJFIRST(String__String_char_i32), AS_CALL_CDECL_OBJFIRST);
  1984. // String::~String()
  1985. engine->RegisterObjectBehaviour("String", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(String), AS_CALL_CDECL_OBJFIRST);
  1986. RegisterMembers_String<String>(engine, "String");
  1987. #ifdef REGISTER_CLASS_MANUAL_PART_String
  1988. REGISTER_CLASS_MANUAL_PART_String();
  1989. #endif
  1990. }
  1991. // StringHash::StringHash(const StringHash& rhs) noexcept = default
  1992. static void StringHash__StringHash_constspStringHashamp(StringHash* _ptr, const StringHash& rhs)
  1993. {
  1994. new(_ptr) StringHash(rhs);
  1995. }
  1996. // explicit constexpr StringHash::StringHash(unsigned value) noexcept
  1997. static void StringHash_constexpr_StringHash_unsigned(StringHash* _ptr, unsigned value)
  1998. {
  1999. new(_ptr) StringHash(value);
  2000. }
  2001. // StringHash::StringHash(const String& str) noexcept
  2002. static void StringHash__StringHash_constspStringamp(StringHash* _ptr, const String& str)
  2003. {
  2004. new(_ptr) StringHash(str);
  2005. }
  2006. // class StringHash | File: ../Math/StringHash.h
  2007. static void Register_StringHash(asIScriptEngine* engine)
  2008. {
  2009. // constexpr StringHash::StringHash(const char* str) noexcept
  2010. // Error: type "const char*" can not automatically bind
  2011. // StringHash::StringHash(const StringHash& rhs) noexcept = default
  2012. engine->RegisterObjectBehaviour("StringHash", asBEHAVE_CONSTRUCT, "void f(const StringHash&in)", AS_FUNCTION_OBJFIRST(StringHash__StringHash_constspStringHashamp), AS_CALL_CDECL_OBJFIRST);
  2013. // explicit constexpr StringHash::StringHash(unsigned value) noexcept
  2014. engine->RegisterObjectBehaviour("StringHash", asBEHAVE_CONSTRUCT, "void f(uint)", AS_FUNCTION_OBJFIRST(StringHash_constexpr_StringHash_unsigned), AS_CALL_CDECL_OBJFIRST);
  2015. // StringHash::StringHash(const String& str) noexcept
  2016. engine->RegisterObjectBehaviour("StringHash", asBEHAVE_CONSTRUCT, "void f(const String&in)", AS_FUNCTION_OBJFIRST(StringHash__StringHash_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  2017. RegisterMembers_StringHash<StringHash>(engine, "StringHash");
  2018. #ifdef REGISTER_CLASS_MANUAL_PART_StringHash
  2019. REGISTER_CLASS_MANUAL_PART_StringHash();
  2020. #endif
  2021. }
  2022. // StringHashRegister::StringHashRegister(bool threadSafe)
  2023. static void StringHashRegister__StringHashRegister_bool(StringHashRegister* _ptr, bool threadSafe)
  2024. {
  2025. new(_ptr) StringHashRegister(threadSafe);
  2026. }
  2027. // class StringHashRegister | File: ../Core/StringHashRegister.h
  2028. static void Register_StringHashRegister(asIScriptEngine* engine)
  2029. {
  2030. // StringHashRegister::StringHashRegister(bool threadSafe)
  2031. engine->RegisterObjectBehaviour("StringHashRegister", asBEHAVE_CONSTRUCT, "void f(bool)", AS_FUNCTION_OBJFIRST(StringHashRegister__StringHashRegister_bool), AS_CALL_CDECL_OBJFIRST);
  2032. // StringHashRegister::~StringHashRegister()
  2033. engine->RegisterObjectBehaviour("StringHashRegister", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(StringHashRegister), AS_CALL_CDECL_OBJFIRST);
  2034. RegisterMembers_StringHashRegister<StringHashRegister>(engine, "StringHashRegister");
  2035. #ifdef REGISTER_CLASS_MANUAL_PART_StringHashRegister
  2036. REGISTER_CLASS_MANUAL_PART_StringHashRegister();
  2037. #endif
  2038. // StringHashRegister& StringHashRegister::operator =(const StringHashRegister&) | Possible implicitly-declared
  2039. RegisterImplicitlyDeclaredAssignOperatorIfPossible<StringHashRegister>(engine, "StringHashRegister");
  2040. }
  2041. // TechniqueEntry::TechniqueEntry(Technique* tech, MaterialQuality qualityLevel, float lodDistance) noexcept
  2042. static void TechniqueEntry__TechniqueEntry_Techniquestar_MaterialQuality_float(TechniqueEntry* _ptr, Technique* tech, MaterialQuality qualityLevel, float lodDistance)
  2043. {
  2044. new(_ptr) TechniqueEntry(tech, qualityLevel, lodDistance);
  2045. }
  2046. // struct TechniqueEntry | File: ../Graphics/Material.h
  2047. static void Register_TechniqueEntry(asIScriptEngine* engine)
  2048. {
  2049. // TechniqueEntry::TechniqueEntry(Technique* tech, MaterialQuality qualityLevel, float lodDistance) noexcept
  2050. engine->RegisterObjectBehaviour("TechniqueEntry", asBEHAVE_CONSTRUCT, "void f(Technique@+, MaterialQuality, float)", AS_FUNCTION_OBJFIRST(TechniqueEntry__TechniqueEntry_Techniquestar_MaterialQuality_float), AS_CALL_CDECL_OBJFIRST);
  2051. // TechniqueEntry::~TechniqueEntry() noexcept = default
  2052. engine->RegisterObjectBehaviour("TechniqueEntry", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(TechniqueEntry), AS_CALL_CDECL_OBJFIRST);
  2053. RegisterMembers_TechniqueEntry<TechniqueEntry>(engine, "TechniqueEntry");
  2054. #ifdef REGISTER_CLASS_MANUAL_PART_TechniqueEntry
  2055. REGISTER_CLASS_MANUAL_PART_TechniqueEntry();
  2056. #endif
  2057. // TechniqueEntry& TechniqueEntry::operator =(const TechniqueEntry&) | Possible implicitly-declared
  2058. RegisterImplicitlyDeclaredAssignOperatorIfPossible<TechniqueEntry>(engine, "TechniqueEntry");
  2059. }
  2060. // struct TextureFrame | File: ../Graphics/ParticleEffect.h
  2061. static void Register_TextureFrame(asIScriptEngine* engine)
  2062. {
  2063. // TextureFrame::TextureFrame() | File: ../Graphics/ParticleEffect.h
  2064. // Factory not registered since the @nocount object created in a script through the factory will never be deleted
  2065. RegisterMembers_TextureFrame<TextureFrame>(engine, "TextureFrame");
  2066. #ifdef REGISTER_CLASS_MANUAL_PART_TextureFrame
  2067. REGISTER_CLASS_MANUAL_PART_TextureFrame();
  2068. #endif
  2069. // TextureFrame& TextureFrame::operator =(const TextureFrame&) | Possible implicitly-declared
  2070. RegisterImplicitlyDeclaredAssignOperatorIfPossible<TextureFrame>(engine, "TextureFrame");
  2071. }
  2072. // class Timer | File: ../Core/Timer.h
  2073. static void Register_Timer(asIScriptEngine* engine)
  2074. {
  2075. RegisterMembers_Timer<Timer>(engine, "Timer");
  2076. #ifdef REGISTER_CLASS_MANUAL_PART_Timer
  2077. REGISTER_CLASS_MANUAL_PART_Timer();
  2078. #endif
  2079. // Timer& Timer::operator =(const Timer&) | Possible implicitly-declared
  2080. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Timer>(engine, "Timer");
  2081. }
  2082. // struct TouchState | File: ../Input/Input.h
  2083. static void Register_TouchState(asIScriptEngine* engine)
  2084. {
  2085. RegisterMembers_TouchState<TouchState>(engine, "TouchState");
  2086. #ifdef REGISTER_CLASS_MANUAL_PART_TouchState
  2087. REGISTER_CLASS_MANUAL_PART_TouchState();
  2088. #endif
  2089. // TouchState& TouchState::operator =(const TouchState&) | Possible implicitly-declared
  2090. RegisterImplicitlyDeclaredAssignOperatorIfPossible<TouchState>(engine, "TouchState");
  2091. }
  2092. // TrailPoint::TrailPoint(const Vector3& position, const Vector3& forward)
  2093. static void TrailPoint__TrailPoint_constspVector3amp_constspVector3amp(TrailPoint* _ptr, const Vector3& position, const Vector3& forward)
  2094. {
  2095. new(_ptr) TrailPoint(position, forward);
  2096. }
  2097. // struct TrailPoint | File: ../Graphics/RibbonTrail.h
  2098. static void Register_TrailPoint(asIScriptEngine* engine)
  2099. {
  2100. // TrailPoint::TrailPoint(const Vector3& position, const Vector3& forward)
  2101. engine->RegisterObjectBehaviour("TrailPoint", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, const Vector3&in)", AS_FUNCTION_OBJFIRST(TrailPoint__TrailPoint_constspVector3amp_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  2102. // TrailPoint::~TrailPoint() | Implicitly-declared
  2103. engine->RegisterObjectBehaviour("TrailPoint", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(TrailPoint), AS_CALL_CDECL_OBJFIRST);
  2104. RegisterMembers_TrailPoint<TrailPoint>(engine, "TrailPoint");
  2105. #ifdef REGISTER_CLASS_MANUAL_PART_TrailPoint
  2106. REGISTER_CLASS_MANUAL_PART_TrailPoint();
  2107. #endif
  2108. // TrailPoint& TrailPoint::operator =(const TrailPoint&) | Possible implicitly-declared
  2109. RegisterImplicitlyDeclaredAssignOperatorIfPossible<TrailPoint>(engine, "TrailPoint");
  2110. }
  2111. // class UIBatch | File: ../UI/UIBatch.h
  2112. static void Register_UIBatch(asIScriptEngine* engine)
  2113. {
  2114. // UIBatch::UIBatch(UIElement* element, BlendMode blendMode, const IntRect& scissor, Texture* texture, Vector<float>* vertexData)
  2115. // Error: type "Vector<float>*" can not automatically bind
  2116. // UIBatch::~UIBatch() | Implicitly-declared
  2117. engine->RegisterObjectBehaviour("UIBatch", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(UIBatch), AS_CALL_CDECL_OBJFIRST);
  2118. RegisterMembers_UIBatch<UIBatch>(engine, "UIBatch");
  2119. #ifdef REGISTER_CLASS_MANUAL_PART_UIBatch
  2120. REGISTER_CLASS_MANUAL_PART_UIBatch();
  2121. #endif
  2122. // UIBatch& UIBatch::operator =(const UIBatch&) | Possible implicitly-declared
  2123. RegisterImplicitlyDeclaredAssignOperatorIfPossible<UIBatch>(engine, "UIBatch");
  2124. }
  2125. // struct VAnimEventFrame | File: ../Scene/ValueAnimation.h
  2126. static void Register_VAnimEventFrame(asIScriptEngine* engine)
  2127. {
  2128. // VAnimEventFrame::~VAnimEventFrame() | Implicitly-declared
  2129. engine->RegisterObjectBehaviour("VAnimEventFrame", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VAnimEventFrame), AS_CALL_CDECL_OBJFIRST);
  2130. RegisterMembers_VAnimEventFrame<VAnimEventFrame>(engine, "VAnimEventFrame");
  2131. #ifdef REGISTER_CLASS_MANUAL_PART_VAnimEventFrame
  2132. REGISTER_CLASS_MANUAL_PART_VAnimEventFrame();
  2133. #endif
  2134. // VAnimEventFrame& VAnimEventFrame::operator =(const VAnimEventFrame&) | Possible implicitly-declared
  2135. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VAnimEventFrame>(engine, "VAnimEventFrame");
  2136. }
  2137. // struct VAnimKeyFrame | File: ../Scene/ValueAnimation.h
  2138. static void Register_VAnimKeyFrame(asIScriptEngine* engine)
  2139. {
  2140. // VAnimKeyFrame::~VAnimKeyFrame() | Implicitly-declared
  2141. engine->RegisterObjectBehaviour("VAnimKeyFrame", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VAnimKeyFrame), AS_CALL_CDECL_OBJFIRST);
  2142. RegisterMembers_VAnimKeyFrame<VAnimKeyFrame>(engine, "VAnimKeyFrame");
  2143. #ifdef REGISTER_CLASS_MANUAL_PART_VAnimKeyFrame
  2144. REGISTER_CLASS_MANUAL_PART_VAnimKeyFrame();
  2145. #endif
  2146. // VAnimKeyFrame& VAnimKeyFrame::operator =(const VAnimKeyFrame&) | Possible implicitly-declared
  2147. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VAnimKeyFrame>(engine, "VAnimKeyFrame");
  2148. }
  2149. // Variant::Variant(int value)
  2150. static void Variant__Variant_int(Variant* _ptr, int value)
  2151. {
  2152. new(_ptr) Variant(value);
  2153. }
  2154. // Variant::Variant(long long value)
  2155. static void Variant__Variant_longsplong(Variant* _ptr, long long value)
  2156. {
  2157. new(_ptr) Variant(value);
  2158. }
  2159. // Variant::Variant(unsigned value)
  2160. static void Variant__Variant_unsigned(Variant* _ptr, unsigned value)
  2161. {
  2162. new(_ptr) Variant(value);
  2163. }
  2164. // Variant::Variant(unsigned long long value)
  2165. static void Variant__Variant_unsignedsplongsplong(Variant* _ptr, unsigned long long value)
  2166. {
  2167. new(_ptr) Variant(value);
  2168. }
  2169. // Variant::Variant(const StringHash& value)
  2170. static void Variant__Variant_constspStringHashamp(Variant* _ptr, const StringHash& value)
  2171. {
  2172. new(_ptr) Variant(value);
  2173. }
  2174. // Variant::Variant(bool value)
  2175. static void Variant__Variant_bool(Variant* _ptr, bool value)
  2176. {
  2177. new(_ptr) Variant(value);
  2178. }
  2179. // Variant::Variant(float value)
  2180. static void Variant__Variant_float(Variant* _ptr, float value)
  2181. {
  2182. new(_ptr) Variant(value);
  2183. }
  2184. // Variant::Variant(double value)
  2185. static void Variant__Variant_double(Variant* _ptr, double value)
  2186. {
  2187. new(_ptr) Variant(value);
  2188. }
  2189. // Variant::Variant(const Vector2& value)
  2190. static void Variant__Variant_constspVector2amp(Variant* _ptr, const Vector2& value)
  2191. {
  2192. new(_ptr) Variant(value);
  2193. }
  2194. // Variant::Variant(const Vector3& value)
  2195. static void Variant__Variant_constspVector3amp(Variant* _ptr, const Vector3& value)
  2196. {
  2197. new(_ptr) Variant(value);
  2198. }
  2199. // Variant::Variant(const Vector4& value)
  2200. static void Variant__Variant_constspVector4amp(Variant* _ptr, const Vector4& value)
  2201. {
  2202. new(_ptr) Variant(value);
  2203. }
  2204. // Variant::Variant(const Quaternion& value)
  2205. static void Variant__Variant_constspQuaternionamp(Variant* _ptr, const Quaternion& value)
  2206. {
  2207. new(_ptr) Variant(value);
  2208. }
  2209. // Variant::Variant(const Color& value)
  2210. static void Variant__Variant_constspColoramp(Variant* _ptr, const Color& value)
  2211. {
  2212. new(_ptr) Variant(value);
  2213. }
  2214. // Variant::Variant(const String& value)
  2215. static void Variant__Variant_constspStringamp(Variant* _ptr, const String& value)
  2216. {
  2217. new(_ptr) Variant(value);
  2218. }
  2219. // Variant::Variant(const VectorBuffer& value)
  2220. static void Variant__Variant_constspVectorBufferamp(Variant* _ptr, const VectorBuffer& value)
  2221. {
  2222. new(_ptr) Variant(value);
  2223. }
  2224. // Variant::Variant(const ResourceRef& value)
  2225. static void Variant__Variant_constspResourceRefamp(Variant* _ptr, const ResourceRef& value)
  2226. {
  2227. new(_ptr) Variant(value);
  2228. }
  2229. // Variant::Variant(const ResourceRefList& value)
  2230. static void Variant__Variant_constspResourceRefListamp(Variant* _ptr, const ResourceRefList& value)
  2231. {
  2232. new(_ptr) Variant(value);
  2233. }
  2234. // Variant::Variant(const VariantMap& value)
  2235. static void Variant__Variant_constspVariantMapamp(Variant* _ptr, const VariantMap& value)
  2236. {
  2237. new(_ptr) Variant(value);
  2238. }
  2239. // Variant::Variant(const StringVector& value)
  2240. static void Variant__Variant_constspStringVectoramp(Variant* _ptr, CScriptArray* value_conv)
  2241. {
  2242. StringVector value = ArrayToVector<String>(value_conv);
  2243. new(_ptr) Variant(value);
  2244. }
  2245. // Variant::Variant(const Rect& value)
  2246. static void Variant__Variant_constspRectamp(Variant* _ptr, const Rect& value)
  2247. {
  2248. new(_ptr) Variant(value);
  2249. }
  2250. // Variant::Variant(const IntRect& value)
  2251. static void Variant__Variant_constspIntRectamp(Variant* _ptr, const IntRect& value)
  2252. {
  2253. new(_ptr) Variant(value);
  2254. }
  2255. // Variant::Variant(const IntVector2& value)
  2256. static void Variant__Variant_constspIntVector2amp(Variant* _ptr, const IntVector2& value)
  2257. {
  2258. new(_ptr) Variant(value);
  2259. }
  2260. // Variant::Variant(const IntVector3& value)
  2261. static void Variant__Variant_constspIntVector3amp(Variant* _ptr, const IntVector3& value)
  2262. {
  2263. new(_ptr) Variant(value);
  2264. }
  2265. // Variant::Variant(RefCounted* value)
  2266. static void Variant__Variant_RefCountedstar(Variant* _ptr, RefCounted* value)
  2267. {
  2268. new(_ptr) Variant(value);
  2269. }
  2270. // Variant::Variant(const Matrix3& value)
  2271. static void Variant__Variant_constspMatrix3amp(Variant* _ptr, const Matrix3& value)
  2272. {
  2273. new(_ptr) Variant(value);
  2274. }
  2275. // Variant::Variant(const Matrix3x4& value)
  2276. static void Variant__Variant_constspMatrix3x4amp(Variant* _ptr, const Matrix3x4& value)
  2277. {
  2278. new(_ptr) Variant(value);
  2279. }
  2280. // Variant::Variant(const Matrix4& value)
  2281. static void Variant__Variant_constspMatrix4amp(Variant* _ptr, const Matrix4& value)
  2282. {
  2283. new(_ptr) Variant(value);
  2284. }
  2285. // Variant::Variant(const String& type, const String& value)
  2286. static void Variant__Variant_constspStringamp_constspStringamp(Variant* _ptr, const String& type, const String& value)
  2287. {
  2288. new(_ptr) Variant(type, value);
  2289. }
  2290. // Variant::Variant(VariantType type, const String& value)
  2291. static void Variant__Variant_VariantType_constspStringamp(Variant* _ptr, VariantType type, const String& value)
  2292. {
  2293. new(_ptr) Variant(type, value);
  2294. }
  2295. // Variant::Variant(const Variant& value)
  2296. static void Variant__Variant_constspVariantamp(Variant* _ptr, const Variant& value)
  2297. {
  2298. new(_ptr) Variant(value);
  2299. }
  2300. // class Variant | File: ../Core/Variant.h
  2301. static void Register_Variant(asIScriptEngine* engine)
  2302. {
  2303. // Variant::Variant(VariantType type, const char* value)
  2304. // Error: type "const char*" can not automatically bind
  2305. // Variant::Variant(const VariantVector& value)
  2306. // Error: type "const VariantVector&" can not automatically bind
  2307. // Variant::Variant(const Vector<unsigned char>& value)
  2308. // Error: type "const Vector<unsigned char>&" can not automatically bind
  2309. // Variant::Variant(const char* type, const char* value)
  2310. // Error: type "const char*" can not automatically bind
  2311. // Variant::Variant(const char* value)
  2312. // Error: type "const char*" can not automatically bind
  2313. // Variant::Variant(void* value)
  2314. // Error: type "void*" can not automatically bind
  2315. // template <class T> Variant::Variant(const CustomVariantValueImpl<T>& value)
  2316. // Error: type "const CustomVariantValueImpl<T>&" can not automatically bind
  2317. // Variant::Variant(int value)
  2318. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(int)", AS_FUNCTION_OBJFIRST(Variant__Variant_int), AS_CALL_CDECL_OBJFIRST);
  2319. // Variant::Variant(long long value)
  2320. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(int64)", AS_FUNCTION_OBJFIRST(Variant__Variant_longsplong), AS_CALL_CDECL_OBJFIRST);
  2321. // Variant::Variant(unsigned value)
  2322. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(uint)", AS_FUNCTION_OBJFIRST(Variant__Variant_unsigned), AS_CALL_CDECL_OBJFIRST);
  2323. // Variant::Variant(unsigned long long value)
  2324. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(uint64)", AS_FUNCTION_OBJFIRST(Variant__Variant_unsignedsplongsplong), AS_CALL_CDECL_OBJFIRST);
  2325. // Variant::Variant(const StringHash& value)
  2326. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const StringHash&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringHashamp), AS_CALL_CDECL_OBJFIRST);
  2327. // Variant::Variant(bool value)
  2328. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(bool)", AS_FUNCTION_OBJFIRST(Variant__Variant_bool), AS_CALL_CDECL_OBJFIRST);
  2329. // Variant::Variant(float value)
  2330. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(float)", AS_FUNCTION_OBJFIRST(Variant__Variant_float), AS_CALL_CDECL_OBJFIRST);
  2331. // Variant::Variant(double value)
  2332. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(double)", AS_FUNCTION_OBJFIRST(Variant__Variant_double), AS_CALL_CDECL_OBJFIRST);
  2333. // Variant::Variant(const Vector2& value)
  2334. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Vector2&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVector2amp), AS_CALL_CDECL_OBJFIRST);
  2335. // Variant::Variant(const Vector3& value)
  2336. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Vector3&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  2337. // Variant::Variant(const Vector4& value)
  2338. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Vector4&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVector4amp), AS_CALL_CDECL_OBJFIRST);
  2339. // Variant::Variant(const Quaternion& value)
  2340. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Quaternion&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspQuaternionamp), AS_CALL_CDECL_OBJFIRST);
  2341. // Variant::Variant(const Color& value)
  2342. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Color&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspColoramp), AS_CALL_CDECL_OBJFIRST);
  2343. // Variant::Variant(const String& value)
  2344. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const String&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  2345. // Variant::Variant(const VectorBuffer& value)
  2346. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const VectorBuffer&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVectorBufferamp), AS_CALL_CDECL_OBJFIRST);
  2347. // Variant::Variant(const ResourceRef& value)
  2348. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const ResourceRef&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspResourceRefamp), AS_CALL_CDECL_OBJFIRST);
  2349. // Variant::Variant(const ResourceRefList& value)
  2350. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const ResourceRefList&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspResourceRefListamp), AS_CALL_CDECL_OBJFIRST);
  2351. // Variant::Variant(const VariantMap& value)
  2352. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const VariantMap&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVariantMapamp), AS_CALL_CDECL_OBJFIRST);
  2353. // Variant::Variant(const StringVector& value)
  2354. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(Array<String>@+)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringVectoramp), AS_CALL_CDECL_OBJFIRST);
  2355. // Variant::Variant(const Rect& value)
  2356. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Rect&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspRectamp), AS_CALL_CDECL_OBJFIRST);
  2357. // Variant::Variant(const IntRect& value)
  2358. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const IntRect&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspIntRectamp), AS_CALL_CDECL_OBJFIRST);
  2359. // Variant::Variant(const IntVector2& value)
  2360. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const IntVector2&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspIntVector2amp), AS_CALL_CDECL_OBJFIRST);
  2361. // Variant::Variant(const IntVector3& value)
  2362. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const IntVector3&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspIntVector3amp), AS_CALL_CDECL_OBJFIRST);
  2363. // Variant::Variant(RefCounted* value)
  2364. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(RefCounted@+)", AS_FUNCTION_OBJFIRST(Variant__Variant_RefCountedstar), AS_CALL_CDECL_OBJFIRST);
  2365. // Variant::Variant(const Matrix3& value)
  2366. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Matrix3&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspMatrix3amp), AS_CALL_CDECL_OBJFIRST);
  2367. // Variant::Variant(const Matrix3x4& value)
  2368. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Matrix3x4&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspMatrix3x4amp), AS_CALL_CDECL_OBJFIRST);
  2369. // Variant::Variant(const Matrix4& value)
  2370. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Matrix4&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspMatrix4amp), AS_CALL_CDECL_OBJFIRST);
  2371. // Variant::Variant(const String& type, const String& value)
  2372. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const String&in, const String&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringamp_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  2373. // Variant::Variant(VariantType type, const String& value)
  2374. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(VariantType, const String&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_VariantType_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  2375. // Variant::Variant(const Variant& value)
  2376. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Variant&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVariantamp), AS_CALL_CDECL_OBJFIRST);
  2377. // Variant::~Variant()
  2378. engine->RegisterObjectBehaviour("Variant", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Variant), AS_CALL_CDECL_OBJFIRST);
  2379. RegisterMembers_Variant<Variant>(engine, "Variant");
  2380. #ifdef REGISTER_CLASS_MANUAL_PART_Variant
  2381. REGISTER_CLASS_MANUAL_PART_Variant();
  2382. #endif
  2383. }
  2384. // Vector2::Vector2(const Vector2& vector) noexcept = default
  2385. static void Vector2__Vector2_constspVector2amp(Vector2* _ptr, const Vector2& vector)
  2386. {
  2387. new(_ptr) Vector2(vector);
  2388. }
  2389. // explicit Vector2::Vector2(const IntVector2& vector) noexcept
  2390. static void Vector2__Vector2_constspIntVector2amp(Vector2* _ptr, const IntVector2& vector)
  2391. {
  2392. new(_ptr) Vector2(vector);
  2393. }
  2394. // Vector2::Vector2(float x, float y) noexcept
  2395. static void Vector2__Vector2_float_float(Vector2* _ptr, float x, float y)
  2396. {
  2397. new(_ptr) Vector2(x, y);
  2398. }
  2399. // Vector2::Vector2(i32 x, i32 y) noexcept
  2400. static void Vector2__Vector2_i32_i32(Vector2* _ptr, i32 x, i32 y)
  2401. {
  2402. new(_ptr) Vector2(x, y);
  2403. }
  2404. // class Vector2 | File: ../Math/Vector2.h
  2405. static void Register_Vector2(asIScriptEngine* engine)
  2406. {
  2407. // explicit Vector2::Vector2(const float* data) noexcept
  2408. // Error: type "const float*" can not automatically bind
  2409. // Vector2::Vector2(const Vector2& vector) noexcept = default
  2410. engine->RegisterObjectBehaviour("Vector2", asBEHAVE_CONSTRUCT, "void f(const Vector2&in)", AS_FUNCTION_OBJFIRST(Vector2__Vector2_constspVector2amp), AS_CALL_CDECL_OBJFIRST);
  2411. // explicit Vector2::Vector2(const IntVector2& vector) noexcept
  2412. engine->RegisterObjectBehaviour("Vector2", asBEHAVE_CONSTRUCT, "void f(const IntVector2&in)", AS_FUNCTION_OBJFIRST(Vector2__Vector2_constspIntVector2amp), AS_CALL_CDECL_OBJFIRST);
  2413. // Vector2::Vector2(float x, float y) noexcept
  2414. engine->RegisterObjectBehaviour("Vector2", asBEHAVE_CONSTRUCT, "void f(float, float)", AS_FUNCTION_OBJFIRST(Vector2__Vector2_float_float), AS_CALL_CDECL_OBJFIRST);
  2415. // Vector2::Vector2(i32 x, i32 y) noexcept
  2416. engine->RegisterObjectBehaviour("Vector2", asBEHAVE_CONSTRUCT, "void f(int, int)", AS_FUNCTION_OBJFIRST(Vector2__Vector2_i32_i32), AS_CALL_CDECL_OBJFIRST);
  2417. RegisterMembers_Vector2<Vector2>(engine, "Vector2");
  2418. #ifdef REGISTER_CLASS_MANUAL_PART_Vector2
  2419. REGISTER_CLASS_MANUAL_PART_Vector2();
  2420. #endif
  2421. }
  2422. // Vector3::Vector3(const Vector3& vector) noexcept = default
  2423. static void Vector3__Vector3_constspVector3amp(Vector3* _ptr, const Vector3& vector)
  2424. {
  2425. new(_ptr) Vector3(vector);
  2426. }
  2427. // Vector3::Vector3(const Vector2& vector, float z) noexcept
  2428. static void Vector3__Vector3_constspVector2amp_float(Vector3* _ptr, const Vector2& vector, float z)
  2429. {
  2430. new(_ptr) Vector3(vector, z);
  2431. }
  2432. // explicit Vector3::Vector3(const Vector2& vector) noexcept
  2433. static void Vector3__Vector3_constspVector2amp(Vector3* _ptr, const Vector2& vector)
  2434. {
  2435. new(_ptr) Vector3(vector);
  2436. }
  2437. // explicit Vector3::Vector3(const IntVector3& vector) noexcept
  2438. static void Vector3__Vector3_constspIntVector3amp(Vector3* _ptr, const IntVector3& vector)
  2439. {
  2440. new(_ptr) Vector3(vector);
  2441. }
  2442. // Vector3::Vector3(float x, float y, float z) noexcept
  2443. static void Vector3__Vector3_float_float_float(Vector3* _ptr, float x, float y, float z)
  2444. {
  2445. new(_ptr) Vector3(x, y, z);
  2446. }
  2447. // Vector3::Vector3(float x, float y) noexcept
  2448. static void Vector3__Vector3_float_float(Vector3* _ptr, float x, float y)
  2449. {
  2450. new(_ptr) Vector3(x, y);
  2451. }
  2452. // class Vector3 | File: ../Math/Vector3.h
  2453. static void Register_Vector3(asIScriptEngine* engine)
  2454. {
  2455. // explicit Vector3::Vector3(const float* data) noexcept
  2456. // Error: type "const float*" can not automatically bind
  2457. // Vector3::Vector3(const Vector3& vector) noexcept = default
  2458. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const Vector3&in)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  2459. // Vector3::Vector3(const Vector2& vector, float z) noexcept
  2460. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const Vector2&in, float)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspVector2amp_float), AS_CALL_CDECL_OBJFIRST);
  2461. // explicit Vector3::Vector3(const Vector2& vector) noexcept
  2462. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const Vector2&in)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspVector2amp), AS_CALL_CDECL_OBJFIRST);
  2463. // explicit Vector3::Vector3(const IntVector3& vector) noexcept
  2464. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const IntVector3&in)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspIntVector3amp), AS_CALL_CDECL_OBJFIRST);
  2465. // Vector3::Vector3(float x, float y, float z) noexcept
  2466. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(float, float, float)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_float_float_float), AS_CALL_CDECL_OBJFIRST);
  2467. // Vector3::Vector3(float x, float y) noexcept
  2468. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(float, float)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_float_float), AS_CALL_CDECL_OBJFIRST);
  2469. RegisterMembers_Vector3<Vector3>(engine, "Vector3");
  2470. #ifdef REGISTER_CLASS_MANUAL_PART_Vector3
  2471. REGISTER_CLASS_MANUAL_PART_Vector3();
  2472. #endif
  2473. }
  2474. // Vector4::Vector4(const Vector4& vector) noexcept = default
  2475. static void Vector4__Vector4_constspVector4amp(Vector4* _ptr, const Vector4& vector)
  2476. {
  2477. new(_ptr) Vector4(vector);
  2478. }
  2479. // Vector4::Vector4(const Vector3& vector, float w) noexcept
  2480. static void Vector4__Vector4_constspVector3amp_float(Vector4* _ptr, const Vector3& vector, float w)
  2481. {
  2482. new(_ptr) Vector4(vector, w);
  2483. }
  2484. // Vector4::Vector4(float x, float y, float z, float w) noexcept
  2485. static void Vector4__Vector4_float_float_float_float(Vector4* _ptr, float x, float y, float z, float w)
  2486. {
  2487. new(_ptr) Vector4(x, y, z, w);
  2488. }
  2489. // class Vector4 | File: ../Math/Vector4.h
  2490. static void Register_Vector4(asIScriptEngine* engine)
  2491. {
  2492. // explicit Vector4::Vector4(const float* data) noexcept
  2493. // Error: type "const float*" can not automatically bind
  2494. // Vector4::Vector4(const Vector4& vector) noexcept = default
  2495. engine->RegisterObjectBehaviour("Vector4", asBEHAVE_CONSTRUCT, "void f(const Vector4&in)", AS_FUNCTION_OBJFIRST(Vector4__Vector4_constspVector4amp), AS_CALL_CDECL_OBJFIRST);
  2496. // Vector4::Vector4(const Vector3& vector, float w) noexcept
  2497. engine->RegisterObjectBehaviour("Vector4", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, float)", AS_FUNCTION_OBJFIRST(Vector4__Vector4_constspVector3amp_float), AS_CALL_CDECL_OBJFIRST);
  2498. // Vector4::Vector4(float x, float y, float z, float w) noexcept
  2499. engine->RegisterObjectBehaviour("Vector4", asBEHAVE_CONSTRUCT, "void f(float, float, float, float)", AS_FUNCTION_OBJFIRST(Vector4__Vector4_float_float_float_float), AS_CALL_CDECL_OBJFIRST);
  2500. RegisterMembers_Vector4<Vector4>(engine, "Vector4");
  2501. #ifdef REGISTER_CLASS_MANUAL_PART_Vector4
  2502. REGISTER_CLASS_MANUAL_PART_Vector4();
  2503. #endif
  2504. }
  2505. // class VectorBase | File: ../Container/VectorBase.h
  2506. static void Register_VectorBase(asIScriptEngine* engine)
  2507. {
  2508. // VectorBase::~VectorBase() | Implicitly-declared
  2509. engine->RegisterObjectBehaviour("VectorBase", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VectorBase), AS_CALL_CDECL_OBJFIRST);
  2510. RegisterMembers_VectorBase<VectorBase>(engine, "VectorBase");
  2511. #ifdef REGISTER_CLASS_MANUAL_PART_VectorBase
  2512. REGISTER_CLASS_MANUAL_PART_VectorBase();
  2513. #endif
  2514. // VectorBase& VectorBase::operator =(const VectorBase&) | Possible implicitly-declared
  2515. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VectorBase>(engine, "VectorBase");
  2516. }
  2517. // struct VertexBufferDesc | File: ../Graphics/Model.h
  2518. static void Register_VertexBufferDesc(asIScriptEngine* engine)
  2519. {
  2520. // VertexBufferDesc::~VertexBufferDesc() | Implicitly-declared
  2521. engine->RegisterObjectBehaviour("VertexBufferDesc", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VertexBufferDesc), AS_CALL_CDECL_OBJFIRST);
  2522. RegisterMembers_VertexBufferDesc<VertexBufferDesc>(engine, "VertexBufferDesc");
  2523. #ifdef REGISTER_CLASS_MANUAL_PART_VertexBufferDesc
  2524. REGISTER_CLASS_MANUAL_PART_VertexBufferDesc();
  2525. #endif
  2526. // VertexBufferDesc& VertexBufferDesc::operator =(const VertexBufferDesc&) | Possible implicitly-declared
  2527. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VertexBufferDesc>(engine, "VertexBufferDesc");
  2528. }
  2529. // struct VertexBufferMorph | File: ../Graphics/Model.h
  2530. static void Register_VertexBufferMorph(asIScriptEngine* engine)
  2531. {
  2532. // VertexBufferMorph::~VertexBufferMorph() | Implicitly-declared
  2533. engine->RegisterObjectBehaviour("VertexBufferMorph", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VertexBufferMorph), AS_CALL_CDECL_OBJFIRST);
  2534. RegisterMembers_VertexBufferMorph<VertexBufferMorph>(engine, "VertexBufferMorph");
  2535. #ifdef REGISTER_CLASS_MANUAL_PART_VertexBufferMorph
  2536. REGISTER_CLASS_MANUAL_PART_VertexBufferMorph();
  2537. #endif
  2538. // VertexBufferMorph& VertexBufferMorph::operator =(const VertexBufferMorph&) | Possible implicitly-declared
  2539. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VertexBufferMorph>(engine, "VertexBufferMorph");
  2540. }
  2541. // VertexElement::VertexElement(VertexElementType type, VertexElementSemantic semantic, i8 index = 0, bool perInstance = false) noexcept
  2542. static void VertexElement__VertexElement_VertexElementType_VertexElementSemantic_i8_bool(VertexElement* _ptr, VertexElementType type, VertexElementSemantic semantic, i8 index, bool perInstance)
  2543. {
  2544. new(_ptr) VertexElement(type, semantic, index, perInstance);
  2545. }
  2546. // struct VertexElement | File: ../GraphicsAPI/GraphicsDefs.h
  2547. static void Register_VertexElement(asIScriptEngine* engine)
  2548. {
  2549. // VertexElement::VertexElement(VertexElementType type, VertexElementSemantic semantic, i8 index = 0, bool perInstance = false) noexcept
  2550. engine->RegisterObjectBehaviour("VertexElement", asBEHAVE_CONSTRUCT, "void f(VertexElementType, VertexElementSemantic, int8 = 0, bool = false)", AS_FUNCTION_OBJFIRST(VertexElement__VertexElement_VertexElementType_VertexElementSemantic_i8_bool), AS_CALL_CDECL_OBJFIRST);
  2551. // VertexElement::~VertexElement() | Implicitly-declared
  2552. engine->RegisterObjectBehaviour("VertexElement", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VertexElement), AS_CALL_CDECL_OBJFIRST);
  2553. RegisterMembers_VertexElement<VertexElement>(engine, "VertexElement");
  2554. #ifdef REGISTER_CLASS_MANUAL_PART_VertexElement
  2555. REGISTER_CLASS_MANUAL_PART_VertexElement();
  2556. #endif
  2557. // VertexElement& VertexElement::operator =(const VertexElement&) | Possible implicitly-declared
  2558. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VertexElement>(engine, "VertexElement");
  2559. }
  2560. // struct WindowModeParams | File: ../Graphics/Graphics.h
  2561. static void Register_WindowModeParams(asIScriptEngine* engine)
  2562. {
  2563. // WindowModeParams::~WindowModeParams() | Implicitly-declared
  2564. engine->RegisterObjectBehaviour("WindowModeParams", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(WindowModeParams), AS_CALL_CDECL_OBJFIRST);
  2565. RegisterMembers_WindowModeParams<WindowModeParams>(engine, "WindowModeParams");
  2566. #ifdef REGISTER_CLASS_MANUAL_PART_WindowModeParams
  2567. REGISTER_CLASS_MANUAL_PART_WindowModeParams();
  2568. #endif
  2569. // WindowModeParams& WindowModeParams::operator =(const WindowModeParams&) | Possible implicitly-declared
  2570. RegisterImplicitlyDeclaredAssignOperatorIfPossible<WindowModeParams>(engine, "WindowModeParams");
  2571. }
  2572. // XMLElement::XMLElement(const XMLElement& rhs)
  2573. static void XMLElement__XMLElement_constspXMLElementamp(XMLElement* _ptr, const XMLElement& rhs)
  2574. {
  2575. new(_ptr) XMLElement(rhs);
  2576. }
  2577. // class XMLElement | File: ../Resource/XMLElement.h
  2578. static void Register_XMLElement(asIScriptEngine* engine)
  2579. {
  2580. // XMLElement::XMLElement(XMLFile* file, const XPathResultSet* resultSet, const pugi::xpath_node* xpathNode, i32 xpathResultIndex)
  2581. // Error: type "const XPathResultSet*" can not automatically bind
  2582. // XMLElement::XMLElement(XMLFile* file, pugi::xml_node_struct* node)
  2583. // Error: type "pugi::xml_node_struct*" can not automatically bind
  2584. // XMLElement::XMLElement(const XMLElement& rhs)
  2585. engine->RegisterObjectBehaviour("XMLElement", asBEHAVE_CONSTRUCT, "void f(const XMLElement&in)", AS_FUNCTION_OBJFIRST(XMLElement__XMLElement_constspXMLElementamp), AS_CALL_CDECL_OBJFIRST);
  2586. // XMLElement::~XMLElement()
  2587. engine->RegisterObjectBehaviour("XMLElement", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(XMLElement), AS_CALL_CDECL_OBJFIRST);
  2588. RegisterMembers_XMLElement<XMLElement>(engine, "XMLElement");
  2589. #ifdef REGISTER_CLASS_MANUAL_PART_XMLElement
  2590. REGISTER_CLASS_MANUAL_PART_XMLElement();
  2591. #endif
  2592. }
  2593. // explicit XPathQuery::XPathQuery(const String& queryString, const String& variableString = String::EMPTY)
  2594. static void XPathQuery__XPathQuery_constspStringamp_constspStringamp(XPathQuery* _ptr, const String& queryString, const String& variableString)
  2595. {
  2596. new(_ptr) XPathQuery(queryString, variableString);
  2597. }
  2598. // class XPathQuery | File: ../Resource/XMLElement.h
  2599. static void Register_XPathQuery(asIScriptEngine* engine)
  2600. {
  2601. // explicit XPathQuery::XPathQuery(const String& queryString, const String& variableString = String::EMPTY)
  2602. engine->RegisterObjectBehaviour("XPathQuery", asBEHAVE_CONSTRUCT, "void f(const String&in, const String&in = String::EMPTY)", AS_FUNCTION_OBJFIRST(XPathQuery__XPathQuery_constspStringamp_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  2603. // XPathQuery::~XPathQuery()
  2604. engine->RegisterObjectBehaviour("XPathQuery", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(XPathQuery), AS_CALL_CDECL_OBJFIRST);
  2605. RegisterMembers_XPathQuery<XPathQuery>(engine, "XPathQuery");
  2606. #ifdef REGISTER_CLASS_MANUAL_PART_XPathQuery
  2607. REGISTER_CLASS_MANUAL_PART_XPathQuery();
  2608. #endif
  2609. // XPathQuery& XPathQuery::operator =(const XPathQuery&) | Possible implicitly-declared
  2610. RegisterImplicitlyDeclaredAssignOperatorIfPossible<XPathQuery>(engine, "XPathQuery");
  2611. }
  2612. // XPathResultSet::XPathResultSet(const XPathResultSet& rhs)
  2613. static void XPathResultSet__XPathResultSet_constspXPathResultSetamp(XPathResultSet* _ptr, const XPathResultSet& rhs)
  2614. {
  2615. new(_ptr) XPathResultSet(rhs);
  2616. }
  2617. // class XPathResultSet | File: ../Resource/XMLElement.h
  2618. static void Register_XPathResultSet(asIScriptEngine* engine)
  2619. {
  2620. // XPathResultSet::XPathResultSet(XMLFile* file, pugi::xpath_node_set* resultSet)
  2621. // Error: type "pugi::xpath_node_set*" can not automatically bind
  2622. // XPathResultSet::XPathResultSet(const XPathResultSet& rhs)
  2623. engine->RegisterObjectBehaviour("XPathResultSet", asBEHAVE_CONSTRUCT, "void f(const XPathResultSet&in)", AS_FUNCTION_OBJFIRST(XPathResultSet__XPathResultSet_constspXPathResultSetamp), AS_CALL_CDECL_OBJFIRST);
  2624. // XPathResultSet::~XPathResultSet()
  2625. engine->RegisterObjectBehaviour("XPathResultSet", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(XPathResultSet), AS_CALL_CDECL_OBJFIRST);
  2626. RegisterMembers_XPathResultSet<XPathResultSet>(engine, "XPathResultSet");
  2627. #ifdef REGISTER_CLASS_MANUAL_PART_XPathResultSet
  2628. REGISTER_CLASS_MANUAL_PART_XPathResultSet();
  2629. #endif
  2630. }
  2631. #ifdef URHO3D_NAVIGATION
  2632. // struct CrowdObstacleAvoidanceParams | File: ../Navigation/CrowdManager.h
  2633. static void Register_CrowdObstacleAvoidanceParams(asIScriptEngine* engine)
  2634. {
  2635. RegisterMembers_CrowdObstacleAvoidanceParams<CrowdObstacleAvoidanceParams>(engine, "CrowdObstacleAvoidanceParams");
  2636. #ifdef REGISTER_CLASS_MANUAL_PART_CrowdObstacleAvoidanceParams
  2637. REGISTER_CLASS_MANUAL_PART_CrowdObstacleAvoidanceParams();
  2638. #endif
  2639. // CrowdObstacleAvoidanceParams& CrowdObstacleAvoidanceParams::operator =(const CrowdObstacleAvoidanceParams&) | Possible implicitly-declared
  2640. RegisterImplicitlyDeclaredAssignOperatorIfPossible<CrowdObstacleAvoidanceParams>(engine, "CrowdObstacleAvoidanceParams");
  2641. }
  2642. // struct NavAreaStub | File: ../Navigation/NavBuildData.h
  2643. static void Register_NavAreaStub(asIScriptEngine* engine)
  2644. {
  2645. // NavAreaStub::~NavAreaStub() | Implicitly-declared
  2646. engine->RegisterObjectBehaviour("NavAreaStub", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavAreaStub), AS_CALL_CDECL_OBJFIRST);
  2647. RegisterMembers_NavAreaStub<NavAreaStub>(engine, "NavAreaStub");
  2648. #ifdef REGISTER_CLASS_MANUAL_PART_NavAreaStub
  2649. REGISTER_CLASS_MANUAL_PART_NavAreaStub();
  2650. #endif
  2651. // NavAreaStub& NavAreaStub::operator =(const NavAreaStub&) | Possible implicitly-declared
  2652. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavAreaStub>(engine, "NavAreaStub");
  2653. }
  2654. // struct NavBuildData | File: ../Navigation/NavBuildData.h
  2655. static void Register_NavBuildData(asIScriptEngine* engine)
  2656. {
  2657. // virtual NavBuildData::~NavBuildData()
  2658. engine->RegisterObjectBehaviour("NavBuildData", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavBuildData), AS_CALL_CDECL_OBJFIRST);
  2659. RegisterMembers_NavBuildData<NavBuildData>(engine, "NavBuildData");
  2660. #ifdef REGISTER_CLASS_MANUAL_PART_NavBuildData
  2661. REGISTER_CLASS_MANUAL_PART_NavBuildData();
  2662. #endif
  2663. // NavBuildData& NavBuildData::operator =(const NavBuildData&) | Possible implicitly-declared
  2664. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavBuildData>(engine, "NavBuildData");
  2665. }
  2666. // struct NavigationGeometryInfo | File: ../Navigation/NavigationMesh.h
  2667. static void Register_NavigationGeometryInfo(asIScriptEngine* engine)
  2668. {
  2669. // NavigationGeometryInfo::~NavigationGeometryInfo() | Implicitly-declared
  2670. engine->RegisterObjectBehaviour("NavigationGeometryInfo", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavigationGeometryInfo), AS_CALL_CDECL_OBJFIRST);
  2671. RegisterMembers_NavigationGeometryInfo<NavigationGeometryInfo>(engine, "NavigationGeometryInfo");
  2672. #ifdef REGISTER_CLASS_MANUAL_PART_NavigationGeometryInfo
  2673. REGISTER_CLASS_MANUAL_PART_NavigationGeometryInfo();
  2674. #endif
  2675. // NavigationGeometryInfo& NavigationGeometryInfo::operator =(const NavigationGeometryInfo&) | Possible implicitly-declared
  2676. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavigationGeometryInfo>(engine, "NavigationGeometryInfo");
  2677. }
  2678. // struct NavigationPathPoint | File: ../Navigation/NavigationMesh.h
  2679. static void Register_NavigationPathPoint(asIScriptEngine* engine)
  2680. {
  2681. // NavigationPathPoint::~NavigationPathPoint() | Implicitly-declared
  2682. engine->RegisterObjectBehaviour("NavigationPathPoint", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavigationPathPoint), AS_CALL_CDECL_OBJFIRST);
  2683. RegisterMembers_NavigationPathPoint<NavigationPathPoint>(engine, "NavigationPathPoint");
  2684. #ifdef REGISTER_CLASS_MANUAL_PART_NavigationPathPoint
  2685. REGISTER_CLASS_MANUAL_PART_NavigationPathPoint();
  2686. #endif
  2687. // NavigationPathPoint& NavigationPathPoint::operator =(const NavigationPathPoint&) | Possible implicitly-declared
  2688. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavigationPathPoint>(engine, "NavigationPathPoint");
  2689. }
  2690. #endif // def URHO3D_NAVIGATION
  2691. #ifdef URHO3D_NETWORK
  2692. // struct PackageDownload | File: ../Network/Connection.h
  2693. static void Register_PackageDownload(asIScriptEngine* engine)
  2694. {
  2695. // PackageDownload::~PackageDownload() | Implicitly-declared
  2696. engine->RegisterObjectBehaviour("PackageDownload", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PackageDownload), AS_CALL_CDECL_OBJFIRST);
  2697. RegisterMembers_PackageDownload<PackageDownload>(engine, "PackageDownload");
  2698. #ifdef REGISTER_CLASS_MANUAL_PART_PackageDownload
  2699. REGISTER_CLASS_MANUAL_PART_PackageDownload();
  2700. #endif
  2701. // PackageDownload& PackageDownload::operator =(const PackageDownload&) | Possible implicitly-declared
  2702. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PackageDownload>(engine, "PackageDownload");
  2703. }
  2704. // struct PackageUpload | File: ../Network/Connection.h
  2705. static void Register_PackageUpload(asIScriptEngine* engine)
  2706. {
  2707. // PackageUpload::~PackageUpload() | Implicitly-declared
  2708. engine->RegisterObjectBehaviour("PackageUpload", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PackageUpload), AS_CALL_CDECL_OBJFIRST);
  2709. RegisterMembers_PackageUpload<PackageUpload>(engine, "PackageUpload");
  2710. #ifdef REGISTER_CLASS_MANUAL_PART_PackageUpload
  2711. REGISTER_CLASS_MANUAL_PART_PackageUpload();
  2712. #endif
  2713. // PackageUpload& PackageUpload::operator =(const PackageUpload&) | Possible implicitly-declared
  2714. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PackageUpload>(engine, "PackageUpload");
  2715. }
  2716. // struct RemoteEvent | File: ../Network/Connection.h
  2717. static void Register_RemoteEvent(asIScriptEngine* engine)
  2718. {
  2719. // RemoteEvent::~RemoteEvent() | Implicitly-declared
  2720. engine->RegisterObjectBehaviour("RemoteEvent", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(RemoteEvent), AS_CALL_CDECL_OBJFIRST);
  2721. RegisterMembers_RemoteEvent<RemoteEvent>(engine, "RemoteEvent");
  2722. #ifdef REGISTER_CLASS_MANUAL_PART_RemoteEvent
  2723. REGISTER_CLASS_MANUAL_PART_RemoteEvent();
  2724. #endif
  2725. // RemoteEvent& RemoteEvent::operator =(const RemoteEvent&) | Possible implicitly-declared
  2726. RegisterImplicitlyDeclaredAssignOperatorIfPossible<RemoteEvent>(engine, "RemoteEvent");
  2727. }
  2728. #endif // def URHO3D_NETWORK
  2729. #ifdef URHO3D_PHYSICS
  2730. // struct DelayedWorldTransform | File: ../Physics/PhysicsWorld.h
  2731. static void Register_DelayedWorldTransform(asIScriptEngine* engine)
  2732. {
  2733. // DelayedWorldTransform::~DelayedWorldTransform() | Implicitly-declared
  2734. engine->RegisterObjectBehaviour("DelayedWorldTransform", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(DelayedWorldTransform), AS_CALL_CDECL_OBJFIRST);
  2735. RegisterMembers_DelayedWorldTransform<DelayedWorldTransform>(engine, "DelayedWorldTransform");
  2736. #ifdef REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform
  2737. REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform();
  2738. #endif
  2739. // DelayedWorldTransform& DelayedWorldTransform::operator =(const DelayedWorldTransform&) | Possible implicitly-declared
  2740. RegisterImplicitlyDeclaredAssignOperatorIfPossible<DelayedWorldTransform>(engine, "DelayedWorldTransform");
  2741. }
  2742. // struct ManifoldPair | File: ../Physics/PhysicsWorld.h
  2743. static void Register_ManifoldPair(asIScriptEngine* engine)
  2744. {
  2745. // ManifoldPair::~ManifoldPair() | Implicitly-declared
  2746. engine->RegisterObjectBehaviour("ManifoldPair", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ManifoldPair), AS_CALL_CDECL_OBJFIRST);
  2747. RegisterMembers_ManifoldPair<ManifoldPair>(engine, "ManifoldPair");
  2748. #ifdef REGISTER_CLASS_MANUAL_PART_ManifoldPair
  2749. REGISTER_CLASS_MANUAL_PART_ManifoldPair();
  2750. #endif
  2751. // ManifoldPair& ManifoldPair::operator =(const ManifoldPair&) | Possible implicitly-declared
  2752. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ManifoldPair>(engine, "ManifoldPair");
  2753. }
  2754. // struct PhysicsRaycastResult | File: ../Physics/PhysicsWorld.h
  2755. static void Register_PhysicsRaycastResult(asIScriptEngine* engine)
  2756. {
  2757. // PhysicsRaycastResult::~PhysicsRaycastResult() | Implicitly-declared
  2758. engine->RegisterObjectBehaviour("PhysicsRaycastResult", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PhysicsRaycastResult), AS_CALL_CDECL_OBJFIRST);
  2759. RegisterMembers_PhysicsRaycastResult<PhysicsRaycastResult>(engine, "PhysicsRaycastResult");
  2760. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult
  2761. REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult();
  2762. #endif
  2763. // PhysicsRaycastResult& PhysicsRaycastResult::operator =(const PhysicsRaycastResult&) | Possible implicitly-declared
  2764. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PhysicsRaycastResult>(engine, "PhysicsRaycastResult");
  2765. }
  2766. // struct PhysicsWorldConfig | File: ../Physics/PhysicsWorld.h
  2767. static void Register_PhysicsWorldConfig(asIScriptEngine* engine)
  2768. {
  2769. // PhysicsWorldConfig::~PhysicsWorldConfig() | Implicitly-declared
  2770. engine->RegisterObjectBehaviour("PhysicsWorldConfig", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PhysicsWorldConfig), AS_CALL_CDECL_OBJFIRST);
  2771. RegisterMembers_PhysicsWorldConfig<PhysicsWorldConfig>(engine, "PhysicsWorldConfig");
  2772. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsWorldConfig
  2773. REGISTER_CLASS_MANUAL_PART_PhysicsWorldConfig();
  2774. #endif
  2775. // PhysicsWorldConfig& PhysicsWorldConfig::operator =(const PhysicsWorldConfig&) | Possible implicitly-declared
  2776. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PhysicsWorldConfig>(engine, "PhysicsWorldConfig");
  2777. }
  2778. #endif // def URHO3D_PHYSICS
  2779. #ifdef URHO3D_PHYSICS2D
  2780. // struct DelayedWorldTransform2D | File: ../Physics2D/PhysicsWorld2D.h
  2781. static void Register_DelayedWorldTransform2D(asIScriptEngine* engine)
  2782. {
  2783. // DelayedWorldTransform2D::~DelayedWorldTransform2D() | Implicitly-declared
  2784. engine->RegisterObjectBehaviour("DelayedWorldTransform2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(DelayedWorldTransform2D), AS_CALL_CDECL_OBJFIRST);
  2785. RegisterMembers_DelayedWorldTransform2D<DelayedWorldTransform2D>(engine, "DelayedWorldTransform2D");
  2786. #ifdef REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform2D
  2787. REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform2D();
  2788. #endif
  2789. // DelayedWorldTransform2D& DelayedWorldTransform2D::operator =(const DelayedWorldTransform2D&) | Possible implicitly-declared
  2790. RegisterImplicitlyDeclaredAssignOperatorIfPossible<DelayedWorldTransform2D>(engine, "DelayedWorldTransform2D");
  2791. }
  2792. // struct PhysicsRaycastResult2D | File: ../Physics2D/PhysicsWorld2D.h
  2793. static void Register_PhysicsRaycastResult2D(asIScriptEngine* engine)
  2794. {
  2795. // PhysicsRaycastResult2D::~PhysicsRaycastResult2D() | Implicitly-declared
  2796. engine->RegisterObjectBehaviour("PhysicsRaycastResult2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PhysicsRaycastResult2D), AS_CALL_CDECL_OBJFIRST);
  2797. RegisterMembers_PhysicsRaycastResult2D<PhysicsRaycastResult2D>(engine, "PhysicsRaycastResult2D");
  2798. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult2D
  2799. REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult2D();
  2800. #endif
  2801. // PhysicsRaycastResult2D& PhysicsRaycastResult2D::operator =(const PhysicsRaycastResult2D&) | Possible implicitly-declared
  2802. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PhysicsRaycastResult2D>(engine, "PhysicsRaycastResult2D");
  2803. }
  2804. #endif // def URHO3D_PHYSICS2D
  2805. #ifdef URHO3D_URHO2D
  2806. // struct Particle2D | File: ../Urho2D/ParticleEmitter2D.h
  2807. static void Register_Particle2D(asIScriptEngine* engine)
  2808. {
  2809. // Particle2D::~Particle2D() | Implicitly-declared
  2810. engine->RegisterObjectBehaviour("Particle2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Particle2D), AS_CALL_CDECL_OBJFIRST);
  2811. RegisterMembers_Particle2D<Particle2D>(engine, "Particle2D");
  2812. #ifdef REGISTER_CLASS_MANUAL_PART_Particle2D
  2813. REGISTER_CLASS_MANUAL_PART_Particle2D();
  2814. #endif
  2815. // Particle2D& Particle2D::operator =(const Particle2D&) | Possible implicitly-declared
  2816. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Particle2D>(engine, "Particle2D");
  2817. }
  2818. // struct SourceBatch2D | File: ../Urho2D/Drawable2D.h
  2819. static void Register_SourceBatch2D(asIScriptEngine* engine)
  2820. {
  2821. // SourceBatch2D::~SourceBatch2D() | Implicitly-declared
  2822. engine->RegisterObjectBehaviour("SourceBatch2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(SourceBatch2D), AS_CALL_CDECL_OBJFIRST);
  2823. RegisterMembers_SourceBatch2D<SourceBatch2D>(engine, "SourceBatch2D");
  2824. #ifdef REGISTER_CLASS_MANUAL_PART_SourceBatch2D
  2825. REGISTER_CLASS_MANUAL_PART_SourceBatch2D();
  2826. #endif
  2827. // SourceBatch2D& SourceBatch2D::operator =(const SourceBatch2D&) | Possible implicitly-declared
  2828. RegisterImplicitlyDeclaredAssignOperatorIfPossible<SourceBatch2D>(engine, "SourceBatch2D");
  2829. }
  2830. // struct TileMapInfo2D | File: ../Urho2D/TileMapDefs2D.h
  2831. static void Register_TileMapInfo2D(asIScriptEngine* engine)
  2832. {
  2833. RegisterMembers_TileMapInfo2D<TileMapInfo2D>(engine, "TileMapInfo2D");
  2834. #ifdef REGISTER_CLASS_MANUAL_PART_TileMapInfo2D
  2835. REGISTER_CLASS_MANUAL_PART_TileMapInfo2D();
  2836. #endif
  2837. // TileMapInfo2D& TileMapInfo2D::operator =(const TileMapInfo2D&) | Possible implicitly-declared
  2838. RegisterImplicitlyDeclaredAssignOperatorIfPossible<TileMapInfo2D>(engine, "TileMapInfo2D");
  2839. }
  2840. // struct Vertex2D | File: ../Urho2D/Drawable2D.h
  2841. static void Register_Vertex2D(asIScriptEngine* engine)
  2842. {
  2843. // Vertex2D::~Vertex2D() | Implicitly-declared
  2844. engine->RegisterObjectBehaviour("Vertex2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Vertex2D), AS_CALL_CDECL_OBJFIRST);
  2845. RegisterMembers_Vertex2D<Vertex2D>(engine, "Vertex2D");
  2846. #ifdef REGISTER_CLASS_MANUAL_PART_Vertex2D
  2847. REGISTER_CLASS_MANUAL_PART_Vertex2D();
  2848. #endif
  2849. // Vertex2D& Vertex2D::operator =(const Vertex2D&) | Possible implicitly-declared
  2850. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Vertex2D>(engine, "Vertex2D");
  2851. }
  2852. #endif // def URHO3D_URHO2D
  2853. // AnimationState::AnimationState(AnimatedModel* model, Animation* animation)
  2854. static AnimationState* AnimationState__AnimationState_AnimatedModelstar_Animationstar(AnimatedModel* model, Animation* animation)
  2855. {
  2856. return new AnimationState(model, animation);
  2857. }
  2858. // AnimationState::AnimationState(Node* node, Animation* animation)
  2859. static AnimationState* AnimationState__AnimationState_Nodestar_Animationstar(Node* node, Animation* animation)
  2860. {
  2861. return new AnimationState(node, animation);
  2862. }
  2863. // class AnimationState | File: ../Graphics/AnimationState.h
  2864. static void Register_AnimationState(asIScriptEngine* engine)
  2865. {
  2866. // AnimationState::AnimationState(AnimatedModel* model, Animation* animation)
  2867. engine->RegisterObjectBehaviour("AnimationState", asBEHAVE_FACTORY, "AnimationState@+ f(AnimatedModel@+, Animation@+)", AS_FUNCTION(AnimationState__AnimationState_AnimatedModelstar_Animationstar) , AS_CALL_CDECL);
  2868. // AnimationState::AnimationState(Node* node, Animation* animation)
  2869. engine->RegisterObjectBehaviour("AnimationState", asBEHAVE_FACTORY, "AnimationState@+ f(Node@+, Animation@+)", AS_FUNCTION(AnimationState__AnimationState_Nodestar_Animationstar) , AS_CALL_CDECL);
  2870. RegisterSubclass<RefCounted, AnimationState>(engine, "RefCounted", "AnimationState");
  2871. RegisterMembers_AnimationState<AnimationState>(engine, "AnimationState");
  2872. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationState
  2873. REGISTER_CLASS_MANUAL_PART_AnimationState();
  2874. #endif
  2875. }
  2876. // class AttributeAccessor | File: ../Core/Attribute.h
  2877. static void Register_AttributeAccessor(asIScriptEngine* engine)
  2878. {
  2879. RegisterSubclass<RefCounted, AttributeAccessor>(engine, "RefCounted", "AttributeAccessor");
  2880. RegisterMembers_AttributeAccessor<AttributeAccessor>(engine, "AttributeAccessor");
  2881. #ifdef REGISTER_CLASS_MANUAL_PART_AttributeAccessor
  2882. REGISTER_CLASS_MANUAL_PART_AttributeAccessor();
  2883. #endif
  2884. }
  2885. // explicit BatchGroup::BatchGroup(const Batch& batch)
  2886. static void BatchGroup__BatchGroup_constspBatchamp(BatchGroup* _ptr, const Batch& batch)
  2887. {
  2888. new(_ptr) BatchGroup(batch);
  2889. }
  2890. // struct BatchGroup | File: ../Graphics/Batch.h
  2891. static void Register_BatchGroup(asIScriptEngine* engine)
  2892. {
  2893. // explicit BatchGroup::BatchGroup(const Batch& batch)
  2894. engine->RegisterObjectBehaviour("BatchGroup", asBEHAVE_CONSTRUCT, "void f(const Batch&in)", AS_FUNCTION_OBJFIRST(BatchGroup__BatchGroup_constspBatchamp), AS_CALL_CDECL_OBJFIRST);
  2895. // BatchGroup::~BatchGroup() = default
  2896. engine->RegisterObjectBehaviour("BatchGroup", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(BatchGroup), AS_CALL_CDECL_OBJFIRST);
  2897. RegisterMembers_BatchGroup<BatchGroup>(engine, "BatchGroup");
  2898. #ifdef REGISTER_CLASS_MANUAL_PART_BatchGroup
  2899. REGISTER_CLASS_MANUAL_PART_BatchGroup();
  2900. #endif
  2901. // BatchGroup& BatchGroup::operator =(const BatchGroup&) | Possible implicitly-declared
  2902. RegisterImplicitlyDeclaredAssignOperatorIfPossible<BatchGroup>(engine, "BatchGroup");
  2903. }
  2904. // struct ComponentReplicationState | File: ../Scene/ReplicationState.h
  2905. static void Register_ComponentReplicationState(asIScriptEngine* engine)
  2906. {
  2907. // ComponentReplicationState::~ComponentReplicationState() | Implicitly-declared
  2908. engine->RegisterObjectBehaviour("ComponentReplicationState", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ComponentReplicationState), AS_CALL_CDECL_OBJFIRST);
  2909. RegisterMembers_ComponentReplicationState<ComponentReplicationState>(engine, "ComponentReplicationState");
  2910. #ifdef REGISTER_CLASS_MANUAL_PART_ComponentReplicationState
  2911. REGISTER_CLASS_MANUAL_PART_ComponentReplicationState();
  2912. #endif
  2913. // ComponentReplicationState& ComponentReplicationState::operator =(const ComponentReplicationState&) | Possible implicitly-declared
  2914. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ComponentReplicationState>(engine, "ComponentReplicationState");
  2915. }
  2916. // class Context | File: ../Core/Context.h
  2917. static void Register_Context(asIScriptEngine* engine)
  2918. {
  2919. RegisterSubclass<RefCounted, Context>(engine, "RefCounted", "Context");
  2920. RegisterMembers_Context<Context>(engine, "Context");
  2921. #ifdef REGISTER_CLASS_MANUAL_PART_Context
  2922. REGISTER_CLASS_MANUAL_PART_Context();
  2923. #endif
  2924. }
  2925. // class EventReceiverGroup | File: ../Core/Context.h
  2926. static void Register_EventReceiverGroup(asIScriptEngine* engine)
  2927. {
  2928. RegisterSubclass<RefCounted, EventReceiverGroup>(engine, "RefCounted", "EventReceiverGroup");
  2929. RegisterMembers_EventReceiverGroup<EventReceiverGroup>(engine, "EventReceiverGroup");
  2930. #ifdef REGISTER_CLASS_MANUAL_PART_EventReceiverGroup
  2931. REGISTER_CLASS_MANUAL_PART_EventReceiverGroup();
  2932. #endif
  2933. }
  2934. // class FontFace | File: ../UI/FontFace.h
  2935. static void Register_FontFace(asIScriptEngine* engine)
  2936. {
  2937. RegisterSubclass<RefCounted, FontFace>(engine, "RefCounted", "FontFace");
  2938. RegisterMembers_FontFace<FontFace>(engine, "FontFace");
  2939. #ifdef REGISTER_CLASS_MANUAL_PART_FontFace
  2940. REGISTER_CLASS_MANUAL_PART_FontFace();
  2941. #endif
  2942. }
  2943. // struct NodeReplicationState | File: ../Scene/ReplicationState.h
  2944. static void Register_NodeReplicationState(asIScriptEngine* engine)
  2945. {
  2946. // NodeReplicationState::~NodeReplicationState() | Implicitly-declared
  2947. engine->RegisterObjectBehaviour("NodeReplicationState", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NodeReplicationState), AS_CALL_CDECL_OBJFIRST);
  2948. RegisterMembers_NodeReplicationState<NodeReplicationState>(engine, "NodeReplicationState");
  2949. #ifdef REGISTER_CLASS_MANUAL_PART_NodeReplicationState
  2950. REGISTER_CLASS_MANUAL_PART_NodeReplicationState();
  2951. #endif
  2952. // NodeReplicationState& NodeReplicationState::operator =(const NodeReplicationState&) | Possible implicitly-declared
  2953. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NodeReplicationState>(engine, "NodeReplicationState");
  2954. }
  2955. // class Object | File: ../Core/Object.h
  2956. static void Register_Object(asIScriptEngine* engine)
  2957. {
  2958. RegisterSubclass<RefCounted, Object>(engine, "RefCounted", "Object");
  2959. RegisterMembers_Object<Object>(engine, "Object");
  2960. #ifdef REGISTER_CLASS_MANUAL_PART_Object
  2961. REGISTER_CLASS_MANUAL_PART_Object();
  2962. #endif
  2963. }
  2964. // class ObjectFactory | File: ../Core/Object.h
  2965. static void Register_ObjectFactory(asIScriptEngine* engine)
  2966. {
  2967. RegisterSubclass<RefCounted, ObjectFactory>(engine, "RefCounted", "ObjectFactory");
  2968. RegisterMembers_ObjectFactory<ObjectFactory>(engine, "ObjectFactory");
  2969. #ifdef REGISTER_CLASS_MANUAL_PART_ObjectFactory
  2970. REGISTER_CLASS_MANUAL_PART_ObjectFactory();
  2971. #endif
  2972. }
  2973. // explicit Pass::Pass(const String& name)
  2974. static Pass* Pass__Pass_constspStringamp(const String& name)
  2975. {
  2976. return new Pass(name);
  2977. }
  2978. // class Pass | File: ../Graphics/Technique.h
  2979. static void Register_Pass(asIScriptEngine* engine)
  2980. {
  2981. // explicit Pass::Pass(const String& name)
  2982. engine->RegisterObjectBehaviour("Pass", asBEHAVE_FACTORY, "Pass@+ f(const String&in)", AS_FUNCTION(Pass__Pass_constspStringamp) , AS_CALL_CDECL);
  2983. RegisterSubclass<RefCounted, Pass>(engine, "RefCounted", "Pass");
  2984. RegisterMembers_Pass<Pass>(engine, "Pass");
  2985. #ifdef REGISTER_CLASS_MANUAL_PART_Pass
  2986. REGISTER_CLASS_MANUAL_PART_Pass();
  2987. #endif
  2988. }
  2989. // class RenderPath | File: ../Graphics/RenderPath.h
  2990. static void Register_RenderPath(asIScriptEngine* engine)
  2991. {
  2992. RegisterSubclass<RefCounted, RenderPath>(engine, "RefCounted", "RenderPath");
  2993. RegisterMembers_RenderPath<RenderPath>(engine, "RenderPath");
  2994. #ifdef REGISTER_CLASS_MANUAL_PART_RenderPath
  2995. REGISTER_CLASS_MANUAL_PART_RenderPath();
  2996. #endif
  2997. }
  2998. // explicit RenderSurface::RenderSurface(Texture* parentTexture)
  2999. static RenderSurface* RenderSurface__RenderSurface_Texturestar(Texture* parentTexture)
  3000. {
  3001. return new RenderSurface(parentTexture);
  3002. }
  3003. // class RenderSurface | File: ../GraphicsAPI/RenderSurface.h
  3004. static void Register_RenderSurface(asIScriptEngine* engine)
  3005. {
  3006. // explicit RenderSurface::RenderSurface(Texture* parentTexture)
  3007. engine->RegisterObjectBehaviour("RenderSurface", asBEHAVE_FACTORY, "RenderSurface@+ f(Texture@+)", AS_FUNCTION(RenderSurface__RenderSurface_Texturestar) , AS_CALL_CDECL);
  3008. RegisterSubclass<RefCounted, RenderSurface>(engine, "RefCounted", "RenderSurface");
  3009. RegisterMembers_RenderSurface<RenderSurface>(engine, "RenderSurface");
  3010. #ifdef REGISTER_CLASS_MANUAL_PART_RenderSurface
  3011. REGISTER_CLASS_MANUAL_PART_RenderSurface();
  3012. #endif
  3013. }
  3014. // struct SceneReplicationState | File: ../Scene/ReplicationState.h
  3015. static void Register_SceneReplicationState(asIScriptEngine* engine)
  3016. {
  3017. // SceneReplicationState::~SceneReplicationState() | Implicitly-declared
  3018. engine->RegisterObjectBehaviour("SceneReplicationState", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(SceneReplicationState), AS_CALL_CDECL_OBJFIRST);
  3019. RegisterMembers_SceneReplicationState<SceneReplicationState>(engine, "SceneReplicationState");
  3020. #ifdef REGISTER_CLASS_MANUAL_PART_SceneReplicationState
  3021. REGISTER_CLASS_MANUAL_PART_SceneReplicationState();
  3022. #endif
  3023. // SceneReplicationState& SceneReplicationState::operator =(const SceneReplicationState&) | Possible implicitly-declared
  3024. RegisterImplicitlyDeclaredAssignOperatorIfPossible<SceneReplicationState>(engine, "SceneReplicationState");
  3025. }
  3026. // ShaderVariation::ShaderVariation(Shader* owner, ShaderType type)
  3027. static ShaderVariation* ShaderVariation__ShaderVariation_Shaderstar_ShaderType(Shader* owner, ShaderType type)
  3028. {
  3029. return new ShaderVariation(owner, type);
  3030. }
  3031. // class ShaderVariation | File: ../GraphicsAPI/ShaderVariation.h
  3032. static void Register_ShaderVariation(asIScriptEngine* engine)
  3033. {
  3034. // ShaderVariation::ShaderVariation(Shader* owner, ShaderType type)
  3035. engine->RegisterObjectBehaviour("ShaderVariation", asBEHAVE_FACTORY, "ShaderVariation@+ f(Shader@+, ShaderType)", AS_FUNCTION(ShaderVariation__ShaderVariation_Shaderstar_ShaderType) , AS_CALL_CDECL);
  3036. RegisterSubclass<RefCounted, ShaderVariation>(engine, "RefCounted", "ShaderVariation");
  3037. RegisterMembers_ShaderVariation<ShaderVariation>(engine, "ShaderVariation");
  3038. #ifdef REGISTER_CLASS_MANUAL_PART_ShaderVariation
  3039. REGISTER_CLASS_MANUAL_PART_ShaderVariation();
  3040. #endif
  3041. }
  3042. // class SoundStream | File: ../Audio/SoundStream.h
  3043. static void Register_SoundStream(asIScriptEngine* engine)
  3044. {
  3045. RegisterSubclass<RefCounted, SoundStream>(engine, "RefCounted", "SoundStream");
  3046. RegisterMembers_SoundStream<SoundStream>(engine, "SoundStream");
  3047. #ifdef REGISTER_CLASS_MANUAL_PART_SoundStream
  3048. REGISTER_CLASS_MANUAL_PART_SoundStream();
  3049. #endif
  3050. }
  3051. // ValueAnimationInfo::ValueAnimationInfo(ValueAnimation* animation, WrapMode wrapMode, float speed)
  3052. static ValueAnimationInfo* ValueAnimationInfo__ValueAnimationInfo_ValueAnimationstar_WrapMode_float(ValueAnimation* animation, WrapMode wrapMode, float speed)
  3053. {
  3054. return new ValueAnimationInfo(animation, wrapMode, speed);
  3055. }
  3056. // ValueAnimationInfo::ValueAnimationInfo(Object* target, ValueAnimation* animation, WrapMode wrapMode, float speed)
  3057. static ValueAnimationInfo* ValueAnimationInfo__ValueAnimationInfo_Objectstar_ValueAnimationstar_WrapMode_float(Object* target, ValueAnimation* animation, WrapMode wrapMode, float speed)
  3058. {
  3059. return new ValueAnimationInfo(target, animation, wrapMode, speed);
  3060. }
  3061. // ValueAnimationInfo::ValueAnimationInfo(const ValueAnimationInfo& other)
  3062. static ValueAnimationInfo* ValueAnimationInfo__ValueAnimationInfo_constspValueAnimationInfoamp(const ValueAnimationInfo& other)
  3063. {
  3064. return new ValueAnimationInfo(other);
  3065. }
  3066. // class ValueAnimationInfo | File: ../Scene/ValueAnimationInfo.h
  3067. static void Register_ValueAnimationInfo(asIScriptEngine* engine)
  3068. {
  3069. // ValueAnimationInfo::ValueAnimationInfo(ValueAnimation* animation, WrapMode wrapMode, float speed)
  3070. engine->RegisterObjectBehaviour("ValueAnimationInfo", asBEHAVE_FACTORY, "ValueAnimationInfo@+ f(ValueAnimation@+, WrapMode, float)", AS_FUNCTION(ValueAnimationInfo__ValueAnimationInfo_ValueAnimationstar_WrapMode_float) , AS_CALL_CDECL);
  3071. // ValueAnimationInfo::ValueAnimationInfo(Object* target, ValueAnimation* animation, WrapMode wrapMode, float speed)
  3072. engine->RegisterObjectBehaviour("ValueAnimationInfo", asBEHAVE_FACTORY, "ValueAnimationInfo@+ f(Object@+, ValueAnimation@+, WrapMode, float)", AS_FUNCTION(ValueAnimationInfo__ValueAnimationInfo_Objectstar_ValueAnimationstar_WrapMode_float) , AS_CALL_CDECL);
  3073. // ValueAnimationInfo::ValueAnimationInfo(const ValueAnimationInfo& other)
  3074. engine->RegisterObjectBehaviour("ValueAnimationInfo", asBEHAVE_FACTORY, "ValueAnimationInfo@+ f(const ValueAnimationInfo&in)", AS_FUNCTION(ValueAnimationInfo__ValueAnimationInfo_constspValueAnimationInfoamp) , AS_CALL_CDECL);
  3075. RegisterSubclass<RefCounted, ValueAnimationInfo>(engine, "RefCounted", "ValueAnimationInfo");
  3076. RegisterMembers_ValueAnimationInfo<ValueAnimationInfo>(engine, "ValueAnimationInfo");
  3077. #ifdef REGISTER_CLASS_MANUAL_PART_ValueAnimationInfo
  3078. REGISTER_CLASS_MANUAL_PART_ValueAnimationInfo();
  3079. #endif
  3080. }
  3081. #ifdef URHO3D_NAVIGATION
  3082. // struct SimpleNavBuildData | File: ../Navigation/NavBuildData.h
  3083. static void Register_SimpleNavBuildData(asIScriptEngine* engine)
  3084. {
  3085. // SimpleNavBuildData::~SimpleNavBuildData() override
  3086. engine->RegisterObjectBehaviour("SimpleNavBuildData", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(SimpleNavBuildData), AS_CALL_CDECL_OBJFIRST);
  3087. RegisterMembers_SimpleNavBuildData<SimpleNavBuildData>(engine, "SimpleNavBuildData");
  3088. #ifdef REGISTER_CLASS_MANUAL_PART_SimpleNavBuildData
  3089. REGISTER_CLASS_MANUAL_PART_SimpleNavBuildData();
  3090. #endif
  3091. // SimpleNavBuildData& SimpleNavBuildData::operator =(const SimpleNavBuildData&) | Possible implicitly-declared
  3092. RegisterImplicitlyDeclaredAssignOperatorIfPossible<SimpleNavBuildData>(engine, "SimpleNavBuildData");
  3093. }
  3094. #endif // def URHO3D_NAVIGATION
  3095. #ifdef URHO3D_NETWORK
  3096. // HttpRequest::HttpRequest(const String& url, const String& verb, const Vector<String>& headers, const String& postData)
  3097. static HttpRequest* HttpRequest__HttpRequest_constspStringamp_constspStringamp_constspVectorlesStringgreamp_constspStringamp(const String& url, const String& verb, CScriptArray* headers_conv, const String& postData)
  3098. {
  3099. Vector<String> headers = ArrayToVector<String>(headers_conv);
  3100. return new HttpRequest(url, verb, headers, postData);
  3101. }
  3102. // class HttpRequest | File: ../Network/HttpRequest.h
  3103. static void Register_HttpRequest(asIScriptEngine* engine)
  3104. {
  3105. // HttpRequest::HttpRequest(const String& url, const String& verb, const Vector<String>& headers, const String& postData)
  3106. engine->RegisterObjectBehaviour("HttpRequest", asBEHAVE_FACTORY, "HttpRequest@+ f(const String&in, const String&in, Array<String>@+, const String&in)", AS_FUNCTION(HttpRequest__HttpRequest_constspStringamp_constspStringamp_constspVectorlesStringgreamp_constspStringamp) , AS_CALL_CDECL);
  3107. RegisterSubclass<RefCounted, HttpRequest>(engine, "RefCounted", "HttpRequest");
  3108. RegisterSubclass<Deserializer, HttpRequest>(engine, "Deserializer", "HttpRequest");
  3109. RegisterMembers_HttpRequest<HttpRequest>(engine, "HttpRequest");
  3110. #ifdef REGISTER_CLASS_MANUAL_PART_HttpRequest
  3111. REGISTER_CLASS_MANUAL_PART_HttpRequest();
  3112. #endif
  3113. }
  3114. #endif // def URHO3D_NETWORK
  3115. #ifdef URHO3D_PHYSICS
  3116. // struct CollisionGeometryData | File: ../Physics/CollisionShape.h
  3117. static void Register_CollisionGeometryData(asIScriptEngine* engine)
  3118. {
  3119. RegisterSubclass<RefCounted, CollisionGeometryData>(engine, "RefCounted", "CollisionGeometryData");
  3120. RegisterMembers_CollisionGeometryData<CollisionGeometryData>(engine, "CollisionGeometryData");
  3121. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionGeometryData
  3122. REGISTER_CLASS_MANUAL_PART_CollisionGeometryData();
  3123. #endif
  3124. }
  3125. #endif // def URHO3D_PHYSICS
  3126. #ifdef URHO3D_URHO2D
  3127. // class PropertySet2D | File: ../Urho2D/TileMapDefs2D.h
  3128. static void Register_PropertySet2D(asIScriptEngine* engine)
  3129. {
  3130. RegisterSubclass<RefCounted, PropertySet2D>(engine, "RefCounted", "PropertySet2D");
  3131. RegisterMembers_PropertySet2D<PropertySet2D>(engine, "PropertySet2D");
  3132. #ifdef REGISTER_CLASS_MANUAL_PART_PropertySet2D
  3133. REGISTER_CLASS_MANUAL_PART_PropertySet2D();
  3134. #endif
  3135. }
  3136. // class Tile2D | File: ../Urho2D/TileMapDefs2D.h
  3137. static void Register_Tile2D(asIScriptEngine* engine)
  3138. {
  3139. RegisterSubclass<RefCounted, Tile2D>(engine, "RefCounted", "Tile2D");
  3140. RegisterMembers_Tile2D<Tile2D>(engine, "Tile2D");
  3141. #ifdef REGISTER_CLASS_MANUAL_PART_Tile2D
  3142. REGISTER_CLASS_MANUAL_PART_Tile2D();
  3143. #endif
  3144. }
  3145. // class TileMapObject2D | File: ../Urho2D/TileMapDefs2D.h
  3146. static void Register_TileMapObject2D(asIScriptEngine* engine)
  3147. {
  3148. RegisterSubclass<RefCounted, TileMapObject2D>(engine, "RefCounted", "TileMapObject2D");
  3149. RegisterMembers_TileMapObject2D<TileMapObject2D>(engine, "TileMapObject2D");
  3150. #ifdef REGISTER_CLASS_MANUAL_PART_TileMapObject2D
  3151. REGISTER_CLASS_MANUAL_PART_TileMapObject2D();
  3152. #endif
  3153. }
  3154. // TmxLayer2D::TmxLayer2D(TmxFile2D* tmxFile, TileMapLayerType2D type)
  3155. static TmxLayer2D* TmxLayer2D__TmxLayer2D_TmxFile2Dstar_TileMapLayerType2D(TmxFile2D* tmxFile, TileMapLayerType2D type)
  3156. {
  3157. return new TmxLayer2D(tmxFile, type);
  3158. }
  3159. // class TmxLayer2D | File: ../Urho2D/TmxFile2D.h
  3160. static void Register_TmxLayer2D(asIScriptEngine* engine)
  3161. {
  3162. // TmxLayer2D::TmxLayer2D(TmxFile2D* tmxFile, TileMapLayerType2D type)
  3163. engine->RegisterObjectBehaviour("TmxLayer2D", asBEHAVE_FACTORY, "TmxLayer2D@+ f(TmxFile2D@+, TileMapLayerType2D)", AS_FUNCTION(TmxLayer2D__TmxLayer2D_TmxFile2Dstar_TileMapLayerType2D) , AS_CALL_CDECL);
  3164. RegisterSubclass<RefCounted, TmxLayer2D>(engine, "RefCounted", "TmxLayer2D");
  3165. RegisterMembers_TmxLayer2D<TmxLayer2D>(engine, "TmxLayer2D");
  3166. #ifdef REGISTER_CLASS_MANUAL_PART_TmxLayer2D
  3167. REGISTER_CLASS_MANUAL_PART_TmxLayer2D();
  3168. #endif
  3169. }
  3170. #endif // def URHO3D_URHO2D
  3171. // AttributeAnimationInfo::AttributeAnimationInfo(Animatable* animatable, const AttributeInfo& attributeInfo, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3172. static AttributeAnimationInfo* AttributeAnimationInfo__AttributeAnimationInfo_Animatablestar_constspAttributeInfoamp_ValueAnimationstar_WrapMode_float(Animatable* animatable, const AttributeInfo& attributeInfo, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3173. {
  3174. return new AttributeAnimationInfo(animatable, attributeInfo, attributeAnimation, wrapMode, speed);
  3175. }
  3176. // AttributeAnimationInfo::AttributeAnimationInfo(const AttributeAnimationInfo& other)
  3177. static AttributeAnimationInfo* AttributeAnimationInfo__AttributeAnimationInfo_constspAttributeAnimationInfoamp(const AttributeAnimationInfo& other)
  3178. {
  3179. return new AttributeAnimationInfo(other);
  3180. }
  3181. // class AttributeAnimationInfo | File: ../Scene/Animatable.h
  3182. static void Register_AttributeAnimationInfo(asIScriptEngine* engine)
  3183. {
  3184. // AttributeAnimationInfo::AttributeAnimationInfo(Animatable* animatable, const AttributeInfo& attributeInfo, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3185. engine->RegisterObjectBehaviour("AttributeAnimationInfo", asBEHAVE_FACTORY, "AttributeAnimationInfo@+ f(Animatable@+, const AttributeInfo&in, ValueAnimation@+, WrapMode, float)", AS_FUNCTION(AttributeAnimationInfo__AttributeAnimationInfo_Animatablestar_constspAttributeInfoamp_ValueAnimationstar_WrapMode_float) , AS_CALL_CDECL);
  3186. // AttributeAnimationInfo::AttributeAnimationInfo(const AttributeAnimationInfo& other)
  3187. engine->RegisterObjectBehaviour("AttributeAnimationInfo", asBEHAVE_FACTORY, "AttributeAnimationInfo@+ f(const AttributeAnimationInfo&in)", AS_FUNCTION(AttributeAnimationInfo__AttributeAnimationInfo_constspAttributeAnimationInfoamp) , AS_CALL_CDECL);
  3188. RegisterSubclass<ValueAnimationInfo, AttributeAnimationInfo>(engine, "ValueAnimationInfo", "AttributeAnimationInfo");
  3189. RegisterSubclass<RefCounted, AttributeAnimationInfo>(engine, "RefCounted", "AttributeAnimationInfo");
  3190. RegisterMembers_AttributeAnimationInfo<AttributeAnimationInfo>(engine, "AttributeAnimationInfo");
  3191. #ifdef REGISTER_CLASS_MANUAL_PART_AttributeAnimationInfo
  3192. REGISTER_CLASS_MANUAL_PART_AttributeAnimationInfo();
  3193. #endif
  3194. }
  3195. // explicit Audio::Audio(Context* context)
  3196. static Audio* Audio__Audio_Contextstar()
  3197. {
  3198. Context* context = GetScriptContext();
  3199. return new Audio(context);
  3200. }
  3201. // class Audio | File: ../Audio/Audio.h
  3202. static void Register_Audio(asIScriptEngine* engine)
  3203. {
  3204. // explicit Audio::Audio(Context* context)
  3205. engine->RegisterObjectBehaviour("Audio", asBEHAVE_FACTORY, "Audio@+ f()", AS_FUNCTION(Audio__Audio_Contextstar) , AS_CALL_CDECL);
  3206. RegisterSubclass<Object, Audio>(engine, "Object", "Audio");
  3207. RegisterSubclass<RefCounted, Audio>(engine, "RefCounted", "Audio");
  3208. RegisterMembers_Audio<Audio>(engine, "Audio");
  3209. #ifdef REGISTER_CLASS_MANUAL_PART_Audio
  3210. REGISTER_CLASS_MANUAL_PART_Audio();
  3211. #endif
  3212. }
  3213. // class BufferedSoundStream | File: ../Audio/BufferedSoundStream.h
  3214. static void Register_BufferedSoundStream(asIScriptEngine* engine)
  3215. {
  3216. RegisterSubclass<SoundStream, BufferedSoundStream>(engine, "SoundStream", "BufferedSoundStream");
  3217. RegisterSubclass<RefCounted, BufferedSoundStream>(engine, "RefCounted", "BufferedSoundStream");
  3218. RegisterMembers_BufferedSoundStream<BufferedSoundStream>(engine, "BufferedSoundStream");
  3219. #ifdef REGISTER_CLASS_MANUAL_PART_BufferedSoundStream
  3220. REGISTER_CLASS_MANUAL_PART_BufferedSoundStream();
  3221. #endif
  3222. }
  3223. // explicit Console::Console(Context* context)
  3224. static Console* Console__Console_Contextstar()
  3225. {
  3226. Context* context = GetScriptContext();
  3227. return new Console(context);
  3228. }
  3229. // class Console | File: ../Engine/Console.h
  3230. static void Register_Console(asIScriptEngine* engine)
  3231. {
  3232. // explicit Console::Console(Context* context)
  3233. engine->RegisterObjectBehaviour("Console", asBEHAVE_FACTORY, "Console@+ f()", AS_FUNCTION(Console__Console_Contextstar) , AS_CALL_CDECL);
  3234. RegisterSubclass<Object, Console>(engine, "Object", "Console");
  3235. RegisterSubclass<RefCounted, Console>(engine, "RefCounted", "Console");
  3236. RegisterMembers_Console<Console>(engine, "Console");
  3237. #ifdef REGISTER_CLASS_MANUAL_PART_Console
  3238. REGISTER_CLASS_MANUAL_PART_Console();
  3239. #endif
  3240. }
  3241. // explicit ConstantBuffer::ConstantBuffer(Context* context)
  3242. static ConstantBuffer* ConstantBuffer__ConstantBuffer_Contextstar()
  3243. {
  3244. Context* context = GetScriptContext();
  3245. return new ConstantBuffer(context);
  3246. }
  3247. // class ConstantBuffer | File: ../GraphicsAPI/ConstantBuffer.h
  3248. static void Register_ConstantBuffer(asIScriptEngine* engine)
  3249. {
  3250. // explicit ConstantBuffer::ConstantBuffer(Context* context)
  3251. engine->RegisterObjectBehaviour("ConstantBuffer", asBEHAVE_FACTORY, "ConstantBuffer@+ f()", AS_FUNCTION(ConstantBuffer__ConstantBuffer_Contextstar) , AS_CALL_CDECL);
  3252. RegisterSubclass<Object, ConstantBuffer>(engine, "Object", "ConstantBuffer");
  3253. RegisterSubclass<RefCounted, ConstantBuffer>(engine, "RefCounted", "ConstantBuffer");
  3254. RegisterMembers_ConstantBuffer<ConstantBuffer>(engine, "ConstantBuffer");
  3255. #ifdef REGISTER_CLASS_MANUAL_PART_ConstantBuffer
  3256. REGISTER_CLASS_MANUAL_PART_ConstantBuffer();
  3257. #endif
  3258. }
  3259. // explicit DebugHud::DebugHud(Context* context)
  3260. static DebugHud* DebugHud__DebugHud_Contextstar()
  3261. {
  3262. Context* context = GetScriptContext();
  3263. return new DebugHud(context);
  3264. }
  3265. // class DebugHud | File: ../Engine/DebugHud.h
  3266. static void Register_DebugHud(asIScriptEngine* engine)
  3267. {
  3268. // explicit DebugHud::DebugHud(Context* context)
  3269. engine->RegisterObjectBehaviour("DebugHud", asBEHAVE_FACTORY, "DebugHud@+ f()", AS_FUNCTION(DebugHud__DebugHud_Contextstar) , AS_CALL_CDECL);
  3270. RegisterSubclass<Object, DebugHud>(engine, "Object", "DebugHud");
  3271. RegisterSubclass<RefCounted, DebugHud>(engine, "RefCounted", "DebugHud");
  3272. RegisterMembers_DebugHud<DebugHud>(engine, "DebugHud");
  3273. #ifdef REGISTER_CLASS_MANUAL_PART_DebugHud
  3274. REGISTER_CLASS_MANUAL_PART_DebugHud();
  3275. #endif
  3276. }
  3277. // explicit Engine::Engine(Context* context)
  3278. static Engine* Engine__Engine_Contextstar()
  3279. {
  3280. Context* context = GetScriptContext();
  3281. return new Engine(context);
  3282. }
  3283. // class Engine | File: ../Engine/Engine.h
  3284. static void Register_Engine(asIScriptEngine* engine)
  3285. {
  3286. // explicit Engine::Engine(Context* context)
  3287. engine->RegisterObjectBehaviour("Engine", asBEHAVE_FACTORY, "Engine@+ f()", AS_FUNCTION(Engine__Engine_Contextstar) , AS_CALL_CDECL);
  3288. RegisterSubclass<Object, Engine>(engine, "Object", "Engine");
  3289. RegisterSubclass<RefCounted, Engine>(engine, "RefCounted", "Engine");
  3290. RegisterMembers_Engine<Engine>(engine, "Engine");
  3291. #ifdef REGISTER_CLASS_MANUAL_PART_Engine
  3292. REGISTER_CLASS_MANUAL_PART_Engine();
  3293. #endif
  3294. }
  3295. // explicit File::File(Context* context)
  3296. static File* File__File_Contextstar()
  3297. {
  3298. Context* context = GetScriptContext();
  3299. return new File(context);
  3300. }
  3301. // File::File(Context* context, const String& fileName, FileMode mode = FILE_READ)
  3302. static File* File__File_Contextstar_constspStringamp_FileMode(const String& fileName, FileMode mode)
  3303. {
  3304. Context* context = GetScriptContext();
  3305. return new File(context, fileName, mode);
  3306. }
  3307. // File::File(Context* context, PackageFile* package, const String& fileName)
  3308. static File* File__File_Contextstar_PackageFilestar_constspStringamp(PackageFile* package, const String& fileName)
  3309. {
  3310. Context* context = GetScriptContext();
  3311. return new File(context, package, fileName);
  3312. }
  3313. // class File | File: ../IO/File.h
  3314. static void Register_File(asIScriptEngine* engine)
  3315. {
  3316. // explicit File::File(Context* context)
  3317. engine->RegisterObjectBehaviour("File", asBEHAVE_FACTORY, "File@+ f()", AS_FUNCTION(File__File_Contextstar) , AS_CALL_CDECL);
  3318. // File::File(Context* context, const String& fileName, FileMode mode = FILE_READ)
  3319. engine->RegisterObjectBehaviour("File", asBEHAVE_FACTORY, "File@+ f(const String&in, FileMode = FILE_READ)", AS_FUNCTION(File__File_Contextstar_constspStringamp_FileMode) , AS_CALL_CDECL);
  3320. // File::File(Context* context, PackageFile* package, const String& fileName)
  3321. engine->RegisterObjectBehaviour("File", asBEHAVE_FACTORY, "File@+ f(PackageFile@+, const String&in)", AS_FUNCTION(File__File_Contextstar_PackageFilestar_constspStringamp) , AS_CALL_CDECL);
  3322. RegisterSubclass<Object, File>(engine, "Object", "File");
  3323. RegisterSubclass<RefCounted, File>(engine, "RefCounted", "File");
  3324. RegisterSubclass<Deserializer, File>(engine, "Deserializer", "File");
  3325. RegisterSubclass<Serializer, File>(engine, "Serializer", "File");
  3326. RegisterMembers_File<File>(engine, "File");
  3327. #ifdef REGISTER_CLASS_MANUAL_PART_File
  3328. REGISTER_CLASS_MANUAL_PART_File();
  3329. #endif
  3330. }
  3331. // explicit FileSelector::FileSelector(Context* context)
  3332. static FileSelector* FileSelector__FileSelector_Contextstar()
  3333. {
  3334. Context* context = GetScriptContext();
  3335. return new FileSelector(context);
  3336. }
  3337. // class FileSelector | File: ../UI/FileSelector.h
  3338. static void Register_FileSelector(asIScriptEngine* engine)
  3339. {
  3340. // explicit FileSelector::FileSelector(Context* context)
  3341. engine->RegisterObjectBehaviour("FileSelector", asBEHAVE_FACTORY, "FileSelector@+ f()", AS_FUNCTION(FileSelector__FileSelector_Contextstar) , AS_CALL_CDECL);
  3342. RegisterSubclass<Object, FileSelector>(engine, "Object", "FileSelector");
  3343. RegisterSubclass<RefCounted, FileSelector>(engine, "RefCounted", "FileSelector");
  3344. RegisterMembers_FileSelector<FileSelector>(engine, "FileSelector");
  3345. #ifdef REGISTER_CLASS_MANUAL_PART_FileSelector
  3346. REGISTER_CLASS_MANUAL_PART_FileSelector();
  3347. #endif
  3348. }
  3349. // explicit FileSystem::FileSystem(Context* context)
  3350. static FileSystem* FileSystem__FileSystem_Contextstar()
  3351. {
  3352. Context* context = GetScriptContext();
  3353. return new FileSystem(context);
  3354. }
  3355. // class FileSystem | File: ../IO/FileSystem.h
  3356. static void Register_FileSystem(asIScriptEngine* engine)
  3357. {
  3358. // explicit FileSystem::FileSystem(Context* context)
  3359. engine->RegisterObjectBehaviour("FileSystem", asBEHAVE_FACTORY, "FileSystem@+ f()", AS_FUNCTION(FileSystem__FileSystem_Contextstar) , AS_CALL_CDECL);
  3360. RegisterSubclass<Object, FileSystem>(engine, "Object", "FileSystem");
  3361. RegisterSubclass<RefCounted, FileSystem>(engine, "RefCounted", "FileSystem");
  3362. RegisterMembers_FileSystem<FileSystem>(engine, "FileSystem");
  3363. #ifdef REGISTER_CLASS_MANUAL_PART_FileSystem
  3364. REGISTER_CLASS_MANUAL_PART_FileSystem();
  3365. #endif
  3366. }
  3367. // explicit FileWatcher::FileWatcher(Context* context)
  3368. static FileWatcher* FileWatcher__FileWatcher_Contextstar()
  3369. {
  3370. Context* context = GetScriptContext();
  3371. return new FileWatcher(context);
  3372. }
  3373. // class FileWatcher | File: ../IO/FileWatcher.h
  3374. static void Register_FileWatcher(asIScriptEngine* engine)
  3375. {
  3376. // explicit FileWatcher::FileWatcher(Context* context)
  3377. engine->RegisterObjectBehaviour("FileWatcher", asBEHAVE_FACTORY, "FileWatcher@+ f()", AS_FUNCTION(FileWatcher__FileWatcher_Contextstar) , AS_CALL_CDECL);
  3378. RegisterSubclass<Object, FileWatcher>(engine, "Object", "FileWatcher");
  3379. RegisterSubclass<RefCounted, FileWatcher>(engine, "RefCounted", "FileWatcher");
  3380. RegisterMembers_FileWatcher<FileWatcher>(engine, "FileWatcher");
  3381. #ifdef REGISTER_CLASS_MANUAL_PART_FileWatcher
  3382. REGISTER_CLASS_MANUAL_PART_FileWatcher();
  3383. #endif
  3384. }
  3385. // explicit FontFaceBitmap::FontFaceBitmap(Font* font)
  3386. static FontFaceBitmap* FontFaceBitmap__FontFaceBitmap_Fontstar(Font* font)
  3387. {
  3388. return new FontFaceBitmap(font);
  3389. }
  3390. // class FontFaceBitmap | File: ../UI/FontFaceBitmap.h
  3391. static void Register_FontFaceBitmap(asIScriptEngine* engine)
  3392. {
  3393. // explicit FontFaceBitmap::FontFaceBitmap(Font* font)
  3394. engine->RegisterObjectBehaviour("FontFaceBitmap", asBEHAVE_FACTORY, "FontFaceBitmap@+ f(Font@+)", AS_FUNCTION(FontFaceBitmap__FontFaceBitmap_Fontstar) , AS_CALL_CDECL);
  3395. RegisterSubclass<FontFace, FontFaceBitmap>(engine, "FontFace", "FontFaceBitmap");
  3396. RegisterSubclass<RefCounted, FontFaceBitmap>(engine, "RefCounted", "FontFaceBitmap");
  3397. RegisterMembers_FontFaceBitmap<FontFaceBitmap>(engine, "FontFaceBitmap");
  3398. #ifdef REGISTER_CLASS_MANUAL_PART_FontFaceBitmap
  3399. REGISTER_CLASS_MANUAL_PART_FontFaceBitmap();
  3400. #endif
  3401. }
  3402. // explicit FontFaceFreeType::FontFaceFreeType(Font* font)
  3403. static FontFaceFreeType* FontFaceFreeType__FontFaceFreeType_Fontstar(Font* font)
  3404. {
  3405. return new FontFaceFreeType(font);
  3406. }
  3407. // class FontFaceFreeType | File: ../UI/FontFaceFreeType.h
  3408. static void Register_FontFaceFreeType(asIScriptEngine* engine)
  3409. {
  3410. // explicit FontFaceFreeType::FontFaceFreeType(Font* font)
  3411. engine->RegisterObjectBehaviour("FontFaceFreeType", asBEHAVE_FACTORY, "FontFaceFreeType@+ f(Font@+)", AS_FUNCTION(FontFaceFreeType__FontFaceFreeType_Fontstar) , AS_CALL_CDECL);
  3412. RegisterSubclass<FontFace, FontFaceFreeType>(engine, "FontFace", "FontFaceFreeType");
  3413. RegisterSubclass<RefCounted, FontFaceFreeType>(engine, "RefCounted", "FontFaceFreeType");
  3414. RegisterMembers_FontFaceFreeType<FontFaceFreeType>(engine, "FontFaceFreeType");
  3415. #ifdef REGISTER_CLASS_MANUAL_PART_FontFaceFreeType
  3416. REGISTER_CLASS_MANUAL_PART_FontFaceFreeType();
  3417. #endif
  3418. }
  3419. // explicit Geometry::Geometry(Context* context)
  3420. static Geometry* Geometry__Geometry_Contextstar()
  3421. {
  3422. Context* context = GetScriptContext();
  3423. return new Geometry(context);
  3424. }
  3425. // class Geometry | File: ../Graphics/Geometry.h
  3426. static void Register_Geometry(asIScriptEngine* engine)
  3427. {
  3428. // explicit Geometry::Geometry(Context* context)
  3429. engine->RegisterObjectBehaviour("Geometry", asBEHAVE_FACTORY, "Geometry@+ f()", AS_FUNCTION(Geometry__Geometry_Contextstar) , AS_CALL_CDECL);
  3430. RegisterSubclass<Object, Geometry>(engine, "Object", "Geometry");
  3431. RegisterSubclass<RefCounted, Geometry>(engine, "RefCounted", "Geometry");
  3432. RegisterMembers_Geometry<Geometry>(engine, "Geometry");
  3433. #ifdef REGISTER_CLASS_MANUAL_PART_Geometry
  3434. REGISTER_CLASS_MANUAL_PART_Geometry();
  3435. #endif
  3436. }
  3437. // explicit Graphics::Graphics(Context* context, GAPI gapi)
  3438. static Graphics* Graphics__Graphics_Contextstar_GAPI(GAPI gapi)
  3439. {
  3440. Context* context = GetScriptContext();
  3441. return new Graphics(context, gapi);
  3442. }
  3443. // class Graphics | File: ../Graphics/Graphics.h
  3444. static void Register_Graphics(asIScriptEngine* engine)
  3445. {
  3446. // explicit Graphics::Graphics(Context* context, GAPI gapi)
  3447. engine->RegisterObjectBehaviour("Graphics", asBEHAVE_FACTORY, "Graphics@+ f(GAPI)", AS_FUNCTION(Graphics__Graphics_Contextstar_GAPI) , AS_CALL_CDECL);
  3448. RegisterSubclass<Object, Graphics>(engine, "Object", "Graphics");
  3449. RegisterSubclass<RefCounted, Graphics>(engine, "RefCounted", "Graphics");
  3450. RegisterMembers_Graphics<Graphics>(engine, "Graphics");
  3451. #ifdef REGISTER_CLASS_MANUAL_PART_Graphics
  3452. REGISTER_CLASS_MANUAL_PART_Graphics();
  3453. #endif
  3454. }
  3455. // explicit IndexBuffer::IndexBuffer(Context* context, bool forceHeadless = false)
  3456. static IndexBuffer* IndexBuffer__IndexBuffer_Contextstar_bool(bool forceHeadless)
  3457. {
  3458. Context* context = GetScriptContext();
  3459. return new IndexBuffer(context, forceHeadless);
  3460. }
  3461. // class IndexBuffer | File: ../GraphicsAPI/IndexBuffer.h
  3462. static void Register_IndexBuffer(asIScriptEngine* engine)
  3463. {
  3464. // explicit IndexBuffer::IndexBuffer(Context* context, bool forceHeadless = false)
  3465. engine->RegisterObjectBehaviour("IndexBuffer", asBEHAVE_FACTORY, "IndexBuffer@+ f(bool = false)", AS_FUNCTION(IndexBuffer__IndexBuffer_Contextstar_bool) , AS_CALL_CDECL);
  3466. RegisterSubclass<Object, IndexBuffer>(engine, "Object", "IndexBuffer");
  3467. RegisterSubclass<RefCounted, IndexBuffer>(engine, "RefCounted", "IndexBuffer");
  3468. RegisterMembers_IndexBuffer<IndexBuffer>(engine, "IndexBuffer");
  3469. #ifdef REGISTER_CLASS_MANUAL_PART_IndexBuffer
  3470. REGISTER_CLASS_MANUAL_PART_IndexBuffer();
  3471. #endif
  3472. }
  3473. // explicit Input::Input(Context* context)
  3474. static Input* Input__Input_Contextstar()
  3475. {
  3476. Context* context = GetScriptContext();
  3477. return new Input(context);
  3478. }
  3479. // class Input | File: ../Input/Input.h
  3480. static void Register_Input(asIScriptEngine* engine)
  3481. {
  3482. // explicit Input::Input(Context* context)
  3483. engine->RegisterObjectBehaviour("Input", asBEHAVE_FACTORY, "Input@+ f()", AS_FUNCTION(Input__Input_Contextstar) , AS_CALL_CDECL);
  3484. RegisterSubclass<Object, Input>(engine, "Object", "Input");
  3485. RegisterSubclass<RefCounted, Input>(engine, "RefCounted", "Input");
  3486. RegisterMembers_Input<Input>(engine, "Input");
  3487. #ifdef REGISTER_CLASS_MANUAL_PART_Input
  3488. REGISTER_CLASS_MANUAL_PART_Input();
  3489. #endif
  3490. }
  3491. // explicit Localization::Localization(Context* context)
  3492. static Localization* Localization__Localization_Contextstar()
  3493. {
  3494. Context* context = GetScriptContext();
  3495. return new Localization(context);
  3496. }
  3497. // class Localization | File: ../Resource/Localization.h
  3498. static void Register_Localization(asIScriptEngine* engine)
  3499. {
  3500. // explicit Localization::Localization(Context* context)
  3501. engine->RegisterObjectBehaviour("Localization", asBEHAVE_FACTORY, "Localization@+ f()", AS_FUNCTION(Localization__Localization_Contextstar) , AS_CALL_CDECL);
  3502. RegisterSubclass<Object, Localization>(engine, "Object", "Localization");
  3503. RegisterSubclass<RefCounted, Localization>(engine, "RefCounted", "Localization");
  3504. RegisterMembers_Localization<Localization>(engine, "Localization");
  3505. #ifdef REGISTER_CLASS_MANUAL_PART_Localization
  3506. REGISTER_CLASS_MANUAL_PART_Localization();
  3507. #endif
  3508. }
  3509. // explicit Log::Log(Context* context)
  3510. static Log* Log__Log_Contextstar()
  3511. {
  3512. Context* context = GetScriptContext();
  3513. return new Log(context);
  3514. }
  3515. // class Log | File: ../IO/Log.h
  3516. static void Register_Log(asIScriptEngine* engine)
  3517. {
  3518. // explicit Log::Log(Context* context)
  3519. engine->RegisterObjectBehaviour("Log", asBEHAVE_FACTORY, "Log@+ f()", AS_FUNCTION(Log__Log_Contextstar) , AS_CALL_CDECL);
  3520. RegisterSubclass<Object, Log>(engine, "Object", "Log");
  3521. RegisterSubclass<RefCounted, Log>(engine, "RefCounted", "Log");
  3522. RegisterMembers_Log<Log>(engine, "Log");
  3523. #ifdef REGISTER_CLASS_MANUAL_PART_Log
  3524. REGISTER_CLASS_MANUAL_PART_Log();
  3525. #endif
  3526. }
  3527. // explicit MessageBox::MessageBox(Context* context, const String& messageString = String::EMPTY, const String& titleString = String::EMPTY, XMLFile* layoutFile = nullptr, XMLFile* styleFile = nullptr)
  3528. static MessageBox* MessageBox__MessageBox_Contextstar_constspStringamp_constspStringamp_XMLFilestar_XMLFilestar(const String& messageString, const String& titleString, XMLFile* layoutFile, XMLFile* styleFile)
  3529. {
  3530. Context* context = GetScriptContext();
  3531. return new MessageBox(context, messageString, titleString, layoutFile, styleFile);
  3532. }
  3533. // class MessageBox | File: ../UI/MessageBox.h
  3534. static void Register_MessageBox(asIScriptEngine* engine)
  3535. {
  3536. // explicit MessageBox::MessageBox(Context* context, const String& messageString = String::EMPTY, const String& titleString = String::EMPTY, XMLFile* layoutFile = nullptr, XMLFile* styleFile = nullptr)
  3537. engine->RegisterObjectBehaviour("MessageBox", asBEHAVE_FACTORY, "MessageBox@+ f(const String&in = String::EMPTY, const String&in = String::EMPTY, XMLFile@+ = null, XMLFile@+ = null)", AS_FUNCTION(MessageBox__MessageBox_Contextstar_constspStringamp_constspStringamp_XMLFilestar_XMLFilestar) , AS_CALL_CDECL);
  3538. RegisterSubclass<Object, MessageBox>(engine, "Object", "MessageBox");
  3539. RegisterSubclass<RefCounted, MessageBox>(engine, "RefCounted", "MessageBox");
  3540. RegisterMembers_MessageBox<MessageBox>(engine, "MessageBox");
  3541. #ifdef REGISTER_CLASS_MANUAL_PART_MessageBox
  3542. REGISTER_CLASS_MANUAL_PART_MessageBox();
  3543. #endif
  3544. }
  3545. // explicit NamedPipe::NamedPipe(Context* context)
  3546. static NamedPipe* NamedPipe__NamedPipe_Contextstar()
  3547. {
  3548. Context* context = GetScriptContext();
  3549. return new NamedPipe(context);
  3550. }
  3551. // NamedPipe::NamedPipe(Context* context, const String& name, bool isServer)
  3552. static NamedPipe* NamedPipe__NamedPipe_Contextstar_constspStringamp_bool(const String& name, bool isServer)
  3553. {
  3554. Context* context = GetScriptContext();
  3555. return new NamedPipe(context, name, isServer);
  3556. }
  3557. // class NamedPipe | File: ../IO/NamedPipe.h
  3558. static void Register_NamedPipe(asIScriptEngine* engine)
  3559. {
  3560. // explicit NamedPipe::NamedPipe(Context* context)
  3561. engine->RegisterObjectBehaviour("NamedPipe", asBEHAVE_FACTORY, "NamedPipe@+ f()", AS_FUNCTION(NamedPipe__NamedPipe_Contextstar) , AS_CALL_CDECL);
  3562. // NamedPipe::NamedPipe(Context* context, const String& name, bool isServer)
  3563. engine->RegisterObjectBehaviour("NamedPipe", asBEHAVE_FACTORY, "NamedPipe@+ f(const String&in, bool)", AS_FUNCTION(NamedPipe__NamedPipe_Contextstar_constspStringamp_bool) , AS_CALL_CDECL);
  3564. RegisterSubclass<Object, NamedPipe>(engine, "Object", "NamedPipe");
  3565. RegisterSubclass<RefCounted, NamedPipe>(engine, "RefCounted", "NamedPipe");
  3566. RegisterSubclass<Deserializer, NamedPipe>(engine, "Deserializer", "NamedPipe");
  3567. RegisterSubclass<Serializer, NamedPipe>(engine, "Serializer", "NamedPipe");
  3568. RegisterMembers_NamedPipe<NamedPipe>(engine, "NamedPipe");
  3569. #ifdef REGISTER_CLASS_MANUAL_PART_NamedPipe
  3570. REGISTER_CLASS_MANUAL_PART_NamedPipe();
  3571. #endif
  3572. }
  3573. // explicit OcclusionBuffer::OcclusionBuffer(Context* context)
  3574. static OcclusionBuffer* OcclusionBuffer__OcclusionBuffer_Contextstar()
  3575. {
  3576. Context* context = GetScriptContext();
  3577. return new OcclusionBuffer(context);
  3578. }
  3579. // class OcclusionBuffer | File: ../Graphics/OcclusionBuffer.h
  3580. static void Register_OcclusionBuffer(asIScriptEngine* engine)
  3581. {
  3582. // explicit OcclusionBuffer::OcclusionBuffer(Context* context)
  3583. engine->RegisterObjectBehaviour("OcclusionBuffer", asBEHAVE_FACTORY, "OcclusionBuffer@+ f()", AS_FUNCTION(OcclusionBuffer__OcclusionBuffer_Contextstar) , AS_CALL_CDECL);
  3584. RegisterSubclass<Object, OcclusionBuffer>(engine, "Object", "OcclusionBuffer");
  3585. RegisterSubclass<RefCounted, OcclusionBuffer>(engine, "RefCounted", "OcclusionBuffer");
  3586. RegisterMembers_OcclusionBuffer<OcclusionBuffer>(engine, "OcclusionBuffer");
  3587. #ifdef REGISTER_CLASS_MANUAL_PART_OcclusionBuffer
  3588. REGISTER_CLASS_MANUAL_PART_OcclusionBuffer();
  3589. #endif
  3590. }
  3591. // explicit OggVorbisSoundStream::OggVorbisSoundStream(const Sound* sound)
  3592. static OggVorbisSoundStream* OggVorbisSoundStream__OggVorbisSoundStream_constspSoundstar(const Sound* sound)
  3593. {
  3594. return new OggVorbisSoundStream(sound);
  3595. }
  3596. // class OggVorbisSoundStream | File: ../Audio/OggVorbisSoundStream.h
  3597. static void Register_OggVorbisSoundStream(asIScriptEngine* engine)
  3598. {
  3599. // explicit OggVorbisSoundStream::OggVorbisSoundStream(const Sound* sound)
  3600. engine->RegisterObjectBehaviour("OggVorbisSoundStream", asBEHAVE_FACTORY, "OggVorbisSoundStream@+ f(Sound@+)", AS_FUNCTION(OggVorbisSoundStream__OggVorbisSoundStream_constspSoundstar) , AS_CALL_CDECL);
  3601. RegisterSubclass<SoundStream, OggVorbisSoundStream>(engine, "SoundStream", "OggVorbisSoundStream");
  3602. RegisterSubclass<RefCounted, OggVorbisSoundStream>(engine, "RefCounted", "OggVorbisSoundStream");
  3603. RegisterMembers_OggVorbisSoundStream<OggVorbisSoundStream>(engine, "OggVorbisSoundStream");
  3604. #ifdef REGISTER_CLASS_MANUAL_PART_OggVorbisSoundStream
  3605. REGISTER_CLASS_MANUAL_PART_OggVorbisSoundStream();
  3606. #endif
  3607. }
  3608. // explicit PackageFile::PackageFile(Context* context)
  3609. static PackageFile* PackageFile__PackageFile_Contextstar()
  3610. {
  3611. Context* context = GetScriptContext();
  3612. return new PackageFile(context);
  3613. }
  3614. // PackageFile::PackageFile(Context* context, const String& fileName, unsigned startOffset = 0)
  3615. static PackageFile* PackageFile__PackageFile_Contextstar_constspStringamp_unsigned(const String& fileName, unsigned startOffset)
  3616. {
  3617. Context* context = GetScriptContext();
  3618. return new PackageFile(context, fileName, startOffset);
  3619. }
  3620. // class PackageFile | File: ../IO/PackageFile.h
  3621. static void Register_PackageFile(asIScriptEngine* engine)
  3622. {
  3623. // explicit PackageFile::PackageFile(Context* context)
  3624. engine->RegisterObjectBehaviour("PackageFile", asBEHAVE_FACTORY, "PackageFile@+ f()", AS_FUNCTION(PackageFile__PackageFile_Contextstar) , AS_CALL_CDECL);
  3625. // PackageFile::PackageFile(Context* context, const String& fileName, unsigned startOffset = 0)
  3626. engine->RegisterObjectBehaviour("PackageFile", asBEHAVE_FACTORY, "PackageFile@+ f(const String&in, uint = 0)", AS_FUNCTION(PackageFile__PackageFile_Contextstar_constspStringamp_unsigned) , AS_CALL_CDECL);
  3627. RegisterSubclass<Object, PackageFile>(engine, "Object", "PackageFile");
  3628. RegisterSubclass<RefCounted, PackageFile>(engine, "RefCounted", "PackageFile");
  3629. RegisterMembers_PackageFile<PackageFile>(engine, "PackageFile");
  3630. #ifdef REGISTER_CLASS_MANUAL_PART_PackageFile
  3631. REGISTER_CLASS_MANUAL_PART_PackageFile();
  3632. #endif
  3633. }
  3634. // explicit Profiler::Profiler(Context* context)
  3635. static Profiler* Profiler__Profiler_Contextstar()
  3636. {
  3637. Context* context = GetScriptContext();
  3638. return new Profiler(context);
  3639. }
  3640. // class Profiler | File: ../Core/Profiler.h
  3641. static void Register_Profiler(asIScriptEngine* engine)
  3642. {
  3643. // explicit Profiler::Profiler(Context* context)
  3644. engine->RegisterObjectBehaviour("Profiler", asBEHAVE_FACTORY, "Profiler@+ f()", AS_FUNCTION(Profiler__Profiler_Contextstar) , AS_CALL_CDECL);
  3645. RegisterSubclass<Object, Profiler>(engine, "Object", "Profiler");
  3646. RegisterSubclass<RefCounted, Profiler>(engine, "RefCounted", "Profiler");
  3647. RegisterMembers_Profiler<Profiler>(engine, "Profiler");
  3648. #ifdef REGISTER_CLASS_MANUAL_PART_Profiler
  3649. REGISTER_CLASS_MANUAL_PART_Profiler();
  3650. #endif
  3651. // void Profiler::BeginBlock(const char* name)
  3652. // Error: type "const char*" can not automatically bind
  3653. }
  3654. // explicit Renderer::Renderer(Context* context)
  3655. static Renderer* Renderer__Renderer_Contextstar()
  3656. {
  3657. Context* context = GetScriptContext();
  3658. return new Renderer(context);
  3659. }
  3660. // class Renderer | File: ../Graphics/Renderer.h
  3661. static void Register_Renderer(asIScriptEngine* engine)
  3662. {
  3663. // explicit Renderer::Renderer(Context* context)
  3664. engine->RegisterObjectBehaviour("Renderer", asBEHAVE_FACTORY, "Renderer@+ f()", AS_FUNCTION(Renderer__Renderer_Contextstar) , AS_CALL_CDECL);
  3665. RegisterSubclass<Object, Renderer>(engine, "Object", "Renderer");
  3666. RegisterSubclass<RefCounted, Renderer>(engine, "RefCounted", "Renderer");
  3667. RegisterMembers_Renderer<Renderer>(engine, "Renderer");
  3668. #ifdef REGISTER_CLASS_MANUAL_PART_Renderer
  3669. REGISTER_CLASS_MANUAL_PART_Renderer();
  3670. #endif
  3671. }
  3672. // explicit Resource::Resource(Context* context)
  3673. static Resource* Resource__Resource_Contextstar()
  3674. {
  3675. Context* context = GetScriptContext();
  3676. return new Resource(context);
  3677. }
  3678. // class Resource | File: ../Resource/Resource.h
  3679. static void Register_Resource(asIScriptEngine* engine)
  3680. {
  3681. // explicit Resource::Resource(Context* context)
  3682. engine->RegisterObjectBehaviour("Resource", asBEHAVE_FACTORY, "Resource@+ f()", AS_FUNCTION(Resource__Resource_Contextstar) , AS_CALL_CDECL);
  3683. RegisterSubclass<Object, Resource>(engine, "Object", "Resource");
  3684. RegisterSubclass<RefCounted, Resource>(engine, "RefCounted", "Resource");
  3685. RegisterMembers_Resource<Resource>(engine, "Resource");
  3686. #ifdef REGISTER_CLASS_MANUAL_PART_Resource
  3687. REGISTER_CLASS_MANUAL_PART_Resource();
  3688. #endif
  3689. }
  3690. // explicit ResourceCache::ResourceCache(Context* context)
  3691. static ResourceCache* ResourceCache__ResourceCache_Contextstar()
  3692. {
  3693. Context* context = GetScriptContext();
  3694. return new ResourceCache(context);
  3695. }
  3696. // class ResourceCache | File: ../Resource/ResourceCache.h
  3697. static void Register_ResourceCache(asIScriptEngine* engine)
  3698. {
  3699. // explicit ResourceCache::ResourceCache(Context* context)
  3700. engine->RegisterObjectBehaviour("ResourceCache", asBEHAVE_FACTORY, "ResourceCache@+ f()", AS_FUNCTION(ResourceCache__ResourceCache_Contextstar) , AS_CALL_CDECL);
  3701. RegisterSubclass<Object, ResourceCache>(engine, "Object", "ResourceCache");
  3702. RegisterSubclass<RefCounted, ResourceCache>(engine, "RefCounted", "ResourceCache");
  3703. RegisterMembers_ResourceCache<ResourceCache>(engine, "ResourceCache");
  3704. #ifdef REGISTER_CLASS_MANUAL_PART_ResourceCache
  3705. REGISTER_CLASS_MANUAL_PART_ResourceCache();
  3706. #endif
  3707. }
  3708. // explicit Serializable::Serializable(Context* context)
  3709. static Serializable* Serializable__Serializable_Contextstar()
  3710. {
  3711. Context* context = GetScriptContext();
  3712. return new Serializable(context);
  3713. }
  3714. // class Serializable | File: ../Scene/Serializable.h
  3715. static void Register_Serializable(asIScriptEngine* engine)
  3716. {
  3717. // explicit Serializable::Serializable(Context* context)
  3718. engine->RegisterObjectBehaviour("Serializable", asBEHAVE_FACTORY, "Serializable@+ f()", AS_FUNCTION(Serializable__Serializable_Contextstar) , AS_CALL_CDECL);
  3719. RegisterSubclass<Object, Serializable>(engine, "Object", "Serializable");
  3720. RegisterSubclass<RefCounted, Serializable>(engine, "RefCounted", "Serializable");
  3721. RegisterMembers_Serializable<Serializable>(engine, "Serializable");
  3722. #ifdef REGISTER_CLASS_MANUAL_PART_Serializable
  3723. REGISTER_CLASS_MANUAL_PART_Serializable();
  3724. #endif
  3725. }
  3726. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(Material* material, const String& name, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3727. static ShaderParameterAnimationInfo* ShaderParameterAnimationInfo__ShaderParameterAnimationInfo_Materialstar_constspStringamp_ValueAnimationstar_WrapMode_float(Material* material, const String& name, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3728. {
  3729. return new ShaderParameterAnimationInfo(material, name, attributeAnimation, wrapMode, speed);
  3730. }
  3731. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(const ShaderParameterAnimationInfo& other)
  3732. static ShaderParameterAnimationInfo* ShaderParameterAnimationInfo__ShaderParameterAnimationInfo_constspShaderParameterAnimationInfoamp(const ShaderParameterAnimationInfo& other)
  3733. {
  3734. return new ShaderParameterAnimationInfo(other);
  3735. }
  3736. // class ShaderParameterAnimationInfo | File: ../Graphics/Material.h
  3737. static void Register_ShaderParameterAnimationInfo(asIScriptEngine* engine)
  3738. {
  3739. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(Material* material, const String& name, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3740. engine->RegisterObjectBehaviour("ShaderParameterAnimationInfo", asBEHAVE_FACTORY, "ShaderParameterAnimationInfo@+ f(Material@+, const String&in, ValueAnimation@+, WrapMode, float)", AS_FUNCTION(ShaderParameterAnimationInfo__ShaderParameterAnimationInfo_Materialstar_constspStringamp_ValueAnimationstar_WrapMode_float) , AS_CALL_CDECL);
  3741. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(const ShaderParameterAnimationInfo& other)
  3742. engine->RegisterObjectBehaviour("ShaderParameterAnimationInfo", asBEHAVE_FACTORY, "ShaderParameterAnimationInfo@+ f(const ShaderParameterAnimationInfo&in)", AS_FUNCTION(ShaderParameterAnimationInfo__ShaderParameterAnimationInfo_constspShaderParameterAnimationInfoamp) , AS_CALL_CDECL);
  3743. RegisterSubclass<ValueAnimationInfo, ShaderParameterAnimationInfo>(engine, "ValueAnimationInfo", "ShaderParameterAnimationInfo");
  3744. RegisterSubclass<RefCounted, ShaderParameterAnimationInfo>(engine, "RefCounted", "ShaderParameterAnimationInfo");
  3745. RegisterMembers_ShaderParameterAnimationInfo<ShaderParameterAnimationInfo>(engine, "ShaderParameterAnimationInfo");
  3746. #ifdef REGISTER_CLASS_MANUAL_PART_ShaderParameterAnimationInfo
  3747. REGISTER_CLASS_MANUAL_PART_ShaderParameterAnimationInfo();
  3748. #endif
  3749. }
  3750. // ShaderPrecache::ShaderPrecache(Context* context, const String& fileName)
  3751. static ShaderPrecache* ShaderPrecache__ShaderPrecache_Contextstar_constspStringamp(const String& fileName)
  3752. {
  3753. Context* context = GetScriptContext();
  3754. return new ShaderPrecache(context, fileName);
  3755. }
  3756. // class ShaderPrecache | File: ../GraphicsAPI/ShaderPrecache.h
  3757. static void Register_ShaderPrecache(asIScriptEngine* engine)
  3758. {
  3759. // ShaderPrecache::ShaderPrecache(Context* context, const String& fileName)
  3760. engine->RegisterObjectBehaviour("ShaderPrecache", asBEHAVE_FACTORY, "ShaderPrecache@+ f(const String&in)", AS_FUNCTION(ShaderPrecache__ShaderPrecache_Contextstar_constspStringamp) , AS_CALL_CDECL);
  3761. RegisterSubclass<Object, ShaderPrecache>(engine, "Object", "ShaderPrecache");
  3762. RegisterSubclass<RefCounted, ShaderPrecache>(engine, "RefCounted", "ShaderPrecache");
  3763. RegisterMembers_ShaderPrecache<ShaderPrecache>(engine, "ShaderPrecache");
  3764. #ifdef REGISTER_CLASS_MANUAL_PART_ShaderPrecache
  3765. REGISTER_CLASS_MANUAL_PART_ShaderPrecache();
  3766. #endif
  3767. }
  3768. // explicit Time::Time(Context* context)
  3769. static Time* Time__Time_Contextstar()
  3770. {
  3771. Context* context = GetScriptContext();
  3772. return new Time(context);
  3773. }
  3774. // class Time | File: ../Core/Timer.h
  3775. static void Register_Time(asIScriptEngine* engine)
  3776. {
  3777. // explicit Time::Time(Context* context)
  3778. engine->RegisterObjectBehaviour("Time", asBEHAVE_FACTORY, "Time@+ f()", AS_FUNCTION(Time__Time_Contextstar) , AS_CALL_CDECL);
  3779. RegisterSubclass<Object, Time>(engine, "Object", "Time");
  3780. RegisterSubclass<RefCounted, Time>(engine, "RefCounted", "Time");
  3781. RegisterMembers_Time<Time>(engine, "Time");
  3782. #ifdef REGISTER_CLASS_MANUAL_PART_Time
  3783. REGISTER_CLASS_MANUAL_PART_Time();
  3784. #endif
  3785. }
  3786. // explicit UI::UI(Context* context)
  3787. static UI* UI__UI_Contextstar()
  3788. {
  3789. Context* context = GetScriptContext();
  3790. return new UI(context);
  3791. }
  3792. // class UI | File: ../UI/UI.h
  3793. static void Register_UI(asIScriptEngine* engine)
  3794. {
  3795. // explicit UI::UI(Context* context)
  3796. engine->RegisterObjectBehaviour("UI", asBEHAVE_FACTORY, "UI@+ f()", AS_FUNCTION(UI__UI_Contextstar) , AS_CALL_CDECL);
  3797. RegisterSubclass<Object, UI>(engine, "Object", "UI");
  3798. RegisterSubclass<RefCounted, UI>(engine, "RefCounted", "UI");
  3799. RegisterMembers_UI<UI>(engine, "UI");
  3800. #ifdef REGISTER_CLASS_MANUAL_PART_UI
  3801. REGISTER_CLASS_MANUAL_PART_UI();
  3802. #endif
  3803. }
  3804. // VectorBuffer::VectorBuffer(Deserializer& source, unsigned size)
  3805. static void VectorBuffer__VectorBuffer_Deserializeramp_unsigned(VectorBuffer* _ptr, Deserializer& source, unsigned size)
  3806. {
  3807. new(_ptr) VectorBuffer(source, size);
  3808. }
  3809. // class VectorBuffer | File: ../IO/VectorBuffer.h
  3810. static void Register_VectorBuffer(asIScriptEngine* engine)
  3811. {
  3812. // VectorBuffer::VectorBuffer(const void* data, unsigned size)
  3813. // Error: type "const void*" can not automatically bind
  3814. // explicit VectorBuffer::VectorBuffer(const Vector<unsigned char>& data)
  3815. // Error: type "const Vector<unsigned char>&" can not automatically bind
  3816. // VectorBuffer::VectorBuffer(Deserializer& source, unsigned size)
  3817. engine->RegisterObjectBehaviour("VectorBuffer", asBEHAVE_CONSTRUCT, "void f(Deserializer&, uint)", AS_FUNCTION_OBJFIRST(VectorBuffer__VectorBuffer_Deserializeramp_unsigned), AS_CALL_CDECL_OBJFIRST);
  3818. // VectorBuffer::~VectorBuffer() | Implicitly-declared
  3819. engine->RegisterObjectBehaviour("VectorBuffer", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VectorBuffer), AS_CALL_CDECL_OBJFIRST);
  3820. RegisterMembers_VectorBuffer<VectorBuffer>(engine, "VectorBuffer");
  3821. #ifdef REGISTER_CLASS_MANUAL_PART_VectorBuffer
  3822. REGISTER_CLASS_MANUAL_PART_VectorBuffer();
  3823. #endif
  3824. // VectorBuffer& VectorBuffer::operator =(const VectorBuffer&) | Possible implicitly-declared
  3825. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VectorBuffer>(engine, "VectorBuffer");
  3826. }
  3827. // explicit VertexBuffer::VertexBuffer(Context* context, bool forceHeadless = false)
  3828. static VertexBuffer* VertexBuffer__VertexBuffer_Contextstar_bool(bool forceHeadless)
  3829. {
  3830. Context* context = GetScriptContext();
  3831. return new VertexBuffer(context, forceHeadless);
  3832. }
  3833. // class VertexBuffer | File: ../GraphicsAPI/VertexBuffer.h
  3834. static void Register_VertexBuffer(asIScriptEngine* engine)
  3835. {
  3836. // explicit VertexBuffer::VertexBuffer(Context* context, bool forceHeadless = false)
  3837. engine->RegisterObjectBehaviour("VertexBuffer", asBEHAVE_FACTORY, "VertexBuffer@+ f(bool = false)", AS_FUNCTION(VertexBuffer__VertexBuffer_Contextstar_bool) , AS_CALL_CDECL);
  3838. RegisterSubclass<Object, VertexBuffer>(engine, "Object", "VertexBuffer");
  3839. RegisterSubclass<RefCounted, VertexBuffer>(engine, "RefCounted", "VertexBuffer");
  3840. RegisterMembers_VertexBuffer<VertexBuffer>(engine, "VertexBuffer");
  3841. #ifdef REGISTER_CLASS_MANUAL_PART_VertexBuffer
  3842. REGISTER_CLASS_MANUAL_PART_VertexBuffer();
  3843. #endif
  3844. }
  3845. // explicit View::View(Context* context)
  3846. static View* View__View_Contextstar()
  3847. {
  3848. Context* context = GetScriptContext();
  3849. return new View(context);
  3850. }
  3851. // class View | File: ../Graphics/View.h
  3852. static void Register_View(asIScriptEngine* engine)
  3853. {
  3854. // explicit View::View(Context* context)
  3855. engine->RegisterObjectBehaviour("View", asBEHAVE_FACTORY, "View@+ f()", AS_FUNCTION(View__View_Contextstar) , AS_CALL_CDECL);
  3856. RegisterSubclass<Object, View>(engine, "Object", "View");
  3857. RegisterSubclass<RefCounted, View>(engine, "RefCounted", "View");
  3858. RegisterMembers_View<View>(engine, "View");
  3859. #ifdef REGISTER_CLASS_MANUAL_PART_View
  3860. REGISTER_CLASS_MANUAL_PART_View();
  3861. #endif
  3862. }
  3863. // explicit Viewport::Viewport(Context* context)
  3864. static Viewport* Viewport__Viewport_Contextstar()
  3865. {
  3866. Context* context = GetScriptContext();
  3867. return new Viewport(context);
  3868. }
  3869. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, RenderPath* renderPath = nullptr)
  3870. static Viewport* Viewport__Viewport_Contextstar_Scenestar_Camerastar_RenderPathstar(Scene* scene, Camera* camera, RenderPath* renderPath)
  3871. {
  3872. Context* context = GetScriptContext();
  3873. return new Viewport(context, scene, camera, renderPath);
  3874. }
  3875. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = nullptr)
  3876. static Viewport* Viewport__Viewport_Contextstar_Scenestar_Camerastar_constspIntRectamp_RenderPathstar(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath)
  3877. {
  3878. Context* context = GetScriptContext();
  3879. return new Viewport(context, scene, camera, rect, renderPath);
  3880. }
  3881. // class Viewport | File: ../Graphics/Viewport.h
  3882. static void Register_Viewport(asIScriptEngine* engine)
  3883. {
  3884. // explicit Viewport::Viewport(Context* context)
  3885. engine->RegisterObjectBehaviour("Viewport", asBEHAVE_FACTORY, "Viewport@+ f()", AS_FUNCTION(Viewport__Viewport_Contextstar) , AS_CALL_CDECL);
  3886. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, RenderPath* renderPath = nullptr)
  3887. engine->RegisterObjectBehaviour("Viewport", asBEHAVE_FACTORY, "Viewport@+ f(Scene@+, Camera@+, RenderPath@+ = null)", AS_FUNCTION(Viewport__Viewport_Contextstar_Scenestar_Camerastar_RenderPathstar) , AS_CALL_CDECL);
  3888. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = nullptr)
  3889. engine->RegisterObjectBehaviour("Viewport", asBEHAVE_FACTORY, "Viewport@+ f(Scene@+, Camera@+, const IntRect&in, RenderPath@+ = null)", AS_FUNCTION(Viewport__Viewport_Contextstar_Scenestar_Camerastar_constspIntRectamp_RenderPathstar) , AS_CALL_CDECL);
  3890. RegisterSubclass<Object, Viewport>(engine, "Object", "Viewport");
  3891. RegisterSubclass<RefCounted, Viewport>(engine, "RefCounted", "Viewport");
  3892. RegisterMembers_Viewport<Viewport>(engine, "Viewport");
  3893. #ifdef REGISTER_CLASS_MANUAL_PART_Viewport
  3894. REGISTER_CLASS_MANUAL_PART_Viewport();
  3895. #endif
  3896. }
  3897. // explicit WorkQueue::WorkQueue(Context* context)
  3898. static WorkQueue* WorkQueue__WorkQueue_Contextstar()
  3899. {
  3900. Context* context = GetScriptContext();
  3901. return new WorkQueue(context);
  3902. }
  3903. // class WorkQueue | File: ../Core/WorkQueue.h
  3904. static void Register_WorkQueue(asIScriptEngine* engine)
  3905. {
  3906. // explicit WorkQueue::WorkQueue(Context* context)
  3907. engine->RegisterObjectBehaviour("WorkQueue", asBEHAVE_FACTORY, "WorkQueue@+ f()", AS_FUNCTION(WorkQueue__WorkQueue_Contextstar) , AS_CALL_CDECL);
  3908. RegisterSubclass<Object, WorkQueue>(engine, "Object", "WorkQueue");
  3909. RegisterSubclass<RefCounted, WorkQueue>(engine, "RefCounted", "WorkQueue");
  3910. RegisterMembers_WorkQueue<WorkQueue>(engine, "WorkQueue");
  3911. #ifdef REGISTER_CLASS_MANUAL_PART_WorkQueue
  3912. REGISTER_CLASS_MANUAL_PART_WorkQueue();
  3913. #endif
  3914. }
  3915. #ifdef URHO3D_DATABASE
  3916. // explicit Database::Database(Context* context)
  3917. static Database* Database__Database_Contextstar()
  3918. {
  3919. Context* context = GetScriptContext();
  3920. return new Database(context);
  3921. }
  3922. // class Database | File: ../Database/Database.h
  3923. static void Register_Database(asIScriptEngine* engine)
  3924. {
  3925. // explicit Database::Database(Context* context)
  3926. engine->RegisterObjectBehaviour("Database", asBEHAVE_FACTORY, "Database@+ f()", AS_FUNCTION(Database__Database_Contextstar) , AS_CALL_CDECL);
  3927. RegisterSubclass<Object, Database>(engine, "Object", "Database");
  3928. RegisterSubclass<RefCounted, Database>(engine, "RefCounted", "Database");
  3929. RegisterMembers_Database<Database>(engine, "Database");
  3930. #ifdef REGISTER_CLASS_MANUAL_PART_Database
  3931. REGISTER_CLASS_MANUAL_PART_Database();
  3932. #endif
  3933. }
  3934. #endif // def URHO3D_DATABASE
  3935. #ifdef URHO3D_NETWORK
  3936. // class Connection | File: ../Network/Connection.h
  3937. static void Register_Connection(asIScriptEngine* engine)
  3938. {
  3939. // Connection::Connection(Context* context, bool isClient, const SLNet::AddressOrGUID& address, SLNet::RakPeerInterface* peer)
  3940. // Error: type "const SLNet::AddressOrGUID&" can not automatically bind
  3941. RegisterSubclass<Object, Connection>(engine, "Object", "Connection");
  3942. RegisterSubclass<RefCounted, Connection>(engine, "RefCounted", "Connection");
  3943. RegisterMembers_Connection<Connection>(engine, "Connection");
  3944. #ifdef REGISTER_CLASS_MANUAL_PART_Connection
  3945. REGISTER_CLASS_MANUAL_PART_Connection();
  3946. #endif
  3947. }
  3948. // explicit Network::Network(Context* context)
  3949. static Network* Network__Network_Contextstar()
  3950. {
  3951. Context* context = GetScriptContext();
  3952. return new Network(context);
  3953. }
  3954. // class Network | File: ../Network/Network.h
  3955. static void Register_Network(asIScriptEngine* engine)
  3956. {
  3957. // explicit Network::Network(Context* context)
  3958. engine->RegisterObjectBehaviour("Network", asBEHAVE_FACTORY, "Network@+ f()", AS_FUNCTION(Network__Network_Contextstar) , AS_CALL_CDECL);
  3959. RegisterSubclass<Object, Network>(engine, "Object", "Network");
  3960. RegisterSubclass<RefCounted, Network>(engine, "RefCounted", "Network");
  3961. RegisterMembers_Network<Network>(engine, "Network");
  3962. #ifdef REGISTER_CLASS_MANUAL_PART_Network
  3963. REGISTER_CLASS_MANUAL_PART_Network();
  3964. #endif
  3965. }
  3966. #endif // def URHO3D_NETWORK
  3967. #ifdef URHO3D_PHYSICS
  3968. // ConvexData::ConvexData(Model* model, i32 lodLevel)
  3969. static ConvexData* ConvexData__ConvexData_Modelstar_i32(Model* model, i32 lodLevel)
  3970. {
  3971. return new ConvexData(model, lodLevel);
  3972. }
  3973. // explicit ConvexData::ConvexData(CustomGeometry* custom)
  3974. static ConvexData* ConvexData__ConvexData_CustomGeometrystar(CustomGeometry* custom)
  3975. {
  3976. return new ConvexData(custom);
  3977. }
  3978. // struct ConvexData | File: ../Physics/CollisionShape.h
  3979. static void Register_ConvexData(asIScriptEngine* engine)
  3980. {
  3981. // ConvexData::ConvexData(Model* model, i32 lodLevel)
  3982. engine->RegisterObjectBehaviour("ConvexData", asBEHAVE_FACTORY, "ConvexData@+ f(Model@+, int)", AS_FUNCTION(ConvexData__ConvexData_Modelstar_i32) , AS_CALL_CDECL);
  3983. // explicit ConvexData::ConvexData(CustomGeometry* custom)
  3984. engine->RegisterObjectBehaviour("ConvexData", asBEHAVE_FACTORY, "ConvexData@+ f(CustomGeometry@+)", AS_FUNCTION(ConvexData__ConvexData_CustomGeometrystar) , AS_CALL_CDECL);
  3985. RegisterSubclass<CollisionGeometryData, ConvexData>(engine, "CollisionGeometryData", "ConvexData");
  3986. RegisterSubclass<RefCounted, ConvexData>(engine, "RefCounted", "ConvexData");
  3987. RegisterMembers_ConvexData<ConvexData>(engine, "ConvexData");
  3988. #ifdef REGISTER_CLASS_MANUAL_PART_ConvexData
  3989. REGISTER_CLASS_MANUAL_PART_ConvexData();
  3990. #endif
  3991. }
  3992. // GImpactMeshData::GImpactMeshData(Model* model, i32 lodLevel)
  3993. static GImpactMeshData* GImpactMeshData__GImpactMeshData_Modelstar_i32(Model* model, i32 lodLevel)
  3994. {
  3995. return new GImpactMeshData(model, lodLevel);
  3996. }
  3997. // explicit GImpactMeshData::GImpactMeshData(CustomGeometry* custom)
  3998. static GImpactMeshData* GImpactMeshData__GImpactMeshData_CustomGeometrystar(CustomGeometry* custom)
  3999. {
  4000. return new GImpactMeshData(custom);
  4001. }
  4002. // struct GImpactMeshData | File: ../Physics/CollisionShape.h
  4003. static void Register_GImpactMeshData(asIScriptEngine* engine)
  4004. {
  4005. // GImpactMeshData::GImpactMeshData(Model* model, i32 lodLevel)
  4006. engine->RegisterObjectBehaviour("GImpactMeshData", asBEHAVE_FACTORY, "GImpactMeshData@+ f(Model@+, int)", AS_FUNCTION(GImpactMeshData__GImpactMeshData_Modelstar_i32) , AS_CALL_CDECL);
  4007. // explicit GImpactMeshData::GImpactMeshData(CustomGeometry* custom)
  4008. engine->RegisterObjectBehaviour("GImpactMeshData", asBEHAVE_FACTORY, "GImpactMeshData@+ f(CustomGeometry@+)", AS_FUNCTION(GImpactMeshData__GImpactMeshData_CustomGeometrystar) , AS_CALL_CDECL);
  4009. RegisterSubclass<CollisionGeometryData, GImpactMeshData>(engine, "CollisionGeometryData", "GImpactMeshData");
  4010. RegisterSubclass<RefCounted, GImpactMeshData>(engine, "RefCounted", "GImpactMeshData");
  4011. RegisterMembers_GImpactMeshData<GImpactMeshData>(engine, "GImpactMeshData");
  4012. #ifdef REGISTER_CLASS_MANUAL_PART_GImpactMeshData
  4013. REGISTER_CLASS_MANUAL_PART_GImpactMeshData();
  4014. #endif
  4015. }
  4016. // HeightfieldData::HeightfieldData(Terrain* terrain, i32 lodLevel)
  4017. static HeightfieldData* HeightfieldData__HeightfieldData_Terrainstar_i32(Terrain* terrain, i32 lodLevel)
  4018. {
  4019. return new HeightfieldData(terrain, lodLevel);
  4020. }
  4021. // struct HeightfieldData | File: ../Physics/CollisionShape.h
  4022. static void Register_HeightfieldData(asIScriptEngine* engine)
  4023. {
  4024. // HeightfieldData::HeightfieldData(Terrain* terrain, i32 lodLevel)
  4025. engine->RegisterObjectBehaviour("HeightfieldData", asBEHAVE_FACTORY, "HeightfieldData@+ f(Terrain@+, int)", AS_FUNCTION(HeightfieldData__HeightfieldData_Terrainstar_i32) , AS_CALL_CDECL);
  4026. RegisterSubclass<CollisionGeometryData, HeightfieldData>(engine, "CollisionGeometryData", "HeightfieldData");
  4027. RegisterSubclass<RefCounted, HeightfieldData>(engine, "RefCounted", "HeightfieldData");
  4028. RegisterMembers_HeightfieldData<HeightfieldData>(engine, "HeightfieldData");
  4029. #ifdef REGISTER_CLASS_MANUAL_PART_HeightfieldData
  4030. REGISTER_CLASS_MANUAL_PART_HeightfieldData();
  4031. #endif
  4032. }
  4033. // TriangleMeshData::TriangleMeshData(Model* model, i32 lodLevel)
  4034. static TriangleMeshData* TriangleMeshData__TriangleMeshData_Modelstar_i32(Model* model, i32 lodLevel)
  4035. {
  4036. return new TriangleMeshData(model, lodLevel);
  4037. }
  4038. // explicit TriangleMeshData::TriangleMeshData(CustomGeometry* custom)
  4039. static TriangleMeshData* TriangleMeshData__TriangleMeshData_CustomGeometrystar(CustomGeometry* custom)
  4040. {
  4041. return new TriangleMeshData(custom);
  4042. }
  4043. // struct TriangleMeshData | File: ../Physics/CollisionShape.h
  4044. static void Register_TriangleMeshData(asIScriptEngine* engine)
  4045. {
  4046. // TriangleMeshData::TriangleMeshData(Model* model, i32 lodLevel)
  4047. engine->RegisterObjectBehaviour("TriangleMeshData", asBEHAVE_FACTORY, "TriangleMeshData@+ f(Model@+, int)", AS_FUNCTION(TriangleMeshData__TriangleMeshData_Modelstar_i32) , AS_CALL_CDECL);
  4048. // explicit TriangleMeshData::TriangleMeshData(CustomGeometry* custom)
  4049. engine->RegisterObjectBehaviour("TriangleMeshData", asBEHAVE_FACTORY, "TriangleMeshData@+ f(CustomGeometry@+)", AS_FUNCTION(TriangleMeshData__TriangleMeshData_CustomGeometrystar) , AS_CALL_CDECL);
  4050. RegisterSubclass<CollisionGeometryData, TriangleMeshData>(engine, "CollisionGeometryData", "TriangleMeshData");
  4051. RegisterSubclass<RefCounted, TriangleMeshData>(engine, "RefCounted", "TriangleMeshData");
  4052. RegisterMembers_TriangleMeshData<TriangleMeshData>(engine, "TriangleMeshData");
  4053. #ifdef REGISTER_CLASS_MANUAL_PART_TriangleMeshData
  4054. REGISTER_CLASS_MANUAL_PART_TriangleMeshData();
  4055. #endif
  4056. }
  4057. #endif // def URHO3D_PHYSICS
  4058. #ifdef URHO3D_URHO2D
  4059. // explicit TmxImageLayer2D::TmxImageLayer2D(TmxFile2D* tmxFile)
  4060. static TmxImageLayer2D* TmxImageLayer2D__TmxImageLayer2D_TmxFile2Dstar(TmxFile2D* tmxFile)
  4061. {
  4062. return new TmxImageLayer2D(tmxFile);
  4063. }
  4064. // class TmxImageLayer2D | File: ../Urho2D/TmxFile2D.h
  4065. static void Register_TmxImageLayer2D(asIScriptEngine* engine)
  4066. {
  4067. // explicit TmxImageLayer2D::TmxImageLayer2D(TmxFile2D* tmxFile)
  4068. engine->RegisterObjectBehaviour("TmxImageLayer2D", asBEHAVE_FACTORY, "TmxImageLayer2D@+ f(TmxFile2D@+)", AS_FUNCTION(TmxImageLayer2D__TmxImageLayer2D_TmxFile2Dstar) , AS_CALL_CDECL);
  4069. RegisterSubclass<TmxLayer2D, TmxImageLayer2D>(engine, "TmxLayer2D", "TmxImageLayer2D");
  4070. RegisterSubclass<RefCounted, TmxImageLayer2D>(engine, "RefCounted", "TmxImageLayer2D");
  4071. RegisterMembers_TmxImageLayer2D<TmxImageLayer2D>(engine, "TmxImageLayer2D");
  4072. #ifdef REGISTER_CLASS_MANUAL_PART_TmxImageLayer2D
  4073. REGISTER_CLASS_MANUAL_PART_TmxImageLayer2D();
  4074. #endif
  4075. }
  4076. // explicit TmxObjectGroup2D::TmxObjectGroup2D(TmxFile2D* tmxFile)
  4077. static TmxObjectGroup2D* TmxObjectGroup2D__TmxObjectGroup2D_TmxFile2Dstar(TmxFile2D* tmxFile)
  4078. {
  4079. return new TmxObjectGroup2D(tmxFile);
  4080. }
  4081. // class TmxObjectGroup2D | File: ../Urho2D/TmxFile2D.h
  4082. static void Register_TmxObjectGroup2D(asIScriptEngine* engine)
  4083. {
  4084. // explicit TmxObjectGroup2D::TmxObjectGroup2D(TmxFile2D* tmxFile)
  4085. engine->RegisterObjectBehaviour("TmxObjectGroup2D", asBEHAVE_FACTORY, "TmxObjectGroup2D@+ f(TmxFile2D@+)", AS_FUNCTION(TmxObjectGroup2D__TmxObjectGroup2D_TmxFile2Dstar) , AS_CALL_CDECL);
  4086. RegisterSubclass<TmxLayer2D, TmxObjectGroup2D>(engine, "TmxLayer2D", "TmxObjectGroup2D");
  4087. RegisterSubclass<RefCounted, TmxObjectGroup2D>(engine, "RefCounted", "TmxObjectGroup2D");
  4088. RegisterMembers_TmxObjectGroup2D<TmxObjectGroup2D>(engine, "TmxObjectGroup2D");
  4089. #ifdef REGISTER_CLASS_MANUAL_PART_TmxObjectGroup2D
  4090. REGISTER_CLASS_MANUAL_PART_TmxObjectGroup2D();
  4091. #endif
  4092. }
  4093. // explicit TmxTileLayer2D::TmxTileLayer2D(TmxFile2D* tmxFile)
  4094. static TmxTileLayer2D* TmxTileLayer2D__TmxTileLayer2D_TmxFile2Dstar(TmxFile2D* tmxFile)
  4095. {
  4096. return new TmxTileLayer2D(tmxFile);
  4097. }
  4098. // class TmxTileLayer2D | File: ../Urho2D/TmxFile2D.h
  4099. static void Register_TmxTileLayer2D(asIScriptEngine* engine)
  4100. {
  4101. // explicit TmxTileLayer2D::TmxTileLayer2D(TmxFile2D* tmxFile)
  4102. engine->RegisterObjectBehaviour("TmxTileLayer2D", asBEHAVE_FACTORY, "TmxTileLayer2D@+ f(TmxFile2D@+)", AS_FUNCTION(TmxTileLayer2D__TmxTileLayer2D_TmxFile2Dstar) , AS_CALL_CDECL);
  4103. RegisterSubclass<TmxLayer2D, TmxTileLayer2D>(engine, "TmxLayer2D", "TmxTileLayer2D");
  4104. RegisterSubclass<RefCounted, TmxTileLayer2D>(engine, "RefCounted", "TmxTileLayer2D");
  4105. RegisterMembers_TmxTileLayer2D<TmxTileLayer2D>(engine, "TmxTileLayer2D");
  4106. #ifdef REGISTER_CLASS_MANUAL_PART_TmxTileLayer2D
  4107. REGISTER_CLASS_MANUAL_PART_TmxTileLayer2D();
  4108. #endif
  4109. }
  4110. #endif // def URHO3D_URHO2D
  4111. // class Animatable | File: ../Scene/Animatable.h
  4112. static void Register_Animatable(asIScriptEngine* engine)
  4113. {
  4114. RegisterSubclass<Serializable, Animatable>(engine, "Serializable", "Animatable");
  4115. RegisterSubclass<Object, Animatable>(engine, "Object", "Animatable");
  4116. RegisterSubclass<RefCounted, Animatable>(engine, "RefCounted", "Animatable");
  4117. RegisterMembers_Animatable<Animatable>(engine, "Animatable");
  4118. #ifdef REGISTER_CLASS_MANUAL_PART_Animatable
  4119. REGISTER_CLASS_MANUAL_PART_Animatable();
  4120. #endif
  4121. }
  4122. // explicit EventProfiler::EventProfiler(Context* context)
  4123. static EventProfiler* EventProfiler__EventProfiler_Contextstar()
  4124. {
  4125. Context* context = GetScriptContext();
  4126. return new EventProfiler(context);
  4127. }
  4128. // class EventProfiler | File: ../Core/EventProfiler.h
  4129. static void Register_EventProfiler(asIScriptEngine* engine)
  4130. {
  4131. // explicit EventProfiler::EventProfiler(Context* context)
  4132. engine->RegisterObjectBehaviour("EventProfiler", asBEHAVE_FACTORY, "EventProfiler@+ f()", AS_FUNCTION(EventProfiler__EventProfiler_Contextstar) , AS_CALL_CDECL);
  4133. RegisterSubclass<Profiler, EventProfiler>(engine, "Profiler", "EventProfiler");
  4134. RegisterSubclass<Object, EventProfiler>(engine, "Object", "EventProfiler");
  4135. RegisterSubclass<RefCounted, EventProfiler>(engine, "RefCounted", "EventProfiler");
  4136. RegisterMembers_EventProfiler<EventProfiler>(engine, "EventProfiler");
  4137. #ifdef REGISTER_CLASS_MANUAL_PART_EventProfiler
  4138. REGISTER_CLASS_MANUAL_PART_EventProfiler();
  4139. #endif
  4140. }
  4141. // explicit Font::Font(Context* context)
  4142. static Font* Font__Font_Contextstar()
  4143. {
  4144. Context* context = GetScriptContext();
  4145. return new Font(context);
  4146. }
  4147. // class Font | File: ../UI/Font.h
  4148. static void Register_Font(asIScriptEngine* engine)
  4149. {
  4150. // explicit Font::Font(Context* context)
  4151. engine->RegisterObjectBehaviour("Font", asBEHAVE_FACTORY, "Font@+ f()", AS_FUNCTION(Font__Font_Contextstar) , AS_CALL_CDECL);
  4152. RegisterSubclass<Resource, Font>(engine, "Resource", "Font");
  4153. RegisterSubclass<Object, Font>(engine, "Object", "Font");
  4154. RegisterSubclass<RefCounted, Font>(engine, "RefCounted", "Font");
  4155. RegisterMembers_Font<Font>(engine, "Font");
  4156. #ifdef REGISTER_CLASS_MANUAL_PART_Font
  4157. REGISTER_CLASS_MANUAL_PART_Font();
  4158. #endif
  4159. }
  4160. // explicit Image::Image(Context* context)
  4161. static Image* Image__Image_Contextstar()
  4162. {
  4163. Context* context = GetScriptContext();
  4164. return new Image(context);
  4165. }
  4166. // class Image | File: ../Resource/Image.h
  4167. static void Register_Image(asIScriptEngine* engine)
  4168. {
  4169. // explicit Image::Image(Context* context)
  4170. engine->RegisterObjectBehaviour("Image", asBEHAVE_FACTORY, "Image@+ f()", AS_FUNCTION(Image__Image_Contextstar) , AS_CALL_CDECL);
  4171. RegisterSubclass<Resource, Image>(engine, "Resource", "Image");
  4172. RegisterSubclass<Object, Image>(engine, "Object", "Image");
  4173. RegisterSubclass<RefCounted, Image>(engine, "RefCounted", "Image");
  4174. RegisterMembers_Image<Image>(engine, "Image");
  4175. #ifdef REGISTER_CLASS_MANUAL_PART_Image
  4176. REGISTER_CLASS_MANUAL_PART_Image();
  4177. #endif
  4178. }
  4179. // explicit JSONFile::JSONFile(Context* context)
  4180. static JSONFile* JSONFile__JSONFile_Contextstar()
  4181. {
  4182. Context* context = GetScriptContext();
  4183. return new JSONFile(context);
  4184. }
  4185. // class JSONFile | File: ../Resource/JSONFile.h
  4186. static void Register_JSONFile(asIScriptEngine* engine)
  4187. {
  4188. // explicit JSONFile::JSONFile(Context* context)
  4189. engine->RegisterObjectBehaviour("JSONFile", asBEHAVE_FACTORY, "JSONFile@+ f()", AS_FUNCTION(JSONFile__JSONFile_Contextstar) , AS_CALL_CDECL);
  4190. RegisterSubclass<Resource, JSONFile>(engine, "Resource", "JSONFile");
  4191. RegisterSubclass<Object, JSONFile>(engine, "Object", "JSONFile");
  4192. RegisterSubclass<RefCounted, JSONFile>(engine, "RefCounted", "JSONFile");
  4193. RegisterMembers_JSONFile<JSONFile>(engine, "JSONFile");
  4194. #ifdef REGISTER_CLASS_MANUAL_PART_JSONFile
  4195. REGISTER_CLASS_MANUAL_PART_JSONFile();
  4196. #endif
  4197. }
  4198. // explicit Material::Material(Context* context)
  4199. static Material* Material__Material_Contextstar()
  4200. {
  4201. Context* context = GetScriptContext();
  4202. return new Material(context);
  4203. }
  4204. // class Material | File: ../Graphics/Material.h
  4205. static void Register_Material(asIScriptEngine* engine)
  4206. {
  4207. // explicit Material::Material(Context* context)
  4208. engine->RegisterObjectBehaviour("Material", asBEHAVE_FACTORY, "Material@+ f()", AS_FUNCTION(Material__Material_Contextstar) , AS_CALL_CDECL);
  4209. RegisterSubclass<Resource, Material>(engine, "Resource", "Material");
  4210. RegisterSubclass<Object, Material>(engine, "Object", "Material");
  4211. RegisterSubclass<RefCounted, Material>(engine, "RefCounted", "Material");
  4212. RegisterMembers_Material<Material>(engine, "Material");
  4213. #ifdef REGISTER_CLASS_MANUAL_PART_Material
  4214. REGISTER_CLASS_MANUAL_PART_Material();
  4215. #endif
  4216. }
  4217. // explicit ObjectAnimation::ObjectAnimation(Context* context)
  4218. static ObjectAnimation* ObjectAnimation__ObjectAnimation_Contextstar()
  4219. {
  4220. Context* context = GetScriptContext();
  4221. return new ObjectAnimation(context);
  4222. }
  4223. // class ObjectAnimation | File: ../Scene/ObjectAnimation.h
  4224. static void Register_ObjectAnimation(asIScriptEngine* engine)
  4225. {
  4226. // explicit ObjectAnimation::ObjectAnimation(Context* context)
  4227. engine->RegisterObjectBehaviour("ObjectAnimation", asBEHAVE_FACTORY, "ObjectAnimation@+ f()", AS_FUNCTION(ObjectAnimation__ObjectAnimation_Contextstar) , AS_CALL_CDECL);
  4228. RegisterSubclass<Resource, ObjectAnimation>(engine, "Resource", "ObjectAnimation");
  4229. RegisterSubclass<Object, ObjectAnimation>(engine, "Object", "ObjectAnimation");
  4230. RegisterSubclass<RefCounted, ObjectAnimation>(engine, "RefCounted", "ObjectAnimation");
  4231. RegisterMembers_ObjectAnimation<ObjectAnimation>(engine, "ObjectAnimation");
  4232. #ifdef REGISTER_CLASS_MANUAL_PART_ObjectAnimation
  4233. REGISTER_CLASS_MANUAL_PART_ObjectAnimation();
  4234. #endif
  4235. }
  4236. // explicit ParticleEffect::ParticleEffect(Context* context)
  4237. static ParticleEffect* ParticleEffect__ParticleEffect_Contextstar()
  4238. {
  4239. Context* context = GetScriptContext();
  4240. return new ParticleEffect(context);
  4241. }
  4242. // class ParticleEffect | File: ../Graphics/ParticleEffect.h
  4243. static void Register_ParticleEffect(asIScriptEngine* engine)
  4244. {
  4245. // explicit ParticleEffect::ParticleEffect(Context* context)
  4246. engine->RegisterObjectBehaviour("ParticleEffect", asBEHAVE_FACTORY, "ParticleEffect@+ f()", AS_FUNCTION(ParticleEffect__ParticleEffect_Contextstar) , AS_CALL_CDECL);
  4247. RegisterSubclass<Resource, ParticleEffect>(engine, "Resource", "ParticleEffect");
  4248. RegisterSubclass<Object, ParticleEffect>(engine, "Object", "ParticleEffect");
  4249. RegisterSubclass<RefCounted, ParticleEffect>(engine, "RefCounted", "ParticleEffect");
  4250. RegisterMembers_ParticleEffect<ParticleEffect>(engine, "ParticleEffect");
  4251. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEffect
  4252. REGISTER_CLASS_MANUAL_PART_ParticleEffect();
  4253. #endif
  4254. }
  4255. // explicit ResourceWithMetadata::ResourceWithMetadata(Context* context)
  4256. static ResourceWithMetadata* ResourceWithMetadata__ResourceWithMetadata_Contextstar()
  4257. {
  4258. Context* context = GetScriptContext();
  4259. return new ResourceWithMetadata(context);
  4260. }
  4261. // class ResourceWithMetadata | File: ../Resource/Resource.h
  4262. static void Register_ResourceWithMetadata(asIScriptEngine* engine)
  4263. {
  4264. // explicit ResourceWithMetadata::ResourceWithMetadata(Context* context)
  4265. engine->RegisterObjectBehaviour("ResourceWithMetadata", asBEHAVE_FACTORY, "ResourceWithMetadata@+ f()", AS_FUNCTION(ResourceWithMetadata__ResourceWithMetadata_Contextstar) , AS_CALL_CDECL);
  4266. RegisterSubclass<Resource, ResourceWithMetadata>(engine, "Resource", "ResourceWithMetadata");
  4267. RegisterSubclass<Object, ResourceWithMetadata>(engine, "Object", "ResourceWithMetadata");
  4268. RegisterSubclass<RefCounted, ResourceWithMetadata>(engine, "RefCounted", "ResourceWithMetadata");
  4269. RegisterMembers_ResourceWithMetadata<ResourceWithMetadata>(engine, "ResourceWithMetadata");
  4270. #ifdef REGISTER_CLASS_MANUAL_PART_ResourceWithMetadata
  4271. REGISTER_CLASS_MANUAL_PART_ResourceWithMetadata();
  4272. #endif
  4273. }
  4274. // explicit Shader::Shader(Context* context)
  4275. static Shader* Shader__Shader_Contextstar()
  4276. {
  4277. Context* context = GetScriptContext();
  4278. return new Shader(context);
  4279. }
  4280. // class Shader | File: ../GraphicsAPI/Shader.h
  4281. static void Register_Shader(asIScriptEngine* engine)
  4282. {
  4283. // explicit Shader::Shader(Context* context)
  4284. engine->RegisterObjectBehaviour("Shader", asBEHAVE_FACTORY, "Shader@+ f()", AS_FUNCTION(Shader__Shader_Contextstar) , AS_CALL_CDECL);
  4285. RegisterSubclass<Resource, Shader>(engine, "Resource", "Shader");
  4286. RegisterSubclass<Object, Shader>(engine, "Object", "Shader");
  4287. RegisterSubclass<RefCounted, Shader>(engine, "RefCounted", "Shader");
  4288. RegisterMembers_Shader<Shader>(engine, "Shader");
  4289. #ifdef REGISTER_CLASS_MANUAL_PART_Shader
  4290. REGISTER_CLASS_MANUAL_PART_Shader();
  4291. #endif
  4292. }
  4293. // explicit Technique::Technique(Context* context)
  4294. static Technique* Technique__Technique_Contextstar()
  4295. {
  4296. Context* context = GetScriptContext();
  4297. return new Technique(context);
  4298. }
  4299. // class Technique | File: ../Graphics/Technique.h
  4300. static void Register_Technique(asIScriptEngine* engine)
  4301. {
  4302. // explicit Technique::Technique(Context* context)
  4303. engine->RegisterObjectBehaviour("Technique", asBEHAVE_FACTORY, "Technique@+ f()", AS_FUNCTION(Technique__Technique_Contextstar) , AS_CALL_CDECL);
  4304. RegisterSubclass<Resource, Technique>(engine, "Resource", "Technique");
  4305. RegisterSubclass<Object, Technique>(engine, "Object", "Technique");
  4306. RegisterSubclass<RefCounted, Technique>(engine, "RefCounted", "Technique");
  4307. RegisterMembers_Technique<Technique>(engine, "Technique");
  4308. #ifdef REGISTER_CLASS_MANUAL_PART_Technique
  4309. REGISTER_CLASS_MANUAL_PART_Technique();
  4310. #endif
  4311. }
  4312. // explicit ValueAnimation::ValueAnimation(Context* context)
  4313. static ValueAnimation* ValueAnimation__ValueAnimation_Contextstar()
  4314. {
  4315. Context* context = GetScriptContext();
  4316. return new ValueAnimation(context);
  4317. }
  4318. // class ValueAnimation | File: ../Scene/ValueAnimation.h
  4319. static void Register_ValueAnimation(asIScriptEngine* engine)
  4320. {
  4321. // explicit ValueAnimation::ValueAnimation(Context* context)
  4322. engine->RegisterObjectBehaviour("ValueAnimation", asBEHAVE_FACTORY, "ValueAnimation@+ f()", AS_FUNCTION(ValueAnimation__ValueAnimation_Contextstar) , AS_CALL_CDECL);
  4323. RegisterSubclass<Resource, ValueAnimation>(engine, "Resource", "ValueAnimation");
  4324. RegisterSubclass<Object, ValueAnimation>(engine, "Object", "ValueAnimation");
  4325. RegisterSubclass<RefCounted, ValueAnimation>(engine, "RefCounted", "ValueAnimation");
  4326. RegisterMembers_ValueAnimation<ValueAnimation>(engine, "ValueAnimation");
  4327. #ifdef REGISTER_CLASS_MANUAL_PART_ValueAnimation
  4328. REGISTER_CLASS_MANUAL_PART_ValueAnimation();
  4329. #endif
  4330. }
  4331. // explicit XMLFile::XMLFile(Context* context)
  4332. static XMLFile* XMLFile__XMLFile_Contextstar()
  4333. {
  4334. Context* context = GetScriptContext();
  4335. return new XMLFile(context);
  4336. }
  4337. // class XMLFile | File: ../Resource/XMLFile.h
  4338. static void Register_XMLFile(asIScriptEngine* engine)
  4339. {
  4340. // explicit XMLFile::XMLFile(Context* context)
  4341. engine->RegisterObjectBehaviour("XMLFile", asBEHAVE_FACTORY, "XMLFile@+ f()", AS_FUNCTION(XMLFile__XMLFile_Contextstar) , AS_CALL_CDECL);
  4342. RegisterSubclass<Resource, XMLFile>(engine, "Resource", "XMLFile");
  4343. RegisterSubclass<Object, XMLFile>(engine, "Object", "XMLFile");
  4344. RegisterSubclass<RefCounted, XMLFile>(engine, "RefCounted", "XMLFile");
  4345. RegisterMembers_XMLFile<XMLFile>(engine, "XMLFile");
  4346. #ifdef REGISTER_CLASS_MANUAL_PART_XMLFile
  4347. REGISTER_CLASS_MANUAL_PART_XMLFile();
  4348. #endif
  4349. }
  4350. #ifdef URHO3D_URHO2D
  4351. // explicit AnimationSet2D::AnimationSet2D(Context* context)
  4352. static AnimationSet2D* AnimationSet2D__AnimationSet2D_Contextstar()
  4353. {
  4354. Context* context = GetScriptContext();
  4355. return new AnimationSet2D(context);
  4356. }
  4357. // class AnimationSet2D | File: ../Urho2D/AnimationSet2D.h
  4358. static void Register_AnimationSet2D(asIScriptEngine* engine)
  4359. {
  4360. // explicit AnimationSet2D::AnimationSet2D(Context* context)
  4361. engine->RegisterObjectBehaviour("AnimationSet2D", asBEHAVE_FACTORY, "AnimationSet2D@+ f()", AS_FUNCTION(AnimationSet2D__AnimationSet2D_Contextstar) , AS_CALL_CDECL);
  4362. RegisterSubclass<Resource, AnimationSet2D>(engine, "Resource", "AnimationSet2D");
  4363. RegisterSubclass<Object, AnimationSet2D>(engine, "Object", "AnimationSet2D");
  4364. RegisterSubclass<RefCounted, AnimationSet2D>(engine, "RefCounted", "AnimationSet2D");
  4365. RegisterMembers_AnimationSet2D<AnimationSet2D>(engine, "AnimationSet2D");
  4366. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationSet2D
  4367. REGISTER_CLASS_MANUAL_PART_AnimationSet2D();
  4368. #endif
  4369. }
  4370. // explicit ParticleEffect2D::ParticleEffect2D(Context* context)
  4371. static ParticleEffect2D* ParticleEffect2D__ParticleEffect2D_Contextstar()
  4372. {
  4373. Context* context = GetScriptContext();
  4374. return new ParticleEffect2D(context);
  4375. }
  4376. // class ParticleEffect2D | File: ../Urho2D/ParticleEffect2D.h
  4377. static void Register_ParticleEffect2D(asIScriptEngine* engine)
  4378. {
  4379. // explicit ParticleEffect2D::ParticleEffect2D(Context* context)
  4380. engine->RegisterObjectBehaviour("ParticleEffect2D", asBEHAVE_FACTORY, "ParticleEffect2D@+ f()", AS_FUNCTION(ParticleEffect2D__ParticleEffect2D_Contextstar) , AS_CALL_CDECL);
  4381. RegisterSubclass<Resource, ParticleEffect2D>(engine, "Resource", "ParticleEffect2D");
  4382. RegisterSubclass<Object, ParticleEffect2D>(engine, "Object", "ParticleEffect2D");
  4383. RegisterSubclass<RefCounted, ParticleEffect2D>(engine, "RefCounted", "ParticleEffect2D");
  4384. RegisterMembers_ParticleEffect2D<ParticleEffect2D>(engine, "ParticleEffect2D");
  4385. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEffect2D
  4386. REGISTER_CLASS_MANUAL_PART_ParticleEffect2D();
  4387. #endif
  4388. }
  4389. // explicit Sprite2D::Sprite2D(Context* context)
  4390. static Sprite2D* Sprite2D__Sprite2D_Contextstar()
  4391. {
  4392. Context* context = GetScriptContext();
  4393. return new Sprite2D(context);
  4394. }
  4395. // class Sprite2D | File: ../Urho2D/Sprite2D.h
  4396. static void Register_Sprite2D(asIScriptEngine* engine)
  4397. {
  4398. // explicit Sprite2D::Sprite2D(Context* context)
  4399. engine->RegisterObjectBehaviour("Sprite2D", asBEHAVE_FACTORY, "Sprite2D@+ f()", AS_FUNCTION(Sprite2D__Sprite2D_Contextstar) , AS_CALL_CDECL);
  4400. RegisterSubclass<Resource, Sprite2D>(engine, "Resource", "Sprite2D");
  4401. RegisterSubclass<Object, Sprite2D>(engine, "Object", "Sprite2D");
  4402. RegisterSubclass<RefCounted, Sprite2D>(engine, "RefCounted", "Sprite2D");
  4403. RegisterMembers_Sprite2D<Sprite2D>(engine, "Sprite2D");
  4404. #ifdef REGISTER_CLASS_MANUAL_PART_Sprite2D
  4405. REGISTER_CLASS_MANUAL_PART_Sprite2D();
  4406. #endif
  4407. }
  4408. // explicit SpriteSheet2D::SpriteSheet2D(Context* context)
  4409. static SpriteSheet2D* SpriteSheet2D__SpriteSheet2D_Contextstar()
  4410. {
  4411. Context* context = GetScriptContext();
  4412. return new SpriteSheet2D(context);
  4413. }
  4414. // class SpriteSheet2D | File: ../Urho2D/SpriteSheet2D.h
  4415. static void Register_SpriteSheet2D(asIScriptEngine* engine)
  4416. {
  4417. // explicit SpriteSheet2D::SpriteSheet2D(Context* context)
  4418. engine->RegisterObjectBehaviour("SpriteSheet2D", asBEHAVE_FACTORY, "SpriteSheet2D@+ f()", AS_FUNCTION(SpriteSheet2D__SpriteSheet2D_Contextstar) , AS_CALL_CDECL);
  4419. RegisterSubclass<Resource, SpriteSheet2D>(engine, "Resource", "SpriteSheet2D");
  4420. RegisterSubclass<Object, SpriteSheet2D>(engine, "Object", "SpriteSheet2D");
  4421. RegisterSubclass<RefCounted, SpriteSheet2D>(engine, "RefCounted", "SpriteSheet2D");
  4422. RegisterMembers_SpriteSheet2D<SpriteSheet2D>(engine, "SpriteSheet2D");
  4423. #ifdef REGISTER_CLASS_MANUAL_PART_SpriteSheet2D
  4424. REGISTER_CLASS_MANUAL_PART_SpriteSheet2D();
  4425. #endif
  4426. }
  4427. // explicit TmxFile2D::TmxFile2D(Context* context)
  4428. static TmxFile2D* TmxFile2D__TmxFile2D_Contextstar()
  4429. {
  4430. Context* context = GetScriptContext();
  4431. return new TmxFile2D(context);
  4432. }
  4433. // class TmxFile2D | File: ../Urho2D/TmxFile2D.h
  4434. static void Register_TmxFile2D(asIScriptEngine* engine)
  4435. {
  4436. // explicit TmxFile2D::TmxFile2D(Context* context)
  4437. engine->RegisterObjectBehaviour("TmxFile2D", asBEHAVE_FACTORY, "TmxFile2D@+ f()", AS_FUNCTION(TmxFile2D__TmxFile2D_Contextstar) , AS_CALL_CDECL);
  4438. RegisterSubclass<Resource, TmxFile2D>(engine, "Resource", "TmxFile2D");
  4439. RegisterSubclass<Object, TmxFile2D>(engine, "Object", "TmxFile2D");
  4440. RegisterSubclass<RefCounted, TmxFile2D>(engine, "RefCounted", "TmxFile2D");
  4441. RegisterMembers_TmxFile2D<TmxFile2D>(engine, "TmxFile2D");
  4442. #ifdef REGISTER_CLASS_MANUAL_PART_TmxFile2D
  4443. REGISTER_CLASS_MANUAL_PART_TmxFile2D();
  4444. #endif
  4445. }
  4446. #endif // def URHO3D_URHO2D
  4447. // explicit Animation::Animation(Context* context)
  4448. static Animation* Animation__Animation_Contextstar()
  4449. {
  4450. Context* context = GetScriptContext();
  4451. return new Animation(context);
  4452. }
  4453. // class Animation | File: ../Graphics/Animation.h
  4454. static void Register_Animation(asIScriptEngine* engine)
  4455. {
  4456. // explicit Animation::Animation(Context* context)
  4457. engine->RegisterObjectBehaviour("Animation", asBEHAVE_FACTORY, "Animation@+ f()", AS_FUNCTION(Animation__Animation_Contextstar) , AS_CALL_CDECL);
  4458. RegisterSubclass<ResourceWithMetadata, Animation>(engine, "ResourceWithMetadata", "Animation");
  4459. RegisterSubclass<Resource, Animation>(engine, "Resource", "Animation");
  4460. RegisterSubclass<Object, Animation>(engine, "Object", "Animation");
  4461. RegisterSubclass<RefCounted, Animation>(engine, "RefCounted", "Animation");
  4462. RegisterMembers_Animation<Animation>(engine, "Animation");
  4463. #ifdef REGISTER_CLASS_MANUAL_PART_Animation
  4464. REGISTER_CLASS_MANUAL_PART_Animation();
  4465. #endif
  4466. }
  4467. // explicit Component::Component(Context* context)
  4468. static Component* Component__Component_Contextstar()
  4469. {
  4470. Context* context = GetScriptContext();
  4471. return new Component(context);
  4472. }
  4473. // class Component | File: ../Scene/Component.h
  4474. static void Register_Component(asIScriptEngine* engine)
  4475. {
  4476. // explicit Component::Component(Context* context)
  4477. engine->RegisterObjectBehaviour("Component", asBEHAVE_FACTORY, "Component@+ f()", AS_FUNCTION(Component__Component_Contextstar) , AS_CALL_CDECL);
  4478. RegisterSubclass<Animatable, Component>(engine, "Animatable", "Component");
  4479. RegisterSubclass<Serializable, Component>(engine, "Serializable", "Component");
  4480. RegisterSubclass<Object, Component>(engine, "Object", "Component");
  4481. RegisterSubclass<RefCounted, Component>(engine, "RefCounted", "Component");
  4482. RegisterMembers_Component<Component>(engine, "Component");
  4483. #ifdef REGISTER_CLASS_MANUAL_PART_Component
  4484. REGISTER_CLASS_MANUAL_PART_Component();
  4485. #endif
  4486. // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest)
  4487. engine->RegisterObjectMethod("Component", "void DrawDebugGeometry(DebugRenderer@+, bool)", AS_METHODPR(Component, DrawDebugGeometry, (DebugRenderer*, bool), void), AS_CALL_THISCALL);
  4488. }
  4489. // explicit Model::Model(Context* context)
  4490. static Model* Model__Model_Contextstar()
  4491. {
  4492. Context* context = GetScriptContext();
  4493. return new Model(context);
  4494. }
  4495. // class Model | File: ../Graphics/Model.h
  4496. static void Register_Model(asIScriptEngine* engine)
  4497. {
  4498. // explicit Model::Model(Context* context)
  4499. engine->RegisterObjectBehaviour("Model", asBEHAVE_FACTORY, "Model@+ f()", AS_FUNCTION(Model__Model_Contextstar) , AS_CALL_CDECL);
  4500. RegisterSubclass<ResourceWithMetadata, Model>(engine, "ResourceWithMetadata", "Model");
  4501. RegisterSubclass<Resource, Model>(engine, "Resource", "Model");
  4502. RegisterSubclass<Object, Model>(engine, "Object", "Model");
  4503. RegisterSubclass<RefCounted, Model>(engine, "RefCounted", "Model");
  4504. RegisterMembers_Model<Model>(engine, "Model");
  4505. #ifdef REGISTER_CLASS_MANUAL_PART_Model
  4506. REGISTER_CLASS_MANUAL_PART_Model();
  4507. #endif
  4508. }
  4509. // explicit Node::Node(Context* context)
  4510. static Node* Node__Node_Contextstar()
  4511. {
  4512. Context* context = GetScriptContext();
  4513. return new Node(context);
  4514. }
  4515. // class Node | File: ../Scene/Node.h
  4516. static void Register_Node(asIScriptEngine* engine)
  4517. {
  4518. // explicit Node::Node(Context* context)
  4519. engine->RegisterObjectBehaviour("Node", asBEHAVE_FACTORY, "Node@+ f()", AS_FUNCTION(Node__Node_Contextstar) , AS_CALL_CDECL);
  4520. RegisterSubclass<Animatable, Node>(engine, "Animatable", "Node");
  4521. RegisterSubclass<Serializable, Node>(engine, "Serializable", "Node");
  4522. RegisterSubclass<Object, Node>(engine, "Object", "Node");
  4523. RegisterSubclass<RefCounted, Node>(engine, "RefCounted", "Node");
  4524. RegisterMembers_Node<Node>(engine, "Node");
  4525. #ifdef REGISTER_CLASS_MANUAL_PART_Node
  4526. REGISTER_CLASS_MANUAL_PART_Node();
  4527. #endif
  4528. // bool Node::Load(Deserializer& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  4529. engine->RegisterObjectMethod("Node", "bool Load(Deserializer&, SceneResolver&, bool = true, bool = false, CreateMode = REPLICATED)", AS_METHODPR(Node, Load, (Deserializer&, SceneResolver&, bool, bool, CreateMode), bool), AS_CALL_THISCALL);
  4530. // bool Node::LoadJSON(const JSONValue& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  4531. engine->RegisterObjectMethod("Node", "bool LoadJSON(const JSONValue&in, SceneResolver&, bool = true, bool = false, CreateMode = REPLICATED)", AS_METHODPR(Node, LoadJSON, (const JSONValue&, SceneResolver&, bool, bool, CreateMode), bool), AS_CALL_THISCALL);
  4532. // bool Node::LoadXML(const XMLElement& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  4533. engine->RegisterObjectMethod("Node", "bool LoadXML(const XMLElement&in, SceneResolver&, bool = true, bool = false, CreateMode = REPLICATED)", AS_METHODPR(Node, LoadXML, (const XMLElement&, SceneResolver&, bool, bool, CreateMode), bool), AS_CALL_THISCALL);
  4534. // void Node::MarkReplicationDirty()
  4535. engine->RegisterObjectMethod("Node", "void MarkReplicationDirty()", AS_METHODPR(Node, MarkReplicationDirty, (), void), AS_CALL_THISCALL);
  4536. }
  4537. // explicit Sound::Sound(Context* context)
  4538. static Sound* Sound__Sound_Contextstar()
  4539. {
  4540. Context* context = GetScriptContext();
  4541. return new Sound(context);
  4542. }
  4543. // class Sound | File: ../Audio/Sound.h
  4544. static void Register_Sound(asIScriptEngine* engine)
  4545. {
  4546. // explicit Sound::Sound(Context* context)
  4547. engine->RegisterObjectBehaviour("Sound", asBEHAVE_FACTORY, "Sound@+ f()", AS_FUNCTION(Sound__Sound_Contextstar) , AS_CALL_CDECL);
  4548. RegisterSubclass<ResourceWithMetadata, Sound>(engine, "ResourceWithMetadata", "Sound");
  4549. RegisterSubclass<Resource, Sound>(engine, "Resource", "Sound");
  4550. RegisterSubclass<Object, Sound>(engine, "Object", "Sound");
  4551. RegisterSubclass<RefCounted, Sound>(engine, "RefCounted", "Sound");
  4552. RegisterMembers_Sound<Sound>(engine, "Sound");
  4553. #ifdef REGISTER_CLASS_MANUAL_PART_Sound
  4554. REGISTER_CLASS_MANUAL_PART_Sound();
  4555. #endif
  4556. }
  4557. // explicit Texture::Texture(Context* context)
  4558. static Texture* Texture__Texture_Contextstar()
  4559. {
  4560. Context* context = GetScriptContext();
  4561. return new Texture(context);
  4562. }
  4563. // class Texture | File: ../GraphicsAPI/Texture.h
  4564. static void Register_Texture(asIScriptEngine* engine)
  4565. {
  4566. // explicit Texture::Texture(Context* context)
  4567. engine->RegisterObjectBehaviour("Texture", asBEHAVE_FACTORY, "Texture@+ f()", AS_FUNCTION(Texture__Texture_Contextstar) , AS_CALL_CDECL);
  4568. RegisterSubclass<ResourceWithMetadata, Texture>(engine, "ResourceWithMetadata", "Texture");
  4569. RegisterSubclass<Resource, Texture>(engine, "Resource", "Texture");
  4570. RegisterSubclass<Object, Texture>(engine, "Object", "Texture");
  4571. RegisterSubclass<RefCounted, Texture>(engine, "RefCounted", "Texture");
  4572. RegisterMembers_Texture<Texture>(engine, "Texture");
  4573. #ifdef REGISTER_CLASS_MANUAL_PART_Texture
  4574. REGISTER_CLASS_MANUAL_PART_Texture();
  4575. #endif
  4576. }
  4577. // explicit UIElement::UIElement(Context* context)
  4578. static UIElement* UIElement__UIElement_Contextstar()
  4579. {
  4580. Context* context = GetScriptContext();
  4581. return new UIElement(context);
  4582. }
  4583. // class UIElement | File: ../UI/UIElement.h
  4584. static void Register_UIElement(asIScriptEngine* engine)
  4585. {
  4586. // explicit UIElement::UIElement(Context* context)
  4587. engine->RegisterObjectBehaviour("UIElement", asBEHAVE_FACTORY, "UIElement@+ f()", AS_FUNCTION(UIElement__UIElement_Contextstar) , AS_CALL_CDECL);
  4588. RegisterSubclass<Animatable, UIElement>(engine, "Animatable", "UIElement");
  4589. RegisterSubclass<Serializable, UIElement>(engine, "Serializable", "UIElement");
  4590. RegisterSubclass<Object, UIElement>(engine, "Object", "UIElement");
  4591. RegisterSubclass<RefCounted, UIElement>(engine, "RefCounted", "UIElement");
  4592. RegisterMembers_UIElement<UIElement>(engine, "UIElement");
  4593. #ifdef REGISTER_CLASS_MANUAL_PART_UIElement
  4594. REGISTER_CLASS_MANUAL_PART_UIElement();
  4595. #endif
  4596. // const IntVector2& UIElement::GetPosition() const
  4597. engine->RegisterObjectMethod("UIElement", "const IntVector2& GetPosition() const", AS_METHODPR(UIElement, GetPosition, () const, const IntVector2&), AS_CALL_THISCALL);
  4598. engine->RegisterObjectMethod("UIElement", "const IntVector2& get_position() const", AS_METHODPR(UIElement, GetPosition, () const, const IntVector2&), AS_CALL_THISCALL);
  4599. // bool UIElement::IsSelected() const
  4600. engine->RegisterObjectMethod("UIElement", "bool IsSelected() const", AS_METHODPR(UIElement, IsSelected, () const, bool), AS_CALL_THISCALL);
  4601. engine->RegisterObjectMethod("UIElement", "bool get_selected() const", AS_METHODPR(UIElement, IsSelected, () const, bool), AS_CALL_THISCALL);
  4602. // void UIElement::SetPosition(const IntVector2& position)
  4603. engine->RegisterObjectMethod("UIElement", "void SetPosition(const IntVector2&in)", AS_METHODPR(UIElement, SetPosition, (const IntVector2&), void), AS_CALL_THISCALL);
  4604. engine->RegisterObjectMethod("UIElement", "void set_position(const IntVector2&in)", AS_METHODPR(UIElement, SetPosition, (const IntVector2&), void), AS_CALL_THISCALL);
  4605. // void UIElement::SetPosition(int x, int y)
  4606. engine->RegisterObjectMethod("UIElement", "void SetPosition(int, int)", AS_METHODPR(UIElement, SetPosition, (int, int), void), AS_CALL_THISCALL);
  4607. }
  4608. // explicit AnimationController::AnimationController(Context* context)
  4609. static AnimationController* AnimationController__AnimationController_Contextstar()
  4610. {
  4611. Context* context = GetScriptContext();
  4612. return new AnimationController(context);
  4613. }
  4614. // class AnimationController | File: ../Graphics/AnimationController.h
  4615. static void Register_AnimationController(asIScriptEngine* engine)
  4616. {
  4617. // explicit AnimationController::AnimationController(Context* context)
  4618. engine->RegisterObjectBehaviour("AnimationController", asBEHAVE_FACTORY, "AnimationController@+ f()", AS_FUNCTION(AnimationController__AnimationController_Contextstar) , AS_CALL_CDECL);
  4619. RegisterSubclass<Component, AnimationController>(engine, "Component", "AnimationController");
  4620. RegisterSubclass<Animatable, AnimationController>(engine, "Animatable", "AnimationController");
  4621. RegisterSubclass<Serializable, AnimationController>(engine, "Serializable", "AnimationController");
  4622. RegisterSubclass<Object, AnimationController>(engine, "Object", "AnimationController");
  4623. RegisterSubclass<RefCounted, AnimationController>(engine, "RefCounted", "AnimationController");
  4624. RegisterMembers_AnimationController<AnimationController>(engine, "AnimationController");
  4625. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationController
  4626. REGISTER_CLASS_MANUAL_PART_AnimationController();
  4627. #endif
  4628. }
  4629. // explicit BorderImage::BorderImage(Context* context)
  4630. static BorderImage* BorderImage__BorderImage_Contextstar()
  4631. {
  4632. Context* context = GetScriptContext();
  4633. return new BorderImage(context);
  4634. }
  4635. // class BorderImage | File: ../UI/BorderImage.h
  4636. static void Register_BorderImage(asIScriptEngine* engine)
  4637. {
  4638. // explicit BorderImage::BorderImage(Context* context)
  4639. engine->RegisterObjectBehaviour("BorderImage", asBEHAVE_FACTORY, "BorderImage@+ f()", AS_FUNCTION(BorderImage__BorderImage_Contextstar) , AS_CALL_CDECL);
  4640. RegisterSubclass<UIElement, BorderImage>(engine, "UIElement", "BorderImage");
  4641. RegisterSubclass<Animatable, BorderImage>(engine, "Animatable", "BorderImage");
  4642. RegisterSubclass<Serializable, BorderImage>(engine, "Serializable", "BorderImage");
  4643. RegisterSubclass<Object, BorderImage>(engine, "Object", "BorderImage");
  4644. RegisterSubclass<RefCounted, BorderImage>(engine, "RefCounted", "BorderImage");
  4645. RegisterMembers_BorderImage<BorderImage>(engine, "BorderImage");
  4646. #ifdef REGISTER_CLASS_MANUAL_PART_BorderImage
  4647. REGISTER_CLASS_MANUAL_PART_BorderImage();
  4648. #endif
  4649. }
  4650. // explicit Camera::Camera(Context* context)
  4651. static Camera* Camera__Camera_Contextstar()
  4652. {
  4653. Context* context = GetScriptContext();
  4654. return new Camera(context);
  4655. }
  4656. // class Camera | File: ../Graphics/Camera.h
  4657. static void Register_Camera(asIScriptEngine* engine)
  4658. {
  4659. // explicit Camera::Camera(Context* context)
  4660. engine->RegisterObjectBehaviour("Camera", asBEHAVE_FACTORY, "Camera@+ f()", AS_FUNCTION(Camera__Camera_Contextstar) , AS_CALL_CDECL);
  4661. RegisterSubclass<Component, Camera>(engine, "Component", "Camera");
  4662. RegisterSubclass<Animatable, Camera>(engine, "Animatable", "Camera");
  4663. RegisterSubclass<Serializable, Camera>(engine, "Serializable", "Camera");
  4664. RegisterSubclass<Object, Camera>(engine, "Object", "Camera");
  4665. RegisterSubclass<RefCounted, Camera>(engine, "RefCounted", "Camera");
  4666. RegisterMembers_Camera<Camera>(engine, "Camera");
  4667. #ifdef REGISTER_CLASS_MANUAL_PART_Camera
  4668. REGISTER_CLASS_MANUAL_PART_Camera();
  4669. #endif
  4670. }
  4671. // explicit DebugRenderer::DebugRenderer(Context* context)
  4672. static DebugRenderer* DebugRenderer__DebugRenderer_Contextstar()
  4673. {
  4674. Context* context = GetScriptContext();
  4675. return new DebugRenderer(context);
  4676. }
  4677. // class DebugRenderer | File: ../Graphics/DebugRenderer.h
  4678. static void Register_DebugRenderer(asIScriptEngine* engine)
  4679. {
  4680. // explicit DebugRenderer::DebugRenderer(Context* context)
  4681. engine->RegisterObjectBehaviour("DebugRenderer", asBEHAVE_FACTORY, "DebugRenderer@+ f()", AS_FUNCTION(DebugRenderer__DebugRenderer_Contextstar) , AS_CALL_CDECL);
  4682. RegisterSubclass<Component, DebugRenderer>(engine, "Component", "DebugRenderer");
  4683. RegisterSubclass<Animatable, DebugRenderer>(engine, "Animatable", "DebugRenderer");
  4684. RegisterSubclass<Serializable, DebugRenderer>(engine, "Serializable", "DebugRenderer");
  4685. RegisterSubclass<Object, DebugRenderer>(engine, "Object", "DebugRenderer");
  4686. RegisterSubclass<RefCounted, DebugRenderer>(engine, "RefCounted", "DebugRenderer");
  4687. RegisterMembers_DebugRenderer<DebugRenderer>(engine, "DebugRenderer");
  4688. #ifdef REGISTER_CLASS_MANUAL_PART_DebugRenderer
  4689. REGISTER_CLASS_MANUAL_PART_DebugRenderer();
  4690. #endif
  4691. }
  4692. // class Drawable | File: ../Graphics/Drawable.h
  4693. static void Register_Drawable(asIScriptEngine* engine)
  4694. {
  4695. RegisterSubclass<Component, Drawable>(engine, "Component", "Drawable");
  4696. RegisterSubclass<Animatable, Drawable>(engine, "Animatable", "Drawable");
  4697. RegisterSubclass<Serializable, Drawable>(engine, "Serializable", "Drawable");
  4698. RegisterSubclass<Object, Drawable>(engine, "Object", "Drawable");
  4699. RegisterSubclass<RefCounted, Drawable>(engine, "RefCounted", "Drawable");
  4700. RegisterMembers_Drawable<Drawable>(engine, "Drawable");
  4701. #ifdef REGISTER_CLASS_MANUAL_PART_Drawable
  4702. REGISTER_CLASS_MANUAL_PART_Drawable();
  4703. #endif
  4704. // virtual void Drawable::Update(const FrameInfo& frame)
  4705. engine->RegisterObjectMethod("Drawable", "void Update(const FrameInfo&in)", AS_METHODPR(Drawable, Update, (const FrameInfo&), void), AS_CALL_THISCALL);
  4706. }
  4707. // explicit LogicComponent::LogicComponent(Context* context)
  4708. static LogicComponent* LogicComponent__LogicComponent_Contextstar()
  4709. {
  4710. Context* context = GetScriptContext();
  4711. return new LogicComponent(context);
  4712. }
  4713. // class LogicComponent | File: ../Scene/LogicComponent.h
  4714. static void Register_LogicComponent(asIScriptEngine* engine)
  4715. {
  4716. // explicit LogicComponent::LogicComponent(Context* context)
  4717. engine->RegisterObjectBehaviour("LogicComponent", asBEHAVE_FACTORY, "LogicComponent@+ f()", AS_FUNCTION(LogicComponent__LogicComponent_Contextstar) , AS_CALL_CDECL);
  4718. RegisterSubclass<Component, LogicComponent>(engine, "Component", "LogicComponent");
  4719. RegisterSubclass<Animatable, LogicComponent>(engine, "Animatable", "LogicComponent");
  4720. RegisterSubclass<Serializable, LogicComponent>(engine, "Serializable", "LogicComponent");
  4721. RegisterSubclass<Object, LogicComponent>(engine, "Object", "LogicComponent");
  4722. RegisterSubclass<RefCounted, LogicComponent>(engine, "RefCounted", "LogicComponent");
  4723. RegisterMembers_LogicComponent<LogicComponent>(engine, "LogicComponent");
  4724. #ifdef REGISTER_CLASS_MANUAL_PART_LogicComponent
  4725. REGISTER_CLASS_MANUAL_PART_LogicComponent();
  4726. #endif
  4727. }
  4728. // explicit Octree::Octree(Context* context)
  4729. static Octree* Octree__Octree_Contextstar()
  4730. {
  4731. Context* context = GetScriptContext();
  4732. return new Octree(context);
  4733. }
  4734. // class Octree | File: ../Graphics/Octree.h
  4735. static void Register_Octree(asIScriptEngine* engine)
  4736. {
  4737. // explicit Octree::Octree(Context* context)
  4738. engine->RegisterObjectBehaviour("Octree", asBEHAVE_FACTORY, "Octree@+ f()", AS_FUNCTION(Octree__Octree_Contextstar) , AS_CALL_CDECL);
  4739. RegisterSubclass<Component, Octree>(engine, "Component", "Octree");
  4740. RegisterSubclass<Animatable, Octree>(engine, "Animatable", "Octree");
  4741. RegisterSubclass<Serializable, Octree>(engine, "Serializable", "Octree");
  4742. RegisterSubclass<Object, Octree>(engine, "Object", "Octree");
  4743. RegisterSubclass<RefCounted, Octree>(engine, "RefCounted", "Octree");
  4744. RegisterMembers_Octree<Octree>(engine, "Octree");
  4745. #ifdef REGISTER_CLASS_MANUAL_PART_Octree
  4746. REGISTER_CLASS_MANUAL_PART_Octree();
  4747. #endif
  4748. }
  4749. // explicit Scene::Scene(Context* context)
  4750. static Scene* Scene__Scene_Contextstar()
  4751. {
  4752. Context* context = GetScriptContext();
  4753. return new Scene(context);
  4754. }
  4755. // class Scene | File: ../Scene/Scene.h
  4756. static void Register_Scene(asIScriptEngine* engine)
  4757. {
  4758. // explicit Scene::Scene(Context* context)
  4759. engine->RegisterObjectBehaviour("Scene", asBEHAVE_FACTORY, "Scene@+ f()", AS_FUNCTION(Scene__Scene_Contextstar) , AS_CALL_CDECL);
  4760. RegisterSubclass<Node, Scene>(engine, "Node", "Scene");
  4761. RegisterSubclass<Animatable, Scene>(engine, "Animatable", "Scene");
  4762. RegisterSubclass<Serializable, Scene>(engine, "Serializable", "Scene");
  4763. RegisterSubclass<Object, Scene>(engine, "Object", "Scene");
  4764. RegisterSubclass<RefCounted, Scene>(engine, "RefCounted", "Scene");
  4765. RegisterMembers_Scene<Scene>(engine, "Scene");
  4766. #ifdef REGISTER_CLASS_MANUAL_PART_Scene
  4767. REGISTER_CLASS_MANUAL_PART_Scene();
  4768. #endif
  4769. }
  4770. // explicit ScrollView::ScrollView(Context* context)
  4771. static ScrollView* ScrollView__ScrollView_Contextstar()
  4772. {
  4773. Context* context = GetScriptContext();
  4774. return new ScrollView(context);
  4775. }
  4776. // class ScrollView | File: ../UI/ScrollView.h
  4777. static void Register_ScrollView(asIScriptEngine* engine)
  4778. {
  4779. // explicit ScrollView::ScrollView(Context* context)
  4780. engine->RegisterObjectBehaviour("ScrollView", asBEHAVE_FACTORY, "ScrollView@+ f()", AS_FUNCTION(ScrollView__ScrollView_Contextstar) , AS_CALL_CDECL);
  4781. RegisterSubclass<UIElement, ScrollView>(engine, "UIElement", "ScrollView");
  4782. RegisterSubclass<Animatable, ScrollView>(engine, "Animatable", "ScrollView");
  4783. RegisterSubclass<Serializable, ScrollView>(engine, "Serializable", "ScrollView");
  4784. RegisterSubclass<Object, ScrollView>(engine, "Object", "ScrollView");
  4785. RegisterSubclass<RefCounted, ScrollView>(engine, "RefCounted", "ScrollView");
  4786. RegisterMembers_ScrollView<ScrollView>(engine, "ScrollView");
  4787. #ifdef REGISTER_CLASS_MANUAL_PART_ScrollView
  4788. REGISTER_CLASS_MANUAL_PART_ScrollView();
  4789. #endif
  4790. // bool UIElement::IsSelected() const
  4791. engine->RegisterObjectMethod("ScrollView", "bool IsSelected() const", AS_METHODPR(ScrollView, IsSelected, () const, bool), AS_CALL_THISCALL);
  4792. engine->RegisterObjectMethod("ScrollView", "bool get_selected() const", AS_METHODPR(ScrollView, IsSelected, () const, bool), AS_CALL_THISCALL);
  4793. }
  4794. // explicit SmoothedTransform::SmoothedTransform(Context* context)
  4795. static SmoothedTransform* SmoothedTransform__SmoothedTransform_Contextstar()
  4796. {
  4797. Context* context = GetScriptContext();
  4798. return new SmoothedTransform(context);
  4799. }
  4800. // class SmoothedTransform | File: ../Scene/SmoothedTransform.h
  4801. static void Register_SmoothedTransform(asIScriptEngine* engine)
  4802. {
  4803. // explicit SmoothedTransform::SmoothedTransform(Context* context)
  4804. engine->RegisterObjectBehaviour("SmoothedTransform", asBEHAVE_FACTORY, "SmoothedTransform@+ f()", AS_FUNCTION(SmoothedTransform__SmoothedTransform_Contextstar) , AS_CALL_CDECL);
  4805. RegisterSubclass<Component, SmoothedTransform>(engine, "Component", "SmoothedTransform");
  4806. RegisterSubclass<Animatable, SmoothedTransform>(engine, "Animatable", "SmoothedTransform");
  4807. RegisterSubclass<Serializable, SmoothedTransform>(engine, "Serializable", "SmoothedTransform");
  4808. RegisterSubclass<Object, SmoothedTransform>(engine, "Object", "SmoothedTransform");
  4809. RegisterSubclass<RefCounted, SmoothedTransform>(engine, "RefCounted", "SmoothedTransform");
  4810. RegisterMembers_SmoothedTransform<SmoothedTransform>(engine, "SmoothedTransform");
  4811. #ifdef REGISTER_CLASS_MANUAL_PART_SmoothedTransform
  4812. REGISTER_CLASS_MANUAL_PART_SmoothedTransform();
  4813. #endif
  4814. }
  4815. // explicit SoundListener::SoundListener(Context* context)
  4816. static SoundListener* SoundListener__SoundListener_Contextstar()
  4817. {
  4818. Context* context = GetScriptContext();
  4819. return new SoundListener(context);
  4820. }
  4821. // class SoundListener | File: ../Audio/SoundListener.h
  4822. static void Register_SoundListener(asIScriptEngine* engine)
  4823. {
  4824. // explicit SoundListener::SoundListener(Context* context)
  4825. engine->RegisterObjectBehaviour("SoundListener", asBEHAVE_FACTORY, "SoundListener@+ f()", AS_FUNCTION(SoundListener__SoundListener_Contextstar) , AS_CALL_CDECL);
  4826. RegisterSubclass<Component, SoundListener>(engine, "Component", "SoundListener");
  4827. RegisterSubclass<Animatable, SoundListener>(engine, "Animatable", "SoundListener");
  4828. RegisterSubclass<Serializable, SoundListener>(engine, "Serializable", "SoundListener");
  4829. RegisterSubclass<Object, SoundListener>(engine, "Object", "SoundListener");
  4830. RegisterSubclass<RefCounted, SoundListener>(engine, "RefCounted", "SoundListener");
  4831. RegisterMembers_SoundListener<SoundListener>(engine, "SoundListener");
  4832. #ifdef REGISTER_CLASS_MANUAL_PART_SoundListener
  4833. REGISTER_CLASS_MANUAL_PART_SoundListener();
  4834. #endif
  4835. }
  4836. // explicit SoundSource::SoundSource(Context* context)
  4837. static SoundSource* SoundSource__SoundSource_Contextstar()
  4838. {
  4839. Context* context = GetScriptContext();
  4840. return new SoundSource(context);
  4841. }
  4842. // class SoundSource | File: ../Audio/SoundSource.h
  4843. static void Register_SoundSource(asIScriptEngine* engine)
  4844. {
  4845. // explicit SoundSource::SoundSource(Context* context)
  4846. engine->RegisterObjectBehaviour("SoundSource", asBEHAVE_FACTORY, "SoundSource@+ f()", AS_FUNCTION(SoundSource__SoundSource_Contextstar) , AS_CALL_CDECL);
  4847. RegisterSubclass<Component, SoundSource>(engine, "Component", "SoundSource");
  4848. RegisterSubclass<Animatable, SoundSource>(engine, "Animatable", "SoundSource");
  4849. RegisterSubclass<Serializable, SoundSource>(engine, "Serializable", "SoundSource");
  4850. RegisterSubclass<Object, SoundSource>(engine, "Object", "SoundSource");
  4851. RegisterSubclass<RefCounted, SoundSource>(engine, "RefCounted", "SoundSource");
  4852. RegisterMembers_SoundSource<SoundSource>(engine, "SoundSource");
  4853. #ifdef REGISTER_CLASS_MANUAL_PART_SoundSource
  4854. REGISTER_CLASS_MANUAL_PART_SoundSource();
  4855. #endif
  4856. }
  4857. // explicit SplinePath::SplinePath(Context* context)
  4858. static SplinePath* SplinePath__SplinePath_Contextstar()
  4859. {
  4860. Context* context = GetScriptContext();
  4861. return new SplinePath(context);
  4862. }
  4863. // class SplinePath | File: ../Scene/SplinePath.h
  4864. static void Register_SplinePath(asIScriptEngine* engine)
  4865. {
  4866. // explicit SplinePath::SplinePath(Context* context)
  4867. engine->RegisterObjectBehaviour("SplinePath", asBEHAVE_FACTORY, "SplinePath@+ f()", AS_FUNCTION(SplinePath__SplinePath_Contextstar) , AS_CALL_CDECL);
  4868. RegisterSubclass<Component, SplinePath>(engine, "Component", "SplinePath");
  4869. RegisterSubclass<Animatable, SplinePath>(engine, "Animatable", "SplinePath");
  4870. RegisterSubclass<Serializable, SplinePath>(engine, "Serializable", "SplinePath");
  4871. RegisterSubclass<Object, SplinePath>(engine, "Object", "SplinePath");
  4872. RegisterSubclass<RefCounted, SplinePath>(engine, "RefCounted", "SplinePath");
  4873. RegisterMembers_SplinePath<SplinePath>(engine, "SplinePath");
  4874. #ifdef REGISTER_CLASS_MANUAL_PART_SplinePath
  4875. REGISTER_CLASS_MANUAL_PART_SplinePath();
  4876. #endif
  4877. }
  4878. // explicit Sprite::Sprite(Context* context)
  4879. static Sprite* Sprite__Sprite_Contextstar()
  4880. {
  4881. Context* context = GetScriptContext();
  4882. return new Sprite(context);
  4883. }
  4884. // class Sprite | File: ../UI/Sprite.h
  4885. static void Register_Sprite(asIScriptEngine* engine)
  4886. {
  4887. // explicit Sprite::Sprite(Context* context)
  4888. engine->RegisterObjectBehaviour("Sprite", asBEHAVE_FACTORY, "Sprite@+ f()", AS_FUNCTION(Sprite__Sprite_Contextstar) , AS_CALL_CDECL);
  4889. RegisterSubclass<UIElement, Sprite>(engine, "UIElement", "Sprite");
  4890. RegisterSubclass<Animatable, Sprite>(engine, "Animatable", "Sprite");
  4891. RegisterSubclass<Serializable, Sprite>(engine, "Serializable", "Sprite");
  4892. RegisterSubclass<Object, Sprite>(engine, "Object", "Sprite");
  4893. RegisterSubclass<RefCounted, Sprite>(engine, "RefCounted", "Sprite");
  4894. RegisterMembers_Sprite<Sprite>(engine, "Sprite");
  4895. #ifdef REGISTER_CLASS_MANUAL_PART_Sprite
  4896. REGISTER_CLASS_MANUAL_PART_Sprite();
  4897. #endif
  4898. }
  4899. // explicit Terrain::Terrain(Context* context)
  4900. static Terrain* Terrain__Terrain_Contextstar()
  4901. {
  4902. Context* context = GetScriptContext();
  4903. return new Terrain(context);
  4904. }
  4905. // class Terrain | File: ../Graphics/Terrain.h
  4906. static void Register_Terrain(asIScriptEngine* engine)
  4907. {
  4908. // explicit Terrain::Terrain(Context* context)
  4909. engine->RegisterObjectBehaviour("Terrain", asBEHAVE_FACTORY, "Terrain@+ f()", AS_FUNCTION(Terrain__Terrain_Contextstar) , AS_CALL_CDECL);
  4910. RegisterSubclass<Component, Terrain>(engine, "Component", "Terrain");
  4911. RegisterSubclass<Animatable, Terrain>(engine, "Animatable", "Terrain");
  4912. RegisterSubclass<Serializable, Terrain>(engine, "Serializable", "Terrain");
  4913. RegisterSubclass<Object, Terrain>(engine, "Object", "Terrain");
  4914. RegisterSubclass<RefCounted, Terrain>(engine, "RefCounted", "Terrain");
  4915. RegisterMembers_Terrain<Terrain>(engine, "Terrain");
  4916. #ifdef REGISTER_CLASS_MANUAL_PART_Terrain
  4917. REGISTER_CLASS_MANUAL_PART_Terrain();
  4918. #endif
  4919. }
  4920. // explicit Texture2D::Texture2D(Context* context)
  4921. static Texture2D* Texture2D__Texture2D_Contextstar()
  4922. {
  4923. Context* context = GetScriptContext();
  4924. return new Texture2D(context);
  4925. }
  4926. // class Texture2D | File: ../GraphicsAPI/Texture2D.h
  4927. static void Register_Texture2D(asIScriptEngine* engine)
  4928. {
  4929. // explicit Texture2D::Texture2D(Context* context)
  4930. engine->RegisterObjectBehaviour("Texture2D", asBEHAVE_FACTORY, "Texture2D@+ f()", AS_FUNCTION(Texture2D__Texture2D_Contextstar) , AS_CALL_CDECL);
  4931. RegisterSubclass<Texture, Texture2D>(engine, "Texture", "Texture2D");
  4932. RegisterSubclass<ResourceWithMetadata, Texture2D>(engine, "ResourceWithMetadata", "Texture2D");
  4933. RegisterSubclass<Resource, Texture2D>(engine, "Resource", "Texture2D");
  4934. RegisterSubclass<Object, Texture2D>(engine, "Object", "Texture2D");
  4935. RegisterSubclass<RefCounted, Texture2D>(engine, "RefCounted", "Texture2D");
  4936. RegisterMembers_Texture2D<Texture2D>(engine, "Texture2D");
  4937. #ifdef REGISTER_CLASS_MANUAL_PART_Texture2D
  4938. REGISTER_CLASS_MANUAL_PART_Texture2D();
  4939. #endif
  4940. }
  4941. // explicit Texture2DArray::Texture2DArray(Context* context)
  4942. static Texture2DArray* Texture2DArray__Texture2DArray_Contextstar()
  4943. {
  4944. Context* context = GetScriptContext();
  4945. return new Texture2DArray(context);
  4946. }
  4947. // class Texture2DArray | File: ../GraphicsAPI/Texture2DArray.h
  4948. static void Register_Texture2DArray(asIScriptEngine* engine)
  4949. {
  4950. // explicit Texture2DArray::Texture2DArray(Context* context)
  4951. engine->RegisterObjectBehaviour("Texture2DArray", asBEHAVE_FACTORY, "Texture2DArray@+ f()", AS_FUNCTION(Texture2DArray__Texture2DArray_Contextstar) , AS_CALL_CDECL);
  4952. RegisterSubclass<Texture, Texture2DArray>(engine, "Texture", "Texture2DArray");
  4953. RegisterSubclass<ResourceWithMetadata, Texture2DArray>(engine, "ResourceWithMetadata", "Texture2DArray");
  4954. RegisterSubclass<Resource, Texture2DArray>(engine, "Resource", "Texture2DArray");
  4955. RegisterSubclass<Object, Texture2DArray>(engine, "Object", "Texture2DArray");
  4956. RegisterSubclass<RefCounted, Texture2DArray>(engine, "RefCounted", "Texture2DArray");
  4957. RegisterMembers_Texture2DArray<Texture2DArray>(engine, "Texture2DArray");
  4958. #ifdef REGISTER_CLASS_MANUAL_PART_Texture2DArray
  4959. REGISTER_CLASS_MANUAL_PART_Texture2DArray();
  4960. #endif
  4961. }
  4962. // explicit Texture3D::Texture3D(Context* context)
  4963. static Texture3D* Texture3D__Texture3D_Contextstar()
  4964. {
  4965. Context* context = GetScriptContext();
  4966. return new Texture3D(context);
  4967. }
  4968. // class Texture3D | File: ../GraphicsAPI/Texture3D.h
  4969. static void Register_Texture3D(asIScriptEngine* engine)
  4970. {
  4971. // explicit Texture3D::Texture3D(Context* context)
  4972. engine->RegisterObjectBehaviour("Texture3D", asBEHAVE_FACTORY, "Texture3D@+ f()", AS_FUNCTION(Texture3D__Texture3D_Contextstar) , AS_CALL_CDECL);
  4973. RegisterSubclass<Texture, Texture3D>(engine, "Texture", "Texture3D");
  4974. RegisterSubclass<ResourceWithMetadata, Texture3D>(engine, "ResourceWithMetadata", "Texture3D");
  4975. RegisterSubclass<Resource, Texture3D>(engine, "Resource", "Texture3D");
  4976. RegisterSubclass<Object, Texture3D>(engine, "Object", "Texture3D");
  4977. RegisterSubclass<RefCounted, Texture3D>(engine, "RefCounted", "Texture3D");
  4978. RegisterMembers_Texture3D<Texture3D>(engine, "Texture3D");
  4979. #ifdef REGISTER_CLASS_MANUAL_PART_Texture3D
  4980. REGISTER_CLASS_MANUAL_PART_Texture3D();
  4981. #endif
  4982. }
  4983. // explicit TextureCube::TextureCube(Context* context)
  4984. static TextureCube* TextureCube__TextureCube_Contextstar()
  4985. {
  4986. Context* context = GetScriptContext();
  4987. return new TextureCube(context);
  4988. }
  4989. // class TextureCube | File: ../GraphicsAPI/TextureCube.h
  4990. static void Register_TextureCube(asIScriptEngine* engine)
  4991. {
  4992. // explicit TextureCube::TextureCube(Context* context)
  4993. engine->RegisterObjectBehaviour("TextureCube", asBEHAVE_FACTORY, "TextureCube@+ f()", AS_FUNCTION(TextureCube__TextureCube_Contextstar) , AS_CALL_CDECL);
  4994. RegisterSubclass<Texture, TextureCube>(engine, "Texture", "TextureCube");
  4995. RegisterSubclass<ResourceWithMetadata, TextureCube>(engine, "ResourceWithMetadata", "TextureCube");
  4996. RegisterSubclass<Resource, TextureCube>(engine, "Resource", "TextureCube");
  4997. RegisterSubclass<Object, TextureCube>(engine, "Object", "TextureCube");
  4998. RegisterSubclass<RefCounted, TextureCube>(engine, "RefCounted", "TextureCube");
  4999. RegisterMembers_TextureCube<TextureCube>(engine, "TextureCube");
  5000. #ifdef REGISTER_CLASS_MANUAL_PART_TextureCube
  5001. REGISTER_CLASS_MANUAL_PART_TextureCube();
  5002. #endif
  5003. }
  5004. // explicit ToolTip::ToolTip(Context* context)
  5005. static ToolTip* ToolTip__ToolTip_Contextstar()
  5006. {
  5007. Context* context = GetScriptContext();
  5008. return new ToolTip(context);
  5009. }
  5010. // class ToolTip | File: ../UI/ToolTip.h
  5011. static void Register_ToolTip(asIScriptEngine* engine)
  5012. {
  5013. // explicit ToolTip::ToolTip(Context* context)
  5014. engine->RegisterObjectBehaviour("ToolTip", asBEHAVE_FACTORY, "ToolTip@+ f()", AS_FUNCTION(ToolTip__ToolTip_Contextstar) , AS_CALL_CDECL);
  5015. RegisterSubclass<UIElement, ToolTip>(engine, "UIElement", "ToolTip");
  5016. RegisterSubclass<Animatable, ToolTip>(engine, "Animatable", "ToolTip");
  5017. RegisterSubclass<Serializable, ToolTip>(engine, "Serializable", "ToolTip");
  5018. RegisterSubclass<Object, ToolTip>(engine, "Object", "ToolTip");
  5019. RegisterSubclass<RefCounted, ToolTip>(engine, "RefCounted", "ToolTip");
  5020. RegisterMembers_ToolTip<ToolTip>(engine, "ToolTip");
  5021. #ifdef REGISTER_CLASS_MANUAL_PART_ToolTip
  5022. REGISTER_CLASS_MANUAL_PART_ToolTip();
  5023. #endif
  5024. }
  5025. // explicit UIComponent::UIComponent(Context* context)
  5026. static UIComponent* UIComponent__UIComponent_Contextstar()
  5027. {
  5028. Context* context = GetScriptContext();
  5029. return new UIComponent(context);
  5030. }
  5031. // class UIComponent | File: ../UI/UIComponent.h
  5032. static void Register_UIComponent(asIScriptEngine* engine)
  5033. {
  5034. // explicit UIComponent::UIComponent(Context* context)
  5035. engine->RegisterObjectBehaviour("UIComponent", asBEHAVE_FACTORY, "UIComponent@+ f()", AS_FUNCTION(UIComponent__UIComponent_Contextstar) , AS_CALL_CDECL);
  5036. RegisterSubclass<Component, UIComponent>(engine, "Component", "UIComponent");
  5037. RegisterSubclass<Animatable, UIComponent>(engine, "Animatable", "UIComponent");
  5038. RegisterSubclass<Serializable, UIComponent>(engine, "Serializable", "UIComponent");
  5039. RegisterSubclass<Object, UIComponent>(engine, "Object", "UIComponent");
  5040. RegisterSubclass<RefCounted, UIComponent>(engine, "RefCounted", "UIComponent");
  5041. RegisterMembers_UIComponent<UIComponent>(engine, "UIComponent");
  5042. #ifdef REGISTER_CLASS_MANUAL_PART_UIComponent
  5043. REGISTER_CLASS_MANUAL_PART_UIComponent();
  5044. #endif
  5045. }
  5046. // class UISelectable | File: ../UI/UISelectable.h
  5047. static void Register_UISelectable(asIScriptEngine* engine)
  5048. {
  5049. RegisterSubclass<UIElement, UISelectable>(engine, "UIElement", "UISelectable");
  5050. RegisterSubclass<Animatable, UISelectable>(engine, "Animatable", "UISelectable");
  5051. RegisterSubclass<Serializable, UISelectable>(engine, "Serializable", "UISelectable");
  5052. RegisterSubclass<Object, UISelectable>(engine, "Object", "UISelectable");
  5053. RegisterSubclass<RefCounted, UISelectable>(engine, "RefCounted", "UISelectable");
  5054. RegisterMembers_UISelectable<UISelectable>(engine, "UISelectable");
  5055. #ifdef REGISTER_CLASS_MANUAL_PART_UISelectable
  5056. REGISTER_CLASS_MANUAL_PART_UISelectable();
  5057. #endif
  5058. }
  5059. // class UnknownComponent | File: ../Scene/UnknownComponent.h
  5060. static void Register_UnknownComponent(asIScriptEngine* engine)
  5061. {
  5062. RegisterSubclass<Component, UnknownComponent>(engine, "Component", "UnknownComponent");
  5063. RegisterSubclass<Animatable, UnknownComponent>(engine, "Animatable", "UnknownComponent");
  5064. RegisterSubclass<Serializable, UnknownComponent>(engine, "Serializable", "UnknownComponent");
  5065. RegisterSubclass<Object, UnknownComponent>(engine, "Object", "UnknownComponent");
  5066. RegisterSubclass<RefCounted, UnknownComponent>(engine, "RefCounted", "UnknownComponent");
  5067. RegisterMembers_UnknownComponent<UnknownComponent>(engine, "UnknownComponent");
  5068. #ifdef REGISTER_CLASS_MANUAL_PART_UnknownComponent
  5069. REGISTER_CLASS_MANUAL_PART_UnknownComponent();
  5070. #endif
  5071. }
  5072. #ifdef URHO3D_IK
  5073. // explicit IKConstraint::IKConstraint(Context* context)
  5074. static IKConstraint* IKConstraint__IKConstraint_Contextstar()
  5075. {
  5076. Context* context = GetScriptContext();
  5077. return new IKConstraint(context);
  5078. }
  5079. // class IKConstraint | File: ../IK/IKConstraint.h
  5080. static void Register_IKConstraint(asIScriptEngine* engine)
  5081. {
  5082. // explicit IKConstraint::IKConstraint(Context* context)
  5083. engine->RegisterObjectBehaviour("IKConstraint", asBEHAVE_FACTORY, "IKConstraint@+ f()", AS_FUNCTION(IKConstraint__IKConstraint_Contextstar) , AS_CALL_CDECL);
  5084. RegisterSubclass<Component, IKConstraint>(engine, "Component", "IKConstraint");
  5085. RegisterSubclass<Animatable, IKConstraint>(engine, "Animatable", "IKConstraint");
  5086. RegisterSubclass<Serializable, IKConstraint>(engine, "Serializable", "IKConstraint");
  5087. RegisterSubclass<Object, IKConstraint>(engine, "Object", "IKConstraint");
  5088. RegisterSubclass<RefCounted, IKConstraint>(engine, "RefCounted", "IKConstraint");
  5089. RegisterMembers_IKConstraint<IKConstraint>(engine, "IKConstraint");
  5090. #ifdef REGISTER_CLASS_MANUAL_PART_IKConstraint
  5091. REGISTER_CLASS_MANUAL_PART_IKConstraint();
  5092. #endif
  5093. }
  5094. // explicit IKEffector::IKEffector(Context* context)
  5095. static IKEffector* IKEffector__IKEffector_Contextstar()
  5096. {
  5097. Context* context = GetScriptContext();
  5098. return new IKEffector(context);
  5099. }
  5100. // class IKEffector | File: ../IK/IKEffector.h
  5101. static void Register_IKEffector(asIScriptEngine* engine)
  5102. {
  5103. // explicit IKEffector::IKEffector(Context* context)
  5104. engine->RegisterObjectBehaviour("IKEffector", asBEHAVE_FACTORY, "IKEffector@+ f()", AS_FUNCTION(IKEffector__IKEffector_Contextstar) , AS_CALL_CDECL);
  5105. RegisterSubclass<Component, IKEffector>(engine, "Component", "IKEffector");
  5106. RegisterSubclass<Animatable, IKEffector>(engine, "Animatable", "IKEffector");
  5107. RegisterSubclass<Serializable, IKEffector>(engine, "Serializable", "IKEffector");
  5108. RegisterSubclass<Object, IKEffector>(engine, "Object", "IKEffector");
  5109. RegisterSubclass<RefCounted, IKEffector>(engine, "RefCounted", "IKEffector");
  5110. RegisterMembers_IKEffector<IKEffector>(engine, "IKEffector");
  5111. #ifdef REGISTER_CLASS_MANUAL_PART_IKEffector
  5112. REGISTER_CLASS_MANUAL_PART_IKEffector();
  5113. #endif
  5114. }
  5115. // explicit IKSolver::IKSolver(Context* context)
  5116. static IKSolver* IKSolver__IKSolver_Contextstar()
  5117. {
  5118. Context* context = GetScriptContext();
  5119. return new IKSolver(context);
  5120. }
  5121. // class IKSolver | File: ../IK/IKSolver.h
  5122. static void Register_IKSolver(asIScriptEngine* engine)
  5123. {
  5124. // explicit IKSolver::IKSolver(Context* context)
  5125. engine->RegisterObjectBehaviour("IKSolver", asBEHAVE_FACTORY, "IKSolver@+ f()", AS_FUNCTION(IKSolver__IKSolver_Contextstar) , AS_CALL_CDECL);
  5126. RegisterSubclass<Component, IKSolver>(engine, "Component", "IKSolver");
  5127. RegisterSubclass<Animatable, IKSolver>(engine, "Animatable", "IKSolver");
  5128. RegisterSubclass<Serializable, IKSolver>(engine, "Serializable", "IKSolver");
  5129. RegisterSubclass<Object, IKSolver>(engine, "Object", "IKSolver");
  5130. RegisterSubclass<RefCounted, IKSolver>(engine, "RefCounted", "IKSolver");
  5131. RegisterMembers_IKSolver<IKSolver>(engine, "IKSolver");
  5132. #ifdef REGISTER_CLASS_MANUAL_PART_IKSolver
  5133. REGISTER_CLASS_MANUAL_PART_IKSolver();
  5134. #endif
  5135. }
  5136. #endif // def URHO3D_IK
  5137. #ifdef URHO3D_NAVIGATION
  5138. // explicit CrowdAgent::CrowdAgent(Context* context)
  5139. static CrowdAgent* CrowdAgent__CrowdAgent_Contextstar()
  5140. {
  5141. Context* context = GetScriptContext();
  5142. return new CrowdAgent(context);
  5143. }
  5144. // class CrowdAgent | File: ../Navigation/CrowdAgent.h
  5145. static void Register_CrowdAgent(asIScriptEngine* engine)
  5146. {
  5147. // explicit CrowdAgent::CrowdAgent(Context* context)
  5148. engine->RegisterObjectBehaviour("CrowdAgent", asBEHAVE_FACTORY, "CrowdAgent@+ f()", AS_FUNCTION(CrowdAgent__CrowdAgent_Contextstar) , AS_CALL_CDECL);
  5149. RegisterSubclass<Component, CrowdAgent>(engine, "Component", "CrowdAgent");
  5150. RegisterSubclass<Animatable, CrowdAgent>(engine, "Animatable", "CrowdAgent");
  5151. RegisterSubclass<Serializable, CrowdAgent>(engine, "Serializable", "CrowdAgent");
  5152. RegisterSubclass<Object, CrowdAgent>(engine, "Object", "CrowdAgent");
  5153. RegisterSubclass<RefCounted, CrowdAgent>(engine, "RefCounted", "CrowdAgent");
  5154. RegisterMembers_CrowdAgent<CrowdAgent>(engine, "CrowdAgent");
  5155. #ifdef REGISTER_CLASS_MANUAL_PART_CrowdAgent
  5156. REGISTER_CLASS_MANUAL_PART_CrowdAgent();
  5157. #endif
  5158. }
  5159. // explicit CrowdManager::CrowdManager(Context* context)
  5160. static CrowdManager* CrowdManager__CrowdManager_Contextstar()
  5161. {
  5162. Context* context = GetScriptContext();
  5163. return new CrowdManager(context);
  5164. }
  5165. // class CrowdManager | File: ../Navigation/CrowdManager.h
  5166. static void Register_CrowdManager(asIScriptEngine* engine)
  5167. {
  5168. // explicit CrowdManager::CrowdManager(Context* context)
  5169. engine->RegisterObjectBehaviour("CrowdManager", asBEHAVE_FACTORY, "CrowdManager@+ f()", AS_FUNCTION(CrowdManager__CrowdManager_Contextstar) , AS_CALL_CDECL);
  5170. RegisterSubclass<Component, CrowdManager>(engine, "Component", "CrowdManager");
  5171. RegisterSubclass<Animatable, CrowdManager>(engine, "Animatable", "CrowdManager");
  5172. RegisterSubclass<Serializable, CrowdManager>(engine, "Serializable", "CrowdManager");
  5173. RegisterSubclass<Object, CrowdManager>(engine, "Object", "CrowdManager");
  5174. RegisterSubclass<RefCounted, CrowdManager>(engine, "RefCounted", "CrowdManager");
  5175. RegisterMembers_CrowdManager<CrowdManager>(engine, "CrowdManager");
  5176. #ifdef REGISTER_CLASS_MANUAL_PART_CrowdManager
  5177. REGISTER_CLASS_MANUAL_PART_CrowdManager();
  5178. #endif
  5179. }
  5180. // explicit NavArea::NavArea(Context* context)
  5181. static NavArea* NavArea__NavArea_Contextstar()
  5182. {
  5183. Context* context = GetScriptContext();
  5184. return new NavArea(context);
  5185. }
  5186. // class NavArea | File: ../Navigation/NavArea.h
  5187. static void Register_NavArea(asIScriptEngine* engine)
  5188. {
  5189. // explicit NavArea::NavArea(Context* context)
  5190. engine->RegisterObjectBehaviour("NavArea", asBEHAVE_FACTORY, "NavArea@+ f()", AS_FUNCTION(NavArea__NavArea_Contextstar) , AS_CALL_CDECL);
  5191. RegisterSubclass<Component, NavArea>(engine, "Component", "NavArea");
  5192. RegisterSubclass<Animatable, NavArea>(engine, "Animatable", "NavArea");
  5193. RegisterSubclass<Serializable, NavArea>(engine, "Serializable", "NavArea");
  5194. RegisterSubclass<Object, NavArea>(engine, "Object", "NavArea");
  5195. RegisterSubclass<RefCounted, NavArea>(engine, "RefCounted", "NavArea");
  5196. RegisterMembers_NavArea<NavArea>(engine, "NavArea");
  5197. #ifdef REGISTER_CLASS_MANUAL_PART_NavArea
  5198. REGISTER_CLASS_MANUAL_PART_NavArea();
  5199. #endif
  5200. }
  5201. // explicit Navigable::Navigable(Context* context)
  5202. static Navigable* Navigable__Navigable_Contextstar()
  5203. {
  5204. Context* context = GetScriptContext();
  5205. return new Navigable(context);
  5206. }
  5207. // class Navigable | File: ../Navigation/Navigable.h
  5208. static void Register_Navigable(asIScriptEngine* engine)
  5209. {
  5210. // explicit Navigable::Navigable(Context* context)
  5211. engine->RegisterObjectBehaviour("Navigable", asBEHAVE_FACTORY, "Navigable@+ f()", AS_FUNCTION(Navigable__Navigable_Contextstar) , AS_CALL_CDECL);
  5212. RegisterSubclass<Component, Navigable>(engine, "Component", "Navigable");
  5213. RegisterSubclass<Animatable, Navigable>(engine, "Animatable", "Navigable");
  5214. RegisterSubclass<Serializable, Navigable>(engine, "Serializable", "Navigable");
  5215. RegisterSubclass<Object, Navigable>(engine, "Object", "Navigable");
  5216. RegisterSubclass<RefCounted, Navigable>(engine, "RefCounted", "Navigable");
  5217. RegisterMembers_Navigable<Navigable>(engine, "Navigable");
  5218. #ifdef REGISTER_CLASS_MANUAL_PART_Navigable
  5219. REGISTER_CLASS_MANUAL_PART_Navigable();
  5220. #endif
  5221. }
  5222. // explicit NavigationMesh::NavigationMesh(Context* context)
  5223. static NavigationMesh* NavigationMesh__NavigationMesh_Contextstar()
  5224. {
  5225. Context* context = GetScriptContext();
  5226. return new NavigationMesh(context);
  5227. }
  5228. // class NavigationMesh | File: ../Navigation/NavigationMesh.h
  5229. static void Register_NavigationMesh(asIScriptEngine* engine)
  5230. {
  5231. // explicit NavigationMesh::NavigationMesh(Context* context)
  5232. engine->RegisterObjectBehaviour("NavigationMesh", asBEHAVE_FACTORY, "NavigationMesh@+ f()", AS_FUNCTION(NavigationMesh__NavigationMesh_Contextstar) , AS_CALL_CDECL);
  5233. RegisterSubclass<Component, NavigationMesh>(engine, "Component", "NavigationMesh");
  5234. RegisterSubclass<Animatable, NavigationMesh>(engine, "Animatable", "NavigationMesh");
  5235. RegisterSubclass<Serializable, NavigationMesh>(engine, "Serializable", "NavigationMesh");
  5236. RegisterSubclass<Object, NavigationMesh>(engine, "Object", "NavigationMesh");
  5237. RegisterSubclass<RefCounted, NavigationMesh>(engine, "RefCounted", "NavigationMesh");
  5238. RegisterMembers_NavigationMesh<NavigationMesh>(engine, "NavigationMesh");
  5239. #ifdef REGISTER_CLASS_MANUAL_PART_NavigationMesh
  5240. REGISTER_CLASS_MANUAL_PART_NavigationMesh();
  5241. #endif
  5242. }
  5243. // explicit Obstacle::Obstacle(Context* context)
  5244. static Obstacle* Obstacle__Obstacle_Contextstar()
  5245. {
  5246. Context* context = GetScriptContext();
  5247. return new Obstacle(context);
  5248. }
  5249. // class Obstacle | File: ../Navigation/Obstacle.h
  5250. static void Register_Obstacle(asIScriptEngine* engine)
  5251. {
  5252. // explicit Obstacle::Obstacle(Context* context)
  5253. engine->RegisterObjectBehaviour("Obstacle", asBEHAVE_FACTORY, "Obstacle@+ f()", AS_FUNCTION(Obstacle__Obstacle_Contextstar) , AS_CALL_CDECL);
  5254. RegisterSubclass<Component, Obstacle>(engine, "Component", "Obstacle");
  5255. RegisterSubclass<Animatable, Obstacle>(engine, "Animatable", "Obstacle");
  5256. RegisterSubclass<Serializable, Obstacle>(engine, "Serializable", "Obstacle");
  5257. RegisterSubclass<Object, Obstacle>(engine, "Object", "Obstacle");
  5258. RegisterSubclass<RefCounted, Obstacle>(engine, "RefCounted", "Obstacle");
  5259. RegisterMembers_Obstacle<Obstacle>(engine, "Obstacle");
  5260. #ifdef REGISTER_CLASS_MANUAL_PART_Obstacle
  5261. REGISTER_CLASS_MANUAL_PART_Obstacle();
  5262. #endif
  5263. }
  5264. // explicit OffMeshConnection::OffMeshConnection(Context* context)
  5265. static OffMeshConnection* OffMeshConnection__OffMeshConnection_Contextstar()
  5266. {
  5267. Context* context = GetScriptContext();
  5268. return new OffMeshConnection(context);
  5269. }
  5270. // class OffMeshConnection | File: ../Navigation/OffMeshConnection.h
  5271. static void Register_OffMeshConnection(asIScriptEngine* engine)
  5272. {
  5273. // explicit OffMeshConnection::OffMeshConnection(Context* context)
  5274. engine->RegisterObjectBehaviour("OffMeshConnection", asBEHAVE_FACTORY, "OffMeshConnection@+ f()", AS_FUNCTION(OffMeshConnection__OffMeshConnection_Contextstar) , AS_CALL_CDECL);
  5275. RegisterSubclass<Component, OffMeshConnection>(engine, "Component", "OffMeshConnection");
  5276. RegisterSubclass<Animatable, OffMeshConnection>(engine, "Animatable", "OffMeshConnection");
  5277. RegisterSubclass<Serializable, OffMeshConnection>(engine, "Serializable", "OffMeshConnection");
  5278. RegisterSubclass<Object, OffMeshConnection>(engine, "Object", "OffMeshConnection");
  5279. RegisterSubclass<RefCounted, OffMeshConnection>(engine, "RefCounted", "OffMeshConnection");
  5280. RegisterMembers_OffMeshConnection<OffMeshConnection>(engine, "OffMeshConnection");
  5281. #ifdef REGISTER_CLASS_MANUAL_PART_OffMeshConnection
  5282. REGISTER_CLASS_MANUAL_PART_OffMeshConnection();
  5283. #endif
  5284. }
  5285. #endif // def URHO3D_NAVIGATION
  5286. #ifdef URHO3D_NETWORK
  5287. // explicit NetworkPriority::NetworkPriority(Context* context)
  5288. static NetworkPriority* NetworkPriority__NetworkPriority_Contextstar()
  5289. {
  5290. Context* context = GetScriptContext();
  5291. return new NetworkPriority(context);
  5292. }
  5293. // class NetworkPriority | File: ../Network/NetworkPriority.h
  5294. static void Register_NetworkPriority(asIScriptEngine* engine)
  5295. {
  5296. // explicit NetworkPriority::NetworkPriority(Context* context)
  5297. engine->RegisterObjectBehaviour("NetworkPriority", asBEHAVE_FACTORY, "NetworkPriority@+ f()", AS_FUNCTION(NetworkPriority__NetworkPriority_Contextstar) , AS_CALL_CDECL);
  5298. RegisterSubclass<Component, NetworkPriority>(engine, "Component", "NetworkPriority");
  5299. RegisterSubclass<Animatable, NetworkPriority>(engine, "Animatable", "NetworkPriority");
  5300. RegisterSubclass<Serializable, NetworkPriority>(engine, "Serializable", "NetworkPriority");
  5301. RegisterSubclass<Object, NetworkPriority>(engine, "Object", "NetworkPriority");
  5302. RegisterSubclass<RefCounted, NetworkPriority>(engine, "RefCounted", "NetworkPriority");
  5303. RegisterMembers_NetworkPriority<NetworkPriority>(engine, "NetworkPriority");
  5304. #ifdef REGISTER_CLASS_MANUAL_PART_NetworkPriority
  5305. REGISTER_CLASS_MANUAL_PART_NetworkPriority();
  5306. #endif
  5307. }
  5308. #endif // def URHO3D_NETWORK
  5309. #ifdef URHO3D_PHYSICS
  5310. // explicit CollisionShape::CollisionShape(Context* context)
  5311. static CollisionShape* CollisionShape__CollisionShape_Contextstar()
  5312. {
  5313. Context* context = GetScriptContext();
  5314. return new CollisionShape(context);
  5315. }
  5316. // class CollisionShape | File: ../Physics/CollisionShape.h
  5317. static void Register_CollisionShape(asIScriptEngine* engine)
  5318. {
  5319. // explicit CollisionShape::CollisionShape(Context* context)
  5320. engine->RegisterObjectBehaviour("CollisionShape", asBEHAVE_FACTORY, "CollisionShape@+ f()", AS_FUNCTION(CollisionShape__CollisionShape_Contextstar) , AS_CALL_CDECL);
  5321. RegisterSubclass<Component, CollisionShape>(engine, "Component", "CollisionShape");
  5322. RegisterSubclass<Animatable, CollisionShape>(engine, "Animatable", "CollisionShape");
  5323. RegisterSubclass<Serializable, CollisionShape>(engine, "Serializable", "CollisionShape");
  5324. RegisterSubclass<Object, CollisionShape>(engine, "Object", "CollisionShape");
  5325. RegisterSubclass<RefCounted, CollisionShape>(engine, "RefCounted", "CollisionShape");
  5326. RegisterMembers_CollisionShape<CollisionShape>(engine, "CollisionShape");
  5327. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionShape
  5328. REGISTER_CLASS_MANUAL_PART_CollisionShape();
  5329. #endif
  5330. }
  5331. // explicit Constraint::Constraint(Context* context)
  5332. static Constraint* Constraint__Constraint_Contextstar()
  5333. {
  5334. Context* context = GetScriptContext();
  5335. return new Constraint(context);
  5336. }
  5337. // class Constraint | File: ../Physics/Constraint.h
  5338. static void Register_Constraint(asIScriptEngine* engine)
  5339. {
  5340. // explicit Constraint::Constraint(Context* context)
  5341. engine->RegisterObjectBehaviour("Constraint", asBEHAVE_FACTORY, "Constraint@+ f()", AS_FUNCTION(Constraint__Constraint_Contextstar) , AS_CALL_CDECL);
  5342. RegisterSubclass<Component, Constraint>(engine, "Component", "Constraint");
  5343. RegisterSubclass<Animatable, Constraint>(engine, "Animatable", "Constraint");
  5344. RegisterSubclass<Serializable, Constraint>(engine, "Serializable", "Constraint");
  5345. RegisterSubclass<Object, Constraint>(engine, "Object", "Constraint");
  5346. RegisterSubclass<RefCounted, Constraint>(engine, "RefCounted", "Constraint");
  5347. RegisterMembers_Constraint<Constraint>(engine, "Constraint");
  5348. #ifdef REGISTER_CLASS_MANUAL_PART_Constraint
  5349. REGISTER_CLASS_MANUAL_PART_Constraint();
  5350. #endif
  5351. }
  5352. // explicit PhysicsWorld::PhysicsWorld(Context* context)
  5353. static PhysicsWorld* PhysicsWorld__PhysicsWorld_Contextstar()
  5354. {
  5355. Context* context = GetScriptContext();
  5356. return new PhysicsWorld(context);
  5357. }
  5358. // class PhysicsWorld | File: ../Physics/PhysicsWorld.h
  5359. static void Register_PhysicsWorld(asIScriptEngine* engine)
  5360. {
  5361. // explicit PhysicsWorld::PhysicsWorld(Context* context)
  5362. engine->RegisterObjectBehaviour("PhysicsWorld", asBEHAVE_FACTORY, "PhysicsWorld@+ f()", AS_FUNCTION(PhysicsWorld__PhysicsWorld_Contextstar) , AS_CALL_CDECL);
  5363. RegisterSubclass<Component, PhysicsWorld>(engine, "Component", "PhysicsWorld");
  5364. RegisterSubclass<Animatable, PhysicsWorld>(engine, "Animatable", "PhysicsWorld");
  5365. RegisterSubclass<Serializable, PhysicsWorld>(engine, "Serializable", "PhysicsWorld");
  5366. RegisterSubclass<Object, PhysicsWorld>(engine, "Object", "PhysicsWorld");
  5367. RegisterSubclass<RefCounted, PhysicsWorld>(engine, "RefCounted", "PhysicsWorld");
  5368. RegisterMembers_PhysicsWorld<PhysicsWorld>(engine, "PhysicsWorld");
  5369. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsWorld
  5370. REGISTER_CLASS_MANUAL_PART_PhysicsWorld();
  5371. #endif
  5372. }
  5373. // explicit RigidBody::RigidBody(Context* context)
  5374. static RigidBody* RigidBody__RigidBody_Contextstar()
  5375. {
  5376. Context* context = GetScriptContext();
  5377. return new RigidBody(context);
  5378. }
  5379. // class RigidBody | File: ../Physics/RigidBody.h
  5380. static void Register_RigidBody(asIScriptEngine* engine)
  5381. {
  5382. // explicit RigidBody::RigidBody(Context* context)
  5383. engine->RegisterObjectBehaviour("RigidBody", asBEHAVE_FACTORY, "RigidBody@+ f()", AS_FUNCTION(RigidBody__RigidBody_Contextstar) , AS_CALL_CDECL);
  5384. RegisterSubclass<Component, RigidBody>(engine, "Component", "RigidBody");
  5385. RegisterSubclass<Animatable, RigidBody>(engine, "Animatable", "RigidBody");
  5386. RegisterSubclass<Serializable, RigidBody>(engine, "Serializable", "RigidBody");
  5387. RegisterSubclass<Object, RigidBody>(engine, "Object", "RigidBody");
  5388. RegisterSubclass<RefCounted, RigidBody>(engine, "RefCounted", "RigidBody");
  5389. RegisterMembers_RigidBody<RigidBody>(engine, "RigidBody");
  5390. #ifdef REGISTER_CLASS_MANUAL_PART_RigidBody
  5391. REGISTER_CLASS_MANUAL_PART_RigidBody();
  5392. #endif
  5393. }
  5394. #endif // def URHO3D_PHYSICS
  5395. #ifdef URHO3D_PHYSICS2D
  5396. // class CollisionShape2D | File: ../Physics2D/CollisionShape2D.h
  5397. static void Register_CollisionShape2D(asIScriptEngine* engine)
  5398. {
  5399. RegisterSubclass<Component, CollisionShape2D>(engine, "Component", "CollisionShape2D");
  5400. RegisterSubclass<Animatable, CollisionShape2D>(engine, "Animatable", "CollisionShape2D");
  5401. RegisterSubclass<Serializable, CollisionShape2D>(engine, "Serializable", "CollisionShape2D");
  5402. RegisterSubclass<Object, CollisionShape2D>(engine, "Object", "CollisionShape2D");
  5403. RegisterSubclass<RefCounted, CollisionShape2D>(engine, "RefCounted", "CollisionShape2D");
  5404. RegisterMembers_CollisionShape2D<CollisionShape2D>(engine, "CollisionShape2D");
  5405. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionShape2D
  5406. REGISTER_CLASS_MANUAL_PART_CollisionShape2D();
  5407. #endif
  5408. }
  5409. // explicit Constraint2D::Constraint2D(Context* context)
  5410. static Constraint2D* Constraint2D__Constraint2D_Contextstar()
  5411. {
  5412. Context* context = GetScriptContext();
  5413. return new Constraint2D(context);
  5414. }
  5415. // class Constraint2D | File: ../Physics2D/Constraint2D.h
  5416. static void Register_Constraint2D(asIScriptEngine* engine)
  5417. {
  5418. // explicit Constraint2D::Constraint2D(Context* context)
  5419. engine->RegisterObjectBehaviour("Constraint2D", asBEHAVE_FACTORY, "Constraint2D@+ f()", AS_FUNCTION(Constraint2D__Constraint2D_Contextstar) , AS_CALL_CDECL);
  5420. RegisterSubclass<Component, Constraint2D>(engine, "Component", "Constraint2D");
  5421. RegisterSubclass<Animatable, Constraint2D>(engine, "Animatable", "Constraint2D");
  5422. RegisterSubclass<Serializable, Constraint2D>(engine, "Serializable", "Constraint2D");
  5423. RegisterSubclass<Object, Constraint2D>(engine, "Object", "Constraint2D");
  5424. RegisterSubclass<RefCounted, Constraint2D>(engine, "RefCounted", "Constraint2D");
  5425. RegisterMembers_Constraint2D<Constraint2D>(engine, "Constraint2D");
  5426. #ifdef REGISTER_CLASS_MANUAL_PART_Constraint2D
  5427. REGISTER_CLASS_MANUAL_PART_Constraint2D();
  5428. #endif
  5429. }
  5430. // explicit PhysicsWorld2D::PhysicsWorld2D(Context* context)
  5431. static PhysicsWorld2D* PhysicsWorld2D__PhysicsWorld2D_Contextstar()
  5432. {
  5433. Context* context = GetScriptContext();
  5434. return new PhysicsWorld2D(context);
  5435. }
  5436. // class PhysicsWorld2D | File: ../Physics2D/PhysicsWorld2D.h
  5437. static void Register_PhysicsWorld2D(asIScriptEngine* engine)
  5438. {
  5439. // explicit PhysicsWorld2D::PhysicsWorld2D(Context* context)
  5440. engine->RegisterObjectBehaviour("PhysicsWorld2D", asBEHAVE_FACTORY, "PhysicsWorld2D@+ f()", AS_FUNCTION(PhysicsWorld2D__PhysicsWorld2D_Contextstar) , AS_CALL_CDECL);
  5441. RegisterSubclass<Component, PhysicsWorld2D>(engine, "Component", "PhysicsWorld2D");
  5442. RegisterSubclass<Animatable, PhysicsWorld2D>(engine, "Animatable", "PhysicsWorld2D");
  5443. RegisterSubclass<Serializable, PhysicsWorld2D>(engine, "Serializable", "PhysicsWorld2D");
  5444. RegisterSubclass<Object, PhysicsWorld2D>(engine, "Object", "PhysicsWorld2D");
  5445. RegisterSubclass<RefCounted, PhysicsWorld2D>(engine, "RefCounted", "PhysicsWorld2D");
  5446. RegisterMembers_PhysicsWorld2D<PhysicsWorld2D>(engine, "PhysicsWorld2D");
  5447. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsWorld2D
  5448. REGISTER_CLASS_MANUAL_PART_PhysicsWorld2D();
  5449. #endif
  5450. }
  5451. // explicit RigidBody2D::RigidBody2D(Context* context)
  5452. static RigidBody2D* RigidBody2D__RigidBody2D_Contextstar()
  5453. {
  5454. Context* context = GetScriptContext();
  5455. return new RigidBody2D(context);
  5456. }
  5457. // class RigidBody2D | File: ../Physics2D/RigidBody2D.h
  5458. static void Register_RigidBody2D(asIScriptEngine* engine)
  5459. {
  5460. // explicit RigidBody2D::RigidBody2D(Context* context)
  5461. engine->RegisterObjectBehaviour("RigidBody2D", asBEHAVE_FACTORY, "RigidBody2D@+ f()", AS_FUNCTION(RigidBody2D__RigidBody2D_Contextstar) , AS_CALL_CDECL);
  5462. RegisterSubclass<Component, RigidBody2D>(engine, "Component", "RigidBody2D");
  5463. RegisterSubclass<Animatable, RigidBody2D>(engine, "Animatable", "RigidBody2D");
  5464. RegisterSubclass<Serializable, RigidBody2D>(engine, "Serializable", "RigidBody2D");
  5465. RegisterSubclass<Object, RigidBody2D>(engine, "Object", "RigidBody2D");
  5466. RegisterSubclass<RefCounted, RigidBody2D>(engine, "RefCounted", "RigidBody2D");
  5467. RegisterMembers_RigidBody2D<RigidBody2D>(engine, "RigidBody2D");
  5468. #ifdef REGISTER_CLASS_MANUAL_PART_RigidBody2D
  5469. REGISTER_CLASS_MANUAL_PART_RigidBody2D();
  5470. #endif
  5471. }
  5472. #endif // def URHO3D_PHYSICS2D
  5473. #ifdef URHO3D_URHO2D
  5474. // explicit TileMap2D::TileMap2D(Context* context)
  5475. static TileMap2D* TileMap2D__TileMap2D_Contextstar()
  5476. {
  5477. Context* context = GetScriptContext();
  5478. return new TileMap2D(context);
  5479. }
  5480. // class TileMap2D | File: ../Urho2D/TileMap2D.h
  5481. static void Register_TileMap2D(asIScriptEngine* engine)
  5482. {
  5483. // explicit TileMap2D::TileMap2D(Context* context)
  5484. engine->RegisterObjectBehaviour("TileMap2D", asBEHAVE_FACTORY, "TileMap2D@+ f()", AS_FUNCTION(TileMap2D__TileMap2D_Contextstar) , AS_CALL_CDECL);
  5485. RegisterSubclass<Component, TileMap2D>(engine, "Component", "TileMap2D");
  5486. RegisterSubclass<Animatable, TileMap2D>(engine, "Animatable", "TileMap2D");
  5487. RegisterSubclass<Serializable, TileMap2D>(engine, "Serializable", "TileMap2D");
  5488. RegisterSubclass<Object, TileMap2D>(engine, "Object", "TileMap2D");
  5489. RegisterSubclass<RefCounted, TileMap2D>(engine, "RefCounted", "TileMap2D");
  5490. RegisterMembers_TileMap2D<TileMap2D>(engine, "TileMap2D");
  5491. #ifdef REGISTER_CLASS_MANUAL_PART_TileMap2D
  5492. REGISTER_CLASS_MANUAL_PART_TileMap2D();
  5493. #endif
  5494. }
  5495. // explicit TileMapLayer2D::TileMapLayer2D(Context* context)
  5496. static TileMapLayer2D* TileMapLayer2D__TileMapLayer2D_Contextstar()
  5497. {
  5498. Context* context = GetScriptContext();
  5499. return new TileMapLayer2D(context);
  5500. }
  5501. // class TileMapLayer2D | File: ../Urho2D/TileMapLayer2D.h
  5502. static void Register_TileMapLayer2D(asIScriptEngine* engine)
  5503. {
  5504. // explicit TileMapLayer2D::TileMapLayer2D(Context* context)
  5505. engine->RegisterObjectBehaviour("TileMapLayer2D", asBEHAVE_FACTORY, "TileMapLayer2D@+ f()", AS_FUNCTION(TileMapLayer2D__TileMapLayer2D_Contextstar) , AS_CALL_CDECL);
  5506. RegisterSubclass<Component, TileMapLayer2D>(engine, "Component", "TileMapLayer2D");
  5507. RegisterSubclass<Animatable, TileMapLayer2D>(engine, "Animatable", "TileMapLayer2D");
  5508. RegisterSubclass<Serializable, TileMapLayer2D>(engine, "Serializable", "TileMapLayer2D");
  5509. RegisterSubclass<Object, TileMapLayer2D>(engine, "Object", "TileMapLayer2D");
  5510. RegisterSubclass<RefCounted, TileMapLayer2D>(engine, "RefCounted", "TileMapLayer2D");
  5511. RegisterMembers_TileMapLayer2D<TileMapLayer2D>(engine, "TileMapLayer2D");
  5512. #ifdef REGISTER_CLASS_MANUAL_PART_TileMapLayer2D
  5513. REGISTER_CLASS_MANUAL_PART_TileMapLayer2D();
  5514. #endif
  5515. }
  5516. #endif // def URHO3D_URHO2D
  5517. // explicit BillboardSet::BillboardSet(Context* context)
  5518. static BillboardSet* BillboardSet__BillboardSet_Contextstar()
  5519. {
  5520. Context* context = GetScriptContext();
  5521. return new BillboardSet(context);
  5522. }
  5523. // class BillboardSet | File: ../Graphics/BillboardSet.h
  5524. static void Register_BillboardSet(asIScriptEngine* engine)
  5525. {
  5526. // explicit BillboardSet::BillboardSet(Context* context)
  5527. engine->RegisterObjectBehaviour("BillboardSet", asBEHAVE_FACTORY, "BillboardSet@+ f()", AS_FUNCTION(BillboardSet__BillboardSet_Contextstar) , AS_CALL_CDECL);
  5528. RegisterSubclass<Drawable, BillboardSet>(engine, "Drawable", "BillboardSet");
  5529. RegisterSubclass<Component, BillboardSet>(engine, "Component", "BillboardSet");
  5530. RegisterSubclass<Animatable, BillboardSet>(engine, "Animatable", "BillboardSet");
  5531. RegisterSubclass<Serializable, BillboardSet>(engine, "Serializable", "BillboardSet");
  5532. RegisterSubclass<Object, BillboardSet>(engine, "Object", "BillboardSet");
  5533. RegisterSubclass<RefCounted, BillboardSet>(engine, "RefCounted", "BillboardSet");
  5534. RegisterMembers_BillboardSet<BillboardSet>(engine, "BillboardSet");
  5535. #ifdef REGISTER_CLASS_MANUAL_PART_BillboardSet
  5536. REGISTER_CLASS_MANUAL_PART_BillboardSet();
  5537. #endif
  5538. }
  5539. // explicit Button::Button(Context* context)
  5540. static Button* Button__Button_Contextstar()
  5541. {
  5542. Context* context = GetScriptContext();
  5543. return new Button(context);
  5544. }
  5545. // class Button | File: ../UI/Button.h
  5546. static void Register_Button(asIScriptEngine* engine)
  5547. {
  5548. // explicit Button::Button(Context* context)
  5549. engine->RegisterObjectBehaviour("Button", asBEHAVE_FACTORY, "Button@+ f()", AS_FUNCTION(Button__Button_Contextstar) , AS_CALL_CDECL);
  5550. RegisterSubclass<BorderImage, Button>(engine, "BorderImage", "Button");
  5551. RegisterSubclass<UIElement, Button>(engine, "UIElement", "Button");
  5552. RegisterSubclass<Animatable, Button>(engine, "Animatable", "Button");
  5553. RegisterSubclass<Serializable, Button>(engine, "Serializable", "Button");
  5554. RegisterSubclass<Object, Button>(engine, "Object", "Button");
  5555. RegisterSubclass<RefCounted, Button>(engine, "RefCounted", "Button");
  5556. RegisterMembers_Button<Button>(engine, "Button");
  5557. #ifdef REGISTER_CLASS_MANUAL_PART_Button
  5558. REGISTER_CLASS_MANUAL_PART_Button();
  5559. #endif
  5560. }
  5561. // explicit CheckBox::CheckBox(Context* context)
  5562. static CheckBox* CheckBox__CheckBox_Contextstar()
  5563. {
  5564. Context* context = GetScriptContext();
  5565. return new CheckBox(context);
  5566. }
  5567. // class CheckBox | File: ../UI/CheckBox.h
  5568. static void Register_CheckBox(asIScriptEngine* engine)
  5569. {
  5570. // explicit CheckBox::CheckBox(Context* context)
  5571. engine->RegisterObjectBehaviour("CheckBox", asBEHAVE_FACTORY, "CheckBox@+ f()", AS_FUNCTION(CheckBox__CheckBox_Contextstar) , AS_CALL_CDECL);
  5572. RegisterSubclass<BorderImage, CheckBox>(engine, "BorderImage", "CheckBox");
  5573. RegisterSubclass<UIElement, CheckBox>(engine, "UIElement", "CheckBox");
  5574. RegisterSubclass<Animatable, CheckBox>(engine, "Animatable", "CheckBox");
  5575. RegisterSubclass<Serializable, CheckBox>(engine, "Serializable", "CheckBox");
  5576. RegisterSubclass<Object, CheckBox>(engine, "Object", "CheckBox");
  5577. RegisterSubclass<RefCounted, CheckBox>(engine, "RefCounted", "CheckBox");
  5578. RegisterMembers_CheckBox<CheckBox>(engine, "CheckBox");
  5579. #ifdef REGISTER_CLASS_MANUAL_PART_CheckBox
  5580. REGISTER_CLASS_MANUAL_PART_CheckBox();
  5581. #endif
  5582. }
  5583. // explicit Cursor::Cursor(Context* context)
  5584. static Cursor* Cursor__Cursor_Contextstar()
  5585. {
  5586. Context* context = GetScriptContext();
  5587. return new Cursor(context);
  5588. }
  5589. // class Cursor | File: ../UI/Cursor.h
  5590. static void Register_Cursor(asIScriptEngine* engine)
  5591. {
  5592. // explicit Cursor::Cursor(Context* context)
  5593. engine->RegisterObjectBehaviour("Cursor", asBEHAVE_FACTORY, "Cursor@+ f()", AS_FUNCTION(Cursor__Cursor_Contextstar) , AS_CALL_CDECL);
  5594. RegisterSubclass<BorderImage, Cursor>(engine, "BorderImage", "Cursor");
  5595. RegisterSubclass<UIElement, Cursor>(engine, "UIElement", "Cursor");
  5596. RegisterSubclass<Animatable, Cursor>(engine, "Animatable", "Cursor");
  5597. RegisterSubclass<Serializable, Cursor>(engine, "Serializable", "Cursor");
  5598. RegisterSubclass<Object, Cursor>(engine, "Object", "Cursor");
  5599. RegisterSubclass<RefCounted, Cursor>(engine, "RefCounted", "Cursor");
  5600. RegisterMembers_Cursor<Cursor>(engine, "Cursor");
  5601. #ifdef REGISTER_CLASS_MANUAL_PART_Cursor
  5602. REGISTER_CLASS_MANUAL_PART_Cursor();
  5603. #endif
  5604. }
  5605. // explicit CustomGeometry::CustomGeometry(Context* context)
  5606. static CustomGeometry* CustomGeometry__CustomGeometry_Contextstar()
  5607. {
  5608. Context* context = GetScriptContext();
  5609. return new CustomGeometry(context);
  5610. }
  5611. // class CustomGeometry | File: ../Graphics/CustomGeometry.h
  5612. static void Register_CustomGeometry(asIScriptEngine* engine)
  5613. {
  5614. // explicit CustomGeometry::CustomGeometry(Context* context)
  5615. engine->RegisterObjectBehaviour("CustomGeometry", asBEHAVE_FACTORY, "CustomGeometry@+ f()", AS_FUNCTION(CustomGeometry__CustomGeometry_Contextstar) , AS_CALL_CDECL);
  5616. RegisterSubclass<Drawable, CustomGeometry>(engine, "Drawable", "CustomGeometry");
  5617. RegisterSubclass<Component, CustomGeometry>(engine, "Component", "CustomGeometry");
  5618. RegisterSubclass<Animatable, CustomGeometry>(engine, "Animatable", "CustomGeometry");
  5619. RegisterSubclass<Serializable, CustomGeometry>(engine, "Serializable", "CustomGeometry");
  5620. RegisterSubclass<Object, CustomGeometry>(engine, "Object", "CustomGeometry");
  5621. RegisterSubclass<RefCounted, CustomGeometry>(engine, "RefCounted", "CustomGeometry");
  5622. RegisterMembers_CustomGeometry<CustomGeometry>(engine, "CustomGeometry");
  5623. #ifdef REGISTER_CLASS_MANUAL_PART_CustomGeometry
  5624. REGISTER_CLASS_MANUAL_PART_CustomGeometry();
  5625. #endif
  5626. }
  5627. // explicit DecalSet::DecalSet(Context* context)
  5628. static DecalSet* DecalSet__DecalSet_Contextstar()
  5629. {
  5630. Context* context = GetScriptContext();
  5631. return new DecalSet(context);
  5632. }
  5633. // class DecalSet | File: ../Graphics/DecalSet.h
  5634. static void Register_DecalSet(asIScriptEngine* engine)
  5635. {
  5636. // explicit DecalSet::DecalSet(Context* context)
  5637. engine->RegisterObjectBehaviour("DecalSet", asBEHAVE_FACTORY, "DecalSet@+ f()", AS_FUNCTION(DecalSet__DecalSet_Contextstar) , AS_CALL_CDECL);
  5638. RegisterSubclass<Drawable, DecalSet>(engine, "Drawable", "DecalSet");
  5639. RegisterSubclass<Component, DecalSet>(engine, "Component", "DecalSet");
  5640. RegisterSubclass<Animatable, DecalSet>(engine, "Animatable", "DecalSet");
  5641. RegisterSubclass<Serializable, DecalSet>(engine, "Serializable", "DecalSet");
  5642. RegisterSubclass<Object, DecalSet>(engine, "Object", "DecalSet");
  5643. RegisterSubclass<RefCounted, DecalSet>(engine, "RefCounted", "DecalSet");
  5644. RegisterMembers_DecalSet<DecalSet>(engine, "DecalSet");
  5645. #ifdef REGISTER_CLASS_MANUAL_PART_DecalSet
  5646. REGISTER_CLASS_MANUAL_PART_DecalSet();
  5647. #endif
  5648. }
  5649. // explicit Light::Light(Context* context)
  5650. static Light* Light__Light_Contextstar()
  5651. {
  5652. Context* context = GetScriptContext();
  5653. return new Light(context);
  5654. }
  5655. // class Light | File: ../Graphics/Light.h
  5656. static void Register_Light(asIScriptEngine* engine)
  5657. {
  5658. // explicit Light::Light(Context* context)
  5659. engine->RegisterObjectBehaviour("Light", asBEHAVE_FACTORY, "Light@+ f()", AS_FUNCTION(Light__Light_Contextstar) , AS_CALL_CDECL);
  5660. RegisterSubclass<Drawable, Light>(engine, "Drawable", "Light");
  5661. RegisterSubclass<Component, Light>(engine, "Component", "Light");
  5662. RegisterSubclass<Animatable, Light>(engine, "Animatable", "Light");
  5663. RegisterSubclass<Serializable, Light>(engine, "Serializable", "Light");
  5664. RegisterSubclass<Object, Light>(engine, "Object", "Light");
  5665. RegisterSubclass<RefCounted, Light>(engine, "RefCounted", "Light");
  5666. RegisterMembers_Light<Light>(engine, "Light");
  5667. #ifdef REGISTER_CLASS_MANUAL_PART_Light
  5668. REGISTER_CLASS_MANUAL_PART_Light();
  5669. #endif
  5670. }
  5671. // explicit LineEdit::LineEdit(Context* context)
  5672. static LineEdit* LineEdit__LineEdit_Contextstar()
  5673. {
  5674. Context* context = GetScriptContext();
  5675. return new LineEdit(context);
  5676. }
  5677. // class LineEdit | File: ../UI/LineEdit.h
  5678. static void Register_LineEdit(asIScriptEngine* engine)
  5679. {
  5680. // explicit LineEdit::LineEdit(Context* context)
  5681. engine->RegisterObjectBehaviour("LineEdit", asBEHAVE_FACTORY, "LineEdit@+ f()", AS_FUNCTION(LineEdit__LineEdit_Contextstar) , AS_CALL_CDECL);
  5682. RegisterSubclass<BorderImage, LineEdit>(engine, "BorderImage", "LineEdit");
  5683. RegisterSubclass<UIElement, LineEdit>(engine, "UIElement", "LineEdit");
  5684. RegisterSubclass<Animatable, LineEdit>(engine, "Animatable", "LineEdit");
  5685. RegisterSubclass<Serializable, LineEdit>(engine, "Serializable", "LineEdit");
  5686. RegisterSubclass<Object, LineEdit>(engine, "Object", "LineEdit");
  5687. RegisterSubclass<RefCounted, LineEdit>(engine, "RefCounted", "LineEdit");
  5688. RegisterMembers_LineEdit<LineEdit>(engine, "LineEdit");
  5689. #ifdef REGISTER_CLASS_MANUAL_PART_LineEdit
  5690. REGISTER_CLASS_MANUAL_PART_LineEdit();
  5691. #endif
  5692. }
  5693. // explicit ListView::ListView(Context* context)
  5694. static ListView* ListView__ListView_Contextstar()
  5695. {
  5696. Context* context = GetScriptContext();
  5697. return new ListView(context);
  5698. }
  5699. // class ListView | File: ../UI/ListView.h
  5700. static void Register_ListView(asIScriptEngine* engine)
  5701. {
  5702. // explicit ListView::ListView(Context* context)
  5703. engine->RegisterObjectBehaviour("ListView", asBEHAVE_FACTORY, "ListView@+ f()", AS_FUNCTION(ListView__ListView_Contextstar) , AS_CALL_CDECL);
  5704. RegisterSubclass<ScrollView, ListView>(engine, "ScrollView", "ListView");
  5705. RegisterSubclass<UIElement, ListView>(engine, "UIElement", "ListView");
  5706. RegisterSubclass<Animatable, ListView>(engine, "Animatable", "ListView");
  5707. RegisterSubclass<Serializable, ListView>(engine, "Serializable", "ListView");
  5708. RegisterSubclass<Object, ListView>(engine, "Object", "ListView");
  5709. RegisterSubclass<RefCounted, ListView>(engine, "RefCounted", "ListView");
  5710. RegisterMembers_ListView<ListView>(engine, "ListView");
  5711. #ifdef REGISTER_CLASS_MANUAL_PART_ListView
  5712. REGISTER_CLASS_MANUAL_PART_ListView();
  5713. #endif
  5714. }
  5715. // explicit ProgressBar::ProgressBar(Context* context)
  5716. static ProgressBar* ProgressBar__ProgressBar_Contextstar()
  5717. {
  5718. Context* context = GetScriptContext();
  5719. return new ProgressBar(context);
  5720. }
  5721. // class ProgressBar | File: ../UI/ProgressBar.h
  5722. static void Register_ProgressBar(asIScriptEngine* engine)
  5723. {
  5724. // explicit ProgressBar::ProgressBar(Context* context)
  5725. engine->RegisterObjectBehaviour("ProgressBar", asBEHAVE_FACTORY, "ProgressBar@+ f()", AS_FUNCTION(ProgressBar__ProgressBar_Contextstar) , AS_CALL_CDECL);
  5726. RegisterSubclass<BorderImage, ProgressBar>(engine, "BorderImage", "ProgressBar");
  5727. RegisterSubclass<UIElement, ProgressBar>(engine, "UIElement", "ProgressBar");
  5728. RegisterSubclass<Animatable, ProgressBar>(engine, "Animatable", "ProgressBar");
  5729. RegisterSubclass<Serializable, ProgressBar>(engine, "Serializable", "ProgressBar");
  5730. RegisterSubclass<Object, ProgressBar>(engine, "Object", "ProgressBar");
  5731. RegisterSubclass<RefCounted, ProgressBar>(engine, "RefCounted", "ProgressBar");
  5732. RegisterMembers_ProgressBar<ProgressBar>(engine, "ProgressBar");
  5733. #ifdef REGISTER_CLASS_MANUAL_PART_ProgressBar
  5734. REGISTER_CLASS_MANUAL_PART_ProgressBar();
  5735. #endif
  5736. }
  5737. // explicit RibbonTrail::RibbonTrail(Context* context)
  5738. static RibbonTrail* RibbonTrail__RibbonTrail_Contextstar()
  5739. {
  5740. Context* context = GetScriptContext();
  5741. return new RibbonTrail(context);
  5742. }
  5743. // class RibbonTrail | File: ../Graphics/RibbonTrail.h
  5744. static void Register_RibbonTrail(asIScriptEngine* engine)
  5745. {
  5746. // explicit RibbonTrail::RibbonTrail(Context* context)
  5747. engine->RegisterObjectBehaviour("RibbonTrail", asBEHAVE_FACTORY, "RibbonTrail@+ f()", AS_FUNCTION(RibbonTrail__RibbonTrail_Contextstar) , AS_CALL_CDECL);
  5748. RegisterSubclass<Drawable, RibbonTrail>(engine, "Drawable", "RibbonTrail");
  5749. RegisterSubclass<Component, RibbonTrail>(engine, "Component", "RibbonTrail");
  5750. RegisterSubclass<Animatable, RibbonTrail>(engine, "Animatable", "RibbonTrail");
  5751. RegisterSubclass<Serializable, RibbonTrail>(engine, "Serializable", "RibbonTrail");
  5752. RegisterSubclass<Object, RibbonTrail>(engine, "Object", "RibbonTrail");
  5753. RegisterSubclass<RefCounted, RibbonTrail>(engine, "RefCounted", "RibbonTrail");
  5754. RegisterMembers_RibbonTrail<RibbonTrail>(engine, "RibbonTrail");
  5755. #ifdef REGISTER_CLASS_MANUAL_PART_RibbonTrail
  5756. REGISTER_CLASS_MANUAL_PART_RibbonTrail();
  5757. #endif
  5758. }
  5759. // explicit ScrollBar::ScrollBar(Context* context)
  5760. static ScrollBar* ScrollBar__ScrollBar_Contextstar()
  5761. {
  5762. Context* context = GetScriptContext();
  5763. return new ScrollBar(context);
  5764. }
  5765. // class ScrollBar | File: ../UI/ScrollBar.h
  5766. static void Register_ScrollBar(asIScriptEngine* engine)
  5767. {
  5768. // explicit ScrollBar::ScrollBar(Context* context)
  5769. engine->RegisterObjectBehaviour("ScrollBar", asBEHAVE_FACTORY, "ScrollBar@+ f()", AS_FUNCTION(ScrollBar__ScrollBar_Contextstar) , AS_CALL_CDECL);
  5770. RegisterSubclass<BorderImage, ScrollBar>(engine, "BorderImage", "ScrollBar");
  5771. RegisterSubclass<UIElement, ScrollBar>(engine, "UIElement", "ScrollBar");
  5772. RegisterSubclass<Animatable, ScrollBar>(engine, "Animatable", "ScrollBar");
  5773. RegisterSubclass<Serializable, ScrollBar>(engine, "Serializable", "ScrollBar");
  5774. RegisterSubclass<Object, ScrollBar>(engine, "Object", "ScrollBar");
  5775. RegisterSubclass<RefCounted, ScrollBar>(engine, "RefCounted", "ScrollBar");
  5776. RegisterMembers_ScrollBar<ScrollBar>(engine, "ScrollBar");
  5777. #ifdef REGISTER_CLASS_MANUAL_PART_ScrollBar
  5778. REGISTER_CLASS_MANUAL_PART_ScrollBar();
  5779. #endif
  5780. }
  5781. // explicit Slider::Slider(Context* context)
  5782. static Slider* Slider__Slider_Contextstar()
  5783. {
  5784. Context* context = GetScriptContext();
  5785. return new Slider(context);
  5786. }
  5787. // class Slider | File: ../UI/Slider.h
  5788. static void Register_Slider(asIScriptEngine* engine)
  5789. {
  5790. // explicit Slider::Slider(Context* context)
  5791. engine->RegisterObjectBehaviour("Slider", asBEHAVE_FACTORY, "Slider@+ f()", AS_FUNCTION(Slider__Slider_Contextstar) , AS_CALL_CDECL);
  5792. RegisterSubclass<BorderImage, Slider>(engine, "BorderImage", "Slider");
  5793. RegisterSubclass<UIElement, Slider>(engine, "UIElement", "Slider");
  5794. RegisterSubclass<Animatable, Slider>(engine, "Animatable", "Slider");
  5795. RegisterSubclass<Serializable, Slider>(engine, "Serializable", "Slider");
  5796. RegisterSubclass<Object, Slider>(engine, "Object", "Slider");
  5797. RegisterSubclass<RefCounted, Slider>(engine, "RefCounted", "Slider");
  5798. RegisterMembers_Slider<Slider>(engine, "Slider");
  5799. #ifdef REGISTER_CLASS_MANUAL_PART_Slider
  5800. REGISTER_CLASS_MANUAL_PART_Slider();
  5801. #endif
  5802. }
  5803. // explicit SoundSource3D::SoundSource3D(Context* context)
  5804. static SoundSource3D* SoundSource3D__SoundSource3D_Contextstar()
  5805. {
  5806. Context* context = GetScriptContext();
  5807. return new SoundSource3D(context);
  5808. }
  5809. // class SoundSource3D | File: ../Audio/SoundSource3D.h
  5810. static void Register_SoundSource3D(asIScriptEngine* engine)
  5811. {
  5812. // explicit SoundSource3D::SoundSource3D(Context* context)
  5813. engine->RegisterObjectBehaviour("SoundSource3D", asBEHAVE_FACTORY, "SoundSource3D@+ f()", AS_FUNCTION(SoundSource3D__SoundSource3D_Contextstar) , AS_CALL_CDECL);
  5814. RegisterSubclass<SoundSource, SoundSource3D>(engine, "SoundSource", "SoundSource3D");
  5815. RegisterSubclass<Component, SoundSource3D>(engine, "Component", "SoundSource3D");
  5816. RegisterSubclass<Animatable, SoundSource3D>(engine, "Animatable", "SoundSource3D");
  5817. RegisterSubclass<Serializable, SoundSource3D>(engine, "Serializable", "SoundSource3D");
  5818. RegisterSubclass<Object, SoundSource3D>(engine, "Object", "SoundSource3D");
  5819. RegisterSubclass<RefCounted, SoundSource3D>(engine, "RefCounted", "SoundSource3D");
  5820. RegisterMembers_SoundSource3D<SoundSource3D>(engine, "SoundSource3D");
  5821. #ifdef REGISTER_CLASS_MANUAL_PART_SoundSource3D
  5822. REGISTER_CLASS_MANUAL_PART_SoundSource3D();
  5823. #endif
  5824. }
  5825. // explicit StaticModel::StaticModel(Context* context)
  5826. static StaticModel* StaticModel__StaticModel_Contextstar()
  5827. {
  5828. Context* context = GetScriptContext();
  5829. return new StaticModel(context);
  5830. }
  5831. // class StaticModel | File: ../Graphics/StaticModel.h
  5832. static void Register_StaticModel(asIScriptEngine* engine)
  5833. {
  5834. // explicit StaticModel::StaticModel(Context* context)
  5835. engine->RegisterObjectBehaviour("StaticModel", asBEHAVE_FACTORY, "StaticModel@+ f()", AS_FUNCTION(StaticModel__StaticModel_Contextstar) , AS_CALL_CDECL);
  5836. RegisterSubclass<Drawable, StaticModel>(engine, "Drawable", "StaticModel");
  5837. RegisterSubclass<Component, StaticModel>(engine, "Component", "StaticModel");
  5838. RegisterSubclass<Animatable, StaticModel>(engine, "Animatable", "StaticModel");
  5839. RegisterSubclass<Serializable, StaticModel>(engine, "Serializable", "StaticModel");
  5840. RegisterSubclass<Object, StaticModel>(engine, "Object", "StaticModel");
  5841. RegisterSubclass<RefCounted, StaticModel>(engine, "RefCounted", "StaticModel");
  5842. RegisterMembers_StaticModel<StaticModel>(engine, "StaticModel");
  5843. #ifdef REGISTER_CLASS_MANUAL_PART_StaticModel
  5844. REGISTER_CLASS_MANUAL_PART_StaticModel();
  5845. #endif
  5846. // virtual void StaticModel::SetModel(Model* model)
  5847. // Not registered because have @manualbind mark
  5848. }
  5849. // explicit TerrainPatch::TerrainPatch(Context* context)
  5850. static TerrainPatch* TerrainPatch__TerrainPatch_Contextstar()
  5851. {
  5852. Context* context = GetScriptContext();
  5853. return new TerrainPatch(context);
  5854. }
  5855. // class TerrainPatch | File: ../Graphics/TerrainPatch.h
  5856. static void Register_TerrainPatch(asIScriptEngine* engine)
  5857. {
  5858. // explicit TerrainPatch::TerrainPatch(Context* context)
  5859. engine->RegisterObjectBehaviour("TerrainPatch", asBEHAVE_FACTORY, "TerrainPatch@+ f()", AS_FUNCTION(TerrainPatch__TerrainPatch_Contextstar) , AS_CALL_CDECL);
  5860. RegisterSubclass<Drawable, TerrainPatch>(engine, "Drawable", "TerrainPatch");
  5861. RegisterSubclass<Component, TerrainPatch>(engine, "Component", "TerrainPatch");
  5862. RegisterSubclass<Animatable, TerrainPatch>(engine, "Animatable", "TerrainPatch");
  5863. RegisterSubclass<Serializable, TerrainPatch>(engine, "Serializable", "TerrainPatch");
  5864. RegisterSubclass<Object, TerrainPatch>(engine, "Object", "TerrainPatch");
  5865. RegisterSubclass<RefCounted, TerrainPatch>(engine, "RefCounted", "TerrainPatch");
  5866. RegisterMembers_TerrainPatch<TerrainPatch>(engine, "TerrainPatch");
  5867. #ifdef REGISTER_CLASS_MANUAL_PART_TerrainPatch
  5868. REGISTER_CLASS_MANUAL_PART_TerrainPatch();
  5869. #endif
  5870. }
  5871. // explicit Text::Text(Context* context)
  5872. static Text* Text__Text_Contextstar()
  5873. {
  5874. Context* context = GetScriptContext();
  5875. return new Text(context);
  5876. }
  5877. // class Text | File: ../UI/Text.h
  5878. static void Register_Text(asIScriptEngine* engine)
  5879. {
  5880. // explicit Text::Text(Context* context)
  5881. engine->RegisterObjectBehaviour("Text", asBEHAVE_FACTORY, "Text@+ f()", AS_FUNCTION(Text__Text_Contextstar) , AS_CALL_CDECL);
  5882. RegisterSubclass<UISelectable, Text>(engine, "UISelectable", "Text");
  5883. RegisterSubclass<UIElement, Text>(engine, "UIElement", "Text");
  5884. RegisterSubclass<Animatable, Text>(engine, "Animatable", "Text");
  5885. RegisterSubclass<Serializable, Text>(engine, "Serializable", "Text");
  5886. RegisterSubclass<Object, Text>(engine, "Object", "Text");
  5887. RegisterSubclass<RefCounted, Text>(engine, "RefCounted", "Text");
  5888. RegisterMembers_Text<Text>(engine, "Text");
  5889. #ifdef REGISTER_CLASS_MANUAL_PART_Text
  5890. REGISTER_CLASS_MANUAL_PART_Text();
  5891. #endif
  5892. }
  5893. // explicit Text3D::Text3D(Context* context)
  5894. static Text3D* Text3D__Text3D_Contextstar()
  5895. {
  5896. Context* context = GetScriptContext();
  5897. return new Text3D(context);
  5898. }
  5899. // class Text3D | File: ../UI/Text3D.h
  5900. static void Register_Text3D(asIScriptEngine* engine)
  5901. {
  5902. // explicit Text3D::Text3D(Context* context)
  5903. engine->RegisterObjectBehaviour("Text3D", asBEHAVE_FACTORY, "Text3D@+ f()", AS_FUNCTION(Text3D__Text3D_Contextstar) , AS_CALL_CDECL);
  5904. RegisterSubclass<Drawable, Text3D>(engine, "Drawable", "Text3D");
  5905. RegisterSubclass<Component, Text3D>(engine, "Component", "Text3D");
  5906. RegisterSubclass<Animatable, Text3D>(engine, "Animatable", "Text3D");
  5907. RegisterSubclass<Serializable, Text3D>(engine, "Serializable", "Text3D");
  5908. RegisterSubclass<Object, Text3D>(engine, "Object", "Text3D");
  5909. RegisterSubclass<RefCounted, Text3D>(engine, "RefCounted", "Text3D");
  5910. RegisterMembers_Text3D<Text3D>(engine, "Text3D");
  5911. #ifdef REGISTER_CLASS_MANUAL_PART_Text3D
  5912. REGISTER_CLASS_MANUAL_PART_Text3D();
  5913. #endif
  5914. }
  5915. // explicit Window::Window(Context* context)
  5916. static Window* Window__Window_Contextstar()
  5917. {
  5918. Context* context = GetScriptContext();
  5919. return new Window(context);
  5920. }
  5921. // class Window | File: ../UI/Window.h
  5922. static void Register_Window(asIScriptEngine* engine)
  5923. {
  5924. // explicit Window::Window(Context* context)
  5925. engine->RegisterObjectBehaviour("Window", asBEHAVE_FACTORY, "Window@+ f()", AS_FUNCTION(Window__Window_Contextstar) , AS_CALL_CDECL);
  5926. RegisterSubclass<BorderImage, Window>(engine, "BorderImage", "Window");
  5927. RegisterSubclass<UIElement, Window>(engine, "UIElement", "Window");
  5928. RegisterSubclass<Animatable, Window>(engine, "Animatable", "Window");
  5929. RegisterSubclass<Serializable, Window>(engine, "Serializable", "Window");
  5930. RegisterSubclass<Object, Window>(engine, "Object", "Window");
  5931. RegisterSubclass<RefCounted, Window>(engine, "RefCounted", "Window");
  5932. RegisterMembers_Window<Window>(engine, "Window");
  5933. #ifdef REGISTER_CLASS_MANUAL_PART_Window
  5934. REGISTER_CLASS_MANUAL_PART_Window();
  5935. #endif
  5936. }
  5937. // explicit Zone::Zone(Context* context)
  5938. static Zone* Zone__Zone_Contextstar()
  5939. {
  5940. Context* context = GetScriptContext();
  5941. return new Zone(context);
  5942. }
  5943. // class Zone | File: ../Graphics/Zone.h
  5944. static void Register_Zone(asIScriptEngine* engine)
  5945. {
  5946. // explicit Zone::Zone(Context* context)
  5947. engine->RegisterObjectBehaviour("Zone", asBEHAVE_FACTORY, "Zone@+ f()", AS_FUNCTION(Zone__Zone_Contextstar) , AS_CALL_CDECL);
  5948. RegisterSubclass<Drawable, Zone>(engine, "Drawable", "Zone");
  5949. RegisterSubclass<Component, Zone>(engine, "Component", "Zone");
  5950. RegisterSubclass<Animatable, Zone>(engine, "Animatable", "Zone");
  5951. RegisterSubclass<Serializable, Zone>(engine, "Serializable", "Zone");
  5952. RegisterSubclass<Object, Zone>(engine, "Object", "Zone");
  5953. RegisterSubclass<RefCounted, Zone>(engine, "RefCounted", "Zone");
  5954. RegisterMembers_Zone<Zone>(engine, "Zone");
  5955. #ifdef REGISTER_CLASS_MANUAL_PART_Zone
  5956. REGISTER_CLASS_MANUAL_PART_Zone();
  5957. #endif
  5958. }
  5959. #ifdef URHO3D_NAVIGATION
  5960. // explicit DynamicNavigationMesh::DynamicNavigationMesh(Context* context)
  5961. static DynamicNavigationMesh* DynamicNavigationMesh__DynamicNavigationMesh_Contextstar()
  5962. {
  5963. Context* context = GetScriptContext();
  5964. return new DynamicNavigationMesh(context);
  5965. }
  5966. // class DynamicNavigationMesh | File: ../Navigation/DynamicNavigationMesh.h
  5967. static void Register_DynamicNavigationMesh(asIScriptEngine* engine)
  5968. {
  5969. // explicit DynamicNavigationMesh::DynamicNavigationMesh(Context* context)
  5970. engine->RegisterObjectBehaviour("DynamicNavigationMesh", asBEHAVE_FACTORY, "DynamicNavigationMesh@+ f()", AS_FUNCTION(DynamicNavigationMesh__DynamicNavigationMesh_Contextstar) , AS_CALL_CDECL);
  5971. RegisterSubclass<NavigationMesh, DynamicNavigationMesh>(engine, "NavigationMesh", "DynamicNavigationMesh");
  5972. RegisterSubclass<Component, DynamicNavigationMesh>(engine, "Component", "DynamicNavigationMesh");
  5973. RegisterSubclass<Animatable, DynamicNavigationMesh>(engine, "Animatable", "DynamicNavigationMesh");
  5974. RegisterSubclass<Serializable, DynamicNavigationMesh>(engine, "Serializable", "DynamicNavigationMesh");
  5975. RegisterSubclass<Object, DynamicNavigationMesh>(engine, "Object", "DynamicNavigationMesh");
  5976. RegisterSubclass<RefCounted, DynamicNavigationMesh>(engine, "RefCounted", "DynamicNavigationMesh");
  5977. RegisterMembers_DynamicNavigationMesh<DynamicNavigationMesh>(engine, "DynamicNavigationMesh");
  5978. #ifdef REGISTER_CLASS_MANUAL_PART_DynamicNavigationMesh
  5979. REGISTER_CLASS_MANUAL_PART_DynamicNavigationMesh();
  5980. #endif
  5981. }
  5982. #endif // def URHO3D_NAVIGATION
  5983. #ifdef URHO3D_PHYSICS
  5984. // class RaycastVehicle | File: ../Physics/RaycastVehicle.h
  5985. static void Register_RaycastVehicle(asIScriptEngine* engine)
  5986. {
  5987. // explicit RaycastVehicle::RaycastVehicle(Urho3D::Context* context)
  5988. // Error: type "Urho3D::Context*" can not automatically bind
  5989. RegisterSubclass<LogicComponent, RaycastVehicle>(engine, "LogicComponent", "RaycastVehicle");
  5990. RegisterSubclass<Component, RaycastVehicle>(engine, "Component", "RaycastVehicle");
  5991. RegisterSubclass<Animatable, RaycastVehicle>(engine, "Animatable", "RaycastVehicle");
  5992. RegisterSubclass<Serializable, RaycastVehicle>(engine, "Serializable", "RaycastVehicle");
  5993. RegisterSubclass<Object, RaycastVehicle>(engine, "Object", "RaycastVehicle");
  5994. RegisterSubclass<RefCounted, RaycastVehicle>(engine, "RefCounted", "RaycastVehicle");
  5995. RegisterMembers_RaycastVehicle<RaycastVehicle>(engine, "RaycastVehicle");
  5996. #ifdef REGISTER_CLASS_MANUAL_PART_RaycastVehicle
  5997. REGISTER_CLASS_MANUAL_PART_RaycastVehicle();
  5998. #endif
  5999. }
  6000. #endif // def URHO3D_PHYSICS
  6001. #ifdef URHO3D_PHYSICS2D
  6002. // explicit CollisionBox2D::CollisionBox2D(Context* context)
  6003. static CollisionBox2D* CollisionBox2D__CollisionBox2D_Contextstar()
  6004. {
  6005. Context* context = GetScriptContext();
  6006. return new CollisionBox2D(context);
  6007. }
  6008. // class CollisionBox2D | File: ../Physics2D/CollisionBox2D.h
  6009. static void Register_CollisionBox2D(asIScriptEngine* engine)
  6010. {
  6011. // explicit CollisionBox2D::CollisionBox2D(Context* context)
  6012. engine->RegisterObjectBehaviour("CollisionBox2D", asBEHAVE_FACTORY, "CollisionBox2D@+ f()", AS_FUNCTION(CollisionBox2D__CollisionBox2D_Contextstar) , AS_CALL_CDECL);
  6013. RegisterSubclass<CollisionShape2D, CollisionBox2D>(engine, "CollisionShape2D", "CollisionBox2D");
  6014. RegisterSubclass<Component, CollisionBox2D>(engine, "Component", "CollisionBox2D");
  6015. RegisterSubclass<Animatable, CollisionBox2D>(engine, "Animatable", "CollisionBox2D");
  6016. RegisterSubclass<Serializable, CollisionBox2D>(engine, "Serializable", "CollisionBox2D");
  6017. RegisterSubclass<Object, CollisionBox2D>(engine, "Object", "CollisionBox2D");
  6018. RegisterSubclass<RefCounted, CollisionBox2D>(engine, "RefCounted", "CollisionBox2D");
  6019. RegisterMembers_CollisionBox2D<CollisionBox2D>(engine, "CollisionBox2D");
  6020. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionBox2D
  6021. REGISTER_CLASS_MANUAL_PART_CollisionBox2D();
  6022. #endif
  6023. }
  6024. // explicit CollisionChain2D::CollisionChain2D(Context* context)
  6025. static CollisionChain2D* CollisionChain2D__CollisionChain2D_Contextstar()
  6026. {
  6027. Context* context = GetScriptContext();
  6028. return new CollisionChain2D(context);
  6029. }
  6030. // class CollisionChain2D | File: ../Physics2D/CollisionChain2D.h
  6031. static void Register_CollisionChain2D(asIScriptEngine* engine)
  6032. {
  6033. // explicit CollisionChain2D::CollisionChain2D(Context* context)
  6034. engine->RegisterObjectBehaviour("CollisionChain2D", asBEHAVE_FACTORY, "CollisionChain2D@+ f()", AS_FUNCTION(CollisionChain2D__CollisionChain2D_Contextstar) , AS_CALL_CDECL);
  6035. RegisterSubclass<CollisionShape2D, CollisionChain2D>(engine, "CollisionShape2D", "CollisionChain2D");
  6036. RegisterSubclass<Component, CollisionChain2D>(engine, "Component", "CollisionChain2D");
  6037. RegisterSubclass<Animatable, CollisionChain2D>(engine, "Animatable", "CollisionChain2D");
  6038. RegisterSubclass<Serializable, CollisionChain2D>(engine, "Serializable", "CollisionChain2D");
  6039. RegisterSubclass<Object, CollisionChain2D>(engine, "Object", "CollisionChain2D");
  6040. RegisterSubclass<RefCounted, CollisionChain2D>(engine, "RefCounted", "CollisionChain2D");
  6041. RegisterMembers_CollisionChain2D<CollisionChain2D>(engine, "CollisionChain2D");
  6042. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionChain2D
  6043. REGISTER_CLASS_MANUAL_PART_CollisionChain2D();
  6044. #endif
  6045. }
  6046. // explicit CollisionCircle2D::CollisionCircle2D(Context* context)
  6047. static CollisionCircle2D* CollisionCircle2D__CollisionCircle2D_Contextstar()
  6048. {
  6049. Context* context = GetScriptContext();
  6050. return new CollisionCircle2D(context);
  6051. }
  6052. // class CollisionCircle2D | File: ../Physics2D/CollisionCircle2D.h
  6053. static void Register_CollisionCircle2D(asIScriptEngine* engine)
  6054. {
  6055. // explicit CollisionCircle2D::CollisionCircle2D(Context* context)
  6056. engine->RegisterObjectBehaviour("CollisionCircle2D", asBEHAVE_FACTORY, "CollisionCircle2D@+ f()", AS_FUNCTION(CollisionCircle2D__CollisionCircle2D_Contextstar) , AS_CALL_CDECL);
  6057. RegisterSubclass<CollisionShape2D, CollisionCircle2D>(engine, "CollisionShape2D", "CollisionCircle2D");
  6058. RegisterSubclass<Component, CollisionCircle2D>(engine, "Component", "CollisionCircle2D");
  6059. RegisterSubclass<Animatable, CollisionCircle2D>(engine, "Animatable", "CollisionCircle2D");
  6060. RegisterSubclass<Serializable, CollisionCircle2D>(engine, "Serializable", "CollisionCircle2D");
  6061. RegisterSubclass<Object, CollisionCircle2D>(engine, "Object", "CollisionCircle2D");
  6062. RegisterSubclass<RefCounted, CollisionCircle2D>(engine, "RefCounted", "CollisionCircle2D");
  6063. RegisterMembers_CollisionCircle2D<CollisionCircle2D>(engine, "CollisionCircle2D");
  6064. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionCircle2D
  6065. REGISTER_CLASS_MANUAL_PART_CollisionCircle2D();
  6066. #endif
  6067. }
  6068. // explicit CollisionEdge2D::CollisionEdge2D(Context* context)
  6069. static CollisionEdge2D* CollisionEdge2D__CollisionEdge2D_Contextstar()
  6070. {
  6071. Context* context = GetScriptContext();
  6072. return new CollisionEdge2D(context);
  6073. }
  6074. // class CollisionEdge2D | File: ../Physics2D/CollisionEdge2D.h
  6075. static void Register_CollisionEdge2D(asIScriptEngine* engine)
  6076. {
  6077. // explicit CollisionEdge2D::CollisionEdge2D(Context* context)
  6078. engine->RegisterObjectBehaviour("CollisionEdge2D", asBEHAVE_FACTORY, "CollisionEdge2D@+ f()", AS_FUNCTION(CollisionEdge2D__CollisionEdge2D_Contextstar) , AS_CALL_CDECL);
  6079. RegisterSubclass<CollisionShape2D, CollisionEdge2D>(engine, "CollisionShape2D", "CollisionEdge2D");
  6080. RegisterSubclass<Component, CollisionEdge2D>(engine, "Component", "CollisionEdge2D");
  6081. RegisterSubclass<Animatable, CollisionEdge2D>(engine, "Animatable", "CollisionEdge2D");
  6082. RegisterSubclass<Serializable, CollisionEdge2D>(engine, "Serializable", "CollisionEdge2D");
  6083. RegisterSubclass<Object, CollisionEdge2D>(engine, "Object", "CollisionEdge2D");
  6084. RegisterSubclass<RefCounted, CollisionEdge2D>(engine, "RefCounted", "CollisionEdge2D");
  6085. RegisterMembers_CollisionEdge2D<CollisionEdge2D>(engine, "CollisionEdge2D");
  6086. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionEdge2D
  6087. REGISTER_CLASS_MANUAL_PART_CollisionEdge2D();
  6088. #endif
  6089. }
  6090. // explicit CollisionPolygon2D::CollisionPolygon2D(Context* context)
  6091. static CollisionPolygon2D* CollisionPolygon2D__CollisionPolygon2D_Contextstar()
  6092. {
  6093. Context* context = GetScriptContext();
  6094. return new CollisionPolygon2D(context);
  6095. }
  6096. // class CollisionPolygon2D | File: ../Physics2D/CollisionPolygon2D.h
  6097. static void Register_CollisionPolygon2D(asIScriptEngine* engine)
  6098. {
  6099. // explicit CollisionPolygon2D::CollisionPolygon2D(Context* context)
  6100. engine->RegisterObjectBehaviour("CollisionPolygon2D", asBEHAVE_FACTORY, "CollisionPolygon2D@+ f()", AS_FUNCTION(CollisionPolygon2D__CollisionPolygon2D_Contextstar) , AS_CALL_CDECL);
  6101. RegisterSubclass<CollisionShape2D, CollisionPolygon2D>(engine, "CollisionShape2D", "CollisionPolygon2D");
  6102. RegisterSubclass<Component, CollisionPolygon2D>(engine, "Component", "CollisionPolygon2D");
  6103. RegisterSubclass<Animatable, CollisionPolygon2D>(engine, "Animatable", "CollisionPolygon2D");
  6104. RegisterSubclass<Serializable, CollisionPolygon2D>(engine, "Serializable", "CollisionPolygon2D");
  6105. RegisterSubclass<Object, CollisionPolygon2D>(engine, "Object", "CollisionPolygon2D");
  6106. RegisterSubclass<RefCounted, CollisionPolygon2D>(engine, "RefCounted", "CollisionPolygon2D");
  6107. RegisterMembers_CollisionPolygon2D<CollisionPolygon2D>(engine, "CollisionPolygon2D");
  6108. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionPolygon2D
  6109. REGISTER_CLASS_MANUAL_PART_CollisionPolygon2D();
  6110. #endif
  6111. }
  6112. // explicit ConstraintDistance2D::ConstraintDistance2D(Context* context)
  6113. static ConstraintDistance2D* ConstraintDistance2D__ConstraintDistance2D_Contextstar()
  6114. {
  6115. Context* context = GetScriptContext();
  6116. return new ConstraintDistance2D(context);
  6117. }
  6118. // class ConstraintDistance2D | File: ../Physics2D/ConstraintDistance2D.h
  6119. static void Register_ConstraintDistance2D(asIScriptEngine* engine)
  6120. {
  6121. // explicit ConstraintDistance2D::ConstraintDistance2D(Context* context)
  6122. engine->RegisterObjectBehaviour("ConstraintDistance2D", asBEHAVE_FACTORY, "ConstraintDistance2D@+ f()", AS_FUNCTION(ConstraintDistance2D__ConstraintDistance2D_Contextstar) , AS_CALL_CDECL);
  6123. RegisterSubclass<Constraint2D, ConstraintDistance2D>(engine, "Constraint2D", "ConstraintDistance2D");
  6124. RegisterSubclass<Component, ConstraintDistance2D>(engine, "Component", "ConstraintDistance2D");
  6125. RegisterSubclass<Animatable, ConstraintDistance2D>(engine, "Animatable", "ConstraintDistance2D");
  6126. RegisterSubclass<Serializable, ConstraintDistance2D>(engine, "Serializable", "ConstraintDistance2D");
  6127. RegisterSubclass<Object, ConstraintDistance2D>(engine, "Object", "ConstraintDistance2D");
  6128. RegisterSubclass<RefCounted, ConstraintDistance2D>(engine, "RefCounted", "ConstraintDistance2D");
  6129. RegisterMembers_ConstraintDistance2D<ConstraintDistance2D>(engine, "ConstraintDistance2D");
  6130. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintDistance2D
  6131. REGISTER_CLASS_MANUAL_PART_ConstraintDistance2D();
  6132. #endif
  6133. }
  6134. // explicit ConstraintFriction2D::ConstraintFriction2D(Context* context)
  6135. static ConstraintFriction2D* ConstraintFriction2D__ConstraintFriction2D_Contextstar()
  6136. {
  6137. Context* context = GetScriptContext();
  6138. return new ConstraintFriction2D(context);
  6139. }
  6140. // class ConstraintFriction2D | File: ../Physics2D/ConstraintFriction2D.h
  6141. static void Register_ConstraintFriction2D(asIScriptEngine* engine)
  6142. {
  6143. // explicit ConstraintFriction2D::ConstraintFriction2D(Context* context)
  6144. engine->RegisterObjectBehaviour("ConstraintFriction2D", asBEHAVE_FACTORY, "ConstraintFriction2D@+ f()", AS_FUNCTION(ConstraintFriction2D__ConstraintFriction2D_Contextstar) , AS_CALL_CDECL);
  6145. RegisterSubclass<Constraint2D, ConstraintFriction2D>(engine, "Constraint2D", "ConstraintFriction2D");
  6146. RegisterSubclass<Component, ConstraintFriction2D>(engine, "Component", "ConstraintFriction2D");
  6147. RegisterSubclass<Animatable, ConstraintFriction2D>(engine, "Animatable", "ConstraintFriction2D");
  6148. RegisterSubclass<Serializable, ConstraintFriction2D>(engine, "Serializable", "ConstraintFriction2D");
  6149. RegisterSubclass<Object, ConstraintFriction2D>(engine, "Object", "ConstraintFriction2D");
  6150. RegisterSubclass<RefCounted, ConstraintFriction2D>(engine, "RefCounted", "ConstraintFriction2D");
  6151. RegisterMembers_ConstraintFriction2D<ConstraintFriction2D>(engine, "ConstraintFriction2D");
  6152. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintFriction2D
  6153. REGISTER_CLASS_MANUAL_PART_ConstraintFriction2D();
  6154. #endif
  6155. }
  6156. // explicit ConstraintGear2D::ConstraintGear2D(Context* context)
  6157. static ConstraintGear2D* ConstraintGear2D__ConstraintGear2D_Contextstar()
  6158. {
  6159. Context* context = GetScriptContext();
  6160. return new ConstraintGear2D(context);
  6161. }
  6162. // class ConstraintGear2D | File: ../Physics2D/ConstraintGear2D.h
  6163. static void Register_ConstraintGear2D(asIScriptEngine* engine)
  6164. {
  6165. // explicit ConstraintGear2D::ConstraintGear2D(Context* context)
  6166. engine->RegisterObjectBehaviour("ConstraintGear2D", asBEHAVE_FACTORY, "ConstraintGear2D@+ f()", AS_FUNCTION(ConstraintGear2D__ConstraintGear2D_Contextstar) , AS_CALL_CDECL);
  6167. RegisterSubclass<Constraint2D, ConstraintGear2D>(engine, "Constraint2D", "ConstraintGear2D");
  6168. RegisterSubclass<Component, ConstraintGear2D>(engine, "Component", "ConstraintGear2D");
  6169. RegisterSubclass<Animatable, ConstraintGear2D>(engine, "Animatable", "ConstraintGear2D");
  6170. RegisterSubclass<Serializable, ConstraintGear2D>(engine, "Serializable", "ConstraintGear2D");
  6171. RegisterSubclass<Object, ConstraintGear2D>(engine, "Object", "ConstraintGear2D");
  6172. RegisterSubclass<RefCounted, ConstraintGear2D>(engine, "RefCounted", "ConstraintGear2D");
  6173. RegisterMembers_ConstraintGear2D<ConstraintGear2D>(engine, "ConstraintGear2D");
  6174. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintGear2D
  6175. REGISTER_CLASS_MANUAL_PART_ConstraintGear2D();
  6176. #endif
  6177. }
  6178. // explicit ConstraintMotor2D::ConstraintMotor2D(Context* context)
  6179. static ConstraintMotor2D* ConstraintMotor2D__ConstraintMotor2D_Contextstar()
  6180. {
  6181. Context* context = GetScriptContext();
  6182. return new ConstraintMotor2D(context);
  6183. }
  6184. // class ConstraintMotor2D | File: ../Physics2D/ConstraintMotor2D.h
  6185. static void Register_ConstraintMotor2D(asIScriptEngine* engine)
  6186. {
  6187. // explicit ConstraintMotor2D::ConstraintMotor2D(Context* context)
  6188. engine->RegisterObjectBehaviour("ConstraintMotor2D", asBEHAVE_FACTORY, "ConstraintMotor2D@+ f()", AS_FUNCTION(ConstraintMotor2D__ConstraintMotor2D_Contextstar) , AS_CALL_CDECL);
  6189. RegisterSubclass<Constraint2D, ConstraintMotor2D>(engine, "Constraint2D", "ConstraintMotor2D");
  6190. RegisterSubclass<Component, ConstraintMotor2D>(engine, "Component", "ConstraintMotor2D");
  6191. RegisterSubclass<Animatable, ConstraintMotor2D>(engine, "Animatable", "ConstraintMotor2D");
  6192. RegisterSubclass<Serializable, ConstraintMotor2D>(engine, "Serializable", "ConstraintMotor2D");
  6193. RegisterSubclass<Object, ConstraintMotor2D>(engine, "Object", "ConstraintMotor2D");
  6194. RegisterSubclass<RefCounted, ConstraintMotor2D>(engine, "RefCounted", "ConstraintMotor2D");
  6195. RegisterMembers_ConstraintMotor2D<ConstraintMotor2D>(engine, "ConstraintMotor2D");
  6196. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintMotor2D
  6197. REGISTER_CLASS_MANUAL_PART_ConstraintMotor2D();
  6198. #endif
  6199. }
  6200. // explicit ConstraintMouse2D::ConstraintMouse2D(Context* context)
  6201. static ConstraintMouse2D* ConstraintMouse2D__ConstraintMouse2D_Contextstar()
  6202. {
  6203. Context* context = GetScriptContext();
  6204. return new ConstraintMouse2D(context);
  6205. }
  6206. // class ConstraintMouse2D | File: ../Physics2D/ConstraintMouse2D.h
  6207. static void Register_ConstraintMouse2D(asIScriptEngine* engine)
  6208. {
  6209. // explicit ConstraintMouse2D::ConstraintMouse2D(Context* context)
  6210. engine->RegisterObjectBehaviour("ConstraintMouse2D", asBEHAVE_FACTORY, "ConstraintMouse2D@+ f()", AS_FUNCTION(ConstraintMouse2D__ConstraintMouse2D_Contextstar) , AS_CALL_CDECL);
  6211. RegisterSubclass<Constraint2D, ConstraintMouse2D>(engine, "Constraint2D", "ConstraintMouse2D");
  6212. RegisterSubclass<Component, ConstraintMouse2D>(engine, "Component", "ConstraintMouse2D");
  6213. RegisterSubclass<Animatable, ConstraintMouse2D>(engine, "Animatable", "ConstraintMouse2D");
  6214. RegisterSubclass<Serializable, ConstraintMouse2D>(engine, "Serializable", "ConstraintMouse2D");
  6215. RegisterSubclass<Object, ConstraintMouse2D>(engine, "Object", "ConstraintMouse2D");
  6216. RegisterSubclass<RefCounted, ConstraintMouse2D>(engine, "RefCounted", "ConstraintMouse2D");
  6217. RegisterMembers_ConstraintMouse2D<ConstraintMouse2D>(engine, "ConstraintMouse2D");
  6218. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintMouse2D
  6219. REGISTER_CLASS_MANUAL_PART_ConstraintMouse2D();
  6220. #endif
  6221. }
  6222. // explicit ConstraintPrismatic2D::ConstraintPrismatic2D(Context* context)
  6223. static ConstraintPrismatic2D* ConstraintPrismatic2D__ConstraintPrismatic2D_Contextstar()
  6224. {
  6225. Context* context = GetScriptContext();
  6226. return new ConstraintPrismatic2D(context);
  6227. }
  6228. // class ConstraintPrismatic2D | File: ../Physics2D/ConstraintPrismatic2D.h
  6229. static void Register_ConstraintPrismatic2D(asIScriptEngine* engine)
  6230. {
  6231. // explicit ConstraintPrismatic2D::ConstraintPrismatic2D(Context* context)
  6232. engine->RegisterObjectBehaviour("ConstraintPrismatic2D", asBEHAVE_FACTORY, "ConstraintPrismatic2D@+ f()", AS_FUNCTION(ConstraintPrismatic2D__ConstraintPrismatic2D_Contextstar) , AS_CALL_CDECL);
  6233. RegisterSubclass<Constraint2D, ConstraintPrismatic2D>(engine, "Constraint2D", "ConstraintPrismatic2D");
  6234. RegisterSubclass<Component, ConstraintPrismatic2D>(engine, "Component", "ConstraintPrismatic2D");
  6235. RegisterSubclass<Animatable, ConstraintPrismatic2D>(engine, "Animatable", "ConstraintPrismatic2D");
  6236. RegisterSubclass<Serializable, ConstraintPrismatic2D>(engine, "Serializable", "ConstraintPrismatic2D");
  6237. RegisterSubclass<Object, ConstraintPrismatic2D>(engine, "Object", "ConstraintPrismatic2D");
  6238. RegisterSubclass<RefCounted, ConstraintPrismatic2D>(engine, "RefCounted", "ConstraintPrismatic2D");
  6239. RegisterMembers_ConstraintPrismatic2D<ConstraintPrismatic2D>(engine, "ConstraintPrismatic2D");
  6240. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintPrismatic2D
  6241. REGISTER_CLASS_MANUAL_PART_ConstraintPrismatic2D();
  6242. #endif
  6243. }
  6244. // explicit ConstraintPulley2D::ConstraintPulley2D(Context* context)
  6245. static ConstraintPulley2D* ConstraintPulley2D__ConstraintPulley2D_Contextstar()
  6246. {
  6247. Context* context = GetScriptContext();
  6248. return new ConstraintPulley2D(context);
  6249. }
  6250. // class ConstraintPulley2D | File: ../Physics2D/ConstraintPulley2D.h
  6251. static void Register_ConstraintPulley2D(asIScriptEngine* engine)
  6252. {
  6253. // explicit ConstraintPulley2D::ConstraintPulley2D(Context* context)
  6254. engine->RegisterObjectBehaviour("ConstraintPulley2D", asBEHAVE_FACTORY, "ConstraintPulley2D@+ f()", AS_FUNCTION(ConstraintPulley2D__ConstraintPulley2D_Contextstar) , AS_CALL_CDECL);
  6255. RegisterSubclass<Constraint2D, ConstraintPulley2D>(engine, "Constraint2D", "ConstraintPulley2D");
  6256. RegisterSubclass<Component, ConstraintPulley2D>(engine, "Component", "ConstraintPulley2D");
  6257. RegisterSubclass<Animatable, ConstraintPulley2D>(engine, "Animatable", "ConstraintPulley2D");
  6258. RegisterSubclass<Serializable, ConstraintPulley2D>(engine, "Serializable", "ConstraintPulley2D");
  6259. RegisterSubclass<Object, ConstraintPulley2D>(engine, "Object", "ConstraintPulley2D");
  6260. RegisterSubclass<RefCounted, ConstraintPulley2D>(engine, "RefCounted", "ConstraintPulley2D");
  6261. RegisterMembers_ConstraintPulley2D<ConstraintPulley2D>(engine, "ConstraintPulley2D");
  6262. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintPulley2D
  6263. REGISTER_CLASS_MANUAL_PART_ConstraintPulley2D();
  6264. #endif
  6265. }
  6266. // explicit ConstraintRevolute2D::ConstraintRevolute2D(Context* context)
  6267. static ConstraintRevolute2D* ConstraintRevolute2D__ConstraintRevolute2D_Contextstar()
  6268. {
  6269. Context* context = GetScriptContext();
  6270. return new ConstraintRevolute2D(context);
  6271. }
  6272. // class ConstraintRevolute2D | File: ../Physics2D/ConstraintRevolute2D.h
  6273. static void Register_ConstraintRevolute2D(asIScriptEngine* engine)
  6274. {
  6275. // explicit ConstraintRevolute2D::ConstraintRevolute2D(Context* context)
  6276. engine->RegisterObjectBehaviour("ConstraintRevolute2D", asBEHAVE_FACTORY, "ConstraintRevolute2D@+ f()", AS_FUNCTION(ConstraintRevolute2D__ConstraintRevolute2D_Contextstar) , AS_CALL_CDECL);
  6277. RegisterSubclass<Constraint2D, ConstraintRevolute2D>(engine, "Constraint2D", "ConstraintRevolute2D");
  6278. RegisterSubclass<Component, ConstraintRevolute2D>(engine, "Component", "ConstraintRevolute2D");
  6279. RegisterSubclass<Animatable, ConstraintRevolute2D>(engine, "Animatable", "ConstraintRevolute2D");
  6280. RegisterSubclass<Serializable, ConstraintRevolute2D>(engine, "Serializable", "ConstraintRevolute2D");
  6281. RegisterSubclass<Object, ConstraintRevolute2D>(engine, "Object", "ConstraintRevolute2D");
  6282. RegisterSubclass<RefCounted, ConstraintRevolute2D>(engine, "RefCounted", "ConstraintRevolute2D");
  6283. RegisterMembers_ConstraintRevolute2D<ConstraintRevolute2D>(engine, "ConstraintRevolute2D");
  6284. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintRevolute2D
  6285. REGISTER_CLASS_MANUAL_PART_ConstraintRevolute2D();
  6286. #endif
  6287. }
  6288. // explicit ConstraintWeld2D::ConstraintWeld2D(Context* context)
  6289. static ConstraintWeld2D* ConstraintWeld2D__ConstraintWeld2D_Contextstar()
  6290. {
  6291. Context* context = GetScriptContext();
  6292. return new ConstraintWeld2D(context);
  6293. }
  6294. // class ConstraintWeld2D | File: ../Physics2D/ConstraintWeld2D.h
  6295. static void Register_ConstraintWeld2D(asIScriptEngine* engine)
  6296. {
  6297. // explicit ConstraintWeld2D::ConstraintWeld2D(Context* context)
  6298. engine->RegisterObjectBehaviour("ConstraintWeld2D", asBEHAVE_FACTORY, "ConstraintWeld2D@+ f()", AS_FUNCTION(ConstraintWeld2D__ConstraintWeld2D_Contextstar) , AS_CALL_CDECL);
  6299. RegisterSubclass<Constraint2D, ConstraintWeld2D>(engine, "Constraint2D", "ConstraintWeld2D");
  6300. RegisterSubclass<Component, ConstraintWeld2D>(engine, "Component", "ConstraintWeld2D");
  6301. RegisterSubclass<Animatable, ConstraintWeld2D>(engine, "Animatable", "ConstraintWeld2D");
  6302. RegisterSubclass<Serializable, ConstraintWeld2D>(engine, "Serializable", "ConstraintWeld2D");
  6303. RegisterSubclass<Object, ConstraintWeld2D>(engine, "Object", "ConstraintWeld2D");
  6304. RegisterSubclass<RefCounted, ConstraintWeld2D>(engine, "RefCounted", "ConstraintWeld2D");
  6305. RegisterMembers_ConstraintWeld2D<ConstraintWeld2D>(engine, "ConstraintWeld2D");
  6306. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintWeld2D
  6307. REGISTER_CLASS_MANUAL_PART_ConstraintWeld2D();
  6308. #endif
  6309. }
  6310. // explicit ConstraintWheel2D::ConstraintWheel2D(Context* context)
  6311. static ConstraintWheel2D* ConstraintWheel2D__ConstraintWheel2D_Contextstar()
  6312. {
  6313. Context* context = GetScriptContext();
  6314. return new ConstraintWheel2D(context);
  6315. }
  6316. // class ConstraintWheel2D | File: ../Physics2D/ConstraintWheel2D.h
  6317. static void Register_ConstraintWheel2D(asIScriptEngine* engine)
  6318. {
  6319. // explicit ConstraintWheel2D::ConstraintWheel2D(Context* context)
  6320. engine->RegisterObjectBehaviour("ConstraintWheel2D", asBEHAVE_FACTORY, "ConstraintWheel2D@+ f()", AS_FUNCTION(ConstraintWheel2D__ConstraintWheel2D_Contextstar) , AS_CALL_CDECL);
  6321. RegisterSubclass<Constraint2D, ConstraintWheel2D>(engine, "Constraint2D", "ConstraintWheel2D");
  6322. RegisterSubclass<Component, ConstraintWheel2D>(engine, "Component", "ConstraintWheel2D");
  6323. RegisterSubclass<Animatable, ConstraintWheel2D>(engine, "Animatable", "ConstraintWheel2D");
  6324. RegisterSubclass<Serializable, ConstraintWheel2D>(engine, "Serializable", "ConstraintWheel2D");
  6325. RegisterSubclass<Object, ConstraintWheel2D>(engine, "Object", "ConstraintWheel2D");
  6326. RegisterSubclass<RefCounted, ConstraintWheel2D>(engine, "RefCounted", "ConstraintWheel2D");
  6327. RegisterMembers_ConstraintWheel2D<ConstraintWheel2D>(engine, "ConstraintWheel2D");
  6328. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintWheel2D
  6329. REGISTER_CLASS_MANUAL_PART_ConstraintWheel2D();
  6330. #endif
  6331. }
  6332. #endif // def URHO3D_PHYSICS2D
  6333. #ifdef URHO3D_URHO2D
  6334. // class Drawable2D | File: ../Urho2D/Drawable2D.h
  6335. static void Register_Drawable2D(asIScriptEngine* engine)
  6336. {
  6337. RegisterSubclass<Drawable, Drawable2D>(engine, "Drawable", "Drawable2D");
  6338. RegisterSubclass<Component, Drawable2D>(engine, "Component", "Drawable2D");
  6339. RegisterSubclass<Animatable, Drawable2D>(engine, "Animatable", "Drawable2D");
  6340. RegisterSubclass<Serializable, Drawable2D>(engine, "Serializable", "Drawable2D");
  6341. RegisterSubclass<Object, Drawable2D>(engine, "Object", "Drawable2D");
  6342. RegisterSubclass<RefCounted, Drawable2D>(engine, "RefCounted", "Drawable2D");
  6343. RegisterMembers_Drawable2D<Drawable2D>(engine, "Drawable2D");
  6344. #ifdef REGISTER_CLASS_MANUAL_PART_Drawable2D
  6345. REGISTER_CLASS_MANUAL_PART_Drawable2D();
  6346. #endif
  6347. // virtual void Drawable::Update(const FrameInfo& frame)
  6348. engine->RegisterObjectMethod("Drawable2D", "void Update(const FrameInfo&in)", AS_METHODPR(Drawable2D, Update, (const FrameInfo&), void), AS_CALL_THISCALL);
  6349. }
  6350. // explicit Renderer2D::Renderer2D(Context* context)
  6351. static Renderer2D* Renderer2D__Renderer2D_Contextstar()
  6352. {
  6353. Context* context = GetScriptContext();
  6354. return new Renderer2D(context);
  6355. }
  6356. // class Renderer2D | File: ../Urho2D/Renderer2D.h
  6357. static void Register_Renderer2D(asIScriptEngine* engine)
  6358. {
  6359. // explicit Renderer2D::Renderer2D(Context* context)
  6360. engine->RegisterObjectBehaviour("Renderer2D", asBEHAVE_FACTORY, "Renderer2D@+ f()", AS_FUNCTION(Renderer2D__Renderer2D_Contextstar) , AS_CALL_CDECL);
  6361. RegisterSubclass<Drawable, Renderer2D>(engine, "Drawable", "Renderer2D");
  6362. RegisterSubclass<Component, Renderer2D>(engine, "Component", "Renderer2D");
  6363. RegisterSubclass<Animatable, Renderer2D>(engine, "Animatable", "Renderer2D");
  6364. RegisterSubclass<Serializable, Renderer2D>(engine, "Serializable", "Renderer2D");
  6365. RegisterSubclass<Object, Renderer2D>(engine, "Object", "Renderer2D");
  6366. RegisterSubclass<RefCounted, Renderer2D>(engine, "RefCounted", "Renderer2D");
  6367. RegisterMembers_Renderer2D<Renderer2D>(engine, "Renderer2D");
  6368. #ifdef REGISTER_CLASS_MANUAL_PART_Renderer2D
  6369. REGISTER_CLASS_MANUAL_PART_Renderer2D();
  6370. #endif
  6371. }
  6372. #endif // def URHO3D_URHO2D
  6373. // explicit AnimatedModel::AnimatedModel(Context* context)
  6374. static AnimatedModel* AnimatedModel__AnimatedModel_Contextstar()
  6375. {
  6376. Context* context = GetScriptContext();
  6377. return new AnimatedModel(context);
  6378. }
  6379. // class AnimatedModel | File: ../Graphics/AnimatedModel.h
  6380. static void Register_AnimatedModel(asIScriptEngine* engine)
  6381. {
  6382. // explicit AnimatedModel::AnimatedModel(Context* context)
  6383. engine->RegisterObjectBehaviour("AnimatedModel", asBEHAVE_FACTORY, "AnimatedModel@+ f()", AS_FUNCTION(AnimatedModel__AnimatedModel_Contextstar) , AS_CALL_CDECL);
  6384. RegisterSubclass<StaticModel, AnimatedModel>(engine, "StaticModel", "AnimatedModel");
  6385. RegisterSubclass<Drawable, AnimatedModel>(engine, "Drawable", "AnimatedModel");
  6386. RegisterSubclass<Component, AnimatedModel>(engine, "Component", "AnimatedModel");
  6387. RegisterSubclass<Animatable, AnimatedModel>(engine, "Animatable", "AnimatedModel");
  6388. RegisterSubclass<Serializable, AnimatedModel>(engine, "Serializable", "AnimatedModel");
  6389. RegisterSubclass<Object, AnimatedModel>(engine, "Object", "AnimatedModel");
  6390. RegisterSubclass<RefCounted, AnimatedModel>(engine, "RefCounted", "AnimatedModel");
  6391. RegisterMembers_AnimatedModel<AnimatedModel>(engine, "AnimatedModel");
  6392. #ifdef REGISTER_CLASS_MANUAL_PART_AnimatedModel
  6393. REGISTER_CLASS_MANUAL_PART_AnimatedModel();
  6394. #endif
  6395. }
  6396. // explicit Menu::Menu(Context* context)
  6397. static Menu* Menu__Menu_Contextstar()
  6398. {
  6399. Context* context = GetScriptContext();
  6400. return new Menu(context);
  6401. }
  6402. // class Menu | File: ../UI/Menu.h
  6403. static void Register_Menu(asIScriptEngine* engine)
  6404. {
  6405. // explicit Menu::Menu(Context* context)
  6406. engine->RegisterObjectBehaviour("Menu", asBEHAVE_FACTORY, "Menu@+ f()", AS_FUNCTION(Menu__Menu_Contextstar) , AS_CALL_CDECL);
  6407. RegisterSubclass<Button, Menu>(engine, "Button", "Menu");
  6408. RegisterSubclass<BorderImage, Menu>(engine, "BorderImage", "Menu");
  6409. RegisterSubclass<UIElement, Menu>(engine, "UIElement", "Menu");
  6410. RegisterSubclass<Animatable, Menu>(engine, "Animatable", "Menu");
  6411. RegisterSubclass<Serializable, Menu>(engine, "Serializable", "Menu");
  6412. RegisterSubclass<Object, Menu>(engine, "Object", "Menu");
  6413. RegisterSubclass<RefCounted, Menu>(engine, "RefCounted", "Menu");
  6414. RegisterMembers_Menu<Menu>(engine, "Menu");
  6415. #ifdef REGISTER_CLASS_MANUAL_PART_Menu
  6416. REGISTER_CLASS_MANUAL_PART_Menu();
  6417. #endif
  6418. }
  6419. // explicit ParticleEmitter::ParticleEmitter(Context* context)
  6420. static ParticleEmitter* ParticleEmitter__ParticleEmitter_Contextstar()
  6421. {
  6422. Context* context = GetScriptContext();
  6423. return new ParticleEmitter(context);
  6424. }
  6425. // class ParticleEmitter | File: ../Graphics/ParticleEmitter.h
  6426. static void Register_ParticleEmitter(asIScriptEngine* engine)
  6427. {
  6428. // explicit ParticleEmitter::ParticleEmitter(Context* context)
  6429. engine->RegisterObjectBehaviour("ParticleEmitter", asBEHAVE_FACTORY, "ParticleEmitter@+ f()", AS_FUNCTION(ParticleEmitter__ParticleEmitter_Contextstar) , AS_CALL_CDECL);
  6430. RegisterSubclass<BillboardSet, ParticleEmitter>(engine, "BillboardSet", "ParticleEmitter");
  6431. RegisterSubclass<Drawable, ParticleEmitter>(engine, "Drawable", "ParticleEmitter");
  6432. RegisterSubclass<Component, ParticleEmitter>(engine, "Component", "ParticleEmitter");
  6433. RegisterSubclass<Animatable, ParticleEmitter>(engine, "Animatable", "ParticleEmitter");
  6434. RegisterSubclass<Serializable, ParticleEmitter>(engine, "Serializable", "ParticleEmitter");
  6435. RegisterSubclass<Object, ParticleEmitter>(engine, "Object", "ParticleEmitter");
  6436. RegisterSubclass<RefCounted, ParticleEmitter>(engine, "RefCounted", "ParticleEmitter");
  6437. RegisterMembers_ParticleEmitter<ParticleEmitter>(engine, "ParticleEmitter");
  6438. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEmitter
  6439. REGISTER_CLASS_MANUAL_PART_ParticleEmitter();
  6440. #endif
  6441. }
  6442. // explicit Skybox::Skybox(Context* context)
  6443. static Skybox* Skybox__Skybox_Contextstar()
  6444. {
  6445. Context* context = GetScriptContext();
  6446. return new Skybox(context);
  6447. }
  6448. // class Skybox | File: ../Graphics/Skybox.h
  6449. static void Register_Skybox(asIScriptEngine* engine)
  6450. {
  6451. // explicit Skybox::Skybox(Context* context)
  6452. engine->RegisterObjectBehaviour("Skybox", asBEHAVE_FACTORY, "Skybox@+ f()", AS_FUNCTION(Skybox__Skybox_Contextstar) , AS_CALL_CDECL);
  6453. RegisterSubclass<StaticModel, Skybox>(engine, "StaticModel", "Skybox");
  6454. RegisterSubclass<Drawable, Skybox>(engine, "Drawable", "Skybox");
  6455. RegisterSubclass<Component, Skybox>(engine, "Component", "Skybox");
  6456. RegisterSubclass<Animatable, Skybox>(engine, "Animatable", "Skybox");
  6457. RegisterSubclass<Serializable, Skybox>(engine, "Serializable", "Skybox");
  6458. RegisterSubclass<Object, Skybox>(engine, "Object", "Skybox");
  6459. RegisterSubclass<RefCounted, Skybox>(engine, "RefCounted", "Skybox");
  6460. RegisterMembers_Skybox<Skybox>(engine, "Skybox");
  6461. #ifdef REGISTER_CLASS_MANUAL_PART_Skybox
  6462. REGISTER_CLASS_MANUAL_PART_Skybox();
  6463. #endif
  6464. }
  6465. // explicit StaticModelGroup::StaticModelGroup(Context* context)
  6466. static StaticModelGroup* StaticModelGroup__StaticModelGroup_Contextstar()
  6467. {
  6468. Context* context = GetScriptContext();
  6469. return new StaticModelGroup(context);
  6470. }
  6471. // class StaticModelGroup | File: ../Graphics/StaticModelGroup.h
  6472. static void Register_StaticModelGroup(asIScriptEngine* engine)
  6473. {
  6474. // explicit StaticModelGroup::StaticModelGroup(Context* context)
  6475. engine->RegisterObjectBehaviour("StaticModelGroup", asBEHAVE_FACTORY, "StaticModelGroup@+ f()", AS_FUNCTION(StaticModelGroup__StaticModelGroup_Contextstar) , AS_CALL_CDECL);
  6476. RegisterSubclass<StaticModel, StaticModelGroup>(engine, "StaticModel", "StaticModelGroup");
  6477. RegisterSubclass<Drawable, StaticModelGroup>(engine, "Drawable", "StaticModelGroup");
  6478. RegisterSubclass<Component, StaticModelGroup>(engine, "Component", "StaticModelGroup");
  6479. RegisterSubclass<Animatable, StaticModelGroup>(engine, "Animatable", "StaticModelGroup");
  6480. RegisterSubclass<Serializable, StaticModelGroup>(engine, "Serializable", "StaticModelGroup");
  6481. RegisterSubclass<Object, StaticModelGroup>(engine, "Object", "StaticModelGroup");
  6482. RegisterSubclass<RefCounted, StaticModelGroup>(engine, "RefCounted", "StaticModelGroup");
  6483. RegisterMembers_StaticModelGroup<StaticModelGroup>(engine, "StaticModelGroup");
  6484. #ifdef REGISTER_CLASS_MANUAL_PART_StaticModelGroup
  6485. REGISTER_CLASS_MANUAL_PART_StaticModelGroup();
  6486. #endif
  6487. }
  6488. // explicit View3D::View3D(Context* context)
  6489. static View3D* View3D__View3D_Contextstar()
  6490. {
  6491. Context* context = GetScriptContext();
  6492. return new View3D(context);
  6493. }
  6494. // class View3D | File: ../UI/View3D.h
  6495. static void Register_View3D(asIScriptEngine* engine)
  6496. {
  6497. // explicit View3D::View3D(Context* context)
  6498. engine->RegisterObjectBehaviour("View3D", asBEHAVE_FACTORY, "View3D@+ f()", AS_FUNCTION(View3D__View3D_Contextstar) , AS_CALL_CDECL);
  6499. RegisterSubclass<Window, View3D>(engine, "Window", "View3D");
  6500. RegisterSubclass<BorderImage, View3D>(engine, "BorderImage", "View3D");
  6501. RegisterSubclass<UIElement, View3D>(engine, "UIElement", "View3D");
  6502. RegisterSubclass<Animatable, View3D>(engine, "Animatable", "View3D");
  6503. RegisterSubclass<Serializable, View3D>(engine, "Serializable", "View3D");
  6504. RegisterSubclass<Object, View3D>(engine, "Object", "View3D");
  6505. RegisterSubclass<RefCounted, View3D>(engine, "RefCounted", "View3D");
  6506. RegisterMembers_View3D<View3D>(engine, "View3D");
  6507. #ifdef REGISTER_CLASS_MANUAL_PART_View3D
  6508. REGISTER_CLASS_MANUAL_PART_View3D();
  6509. #endif
  6510. }
  6511. #ifdef URHO3D_URHO2D
  6512. // explicit ParticleEmitter2D::ParticleEmitter2D(Context* context)
  6513. static ParticleEmitter2D* ParticleEmitter2D__ParticleEmitter2D_Contextstar()
  6514. {
  6515. Context* context = GetScriptContext();
  6516. return new ParticleEmitter2D(context);
  6517. }
  6518. // class ParticleEmitter2D | File: ../Urho2D/ParticleEmitter2D.h
  6519. static void Register_ParticleEmitter2D(asIScriptEngine* engine)
  6520. {
  6521. // explicit ParticleEmitter2D::ParticleEmitter2D(Context* context)
  6522. engine->RegisterObjectBehaviour("ParticleEmitter2D", asBEHAVE_FACTORY, "ParticleEmitter2D@+ f()", AS_FUNCTION(ParticleEmitter2D__ParticleEmitter2D_Contextstar) , AS_CALL_CDECL);
  6523. RegisterSubclass<Drawable2D, ParticleEmitter2D>(engine, "Drawable2D", "ParticleEmitter2D");
  6524. RegisterSubclass<Drawable, ParticleEmitter2D>(engine, "Drawable", "ParticleEmitter2D");
  6525. RegisterSubclass<Component, ParticleEmitter2D>(engine, "Component", "ParticleEmitter2D");
  6526. RegisterSubclass<Animatable, ParticleEmitter2D>(engine, "Animatable", "ParticleEmitter2D");
  6527. RegisterSubclass<Serializable, ParticleEmitter2D>(engine, "Serializable", "ParticleEmitter2D");
  6528. RegisterSubclass<Object, ParticleEmitter2D>(engine, "Object", "ParticleEmitter2D");
  6529. RegisterSubclass<RefCounted, ParticleEmitter2D>(engine, "RefCounted", "ParticleEmitter2D");
  6530. RegisterMembers_ParticleEmitter2D<ParticleEmitter2D>(engine, "ParticleEmitter2D");
  6531. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEmitter2D
  6532. REGISTER_CLASS_MANUAL_PART_ParticleEmitter2D();
  6533. #endif
  6534. }
  6535. // explicit StaticSprite2D::StaticSprite2D(Context* context)
  6536. static StaticSprite2D* StaticSprite2D__StaticSprite2D_Contextstar()
  6537. {
  6538. Context* context = GetScriptContext();
  6539. return new StaticSprite2D(context);
  6540. }
  6541. // class StaticSprite2D | File: ../Urho2D/StaticSprite2D.h
  6542. static void Register_StaticSprite2D(asIScriptEngine* engine)
  6543. {
  6544. // explicit StaticSprite2D::StaticSprite2D(Context* context)
  6545. engine->RegisterObjectBehaviour("StaticSprite2D", asBEHAVE_FACTORY, "StaticSprite2D@+ f()", AS_FUNCTION(StaticSprite2D__StaticSprite2D_Contextstar) , AS_CALL_CDECL);
  6546. RegisterSubclass<Drawable2D, StaticSprite2D>(engine, "Drawable2D", "StaticSprite2D");
  6547. RegisterSubclass<Drawable, StaticSprite2D>(engine, "Drawable", "StaticSprite2D");
  6548. RegisterSubclass<Component, StaticSprite2D>(engine, "Component", "StaticSprite2D");
  6549. RegisterSubclass<Animatable, StaticSprite2D>(engine, "Animatable", "StaticSprite2D");
  6550. RegisterSubclass<Serializable, StaticSprite2D>(engine, "Serializable", "StaticSprite2D");
  6551. RegisterSubclass<Object, StaticSprite2D>(engine, "Object", "StaticSprite2D");
  6552. RegisterSubclass<RefCounted, StaticSprite2D>(engine, "RefCounted", "StaticSprite2D");
  6553. RegisterMembers_StaticSprite2D<StaticSprite2D>(engine, "StaticSprite2D");
  6554. #ifdef REGISTER_CLASS_MANUAL_PART_StaticSprite2D
  6555. REGISTER_CLASS_MANUAL_PART_StaticSprite2D();
  6556. #endif
  6557. }
  6558. #endif // def URHO3D_URHO2D
  6559. // explicit DropDownList::DropDownList(Context* context)
  6560. static DropDownList* DropDownList__DropDownList_Contextstar()
  6561. {
  6562. Context* context = GetScriptContext();
  6563. return new DropDownList(context);
  6564. }
  6565. // class DropDownList | File: ../UI/DropDownList.h
  6566. static void Register_DropDownList(asIScriptEngine* engine)
  6567. {
  6568. // explicit DropDownList::DropDownList(Context* context)
  6569. engine->RegisterObjectBehaviour("DropDownList", asBEHAVE_FACTORY, "DropDownList@+ f()", AS_FUNCTION(DropDownList__DropDownList_Contextstar) , AS_CALL_CDECL);
  6570. RegisterSubclass<Menu, DropDownList>(engine, "Menu", "DropDownList");
  6571. RegisterSubclass<Button, DropDownList>(engine, "Button", "DropDownList");
  6572. RegisterSubclass<BorderImage, DropDownList>(engine, "BorderImage", "DropDownList");
  6573. RegisterSubclass<UIElement, DropDownList>(engine, "UIElement", "DropDownList");
  6574. RegisterSubclass<Animatable, DropDownList>(engine, "Animatable", "DropDownList");
  6575. RegisterSubclass<Serializable, DropDownList>(engine, "Serializable", "DropDownList");
  6576. RegisterSubclass<Object, DropDownList>(engine, "Object", "DropDownList");
  6577. RegisterSubclass<RefCounted, DropDownList>(engine, "RefCounted", "DropDownList");
  6578. RegisterMembers_DropDownList<DropDownList>(engine, "DropDownList");
  6579. #ifdef REGISTER_CLASS_MANUAL_PART_DropDownList
  6580. REGISTER_CLASS_MANUAL_PART_DropDownList();
  6581. #endif
  6582. }
  6583. #ifdef URHO3D_URHO2D
  6584. // explicit AnimatedSprite2D::AnimatedSprite2D(Context* context)
  6585. static AnimatedSprite2D* AnimatedSprite2D__AnimatedSprite2D_Contextstar()
  6586. {
  6587. Context* context = GetScriptContext();
  6588. return new AnimatedSprite2D(context);
  6589. }
  6590. // class AnimatedSprite2D | File: ../Urho2D/AnimatedSprite2D.h
  6591. static void Register_AnimatedSprite2D(asIScriptEngine* engine)
  6592. {
  6593. // explicit AnimatedSprite2D::AnimatedSprite2D(Context* context)
  6594. engine->RegisterObjectBehaviour("AnimatedSprite2D", asBEHAVE_FACTORY, "AnimatedSprite2D@+ f()", AS_FUNCTION(AnimatedSprite2D__AnimatedSprite2D_Contextstar) , AS_CALL_CDECL);
  6595. RegisterSubclass<StaticSprite2D, AnimatedSprite2D>(engine, "StaticSprite2D", "AnimatedSprite2D");
  6596. RegisterSubclass<Drawable2D, AnimatedSprite2D>(engine, "Drawable2D", "AnimatedSprite2D");
  6597. RegisterSubclass<Drawable, AnimatedSprite2D>(engine, "Drawable", "AnimatedSprite2D");
  6598. RegisterSubclass<Component, AnimatedSprite2D>(engine, "Component", "AnimatedSprite2D");
  6599. RegisterSubclass<Animatable, AnimatedSprite2D>(engine, "Animatable", "AnimatedSprite2D");
  6600. RegisterSubclass<Serializable, AnimatedSprite2D>(engine, "Serializable", "AnimatedSprite2D");
  6601. RegisterSubclass<Object, AnimatedSprite2D>(engine, "Object", "AnimatedSprite2D");
  6602. RegisterSubclass<RefCounted, AnimatedSprite2D>(engine, "RefCounted", "AnimatedSprite2D");
  6603. RegisterMembers_AnimatedSprite2D<AnimatedSprite2D>(engine, "AnimatedSprite2D");
  6604. #ifdef REGISTER_CLASS_MANUAL_PART_AnimatedSprite2D
  6605. REGISTER_CLASS_MANUAL_PART_AnimatedSprite2D();
  6606. #endif
  6607. }
  6608. // explicit StretchableSprite2D::StretchableSprite2D(Context* context)
  6609. static StretchableSprite2D* StretchableSprite2D__StretchableSprite2D_Contextstar()
  6610. {
  6611. Context* context = GetScriptContext();
  6612. return new StretchableSprite2D(context);
  6613. }
  6614. // class StretchableSprite2D | File: ../Urho2D/StretchableSprite2D.h
  6615. static void Register_StretchableSprite2D(asIScriptEngine* engine)
  6616. {
  6617. // explicit StretchableSprite2D::StretchableSprite2D(Context* context)
  6618. engine->RegisterObjectBehaviour("StretchableSprite2D", asBEHAVE_FACTORY, "StretchableSprite2D@+ f()", AS_FUNCTION(StretchableSprite2D__StretchableSprite2D_Contextstar) , AS_CALL_CDECL);
  6619. RegisterSubclass<StaticSprite2D, StretchableSprite2D>(engine, "StaticSprite2D", "StretchableSprite2D");
  6620. RegisterSubclass<Drawable2D, StretchableSprite2D>(engine, "Drawable2D", "StretchableSprite2D");
  6621. RegisterSubclass<Drawable, StretchableSprite2D>(engine, "Drawable", "StretchableSprite2D");
  6622. RegisterSubclass<Component, StretchableSprite2D>(engine, "Component", "StretchableSprite2D");
  6623. RegisterSubclass<Animatable, StretchableSprite2D>(engine, "Animatable", "StretchableSprite2D");
  6624. RegisterSubclass<Serializable, StretchableSprite2D>(engine, "Serializable", "StretchableSprite2D");
  6625. RegisterSubclass<Object, StretchableSprite2D>(engine, "Object", "StretchableSprite2D");
  6626. RegisterSubclass<RefCounted, StretchableSprite2D>(engine, "RefCounted", "StretchableSprite2D");
  6627. RegisterMembers_StretchableSprite2D<StretchableSprite2D>(engine, "StretchableSprite2D");
  6628. #ifdef REGISTER_CLASS_MANUAL_PART_StretchableSprite2D
  6629. REGISTER_CLASS_MANUAL_PART_StretchableSprite2D();
  6630. #endif
  6631. }
  6632. #endif // def URHO3D_URHO2D
  6633. void ASRegisterGeneratedClasses(asIScriptEngine* engine)
  6634. {
  6635. Register_AnimationControl(engine);
  6636. Register_AnimationKeyFrame(engine);
  6637. Register_AnimationStateTrack(engine);
  6638. Register_AnimationTrack(engine);
  6639. Register_AnimationTriggerPoint(engine);
  6640. Register_AreaAllocator(engine);
  6641. Register_AsyncProgress(engine);
  6642. Register_AttributeInfo(engine);
  6643. Register_BackgroundLoadItem(engine);
  6644. Register_Batch(engine);
  6645. Register_BatchGroupKey(engine);
  6646. Register_BatchQueue(engine);
  6647. Register_BiasParameters(engine);
  6648. Register_BigInt(engine);
  6649. Register_Billboard(engine);
  6650. Register_Bone(engine);
  6651. Register_BoundingBox(engine);
  6652. Register_CascadeParameters(engine);
  6653. Register_CharLocation(engine);
  6654. Register_Color(engine);
  6655. Register_ColorFrame(engine);
  6656. Register_CompressedLevel(engine);
  6657. Register_Condition(engine);
  6658. Register_Controls(engine);
  6659. Register_CursorShapeInfo(engine);
  6660. Register_CustomGeometryVertex(engine);
  6661. Register_DebugLine(engine);
  6662. Register_DebugTriangle(engine);
  6663. Register_Decal(engine);
  6664. Register_DecalVertex(engine);
  6665. Register_DepthValue(engine);
  6666. Register_Deserializer(engine);
  6667. Register_DirtyBits(engine);
  6668. Register_FileSelectorEntry(engine);
  6669. Register_FocusParameters(engine);
  6670. Register_FontGlyph(engine);
  6671. Register_FrameInfo(engine);
  6672. Register_Frustum(engine);
  6673. Register_GPUObject(engine);
  6674. Register_GeometryDesc(engine);
  6675. Register_HashBase(engine);
  6676. Register_HashIteratorBase(engine);
  6677. Register_HashNodeBase(engine);
  6678. Register_HiresTimer(engine);
  6679. Register_IndexBufferDesc(engine);
  6680. Register_InstanceData(engine);
  6681. Register_IntRect(engine);
  6682. Register_IntVector2(engine);
  6683. Register_IntVector3(engine);
  6684. Register_JSONValue(engine);
  6685. Register_JoystickState(engine);
  6686. Register_LightBatchQueue(engine);
  6687. Register_LightQueryResult(engine);
  6688. Register_LinkedListNode(engine);
  6689. Register_ListBase(engine);
  6690. Register_ListIteratorBase(engine);
  6691. Register_ListNodeBase(engine);
  6692. Register_MaterialShaderParameter(engine);
  6693. Register_Matrix2(engine);
  6694. Register_Matrix3(engine);
  6695. Register_Matrix3x4(engine);
  6696. Register_Matrix4(engine);
  6697. Register_ModelMorph(engine);
  6698. Register_Mutex(engine);
  6699. Register_MutexLock(engine);
  6700. Register_NetworkState(engine);
  6701. Register_NodeImpl(engine);
  6702. Register_OcclusionBatch(engine);
  6703. Register_OcclusionBufferData(engine);
  6704. Register_OctreeQueryResult(engine);
  6705. Register_PackageEntry(engine);
  6706. Register_Particle(engine);
  6707. Register_PerThreadSceneResult(engine);
  6708. Register_Plane(engine);
  6709. Register_Polyhedron(engine);
  6710. Register_Quaternion(engine);
  6711. Register_Ray(engine);
  6712. Register_RayQueryResult(engine);
  6713. Register_Rect(engine);
  6714. Register_RefCount(engine);
  6715. Register_RefCounted(engine);
  6716. Register_RenderPathCommand(engine);
  6717. Register_RenderTargetInfo(engine);
  6718. Register_ReplicationState(engine);
  6719. Register_ResourceGroup(engine);
  6720. Register_ResourceRef(engine);
  6721. Register_ResourceRefList(engine);
  6722. Register_ScenePassInfo(engine);
  6723. Register_SceneResolver(engine);
  6724. Register_ScratchBuffer(engine);
  6725. Register_ScreenModeParams(engine);
  6726. Register_Serializer(engine);
  6727. Register_ShaderParameter(engine);
  6728. Register_ShadowBatchQueue(engine);
  6729. Register_Skeleton(engine);
  6730. Register_SourceBatch(engine);
  6731. Register_Sphere(engine);
  6732. Register_Spline(engine);
  6733. Register_StaticModelGeometryData(engine);
  6734. Register_StoredLogMessage(engine);
  6735. Register_String(engine);
  6736. Register_StringHash(engine);
  6737. Register_StringHashRegister(engine);
  6738. Register_TechniqueEntry(engine);
  6739. Register_TextureFrame(engine);
  6740. Register_Timer(engine);
  6741. Register_TouchState(engine);
  6742. Register_TrailPoint(engine);
  6743. Register_UIBatch(engine);
  6744. Register_VAnimEventFrame(engine);
  6745. Register_VAnimKeyFrame(engine);
  6746. Register_Variant(engine);
  6747. Register_Vector2(engine);
  6748. Register_Vector3(engine);
  6749. Register_Vector4(engine);
  6750. Register_VectorBase(engine);
  6751. Register_VertexBufferDesc(engine);
  6752. Register_VertexBufferMorph(engine);
  6753. Register_VertexElement(engine);
  6754. Register_WindowModeParams(engine);
  6755. Register_XMLElement(engine);
  6756. Register_XPathQuery(engine);
  6757. Register_XPathResultSet(engine);
  6758. #ifdef URHO3D_NAVIGATION
  6759. Register_CrowdObstacleAvoidanceParams(engine);
  6760. Register_NavAreaStub(engine);
  6761. Register_NavBuildData(engine);
  6762. Register_NavigationGeometryInfo(engine);
  6763. Register_NavigationPathPoint(engine);
  6764. #endif
  6765. #ifdef URHO3D_NETWORK
  6766. Register_PackageDownload(engine);
  6767. Register_PackageUpload(engine);
  6768. Register_RemoteEvent(engine);
  6769. #endif
  6770. #ifdef URHO3D_PHYSICS
  6771. Register_DelayedWorldTransform(engine);
  6772. Register_ManifoldPair(engine);
  6773. Register_PhysicsRaycastResult(engine);
  6774. Register_PhysicsWorldConfig(engine);
  6775. #endif
  6776. #ifdef URHO3D_PHYSICS2D
  6777. Register_DelayedWorldTransform2D(engine);
  6778. Register_PhysicsRaycastResult2D(engine);
  6779. #endif
  6780. #ifdef URHO3D_URHO2D
  6781. Register_Particle2D(engine);
  6782. Register_SourceBatch2D(engine);
  6783. Register_TileMapInfo2D(engine);
  6784. Register_Vertex2D(engine);
  6785. #endif
  6786. Register_AnimationState(engine);
  6787. Register_AttributeAccessor(engine);
  6788. Register_BatchGroup(engine);
  6789. Register_ComponentReplicationState(engine);
  6790. Register_Context(engine);
  6791. Register_EventReceiverGroup(engine);
  6792. Register_FontFace(engine);
  6793. Register_NodeReplicationState(engine);
  6794. Register_Object(engine);
  6795. Register_ObjectFactory(engine);
  6796. Register_Pass(engine);
  6797. Register_RenderPath(engine);
  6798. Register_RenderSurface(engine);
  6799. Register_SceneReplicationState(engine);
  6800. Register_ShaderVariation(engine);
  6801. Register_SoundStream(engine);
  6802. Register_ValueAnimationInfo(engine);
  6803. #ifdef URHO3D_NAVIGATION
  6804. Register_SimpleNavBuildData(engine);
  6805. #endif
  6806. #ifdef URHO3D_NETWORK
  6807. Register_HttpRequest(engine);
  6808. #endif
  6809. #ifdef URHO3D_PHYSICS
  6810. Register_CollisionGeometryData(engine);
  6811. #endif
  6812. #ifdef URHO3D_URHO2D
  6813. Register_PropertySet2D(engine);
  6814. Register_Tile2D(engine);
  6815. Register_TileMapObject2D(engine);
  6816. Register_TmxLayer2D(engine);
  6817. #endif
  6818. Register_AttributeAnimationInfo(engine);
  6819. Register_Audio(engine);
  6820. Register_BufferedSoundStream(engine);
  6821. Register_Console(engine);
  6822. Register_ConstantBuffer(engine);
  6823. Register_DebugHud(engine);
  6824. Register_Engine(engine);
  6825. Register_File(engine);
  6826. Register_FileSelector(engine);
  6827. Register_FileSystem(engine);
  6828. Register_FileWatcher(engine);
  6829. Register_FontFaceBitmap(engine);
  6830. Register_FontFaceFreeType(engine);
  6831. Register_Geometry(engine);
  6832. Register_Graphics(engine);
  6833. Register_IndexBuffer(engine);
  6834. Register_Input(engine);
  6835. Register_Localization(engine);
  6836. Register_Log(engine);
  6837. Register_MessageBox(engine);
  6838. Register_NamedPipe(engine);
  6839. Register_OcclusionBuffer(engine);
  6840. Register_OggVorbisSoundStream(engine);
  6841. Register_PackageFile(engine);
  6842. Register_Profiler(engine);
  6843. Register_Renderer(engine);
  6844. Register_Resource(engine);
  6845. Register_ResourceCache(engine);
  6846. Register_Serializable(engine);
  6847. Register_ShaderParameterAnimationInfo(engine);
  6848. Register_ShaderPrecache(engine);
  6849. Register_Time(engine);
  6850. Register_UI(engine);
  6851. Register_VectorBuffer(engine);
  6852. Register_VertexBuffer(engine);
  6853. Register_View(engine);
  6854. Register_Viewport(engine);
  6855. Register_WorkQueue(engine);
  6856. #ifdef URHO3D_DATABASE
  6857. Register_Database(engine);
  6858. #endif
  6859. #ifdef URHO3D_NETWORK
  6860. Register_Connection(engine);
  6861. Register_Network(engine);
  6862. #endif
  6863. #ifdef URHO3D_PHYSICS
  6864. Register_ConvexData(engine);
  6865. Register_GImpactMeshData(engine);
  6866. Register_HeightfieldData(engine);
  6867. Register_TriangleMeshData(engine);
  6868. #endif
  6869. #ifdef URHO3D_URHO2D
  6870. Register_TmxImageLayer2D(engine);
  6871. Register_TmxObjectGroup2D(engine);
  6872. Register_TmxTileLayer2D(engine);
  6873. #endif
  6874. Register_Animatable(engine);
  6875. Register_EventProfiler(engine);
  6876. Register_Font(engine);
  6877. Register_Image(engine);
  6878. Register_JSONFile(engine);
  6879. Register_Material(engine);
  6880. Register_ObjectAnimation(engine);
  6881. Register_ParticleEffect(engine);
  6882. Register_ResourceWithMetadata(engine);
  6883. Register_Shader(engine);
  6884. Register_Technique(engine);
  6885. Register_ValueAnimation(engine);
  6886. Register_XMLFile(engine);
  6887. #ifdef URHO3D_URHO2D
  6888. Register_AnimationSet2D(engine);
  6889. Register_ParticleEffect2D(engine);
  6890. Register_Sprite2D(engine);
  6891. Register_SpriteSheet2D(engine);
  6892. Register_TmxFile2D(engine);
  6893. #endif
  6894. Register_Animation(engine);
  6895. Register_Component(engine);
  6896. Register_Model(engine);
  6897. Register_Node(engine);
  6898. Register_Sound(engine);
  6899. Register_Texture(engine);
  6900. Register_UIElement(engine);
  6901. Register_AnimationController(engine);
  6902. Register_BorderImage(engine);
  6903. Register_Camera(engine);
  6904. Register_DebugRenderer(engine);
  6905. Register_Drawable(engine);
  6906. Register_LogicComponent(engine);
  6907. Register_Octree(engine);
  6908. Register_Scene(engine);
  6909. Register_ScrollView(engine);
  6910. Register_SmoothedTransform(engine);
  6911. Register_SoundListener(engine);
  6912. Register_SoundSource(engine);
  6913. Register_SplinePath(engine);
  6914. Register_Sprite(engine);
  6915. Register_Terrain(engine);
  6916. Register_Texture2D(engine);
  6917. Register_Texture2DArray(engine);
  6918. Register_Texture3D(engine);
  6919. Register_TextureCube(engine);
  6920. Register_ToolTip(engine);
  6921. Register_UIComponent(engine);
  6922. Register_UISelectable(engine);
  6923. Register_UnknownComponent(engine);
  6924. #ifdef URHO3D_IK
  6925. Register_IKConstraint(engine);
  6926. Register_IKEffector(engine);
  6927. Register_IKSolver(engine);
  6928. #endif
  6929. #ifdef URHO3D_NAVIGATION
  6930. Register_CrowdAgent(engine);
  6931. Register_CrowdManager(engine);
  6932. Register_NavArea(engine);
  6933. Register_Navigable(engine);
  6934. Register_NavigationMesh(engine);
  6935. Register_Obstacle(engine);
  6936. Register_OffMeshConnection(engine);
  6937. #endif
  6938. #ifdef URHO3D_NETWORK
  6939. Register_NetworkPriority(engine);
  6940. #endif
  6941. #ifdef URHO3D_PHYSICS
  6942. Register_CollisionShape(engine);
  6943. Register_Constraint(engine);
  6944. Register_PhysicsWorld(engine);
  6945. Register_RigidBody(engine);
  6946. #endif
  6947. #ifdef URHO3D_PHYSICS2D
  6948. Register_CollisionShape2D(engine);
  6949. Register_Constraint2D(engine);
  6950. Register_PhysicsWorld2D(engine);
  6951. Register_RigidBody2D(engine);
  6952. #endif
  6953. #ifdef URHO3D_URHO2D
  6954. Register_TileMap2D(engine);
  6955. Register_TileMapLayer2D(engine);
  6956. #endif
  6957. Register_BillboardSet(engine);
  6958. Register_Button(engine);
  6959. Register_CheckBox(engine);
  6960. Register_Cursor(engine);
  6961. Register_CustomGeometry(engine);
  6962. Register_DecalSet(engine);
  6963. Register_Light(engine);
  6964. Register_LineEdit(engine);
  6965. Register_ListView(engine);
  6966. Register_ProgressBar(engine);
  6967. Register_RibbonTrail(engine);
  6968. Register_ScrollBar(engine);
  6969. Register_Slider(engine);
  6970. Register_SoundSource3D(engine);
  6971. Register_StaticModel(engine);
  6972. Register_TerrainPatch(engine);
  6973. Register_Text(engine);
  6974. Register_Text3D(engine);
  6975. Register_Window(engine);
  6976. Register_Zone(engine);
  6977. #ifdef URHO3D_NAVIGATION
  6978. Register_DynamicNavigationMesh(engine);
  6979. #endif
  6980. #ifdef URHO3D_PHYSICS
  6981. Register_RaycastVehicle(engine);
  6982. #endif
  6983. #ifdef URHO3D_PHYSICS2D
  6984. Register_CollisionBox2D(engine);
  6985. Register_CollisionChain2D(engine);
  6986. Register_CollisionCircle2D(engine);
  6987. Register_CollisionEdge2D(engine);
  6988. Register_CollisionPolygon2D(engine);
  6989. Register_ConstraintDistance2D(engine);
  6990. Register_ConstraintFriction2D(engine);
  6991. Register_ConstraintGear2D(engine);
  6992. Register_ConstraintMotor2D(engine);
  6993. Register_ConstraintMouse2D(engine);
  6994. Register_ConstraintPrismatic2D(engine);
  6995. Register_ConstraintPulley2D(engine);
  6996. Register_ConstraintRevolute2D(engine);
  6997. Register_ConstraintWeld2D(engine);
  6998. Register_ConstraintWheel2D(engine);
  6999. #endif
  7000. #ifdef URHO3D_URHO2D
  7001. Register_Drawable2D(engine);
  7002. Register_Renderer2D(engine);
  7003. #endif
  7004. Register_AnimatedModel(engine);
  7005. Register_Menu(engine);
  7006. Register_ParticleEmitter(engine);
  7007. Register_Skybox(engine);
  7008. Register_StaticModelGroup(engine);
  7009. Register_View3D(engine);
  7010. #ifdef URHO3D_URHO2D
  7011. Register_ParticleEmitter2D(engine);
  7012. Register_StaticSprite2D(engine);
  7013. #endif
  7014. Register_DropDownList(engine);
  7015. #ifdef URHO3D_URHO2D
  7016. Register_AnimatedSprite2D(engine);
  7017. Register_StretchableSprite2D(engine);
  7018. #endif
  7019. }
  7020. }