Generated_Classes.cpp 383 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808
  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(hash32 value) noexcept
  1997. static void StringHash_constexpr_StringHash_hash32(StringHash* _ptr, hash32 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(hash32 value) noexcept
  2014. engine->RegisterObjectBehaviour("StringHash", asBEHAVE_CONSTRUCT, "void f(hash32)", AS_FUNCTION_OBJFIRST(StringHash_constexpr_StringHash_hash32), 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 Vector<unsigned char>& value)
  2220. static void Variant__Variant_constspVectorlesunsignedspchargreamp(Variant* _ptr, CScriptArray* value_conv)
  2221. {
  2222. Vector<unsigned char> value = ArrayToVector<unsigned char>(value_conv);
  2223. new(_ptr) Variant(value);
  2224. }
  2225. // Variant::Variant(const VectorBuffer& value)
  2226. static void Variant__Variant_constspVectorBufferamp(Variant* _ptr, const VectorBuffer& value)
  2227. {
  2228. new(_ptr) Variant(value);
  2229. }
  2230. // Variant::Variant(const ResourceRef& value)
  2231. static void Variant__Variant_constspResourceRefamp(Variant* _ptr, const ResourceRef& value)
  2232. {
  2233. new(_ptr) Variant(value);
  2234. }
  2235. // Variant::Variant(const ResourceRefList& value)
  2236. static void Variant__Variant_constspResourceRefListamp(Variant* _ptr, const ResourceRefList& value)
  2237. {
  2238. new(_ptr) Variant(value);
  2239. }
  2240. // Variant::Variant(const VariantMap& value)
  2241. static void Variant__Variant_constspVariantMapamp(Variant* _ptr, const VariantMap& value)
  2242. {
  2243. new(_ptr) Variant(value);
  2244. }
  2245. // Variant::Variant(const StringVector& value)
  2246. static void Variant__Variant_constspStringVectoramp(Variant* _ptr, CScriptArray* value_conv)
  2247. {
  2248. StringVector value = ArrayToVector<String>(value_conv);
  2249. new(_ptr) Variant(value);
  2250. }
  2251. // Variant::Variant(const Rect& value)
  2252. static void Variant__Variant_constspRectamp(Variant* _ptr, const Rect& value)
  2253. {
  2254. new(_ptr) Variant(value);
  2255. }
  2256. // Variant::Variant(const IntRect& value)
  2257. static void Variant__Variant_constspIntRectamp(Variant* _ptr, const IntRect& value)
  2258. {
  2259. new(_ptr) Variant(value);
  2260. }
  2261. // Variant::Variant(const IntVector2& value)
  2262. static void Variant__Variant_constspIntVector2amp(Variant* _ptr, const IntVector2& value)
  2263. {
  2264. new(_ptr) Variant(value);
  2265. }
  2266. // Variant::Variant(const IntVector3& value)
  2267. static void Variant__Variant_constspIntVector3amp(Variant* _ptr, const IntVector3& value)
  2268. {
  2269. new(_ptr) Variant(value);
  2270. }
  2271. // Variant::Variant(RefCounted* value)
  2272. static void Variant__Variant_RefCountedstar(Variant* _ptr, RefCounted* value)
  2273. {
  2274. new(_ptr) Variant(value);
  2275. }
  2276. // Variant::Variant(const Matrix3& value)
  2277. static void Variant__Variant_constspMatrix3amp(Variant* _ptr, const Matrix3& value)
  2278. {
  2279. new(_ptr) Variant(value);
  2280. }
  2281. // Variant::Variant(const Matrix3x4& value)
  2282. static void Variant__Variant_constspMatrix3x4amp(Variant* _ptr, const Matrix3x4& value)
  2283. {
  2284. new(_ptr) Variant(value);
  2285. }
  2286. // Variant::Variant(const Matrix4& value)
  2287. static void Variant__Variant_constspMatrix4amp(Variant* _ptr, const Matrix4& value)
  2288. {
  2289. new(_ptr) Variant(value);
  2290. }
  2291. // Variant::Variant(const String& type, const String& value)
  2292. static void Variant__Variant_constspStringamp_constspStringamp(Variant* _ptr, const String& type, const String& value)
  2293. {
  2294. new(_ptr) Variant(type, value);
  2295. }
  2296. // Variant::Variant(VariantType type, const String& value)
  2297. static void Variant__Variant_VariantType_constspStringamp(Variant* _ptr, VariantType type, const String& value)
  2298. {
  2299. new(_ptr) Variant(type, value);
  2300. }
  2301. // Variant::Variant(const Variant& value)
  2302. static void Variant__Variant_constspVariantamp(Variant* _ptr, const Variant& value)
  2303. {
  2304. new(_ptr) Variant(value);
  2305. }
  2306. // class Variant | File: ../Core/Variant.h
  2307. static void Register_Variant(asIScriptEngine* engine)
  2308. {
  2309. // Variant::Variant(VariantType type, const char* value)
  2310. // Error: type "const char*" can not automatically bind
  2311. // Variant::Variant(const VariantVector& value)
  2312. // Error: type "const VariantVector&" can not automatically bind
  2313. // Variant::Variant(const char* type, const char* value)
  2314. // Error: type "const char*" can not automatically bind
  2315. // Variant::Variant(const char* value)
  2316. // Error: type "const char*" can not automatically bind
  2317. // Variant::Variant(void* value)
  2318. // Error: type "void*" can not automatically bind
  2319. // template <class T> Variant::Variant(const CustomVariantValueImpl<T>& value)
  2320. // Error: type "const CustomVariantValueImpl<T>&" can not automatically bind
  2321. // Variant::Variant(int value)
  2322. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(int)", AS_FUNCTION_OBJFIRST(Variant__Variant_int), AS_CALL_CDECL_OBJFIRST);
  2323. // Variant::Variant(long long value)
  2324. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(int64)", AS_FUNCTION_OBJFIRST(Variant__Variant_longsplong), AS_CALL_CDECL_OBJFIRST);
  2325. // Variant::Variant(unsigned value)
  2326. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(uint)", AS_FUNCTION_OBJFIRST(Variant__Variant_unsigned), AS_CALL_CDECL_OBJFIRST);
  2327. // Variant::Variant(unsigned long long value)
  2328. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(uint64)", AS_FUNCTION_OBJFIRST(Variant__Variant_unsignedsplongsplong), AS_CALL_CDECL_OBJFIRST);
  2329. // Variant::Variant(const StringHash& value)
  2330. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const StringHash&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringHashamp), AS_CALL_CDECL_OBJFIRST);
  2331. // Variant::Variant(bool value)
  2332. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(bool)", AS_FUNCTION_OBJFIRST(Variant__Variant_bool), AS_CALL_CDECL_OBJFIRST);
  2333. // Variant::Variant(float value)
  2334. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(float)", AS_FUNCTION_OBJFIRST(Variant__Variant_float), AS_CALL_CDECL_OBJFIRST);
  2335. // Variant::Variant(double value)
  2336. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(double)", AS_FUNCTION_OBJFIRST(Variant__Variant_double), AS_CALL_CDECL_OBJFIRST);
  2337. // Variant::Variant(const Vector2& value)
  2338. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Vector2&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVector2amp), AS_CALL_CDECL_OBJFIRST);
  2339. // Variant::Variant(const Vector3& value)
  2340. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Vector3&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  2341. // Variant::Variant(const Vector4& value)
  2342. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Vector4&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVector4amp), AS_CALL_CDECL_OBJFIRST);
  2343. // Variant::Variant(const Quaternion& value)
  2344. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Quaternion&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspQuaternionamp), AS_CALL_CDECL_OBJFIRST);
  2345. // Variant::Variant(const Color& value)
  2346. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Color&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspColoramp), AS_CALL_CDECL_OBJFIRST);
  2347. // Variant::Variant(const String& value)
  2348. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const String&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  2349. // Variant::Variant(const Vector<unsigned char>& value)
  2350. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVectorlesunsignedspchargreamp), AS_CALL_CDECL_OBJFIRST);
  2351. // Variant::Variant(const VectorBuffer& value)
  2352. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const VectorBuffer&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVectorBufferamp), AS_CALL_CDECL_OBJFIRST);
  2353. // Variant::Variant(const ResourceRef& value)
  2354. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const ResourceRef&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspResourceRefamp), AS_CALL_CDECL_OBJFIRST);
  2355. // Variant::Variant(const ResourceRefList& value)
  2356. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const ResourceRefList&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspResourceRefListamp), AS_CALL_CDECL_OBJFIRST);
  2357. // Variant::Variant(const VariantMap& value)
  2358. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const VariantMap&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVariantMapamp), AS_CALL_CDECL_OBJFIRST);
  2359. // Variant::Variant(const StringVector& value)
  2360. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(Array<String>@+)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringVectoramp), AS_CALL_CDECL_OBJFIRST);
  2361. // Variant::Variant(const Rect& value)
  2362. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Rect&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspRectamp), AS_CALL_CDECL_OBJFIRST);
  2363. // Variant::Variant(const IntRect& value)
  2364. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const IntRect&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspIntRectamp), AS_CALL_CDECL_OBJFIRST);
  2365. // Variant::Variant(const IntVector2& value)
  2366. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const IntVector2&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspIntVector2amp), AS_CALL_CDECL_OBJFIRST);
  2367. // Variant::Variant(const IntVector3& value)
  2368. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const IntVector3&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspIntVector3amp), AS_CALL_CDECL_OBJFIRST);
  2369. // Variant::Variant(RefCounted* value)
  2370. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(RefCounted@+)", AS_FUNCTION_OBJFIRST(Variant__Variant_RefCountedstar), AS_CALL_CDECL_OBJFIRST);
  2371. // Variant::Variant(const Matrix3& value)
  2372. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Matrix3&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspMatrix3amp), AS_CALL_CDECL_OBJFIRST);
  2373. // Variant::Variant(const Matrix3x4& value)
  2374. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Matrix3x4&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspMatrix3x4amp), AS_CALL_CDECL_OBJFIRST);
  2375. // Variant::Variant(const Matrix4& value)
  2376. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Matrix4&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspMatrix4amp), AS_CALL_CDECL_OBJFIRST);
  2377. // Variant::Variant(const String& type, const String& value)
  2378. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const String&in, const String&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringamp_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  2379. // Variant::Variant(VariantType type, const String& value)
  2380. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(VariantType, const String&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_VariantType_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  2381. // Variant::Variant(const Variant& value)
  2382. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Variant&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVariantamp), AS_CALL_CDECL_OBJFIRST);
  2383. // Variant::~Variant()
  2384. engine->RegisterObjectBehaviour("Variant", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Variant), AS_CALL_CDECL_OBJFIRST);
  2385. RegisterMembers_Variant<Variant>(engine, "Variant");
  2386. #ifdef REGISTER_CLASS_MANUAL_PART_Variant
  2387. REGISTER_CLASS_MANUAL_PART_Variant();
  2388. #endif
  2389. }
  2390. // Vector2::Vector2(const Vector2& vector) noexcept = default
  2391. static void Vector2__Vector2_constspVector2amp(Vector2* _ptr, const Vector2& vector)
  2392. {
  2393. new(_ptr) Vector2(vector);
  2394. }
  2395. // explicit Vector2::Vector2(const IntVector2& vector) noexcept
  2396. static void Vector2__Vector2_constspIntVector2amp(Vector2* _ptr, const IntVector2& vector)
  2397. {
  2398. new(_ptr) Vector2(vector);
  2399. }
  2400. // Vector2::Vector2(float x, float y) noexcept
  2401. static void Vector2__Vector2_float_float(Vector2* _ptr, float x, float y)
  2402. {
  2403. new(_ptr) Vector2(x, y);
  2404. }
  2405. // Vector2::Vector2(i32 x, i32 y) noexcept
  2406. static void Vector2__Vector2_i32_i32(Vector2* _ptr, i32 x, i32 y)
  2407. {
  2408. new(_ptr) Vector2(x, y);
  2409. }
  2410. // class Vector2 | File: ../Math/Vector2.h
  2411. static void Register_Vector2(asIScriptEngine* engine)
  2412. {
  2413. // explicit Vector2::Vector2(const float* data) noexcept
  2414. // Error: type "const float*" can not automatically bind
  2415. // Vector2::Vector2(const Vector2& vector) noexcept = default
  2416. engine->RegisterObjectBehaviour("Vector2", asBEHAVE_CONSTRUCT, "void f(const Vector2&in)", AS_FUNCTION_OBJFIRST(Vector2__Vector2_constspVector2amp), AS_CALL_CDECL_OBJFIRST);
  2417. // explicit Vector2::Vector2(const IntVector2& vector) noexcept
  2418. engine->RegisterObjectBehaviour("Vector2", asBEHAVE_CONSTRUCT, "void f(const IntVector2&in)", AS_FUNCTION_OBJFIRST(Vector2__Vector2_constspIntVector2amp), AS_CALL_CDECL_OBJFIRST);
  2419. // Vector2::Vector2(float x, float y) noexcept
  2420. engine->RegisterObjectBehaviour("Vector2", asBEHAVE_CONSTRUCT, "void f(float, float)", AS_FUNCTION_OBJFIRST(Vector2__Vector2_float_float), AS_CALL_CDECL_OBJFIRST);
  2421. // Vector2::Vector2(i32 x, i32 y) noexcept
  2422. engine->RegisterObjectBehaviour("Vector2", asBEHAVE_CONSTRUCT, "void f(int, int)", AS_FUNCTION_OBJFIRST(Vector2__Vector2_i32_i32), AS_CALL_CDECL_OBJFIRST);
  2423. RegisterMembers_Vector2<Vector2>(engine, "Vector2");
  2424. #ifdef REGISTER_CLASS_MANUAL_PART_Vector2
  2425. REGISTER_CLASS_MANUAL_PART_Vector2();
  2426. #endif
  2427. }
  2428. // Vector3::Vector3(const Vector3& vector) noexcept = default
  2429. static void Vector3__Vector3_constspVector3amp(Vector3* _ptr, const Vector3& vector)
  2430. {
  2431. new(_ptr) Vector3(vector);
  2432. }
  2433. // Vector3::Vector3(const Vector2& vector, float z) noexcept
  2434. static void Vector3__Vector3_constspVector2amp_float(Vector3* _ptr, const Vector2& vector, float z)
  2435. {
  2436. new(_ptr) Vector3(vector, z);
  2437. }
  2438. // explicit Vector3::Vector3(const Vector2& vector) noexcept
  2439. static void Vector3__Vector3_constspVector2amp(Vector3* _ptr, const Vector2& vector)
  2440. {
  2441. new(_ptr) Vector3(vector);
  2442. }
  2443. // explicit Vector3::Vector3(const IntVector3& vector) noexcept
  2444. static void Vector3__Vector3_constspIntVector3amp(Vector3* _ptr, const IntVector3& vector)
  2445. {
  2446. new(_ptr) Vector3(vector);
  2447. }
  2448. // Vector3::Vector3(float x, float y, float z) noexcept
  2449. static void Vector3__Vector3_float_float_float(Vector3* _ptr, float x, float y, float z)
  2450. {
  2451. new(_ptr) Vector3(x, y, z);
  2452. }
  2453. // Vector3::Vector3(float x, float y) noexcept
  2454. static void Vector3__Vector3_float_float(Vector3* _ptr, float x, float y)
  2455. {
  2456. new(_ptr) Vector3(x, y);
  2457. }
  2458. // class Vector3 | File: ../Math/Vector3.h
  2459. static void Register_Vector3(asIScriptEngine* engine)
  2460. {
  2461. // explicit Vector3::Vector3(const float* data) noexcept
  2462. // Error: type "const float*" can not automatically bind
  2463. // Vector3::Vector3(const Vector3& vector) noexcept = default
  2464. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const Vector3&in)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  2465. // Vector3::Vector3(const Vector2& vector, float z) noexcept
  2466. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const Vector2&in, float)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspVector2amp_float), AS_CALL_CDECL_OBJFIRST);
  2467. // explicit Vector3::Vector3(const Vector2& vector) noexcept
  2468. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const Vector2&in)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspVector2amp), AS_CALL_CDECL_OBJFIRST);
  2469. // explicit Vector3::Vector3(const IntVector3& vector) noexcept
  2470. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const IntVector3&in)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspIntVector3amp), AS_CALL_CDECL_OBJFIRST);
  2471. // Vector3::Vector3(float x, float y, float z) noexcept
  2472. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(float, float, float)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_float_float_float), AS_CALL_CDECL_OBJFIRST);
  2473. // Vector3::Vector3(float x, float y) noexcept
  2474. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(float, float)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_float_float), AS_CALL_CDECL_OBJFIRST);
  2475. RegisterMembers_Vector3<Vector3>(engine, "Vector3");
  2476. #ifdef REGISTER_CLASS_MANUAL_PART_Vector3
  2477. REGISTER_CLASS_MANUAL_PART_Vector3();
  2478. #endif
  2479. }
  2480. // Vector4::Vector4(const Vector4& vector) noexcept = default
  2481. static void Vector4__Vector4_constspVector4amp(Vector4* _ptr, const Vector4& vector)
  2482. {
  2483. new(_ptr) Vector4(vector);
  2484. }
  2485. // Vector4::Vector4(const Vector3& vector, float w) noexcept
  2486. static void Vector4__Vector4_constspVector3amp_float(Vector4* _ptr, const Vector3& vector, float w)
  2487. {
  2488. new(_ptr) Vector4(vector, w);
  2489. }
  2490. // Vector4::Vector4(float x, float y, float z, float w) noexcept
  2491. static void Vector4__Vector4_float_float_float_float(Vector4* _ptr, float x, float y, float z, float w)
  2492. {
  2493. new(_ptr) Vector4(x, y, z, w);
  2494. }
  2495. // class Vector4 | File: ../Math/Vector4.h
  2496. static void Register_Vector4(asIScriptEngine* engine)
  2497. {
  2498. // explicit Vector4::Vector4(const float* data) noexcept
  2499. // Error: type "const float*" can not automatically bind
  2500. // Vector4::Vector4(const Vector4& vector) noexcept = default
  2501. engine->RegisterObjectBehaviour("Vector4", asBEHAVE_CONSTRUCT, "void f(const Vector4&in)", AS_FUNCTION_OBJFIRST(Vector4__Vector4_constspVector4amp), AS_CALL_CDECL_OBJFIRST);
  2502. // Vector4::Vector4(const Vector3& vector, float w) noexcept
  2503. engine->RegisterObjectBehaviour("Vector4", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, float)", AS_FUNCTION_OBJFIRST(Vector4__Vector4_constspVector3amp_float), AS_CALL_CDECL_OBJFIRST);
  2504. // Vector4::Vector4(float x, float y, float z, float w) noexcept
  2505. engine->RegisterObjectBehaviour("Vector4", asBEHAVE_CONSTRUCT, "void f(float, float, float, float)", AS_FUNCTION_OBJFIRST(Vector4__Vector4_float_float_float_float), AS_CALL_CDECL_OBJFIRST);
  2506. RegisterMembers_Vector4<Vector4>(engine, "Vector4");
  2507. #ifdef REGISTER_CLASS_MANUAL_PART_Vector4
  2508. REGISTER_CLASS_MANUAL_PART_Vector4();
  2509. #endif
  2510. }
  2511. // class VectorBase | File: ../Container/VectorBase.h
  2512. static void Register_VectorBase(asIScriptEngine* engine)
  2513. {
  2514. // VectorBase::~VectorBase() | Implicitly-declared
  2515. engine->RegisterObjectBehaviour("VectorBase", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VectorBase), AS_CALL_CDECL_OBJFIRST);
  2516. RegisterMembers_VectorBase<VectorBase>(engine, "VectorBase");
  2517. #ifdef REGISTER_CLASS_MANUAL_PART_VectorBase
  2518. REGISTER_CLASS_MANUAL_PART_VectorBase();
  2519. #endif
  2520. // VectorBase& VectorBase::operator =(const VectorBase&) | Possible implicitly-declared
  2521. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VectorBase>(engine, "VectorBase");
  2522. }
  2523. // struct VertexBufferDesc | File: ../Graphics/Model.h
  2524. static void Register_VertexBufferDesc(asIScriptEngine* engine)
  2525. {
  2526. // VertexBufferDesc::~VertexBufferDesc() | Implicitly-declared
  2527. engine->RegisterObjectBehaviour("VertexBufferDesc", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VertexBufferDesc), AS_CALL_CDECL_OBJFIRST);
  2528. RegisterMembers_VertexBufferDesc<VertexBufferDesc>(engine, "VertexBufferDesc");
  2529. #ifdef REGISTER_CLASS_MANUAL_PART_VertexBufferDesc
  2530. REGISTER_CLASS_MANUAL_PART_VertexBufferDesc();
  2531. #endif
  2532. // VertexBufferDesc& VertexBufferDesc::operator =(const VertexBufferDesc&) | Possible implicitly-declared
  2533. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VertexBufferDesc>(engine, "VertexBufferDesc");
  2534. }
  2535. // struct VertexBufferMorph | File: ../Graphics/Model.h
  2536. static void Register_VertexBufferMorph(asIScriptEngine* engine)
  2537. {
  2538. // VertexBufferMorph::~VertexBufferMorph() | Implicitly-declared
  2539. engine->RegisterObjectBehaviour("VertexBufferMorph", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VertexBufferMorph), AS_CALL_CDECL_OBJFIRST);
  2540. RegisterMembers_VertexBufferMorph<VertexBufferMorph>(engine, "VertexBufferMorph");
  2541. #ifdef REGISTER_CLASS_MANUAL_PART_VertexBufferMorph
  2542. REGISTER_CLASS_MANUAL_PART_VertexBufferMorph();
  2543. #endif
  2544. // VertexBufferMorph& VertexBufferMorph::operator =(const VertexBufferMorph&) | Possible implicitly-declared
  2545. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VertexBufferMorph>(engine, "VertexBufferMorph");
  2546. }
  2547. // VertexElement::VertexElement(VertexElementType type, VertexElementSemantic semantic, i8 index = 0, bool perInstance = false) noexcept
  2548. static void VertexElement__VertexElement_VertexElementType_VertexElementSemantic_i8_bool(VertexElement* _ptr, VertexElementType type, VertexElementSemantic semantic, i8 index, bool perInstance)
  2549. {
  2550. new(_ptr) VertexElement(type, semantic, index, perInstance);
  2551. }
  2552. // struct VertexElement | File: ../GraphicsAPI/GraphicsDefs.h
  2553. static void Register_VertexElement(asIScriptEngine* engine)
  2554. {
  2555. // VertexElement::VertexElement(VertexElementType type, VertexElementSemantic semantic, i8 index = 0, bool perInstance = false) noexcept
  2556. 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);
  2557. // VertexElement::~VertexElement() | Implicitly-declared
  2558. engine->RegisterObjectBehaviour("VertexElement", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VertexElement), AS_CALL_CDECL_OBJFIRST);
  2559. RegisterMembers_VertexElement<VertexElement>(engine, "VertexElement");
  2560. #ifdef REGISTER_CLASS_MANUAL_PART_VertexElement
  2561. REGISTER_CLASS_MANUAL_PART_VertexElement();
  2562. #endif
  2563. // VertexElement& VertexElement::operator =(const VertexElement&) | Possible implicitly-declared
  2564. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VertexElement>(engine, "VertexElement");
  2565. }
  2566. // struct WindowModeParams | File: ../Graphics/Graphics.h
  2567. static void Register_WindowModeParams(asIScriptEngine* engine)
  2568. {
  2569. // WindowModeParams::~WindowModeParams() | Implicitly-declared
  2570. engine->RegisterObjectBehaviour("WindowModeParams", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(WindowModeParams), AS_CALL_CDECL_OBJFIRST);
  2571. RegisterMembers_WindowModeParams<WindowModeParams>(engine, "WindowModeParams");
  2572. #ifdef REGISTER_CLASS_MANUAL_PART_WindowModeParams
  2573. REGISTER_CLASS_MANUAL_PART_WindowModeParams();
  2574. #endif
  2575. // WindowModeParams& WindowModeParams::operator =(const WindowModeParams&) | Possible implicitly-declared
  2576. RegisterImplicitlyDeclaredAssignOperatorIfPossible<WindowModeParams>(engine, "WindowModeParams");
  2577. }
  2578. // XMLElement::XMLElement(const XMLElement& rhs)
  2579. static void XMLElement__XMLElement_constspXMLElementamp(XMLElement* _ptr, const XMLElement& rhs)
  2580. {
  2581. new(_ptr) XMLElement(rhs);
  2582. }
  2583. // class XMLElement | File: ../Resource/XMLElement.h
  2584. static void Register_XMLElement(asIScriptEngine* engine)
  2585. {
  2586. // XMLElement::XMLElement(XMLFile* file, const XPathResultSet* resultSet, const pugi::xpath_node* xpathNode, i32 xpathResultIndex)
  2587. // Error: type "const XPathResultSet*" can not automatically bind
  2588. // XMLElement::XMLElement(XMLFile* file, pugi::xml_node_struct* node)
  2589. // Error: type "pugi::xml_node_struct*" can not automatically bind
  2590. // XMLElement::XMLElement(const XMLElement& rhs)
  2591. engine->RegisterObjectBehaviour("XMLElement", asBEHAVE_CONSTRUCT, "void f(const XMLElement&in)", AS_FUNCTION_OBJFIRST(XMLElement__XMLElement_constspXMLElementamp), AS_CALL_CDECL_OBJFIRST);
  2592. // XMLElement::~XMLElement()
  2593. engine->RegisterObjectBehaviour("XMLElement", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(XMLElement), AS_CALL_CDECL_OBJFIRST);
  2594. RegisterMembers_XMLElement<XMLElement>(engine, "XMLElement");
  2595. #ifdef REGISTER_CLASS_MANUAL_PART_XMLElement
  2596. REGISTER_CLASS_MANUAL_PART_XMLElement();
  2597. #endif
  2598. }
  2599. // explicit XPathQuery::XPathQuery(const String& queryString, const String& variableString = String::EMPTY)
  2600. static void XPathQuery__XPathQuery_constspStringamp_constspStringamp(XPathQuery* _ptr, const String& queryString, const String& variableString)
  2601. {
  2602. new(_ptr) XPathQuery(queryString, variableString);
  2603. }
  2604. // class XPathQuery | File: ../Resource/XMLElement.h
  2605. static void Register_XPathQuery(asIScriptEngine* engine)
  2606. {
  2607. // explicit XPathQuery::XPathQuery(const String& queryString, const String& variableString = String::EMPTY)
  2608. 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);
  2609. // XPathQuery::~XPathQuery()
  2610. engine->RegisterObjectBehaviour("XPathQuery", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(XPathQuery), AS_CALL_CDECL_OBJFIRST);
  2611. RegisterMembers_XPathQuery<XPathQuery>(engine, "XPathQuery");
  2612. #ifdef REGISTER_CLASS_MANUAL_PART_XPathQuery
  2613. REGISTER_CLASS_MANUAL_PART_XPathQuery();
  2614. #endif
  2615. // XPathQuery& XPathQuery::operator =(const XPathQuery&) | Possible implicitly-declared
  2616. RegisterImplicitlyDeclaredAssignOperatorIfPossible<XPathQuery>(engine, "XPathQuery");
  2617. }
  2618. // XPathResultSet::XPathResultSet(const XPathResultSet& rhs)
  2619. static void XPathResultSet__XPathResultSet_constspXPathResultSetamp(XPathResultSet* _ptr, const XPathResultSet& rhs)
  2620. {
  2621. new(_ptr) XPathResultSet(rhs);
  2622. }
  2623. // class XPathResultSet | File: ../Resource/XMLElement.h
  2624. static void Register_XPathResultSet(asIScriptEngine* engine)
  2625. {
  2626. // XPathResultSet::XPathResultSet(XMLFile* file, pugi::xpath_node_set* resultSet)
  2627. // Error: type "pugi::xpath_node_set*" can not automatically bind
  2628. // XPathResultSet::XPathResultSet(const XPathResultSet& rhs)
  2629. engine->RegisterObjectBehaviour("XPathResultSet", asBEHAVE_CONSTRUCT, "void f(const XPathResultSet&in)", AS_FUNCTION_OBJFIRST(XPathResultSet__XPathResultSet_constspXPathResultSetamp), AS_CALL_CDECL_OBJFIRST);
  2630. // XPathResultSet::~XPathResultSet()
  2631. engine->RegisterObjectBehaviour("XPathResultSet", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(XPathResultSet), AS_CALL_CDECL_OBJFIRST);
  2632. RegisterMembers_XPathResultSet<XPathResultSet>(engine, "XPathResultSet");
  2633. #ifdef REGISTER_CLASS_MANUAL_PART_XPathResultSet
  2634. REGISTER_CLASS_MANUAL_PART_XPathResultSet();
  2635. #endif
  2636. }
  2637. #ifdef URHO3D_NAVIGATION
  2638. // struct CrowdObstacleAvoidanceParams | File: ../Navigation/CrowdManager.h
  2639. static void Register_CrowdObstacleAvoidanceParams(asIScriptEngine* engine)
  2640. {
  2641. RegisterMembers_CrowdObstacleAvoidanceParams<CrowdObstacleAvoidanceParams>(engine, "CrowdObstacleAvoidanceParams");
  2642. #ifdef REGISTER_CLASS_MANUAL_PART_CrowdObstacleAvoidanceParams
  2643. REGISTER_CLASS_MANUAL_PART_CrowdObstacleAvoidanceParams();
  2644. #endif
  2645. // CrowdObstacleAvoidanceParams& CrowdObstacleAvoidanceParams::operator =(const CrowdObstacleAvoidanceParams&) | Possible implicitly-declared
  2646. RegisterImplicitlyDeclaredAssignOperatorIfPossible<CrowdObstacleAvoidanceParams>(engine, "CrowdObstacleAvoidanceParams");
  2647. }
  2648. // struct NavAreaStub | File: ../Navigation/NavBuildData.h
  2649. static void Register_NavAreaStub(asIScriptEngine* engine)
  2650. {
  2651. // NavAreaStub::~NavAreaStub() | Implicitly-declared
  2652. engine->RegisterObjectBehaviour("NavAreaStub", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavAreaStub), AS_CALL_CDECL_OBJFIRST);
  2653. RegisterMembers_NavAreaStub<NavAreaStub>(engine, "NavAreaStub");
  2654. #ifdef REGISTER_CLASS_MANUAL_PART_NavAreaStub
  2655. REGISTER_CLASS_MANUAL_PART_NavAreaStub();
  2656. #endif
  2657. // NavAreaStub& NavAreaStub::operator =(const NavAreaStub&) | Possible implicitly-declared
  2658. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavAreaStub>(engine, "NavAreaStub");
  2659. }
  2660. // struct NavBuildData | File: ../Navigation/NavBuildData.h
  2661. static void Register_NavBuildData(asIScriptEngine* engine)
  2662. {
  2663. // virtual NavBuildData::~NavBuildData()
  2664. engine->RegisterObjectBehaviour("NavBuildData", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavBuildData), AS_CALL_CDECL_OBJFIRST);
  2665. RegisterMembers_NavBuildData<NavBuildData>(engine, "NavBuildData");
  2666. #ifdef REGISTER_CLASS_MANUAL_PART_NavBuildData
  2667. REGISTER_CLASS_MANUAL_PART_NavBuildData();
  2668. #endif
  2669. // NavBuildData& NavBuildData::operator =(const NavBuildData&) | Possible implicitly-declared
  2670. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavBuildData>(engine, "NavBuildData");
  2671. }
  2672. // struct NavigationGeometryInfo | File: ../Navigation/NavigationMesh.h
  2673. static void Register_NavigationGeometryInfo(asIScriptEngine* engine)
  2674. {
  2675. // NavigationGeometryInfo::~NavigationGeometryInfo() | Implicitly-declared
  2676. engine->RegisterObjectBehaviour("NavigationGeometryInfo", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavigationGeometryInfo), AS_CALL_CDECL_OBJFIRST);
  2677. RegisterMembers_NavigationGeometryInfo<NavigationGeometryInfo>(engine, "NavigationGeometryInfo");
  2678. #ifdef REGISTER_CLASS_MANUAL_PART_NavigationGeometryInfo
  2679. REGISTER_CLASS_MANUAL_PART_NavigationGeometryInfo();
  2680. #endif
  2681. // NavigationGeometryInfo& NavigationGeometryInfo::operator =(const NavigationGeometryInfo&) | Possible implicitly-declared
  2682. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavigationGeometryInfo>(engine, "NavigationGeometryInfo");
  2683. }
  2684. // struct NavigationPathPoint | File: ../Navigation/NavigationMesh.h
  2685. static void Register_NavigationPathPoint(asIScriptEngine* engine)
  2686. {
  2687. // NavigationPathPoint::~NavigationPathPoint() | Implicitly-declared
  2688. engine->RegisterObjectBehaviour("NavigationPathPoint", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavigationPathPoint), AS_CALL_CDECL_OBJFIRST);
  2689. RegisterMembers_NavigationPathPoint<NavigationPathPoint>(engine, "NavigationPathPoint");
  2690. #ifdef REGISTER_CLASS_MANUAL_PART_NavigationPathPoint
  2691. REGISTER_CLASS_MANUAL_PART_NavigationPathPoint();
  2692. #endif
  2693. // NavigationPathPoint& NavigationPathPoint::operator =(const NavigationPathPoint&) | Possible implicitly-declared
  2694. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavigationPathPoint>(engine, "NavigationPathPoint");
  2695. }
  2696. #endif // def URHO3D_NAVIGATION
  2697. #ifdef URHO3D_NETWORK
  2698. // struct PackageDownload | File: ../Network/Connection.h
  2699. static void Register_PackageDownload(asIScriptEngine* engine)
  2700. {
  2701. // PackageDownload::~PackageDownload() | Implicitly-declared
  2702. engine->RegisterObjectBehaviour("PackageDownload", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PackageDownload), AS_CALL_CDECL_OBJFIRST);
  2703. RegisterMembers_PackageDownload<PackageDownload>(engine, "PackageDownload");
  2704. #ifdef REGISTER_CLASS_MANUAL_PART_PackageDownload
  2705. REGISTER_CLASS_MANUAL_PART_PackageDownload();
  2706. #endif
  2707. // PackageDownload& PackageDownload::operator =(const PackageDownload&) | Possible implicitly-declared
  2708. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PackageDownload>(engine, "PackageDownload");
  2709. }
  2710. // struct PackageUpload | File: ../Network/Connection.h
  2711. static void Register_PackageUpload(asIScriptEngine* engine)
  2712. {
  2713. // PackageUpload::~PackageUpload() | Implicitly-declared
  2714. engine->RegisterObjectBehaviour("PackageUpload", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PackageUpload), AS_CALL_CDECL_OBJFIRST);
  2715. RegisterMembers_PackageUpload<PackageUpload>(engine, "PackageUpload");
  2716. #ifdef REGISTER_CLASS_MANUAL_PART_PackageUpload
  2717. REGISTER_CLASS_MANUAL_PART_PackageUpload();
  2718. #endif
  2719. // PackageUpload& PackageUpload::operator =(const PackageUpload&) | Possible implicitly-declared
  2720. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PackageUpload>(engine, "PackageUpload");
  2721. }
  2722. // struct RemoteEvent | File: ../Network/Connection.h
  2723. static void Register_RemoteEvent(asIScriptEngine* engine)
  2724. {
  2725. // RemoteEvent::~RemoteEvent() | Implicitly-declared
  2726. engine->RegisterObjectBehaviour("RemoteEvent", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(RemoteEvent), AS_CALL_CDECL_OBJFIRST);
  2727. RegisterMembers_RemoteEvent<RemoteEvent>(engine, "RemoteEvent");
  2728. #ifdef REGISTER_CLASS_MANUAL_PART_RemoteEvent
  2729. REGISTER_CLASS_MANUAL_PART_RemoteEvent();
  2730. #endif
  2731. // RemoteEvent& RemoteEvent::operator =(const RemoteEvent&) | Possible implicitly-declared
  2732. RegisterImplicitlyDeclaredAssignOperatorIfPossible<RemoteEvent>(engine, "RemoteEvent");
  2733. }
  2734. #endif // def URHO3D_NETWORK
  2735. #ifdef URHO3D_PHYSICS
  2736. // struct DelayedWorldTransform | File: ../Physics/PhysicsWorld.h
  2737. static void Register_DelayedWorldTransform(asIScriptEngine* engine)
  2738. {
  2739. // DelayedWorldTransform::~DelayedWorldTransform() | Implicitly-declared
  2740. engine->RegisterObjectBehaviour("DelayedWorldTransform", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(DelayedWorldTransform), AS_CALL_CDECL_OBJFIRST);
  2741. RegisterMembers_DelayedWorldTransform<DelayedWorldTransform>(engine, "DelayedWorldTransform");
  2742. #ifdef REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform
  2743. REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform();
  2744. #endif
  2745. // DelayedWorldTransform& DelayedWorldTransform::operator =(const DelayedWorldTransform&) | Possible implicitly-declared
  2746. RegisterImplicitlyDeclaredAssignOperatorIfPossible<DelayedWorldTransform>(engine, "DelayedWorldTransform");
  2747. }
  2748. // struct ManifoldPair | File: ../Physics/PhysicsWorld.h
  2749. static void Register_ManifoldPair(asIScriptEngine* engine)
  2750. {
  2751. // ManifoldPair::~ManifoldPair() | Implicitly-declared
  2752. engine->RegisterObjectBehaviour("ManifoldPair", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ManifoldPair), AS_CALL_CDECL_OBJFIRST);
  2753. RegisterMembers_ManifoldPair<ManifoldPair>(engine, "ManifoldPair");
  2754. #ifdef REGISTER_CLASS_MANUAL_PART_ManifoldPair
  2755. REGISTER_CLASS_MANUAL_PART_ManifoldPair();
  2756. #endif
  2757. // ManifoldPair& ManifoldPair::operator =(const ManifoldPair&) | Possible implicitly-declared
  2758. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ManifoldPair>(engine, "ManifoldPair");
  2759. }
  2760. // struct PhysicsRaycastResult | File: ../Physics/PhysicsWorld.h
  2761. static void Register_PhysicsRaycastResult(asIScriptEngine* engine)
  2762. {
  2763. // PhysicsRaycastResult::~PhysicsRaycastResult() | Implicitly-declared
  2764. engine->RegisterObjectBehaviour("PhysicsRaycastResult", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PhysicsRaycastResult), AS_CALL_CDECL_OBJFIRST);
  2765. RegisterMembers_PhysicsRaycastResult<PhysicsRaycastResult>(engine, "PhysicsRaycastResult");
  2766. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult
  2767. REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult();
  2768. #endif
  2769. // PhysicsRaycastResult& PhysicsRaycastResult::operator =(const PhysicsRaycastResult&) | Possible implicitly-declared
  2770. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PhysicsRaycastResult>(engine, "PhysicsRaycastResult");
  2771. }
  2772. // struct PhysicsWorldConfig | File: ../Physics/PhysicsWorld.h
  2773. static void Register_PhysicsWorldConfig(asIScriptEngine* engine)
  2774. {
  2775. // PhysicsWorldConfig::~PhysicsWorldConfig() | Implicitly-declared
  2776. engine->RegisterObjectBehaviour("PhysicsWorldConfig", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PhysicsWorldConfig), AS_CALL_CDECL_OBJFIRST);
  2777. RegisterMembers_PhysicsWorldConfig<PhysicsWorldConfig>(engine, "PhysicsWorldConfig");
  2778. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsWorldConfig
  2779. REGISTER_CLASS_MANUAL_PART_PhysicsWorldConfig();
  2780. #endif
  2781. // PhysicsWorldConfig& PhysicsWorldConfig::operator =(const PhysicsWorldConfig&) | Possible implicitly-declared
  2782. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PhysicsWorldConfig>(engine, "PhysicsWorldConfig");
  2783. }
  2784. #endif // def URHO3D_PHYSICS
  2785. #ifdef URHO3D_PHYSICS2D
  2786. // struct DelayedWorldTransform2D | File: ../Physics2D/PhysicsWorld2D.h
  2787. static void Register_DelayedWorldTransform2D(asIScriptEngine* engine)
  2788. {
  2789. // DelayedWorldTransform2D::~DelayedWorldTransform2D() | Implicitly-declared
  2790. engine->RegisterObjectBehaviour("DelayedWorldTransform2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(DelayedWorldTransform2D), AS_CALL_CDECL_OBJFIRST);
  2791. RegisterMembers_DelayedWorldTransform2D<DelayedWorldTransform2D>(engine, "DelayedWorldTransform2D");
  2792. #ifdef REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform2D
  2793. REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform2D();
  2794. #endif
  2795. // DelayedWorldTransform2D& DelayedWorldTransform2D::operator =(const DelayedWorldTransform2D&) | Possible implicitly-declared
  2796. RegisterImplicitlyDeclaredAssignOperatorIfPossible<DelayedWorldTransform2D>(engine, "DelayedWorldTransform2D");
  2797. }
  2798. // struct PhysicsRaycastResult2D | File: ../Physics2D/PhysicsWorld2D.h
  2799. static void Register_PhysicsRaycastResult2D(asIScriptEngine* engine)
  2800. {
  2801. // PhysicsRaycastResult2D::~PhysicsRaycastResult2D() | Implicitly-declared
  2802. engine->RegisterObjectBehaviour("PhysicsRaycastResult2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PhysicsRaycastResult2D), AS_CALL_CDECL_OBJFIRST);
  2803. RegisterMembers_PhysicsRaycastResult2D<PhysicsRaycastResult2D>(engine, "PhysicsRaycastResult2D");
  2804. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult2D
  2805. REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult2D();
  2806. #endif
  2807. // PhysicsRaycastResult2D& PhysicsRaycastResult2D::operator =(const PhysicsRaycastResult2D&) | Possible implicitly-declared
  2808. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PhysicsRaycastResult2D>(engine, "PhysicsRaycastResult2D");
  2809. }
  2810. #endif // def URHO3D_PHYSICS2D
  2811. #ifdef URHO3D_URHO2D
  2812. // struct Particle2D | File: ../Urho2D/ParticleEmitter2D.h
  2813. static void Register_Particle2D(asIScriptEngine* engine)
  2814. {
  2815. // Particle2D::~Particle2D() | Implicitly-declared
  2816. engine->RegisterObjectBehaviour("Particle2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Particle2D), AS_CALL_CDECL_OBJFIRST);
  2817. RegisterMembers_Particle2D<Particle2D>(engine, "Particle2D");
  2818. #ifdef REGISTER_CLASS_MANUAL_PART_Particle2D
  2819. REGISTER_CLASS_MANUAL_PART_Particle2D();
  2820. #endif
  2821. // Particle2D& Particle2D::operator =(const Particle2D&) | Possible implicitly-declared
  2822. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Particle2D>(engine, "Particle2D");
  2823. }
  2824. // struct SourceBatch2D | File: ../Urho2D/Drawable2D.h
  2825. static void Register_SourceBatch2D(asIScriptEngine* engine)
  2826. {
  2827. // SourceBatch2D::~SourceBatch2D() | Implicitly-declared
  2828. engine->RegisterObjectBehaviour("SourceBatch2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(SourceBatch2D), AS_CALL_CDECL_OBJFIRST);
  2829. RegisterMembers_SourceBatch2D<SourceBatch2D>(engine, "SourceBatch2D");
  2830. #ifdef REGISTER_CLASS_MANUAL_PART_SourceBatch2D
  2831. REGISTER_CLASS_MANUAL_PART_SourceBatch2D();
  2832. #endif
  2833. // SourceBatch2D& SourceBatch2D::operator =(const SourceBatch2D&) | Possible implicitly-declared
  2834. RegisterImplicitlyDeclaredAssignOperatorIfPossible<SourceBatch2D>(engine, "SourceBatch2D");
  2835. }
  2836. // struct TileMapInfo2D | File: ../Urho2D/TileMapDefs2D.h
  2837. static void Register_TileMapInfo2D(asIScriptEngine* engine)
  2838. {
  2839. RegisterMembers_TileMapInfo2D<TileMapInfo2D>(engine, "TileMapInfo2D");
  2840. #ifdef REGISTER_CLASS_MANUAL_PART_TileMapInfo2D
  2841. REGISTER_CLASS_MANUAL_PART_TileMapInfo2D();
  2842. #endif
  2843. // TileMapInfo2D& TileMapInfo2D::operator =(const TileMapInfo2D&) | Possible implicitly-declared
  2844. RegisterImplicitlyDeclaredAssignOperatorIfPossible<TileMapInfo2D>(engine, "TileMapInfo2D");
  2845. }
  2846. // struct Vertex2D | File: ../Urho2D/Drawable2D.h
  2847. static void Register_Vertex2D(asIScriptEngine* engine)
  2848. {
  2849. // Vertex2D::~Vertex2D() | Implicitly-declared
  2850. engine->RegisterObjectBehaviour("Vertex2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Vertex2D), AS_CALL_CDECL_OBJFIRST);
  2851. RegisterMembers_Vertex2D<Vertex2D>(engine, "Vertex2D");
  2852. #ifdef REGISTER_CLASS_MANUAL_PART_Vertex2D
  2853. REGISTER_CLASS_MANUAL_PART_Vertex2D();
  2854. #endif
  2855. // Vertex2D& Vertex2D::operator =(const Vertex2D&) | Possible implicitly-declared
  2856. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Vertex2D>(engine, "Vertex2D");
  2857. }
  2858. #endif // def URHO3D_URHO2D
  2859. // AnimationState::AnimationState(AnimatedModel* model, Animation* animation)
  2860. static AnimationState* AnimationState__AnimationState_AnimatedModelstar_Animationstar(AnimatedModel* model, Animation* animation)
  2861. {
  2862. return new AnimationState(model, animation);
  2863. }
  2864. // AnimationState::AnimationState(Node* node, Animation* animation)
  2865. static AnimationState* AnimationState__AnimationState_Nodestar_Animationstar(Node* node, Animation* animation)
  2866. {
  2867. return new AnimationState(node, animation);
  2868. }
  2869. // class AnimationState | File: ../Graphics/AnimationState.h
  2870. static void Register_AnimationState(asIScriptEngine* engine)
  2871. {
  2872. // AnimationState::AnimationState(AnimatedModel* model, Animation* animation)
  2873. engine->RegisterObjectBehaviour("AnimationState", asBEHAVE_FACTORY, "AnimationState@+ f(AnimatedModel@+, Animation@+)", AS_FUNCTION(AnimationState__AnimationState_AnimatedModelstar_Animationstar) , AS_CALL_CDECL);
  2874. // AnimationState::AnimationState(Node* node, Animation* animation)
  2875. engine->RegisterObjectBehaviour("AnimationState", asBEHAVE_FACTORY, "AnimationState@+ f(Node@+, Animation@+)", AS_FUNCTION(AnimationState__AnimationState_Nodestar_Animationstar) , AS_CALL_CDECL);
  2876. RegisterSubclass<RefCounted, AnimationState>(engine, "RefCounted", "AnimationState");
  2877. RegisterMembers_AnimationState<AnimationState>(engine, "AnimationState");
  2878. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationState
  2879. REGISTER_CLASS_MANUAL_PART_AnimationState();
  2880. #endif
  2881. }
  2882. // class AttributeAccessor | File: ../Core/Attribute.h
  2883. static void Register_AttributeAccessor(asIScriptEngine* engine)
  2884. {
  2885. RegisterSubclass<RefCounted, AttributeAccessor>(engine, "RefCounted", "AttributeAccessor");
  2886. RegisterMembers_AttributeAccessor<AttributeAccessor>(engine, "AttributeAccessor");
  2887. #ifdef REGISTER_CLASS_MANUAL_PART_AttributeAccessor
  2888. REGISTER_CLASS_MANUAL_PART_AttributeAccessor();
  2889. #endif
  2890. }
  2891. // explicit BatchGroup::BatchGroup(const Batch& batch)
  2892. static void BatchGroup__BatchGroup_constspBatchamp(BatchGroup* _ptr, const Batch& batch)
  2893. {
  2894. new(_ptr) BatchGroup(batch);
  2895. }
  2896. // struct BatchGroup | File: ../Graphics/Batch.h
  2897. static void Register_BatchGroup(asIScriptEngine* engine)
  2898. {
  2899. // explicit BatchGroup::BatchGroup(const Batch& batch)
  2900. engine->RegisterObjectBehaviour("BatchGroup", asBEHAVE_CONSTRUCT, "void f(const Batch&in)", AS_FUNCTION_OBJFIRST(BatchGroup__BatchGroup_constspBatchamp), AS_CALL_CDECL_OBJFIRST);
  2901. // BatchGroup::~BatchGroup() = default
  2902. engine->RegisterObjectBehaviour("BatchGroup", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(BatchGroup), AS_CALL_CDECL_OBJFIRST);
  2903. RegisterMembers_BatchGroup<BatchGroup>(engine, "BatchGroup");
  2904. #ifdef REGISTER_CLASS_MANUAL_PART_BatchGroup
  2905. REGISTER_CLASS_MANUAL_PART_BatchGroup();
  2906. #endif
  2907. // BatchGroup& BatchGroup::operator =(const BatchGroup&) | Possible implicitly-declared
  2908. RegisterImplicitlyDeclaredAssignOperatorIfPossible<BatchGroup>(engine, "BatchGroup");
  2909. }
  2910. // struct ComponentReplicationState | File: ../Scene/ReplicationState.h
  2911. static void Register_ComponentReplicationState(asIScriptEngine* engine)
  2912. {
  2913. // ComponentReplicationState::~ComponentReplicationState() | Implicitly-declared
  2914. engine->RegisterObjectBehaviour("ComponentReplicationState", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ComponentReplicationState), AS_CALL_CDECL_OBJFIRST);
  2915. RegisterMembers_ComponentReplicationState<ComponentReplicationState>(engine, "ComponentReplicationState");
  2916. #ifdef REGISTER_CLASS_MANUAL_PART_ComponentReplicationState
  2917. REGISTER_CLASS_MANUAL_PART_ComponentReplicationState();
  2918. #endif
  2919. // ComponentReplicationState& ComponentReplicationState::operator =(const ComponentReplicationState&) | Possible implicitly-declared
  2920. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ComponentReplicationState>(engine, "ComponentReplicationState");
  2921. }
  2922. // class Context | File: ../Core/Context.h
  2923. static void Register_Context(asIScriptEngine* engine)
  2924. {
  2925. RegisterSubclass<RefCounted, Context>(engine, "RefCounted", "Context");
  2926. RegisterMembers_Context<Context>(engine, "Context");
  2927. #ifdef REGISTER_CLASS_MANUAL_PART_Context
  2928. REGISTER_CLASS_MANUAL_PART_Context();
  2929. #endif
  2930. }
  2931. // class EventReceiverGroup | File: ../Core/Context.h
  2932. static void Register_EventReceiverGroup(asIScriptEngine* engine)
  2933. {
  2934. RegisterSubclass<RefCounted, EventReceiverGroup>(engine, "RefCounted", "EventReceiverGroup");
  2935. RegisterMembers_EventReceiverGroup<EventReceiverGroup>(engine, "EventReceiverGroup");
  2936. #ifdef REGISTER_CLASS_MANUAL_PART_EventReceiverGroup
  2937. REGISTER_CLASS_MANUAL_PART_EventReceiverGroup();
  2938. #endif
  2939. }
  2940. // class FontFace | File: ../UI/FontFace.h
  2941. static void Register_FontFace(asIScriptEngine* engine)
  2942. {
  2943. RegisterSubclass<RefCounted, FontFace>(engine, "RefCounted", "FontFace");
  2944. RegisterMembers_FontFace<FontFace>(engine, "FontFace");
  2945. #ifdef REGISTER_CLASS_MANUAL_PART_FontFace
  2946. REGISTER_CLASS_MANUAL_PART_FontFace();
  2947. #endif
  2948. }
  2949. // struct NodeReplicationState | File: ../Scene/ReplicationState.h
  2950. static void Register_NodeReplicationState(asIScriptEngine* engine)
  2951. {
  2952. // NodeReplicationState::~NodeReplicationState() | Implicitly-declared
  2953. engine->RegisterObjectBehaviour("NodeReplicationState", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NodeReplicationState), AS_CALL_CDECL_OBJFIRST);
  2954. RegisterMembers_NodeReplicationState<NodeReplicationState>(engine, "NodeReplicationState");
  2955. #ifdef REGISTER_CLASS_MANUAL_PART_NodeReplicationState
  2956. REGISTER_CLASS_MANUAL_PART_NodeReplicationState();
  2957. #endif
  2958. // NodeReplicationState& NodeReplicationState::operator =(const NodeReplicationState&) | Possible implicitly-declared
  2959. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NodeReplicationState>(engine, "NodeReplicationState");
  2960. }
  2961. // class Object | File: ../Core/Object.h
  2962. static void Register_Object(asIScriptEngine* engine)
  2963. {
  2964. RegisterSubclass<RefCounted, Object>(engine, "RefCounted", "Object");
  2965. RegisterMembers_Object<Object>(engine, "Object");
  2966. #ifdef REGISTER_CLASS_MANUAL_PART_Object
  2967. REGISTER_CLASS_MANUAL_PART_Object();
  2968. #endif
  2969. }
  2970. // class ObjectFactory | File: ../Core/Object.h
  2971. static void Register_ObjectFactory(asIScriptEngine* engine)
  2972. {
  2973. RegisterSubclass<RefCounted, ObjectFactory>(engine, "RefCounted", "ObjectFactory");
  2974. RegisterMembers_ObjectFactory<ObjectFactory>(engine, "ObjectFactory");
  2975. #ifdef REGISTER_CLASS_MANUAL_PART_ObjectFactory
  2976. REGISTER_CLASS_MANUAL_PART_ObjectFactory();
  2977. #endif
  2978. }
  2979. // explicit Pass::Pass(const String& name)
  2980. static Pass* Pass__Pass_constspStringamp(const String& name)
  2981. {
  2982. return new Pass(name);
  2983. }
  2984. // class Pass | File: ../Graphics/Technique.h
  2985. static void Register_Pass(asIScriptEngine* engine)
  2986. {
  2987. // explicit Pass::Pass(const String& name)
  2988. engine->RegisterObjectBehaviour("Pass", asBEHAVE_FACTORY, "Pass@+ f(const String&in)", AS_FUNCTION(Pass__Pass_constspStringamp) , AS_CALL_CDECL);
  2989. RegisterSubclass<RefCounted, Pass>(engine, "RefCounted", "Pass");
  2990. RegisterMembers_Pass<Pass>(engine, "Pass");
  2991. #ifdef REGISTER_CLASS_MANUAL_PART_Pass
  2992. REGISTER_CLASS_MANUAL_PART_Pass();
  2993. #endif
  2994. }
  2995. // class RenderPath | File: ../Graphics/RenderPath.h
  2996. static void Register_RenderPath(asIScriptEngine* engine)
  2997. {
  2998. RegisterSubclass<RefCounted, RenderPath>(engine, "RefCounted", "RenderPath");
  2999. RegisterMembers_RenderPath<RenderPath>(engine, "RenderPath");
  3000. #ifdef REGISTER_CLASS_MANUAL_PART_RenderPath
  3001. REGISTER_CLASS_MANUAL_PART_RenderPath();
  3002. #endif
  3003. }
  3004. // explicit RenderSurface::RenderSurface(Texture* parentTexture)
  3005. static RenderSurface* RenderSurface__RenderSurface_Texturestar(Texture* parentTexture)
  3006. {
  3007. return new RenderSurface(parentTexture);
  3008. }
  3009. // class RenderSurface | File: ../GraphicsAPI/RenderSurface.h
  3010. static void Register_RenderSurface(asIScriptEngine* engine)
  3011. {
  3012. // explicit RenderSurface::RenderSurface(Texture* parentTexture)
  3013. engine->RegisterObjectBehaviour("RenderSurface", asBEHAVE_FACTORY, "RenderSurface@+ f(Texture@+)", AS_FUNCTION(RenderSurface__RenderSurface_Texturestar) , AS_CALL_CDECL);
  3014. RegisterSubclass<RefCounted, RenderSurface>(engine, "RefCounted", "RenderSurface");
  3015. RegisterMembers_RenderSurface<RenderSurface>(engine, "RenderSurface");
  3016. #ifdef REGISTER_CLASS_MANUAL_PART_RenderSurface
  3017. REGISTER_CLASS_MANUAL_PART_RenderSurface();
  3018. #endif
  3019. }
  3020. // struct SceneReplicationState | File: ../Scene/ReplicationState.h
  3021. static void Register_SceneReplicationState(asIScriptEngine* engine)
  3022. {
  3023. // SceneReplicationState::~SceneReplicationState() | Implicitly-declared
  3024. engine->RegisterObjectBehaviour("SceneReplicationState", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(SceneReplicationState), AS_CALL_CDECL_OBJFIRST);
  3025. RegisterMembers_SceneReplicationState<SceneReplicationState>(engine, "SceneReplicationState");
  3026. #ifdef REGISTER_CLASS_MANUAL_PART_SceneReplicationState
  3027. REGISTER_CLASS_MANUAL_PART_SceneReplicationState();
  3028. #endif
  3029. // SceneReplicationState& SceneReplicationState::operator =(const SceneReplicationState&) | Possible implicitly-declared
  3030. RegisterImplicitlyDeclaredAssignOperatorIfPossible<SceneReplicationState>(engine, "SceneReplicationState");
  3031. }
  3032. // ShaderVariation::ShaderVariation(Shader* owner, ShaderType type)
  3033. static ShaderVariation* ShaderVariation__ShaderVariation_Shaderstar_ShaderType(Shader* owner, ShaderType type)
  3034. {
  3035. return new ShaderVariation(owner, type);
  3036. }
  3037. // class ShaderVariation | File: ../GraphicsAPI/ShaderVariation.h
  3038. static void Register_ShaderVariation(asIScriptEngine* engine)
  3039. {
  3040. // ShaderVariation::ShaderVariation(Shader* owner, ShaderType type)
  3041. engine->RegisterObjectBehaviour("ShaderVariation", asBEHAVE_FACTORY, "ShaderVariation@+ f(Shader@+, ShaderType)", AS_FUNCTION(ShaderVariation__ShaderVariation_Shaderstar_ShaderType) , AS_CALL_CDECL);
  3042. RegisterSubclass<RefCounted, ShaderVariation>(engine, "RefCounted", "ShaderVariation");
  3043. RegisterMembers_ShaderVariation<ShaderVariation>(engine, "ShaderVariation");
  3044. #ifdef REGISTER_CLASS_MANUAL_PART_ShaderVariation
  3045. REGISTER_CLASS_MANUAL_PART_ShaderVariation();
  3046. #endif
  3047. }
  3048. // class SoundStream | File: ../Audio/SoundStream.h
  3049. static void Register_SoundStream(asIScriptEngine* engine)
  3050. {
  3051. RegisterSubclass<RefCounted, SoundStream>(engine, "RefCounted", "SoundStream");
  3052. RegisterMembers_SoundStream<SoundStream>(engine, "SoundStream");
  3053. #ifdef REGISTER_CLASS_MANUAL_PART_SoundStream
  3054. REGISTER_CLASS_MANUAL_PART_SoundStream();
  3055. #endif
  3056. }
  3057. // ValueAnimationInfo::ValueAnimationInfo(ValueAnimation* animation, WrapMode wrapMode, float speed)
  3058. static ValueAnimationInfo* ValueAnimationInfo__ValueAnimationInfo_ValueAnimationstar_WrapMode_float(ValueAnimation* animation, WrapMode wrapMode, float speed)
  3059. {
  3060. return new ValueAnimationInfo(animation, wrapMode, speed);
  3061. }
  3062. // ValueAnimationInfo::ValueAnimationInfo(Object* target, ValueAnimation* animation, WrapMode wrapMode, float speed)
  3063. static ValueAnimationInfo* ValueAnimationInfo__ValueAnimationInfo_Objectstar_ValueAnimationstar_WrapMode_float(Object* target, ValueAnimation* animation, WrapMode wrapMode, float speed)
  3064. {
  3065. return new ValueAnimationInfo(target, animation, wrapMode, speed);
  3066. }
  3067. // ValueAnimationInfo::ValueAnimationInfo(const ValueAnimationInfo& other)
  3068. static ValueAnimationInfo* ValueAnimationInfo__ValueAnimationInfo_constspValueAnimationInfoamp(const ValueAnimationInfo& other)
  3069. {
  3070. return new ValueAnimationInfo(other);
  3071. }
  3072. // class ValueAnimationInfo | File: ../Scene/ValueAnimationInfo.h
  3073. static void Register_ValueAnimationInfo(asIScriptEngine* engine)
  3074. {
  3075. // ValueAnimationInfo::ValueAnimationInfo(ValueAnimation* animation, WrapMode wrapMode, float speed)
  3076. engine->RegisterObjectBehaviour("ValueAnimationInfo", asBEHAVE_FACTORY, "ValueAnimationInfo@+ f(ValueAnimation@+, WrapMode, float)", AS_FUNCTION(ValueAnimationInfo__ValueAnimationInfo_ValueAnimationstar_WrapMode_float) , AS_CALL_CDECL);
  3077. // ValueAnimationInfo::ValueAnimationInfo(Object* target, ValueAnimation* animation, WrapMode wrapMode, float speed)
  3078. engine->RegisterObjectBehaviour("ValueAnimationInfo", asBEHAVE_FACTORY, "ValueAnimationInfo@+ f(Object@+, ValueAnimation@+, WrapMode, float)", AS_FUNCTION(ValueAnimationInfo__ValueAnimationInfo_Objectstar_ValueAnimationstar_WrapMode_float) , AS_CALL_CDECL);
  3079. // ValueAnimationInfo::ValueAnimationInfo(const ValueAnimationInfo& other)
  3080. engine->RegisterObjectBehaviour("ValueAnimationInfo", asBEHAVE_FACTORY, "ValueAnimationInfo@+ f(const ValueAnimationInfo&in)", AS_FUNCTION(ValueAnimationInfo__ValueAnimationInfo_constspValueAnimationInfoamp) , AS_CALL_CDECL);
  3081. RegisterSubclass<RefCounted, ValueAnimationInfo>(engine, "RefCounted", "ValueAnimationInfo");
  3082. RegisterMembers_ValueAnimationInfo<ValueAnimationInfo>(engine, "ValueAnimationInfo");
  3083. #ifdef REGISTER_CLASS_MANUAL_PART_ValueAnimationInfo
  3084. REGISTER_CLASS_MANUAL_PART_ValueAnimationInfo();
  3085. #endif
  3086. }
  3087. #ifdef URHO3D_NAVIGATION
  3088. // struct SimpleNavBuildData | File: ../Navigation/NavBuildData.h
  3089. static void Register_SimpleNavBuildData(asIScriptEngine* engine)
  3090. {
  3091. // SimpleNavBuildData::~SimpleNavBuildData() override
  3092. engine->RegisterObjectBehaviour("SimpleNavBuildData", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(SimpleNavBuildData), AS_CALL_CDECL_OBJFIRST);
  3093. RegisterMembers_SimpleNavBuildData<SimpleNavBuildData>(engine, "SimpleNavBuildData");
  3094. #ifdef REGISTER_CLASS_MANUAL_PART_SimpleNavBuildData
  3095. REGISTER_CLASS_MANUAL_PART_SimpleNavBuildData();
  3096. #endif
  3097. // SimpleNavBuildData& SimpleNavBuildData::operator =(const SimpleNavBuildData&) | Possible implicitly-declared
  3098. RegisterImplicitlyDeclaredAssignOperatorIfPossible<SimpleNavBuildData>(engine, "SimpleNavBuildData");
  3099. }
  3100. #endif // def URHO3D_NAVIGATION
  3101. #ifdef URHO3D_NETWORK
  3102. // HttpRequest::HttpRequest(const String& url, const String& verb, const Vector<String>& headers, const String& postData)
  3103. static HttpRequest* HttpRequest__HttpRequest_constspStringamp_constspStringamp_constspVectorlesStringgreamp_constspStringamp(const String& url, const String& verb, CScriptArray* headers_conv, const String& postData)
  3104. {
  3105. Vector<String> headers = ArrayToVector<String>(headers_conv);
  3106. return new HttpRequest(url, verb, headers, postData);
  3107. }
  3108. // class HttpRequest | File: ../Network/HttpRequest.h
  3109. static void Register_HttpRequest(asIScriptEngine* engine)
  3110. {
  3111. // HttpRequest::HttpRequest(const String& url, const String& verb, const Vector<String>& headers, const String& postData)
  3112. 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);
  3113. RegisterSubclass<RefCounted, HttpRequest>(engine, "RefCounted", "HttpRequest");
  3114. RegisterSubclass<Deserializer, HttpRequest>(engine, "Deserializer", "HttpRequest");
  3115. RegisterMembers_HttpRequest<HttpRequest>(engine, "HttpRequest");
  3116. #ifdef REGISTER_CLASS_MANUAL_PART_HttpRequest
  3117. REGISTER_CLASS_MANUAL_PART_HttpRequest();
  3118. #endif
  3119. }
  3120. #endif // def URHO3D_NETWORK
  3121. #ifdef URHO3D_PHYSICS
  3122. // struct CollisionGeometryData | File: ../Physics/CollisionShape.h
  3123. static void Register_CollisionGeometryData(asIScriptEngine* engine)
  3124. {
  3125. RegisterSubclass<RefCounted, CollisionGeometryData>(engine, "RefCounted", "CollisionGeometryData");
  3126. RegisterMembers_CollisionGeometryData<CollisionGeometryData>(engine, "CollisionGeometryData");
  3127. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionGeometryData
  3128. REGISTER_CLASS_MANUAL_PART_CollisionGeometryData();
  3129. #endif
  3130. }
  3131. #endif // def URHO3D_PHYSICS
  3132. #ifdef URHO3D_URHO2D
  3133. // class PropertySet2D | File: ../Urho2D/TileMapDefs2D.h
  3134. static void Register_PropertySet2D(asIScriptEngine* engine)
  3135. {
  3136. RegisterSubclass<RefCounted, PropertySet2D>(engine, "RefCounted", "PropertySet2D");
  3137. RegisterMembers_PropertySet2D<PropertySet2D>(engine, "PropertySet2D");
  3138. #ifdef REGISTER_CLASS_MANUAL_PART_PropertySet2D
  3139. REGISTER_CLASS_MANUAL_PART_PropertySet2D();
  3140. #endif
  3141. }
  3142. // class Tile2D | File: ../Urho2D/TileMapDefs2D.h
  3143. static void Register_Tile2D(asIScriptEngine* engine)
  3144. {
  3145. RegisterSubclass<RefCounted, Tile2D>(engine, "RefCounted", "Tile2D");
  3146. RegisterMembers_Tile2D<Tile2D>(engine, "Tile2D");
  3147. #ifdef REGISTER_CLASS_MANUAL_PART_Tile2D
  3148. REGISTER_CLASS_MANUAL_PART_Tile2D();
  3149. #endif
  3150. }
  3151. // class TileMapObject2D | File: ../Urho2D/TileMapDefs2D.h
  3152. static void Register_TileMapObject2D(asIScriptEngine* engine)
  3153. {
  3154. RegisterSubclass<RefCounted, TileMapObject2D>(engine, "RefCounted", "TileMapObject2D");
  3155. RegisterMembers_TileMapObject2D<TileMapObject2D>(engine, "TileMapObject2D");
  3156. #ifdef REGISTER_CLASS_MANUAL_PART_TileMapObject2D
  3157. REGISTER_CLASS_MANUAL_PART_TileMapObject2D();
  3158. #endif
  3159. }
  3160. // TmxLayer2D::TmxLayer2D(TmxFile2D* tmxFile, TileMapLayerType2D type)
  3161. static TmxLayer2D* TmxLayer2D__TmxLayer2D_TmxFile2Dstar_TileMapLayerType2D(TmxFile2D* tmxFile, TileMapLayerType2D type)
  3162. {
  3163. return new TmxLayer2D(tmxFile, type);
  3164. }
  3165. // class TmxLayer2D | File: ../Urho2D/TmxFile2D.h
  3166. static void Register_TmxLayer2D(asIScriptEngine* engine)
  3167. {
  3168. // TmxLayer2D::TmxLayer2D(TmxFile2D* tmxFile, TileMapLayerType2D type)
  3169. engine->RegisterObjectBehaviour("TmxLayer2D", asBEHAVE_FACTORY, "TmxLayer2D@+ f(TmxFile2D@+, TileMapLayerType2D)", AS_FUNCTION(TmxLayer2D__TmxLayer2D_TmxFile2Dstar_TileMapLayerType2D) , AS_CALL_CDECL);
  3170. RegisterSubclass<RefCounted, TmxLayer2D>(engine, "RefCounted", "TmxLayer2D");
  3171. RegisterMembers_TmxLayer2D<TmxLayer2D>(engine, "TmxLayer2D");
  3172. #ifdef REGISTER_CLASS_MANUAL_PART_TmxLayer2D
  3173. REGISTER_CLASS_MANUAL_PART_TmxLayer2D();
  3174. #endif
  3175. }
  3176. #endif // def URHO3D_URHO2D
  3177. // AttributeAnimationInfo::AttributeAnimationInfo(Animatable* animatable, const AttributeInfo& attributeInfo, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3178. static AttributeAnimationInfo* AttributeAnimationInfo__AttributeAnimationInfo_Animatablestar_constspAttributeInfoamp_ValueAnimationstar_WrapMode_float(Animatable* animatable, const AttributeInfo& attributeInfo, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3179. {
  3180. return new AttributeAnimationInfo(animatable, attributeInfo, attributeAnimation, wrapMode, speed);
  3181. }
  3182. // AttributeAnimationInfo::AttributeAnimationInfo(const AttributeAnimationInfo& other)
  3183. static AttributeAnimationInfo* AttributeAnimationInfo__AttributeAnimationInfo_constspAttributeAnimationInfoamp(const AttributeAnimationInfo& other)
  3184. {
  3185. return new AttributeAnimationInfo(other);
  3186. }
  3187. // class AttributeAnimationInfo | File: ../Scene/Animatable.h
  3188. static void Register_AttributeAnimationInfo(asIScriptEngine* engine)
  3189. {
  3190. // AttributeAnimationInfo::AttributeAnimationInfo(Animatable* animatable, const AttributeInfo& attributeInfo, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3191. 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);
  3192. // AttributeAnimationInfo::AttributeAnimationInfo(const AttributeAnimationInfo& other)
  3193. engine->RegisterObjectBehaviour("AttributeAnimationInfo", asBEHAVE_FACTORY, "AttributeAnimationInfo@+ f(const AttributeAnimationInfo&in)", AS_FUNCTION(AttributeAnimationInfo__AttributeAnimationInfo_constspAttributeAnimationInfoamp) , AS_CALL_CDECL);
  3194. RegisterSubclass<ValueAnimationInfo, AttributeAnimationInfo>(engine, "ValueAnimationInfo", "AttributeAnimationInfo");
  3195. RegisterSubclass<RefCounted, AttributeAnimationInfo>(engine, "RefCounted", "AttributeAnimationInfo");
  3196. RegisterMembers_AttributeAnimationInfo<AttributeAnimationInfo>(engine, "AttributeAnimationInfo");
  3197. #ifdef REGISTER_CLASS_MANUAL_PART_AttributeAnimationInfo
  3198. REGISTER_CLASS_MANUAL_PART_AttributeAnimationInfo();
  3199. #endif
  3200. }
  3201. // explicit Audio::Audio(Context* context)
  3202. static Audio* Audio__Audio_Contextstar()
  3203. {
  3204. Context* context = GetScriptContext();
  3205. return new Audio(context);
  3206. }
  3207. // class Audio | File: ../Audio/Audio.h
  3208. static void Register_Audio(asIScriptEngine* engine)
  3209. {
  3210. // explicit Audio::Audio(Context* context)
  3211. engine->RegisterObjectBehaviour("Audio", asBEHAVE_FACTORY, "Audio@+ f()", AS_FUNCTION(Audio__Audio_Contextstar) , AS_CALL_CDECL);
  3212. RegisterSubclass<Object, Audio>(engine, "Object", "Audio");
  3213. RegisterSubclass<RefCounted, Audio>(engine, "RefCounted", "Audio");
  3214. RegisterMembers_Audio<Audio>(engine, "Audio");
  3215. #ifdef REGISTER_CLASS_MANUAL_PART_Audio
  3216. REGISTER_CLASS_MANUAL_PART_Audio();
  3217. #endif
  3218. }
  3219. // class BufferedSoundStream | File: ../Audio/BufferedSoundStream.h
  3220. static void Register_BufferedSoundStream(asIScriptEngine* engine)
  3221. {
  3222. RegisterSubclass<SoundStream, BufferedSoundStream>(engine, "SoundStream", "BufferedSoundStream");
  3223. RegisterSubclass<RefCounted, BufferedSoundStream>(engine, "RefCounted", "BufferedSoundStream");
  3224. RegisterMembers_BufferedSoundStream<BufferedSoundStream>(engine, "BufferedSoundStream");
  3225. #ifdef REGISTER_CLASS_MANUAL_PART_BufferedSoundStream
  3226. REGISTER_CLASS_MANUAL_PART_BufferedSoundStream();
  3227. #endif
  3228. }
  3229. // explicit Console::Console(Context* context)
  3230. static Console* Console__Console_Contextstar()
  3231. {
  3232. Context* context = GetScriptContext();
  3233. return new Console(context);
  3234. }
  3235. // class Console | File: ../Engine/Console.h
  3236. static void Register_Console(asIScriptEngine* engine)
  3237. {
  3238. // explicit Console::Console(Context* context)
  3239. engine->RegisterObjectBehaviour("Console", asBEHAVE_FACTORY, "Console@+ f()", AS_FUNCTION(Console__Console_Contextstar) , AS_CALL_CDECL);
  3240. RegisterSubclass<Object, Console>(engine, "Object", "Console");
  3241. RegisterSubclass<RefCounted, Console>(engine, "RefCounted", "Console");
  3242. RegisterMembers_Console<Console>(engine, "Console");
  3243. #ifdef REGISTER_CLASS_MANUAL_PART_Console
  3244. REGISTER_CLASS_MANUAL_PART_Console();
  3245. #endif
  3246. }
  3247. // explicit ConstantBuffer::ConstantBuffer(Context* context)
  3248. static ConstantBuffer* ConstantBuffer__ConstantBuffer_Contextstar()
  3249. {
  3250. Context* context = GetScriptContext();
  3251. return new ConstantBuffer(context);
  3252. }
  3253. // class ConstantBuffer | File: ../GraphicsAPI/ConstantBuffer.h
  3254. static void Register_ConstantBuffer(asIScriptEngine* engine)
  3255. {
  3256. // explicit ConstantBuffer::ConstantBuffer(Context* context)
  3257. engine->RegisterObjectBehaviour("ConstantBuffer", asBEHAVE_FACTORY, "ConstantBuffer@+ f()", AS_FUNCTION(ConstantBuffer__ConstantBuffer_Contextstar) , AS_CALL_CDECL);
  3258. RegisterSubclass<Object, ConstantBuffer>(engine, "Object", "ConstantBuffer");
  3259. RegisterSubclass<RefCounted, ConstantBuffer>(engine, "RefCounted", "ConstantBuffer");
  3260. RegisterMembers_ConstantBuffer<ConstantBuffer>(engine, "ConstantBuffer");
  3261. #ifdef REGISTER_CLASS_MANUAL_PART_ConstantBuffer
  3262. REGISTER_CLASS_MANUAL_PART_ConstantBuffer();
  3263. #endif
  3264. }
  3265. // explicit DebugHud::DebugHud(Context* context)
  3266. static DebugHud* DebugHud__DebugHud_Contextstar()
  3267. {
  3268. Context* context = GetScriptContext();
  3269. return new DebugHud(context);
  3270. }
  3271. // class DebugHud | File: ../Engine/DebugHud.h
  3272. static void Register_DebugHud(asIScriptEngine* engine)
  3273. {
  3274. // explicit DebugHud::DebugHud(Context* context)
  3275. engine->RegisterObjectBehaviour("DebugHud", asBEHAVE_FACTORY, "DebugHud@+ f()", AS_FUNCTION(DebugHud__DebugHud_Contextstar) , AS_CALL_CDECL);
  3276. RegisterSubclass<Object, DebugHud>(engine, "Object", "DebugHud");
  3277. RegisterSubclass<RefCounted, DebugHud>(engine, "RefCounted", "DebugHud");
  3278. RegisterMembers_DebugHud<DebugHud>(engine, "DebugHud");
  3279. #ifdef REGISTER_CLASS_MANUAL_PART_DebugHud
  3280. REGISTER_CLASS_MANUAL_PART_DebugHud();
  3281. #endif
  3282. }
  3283. // explicit Engine::Engine(Context* context)
  3284. static Engine* Engine__Engine_Contextstar()
  3285. {
  3286. Context* context = GetScriptContext();
  3287. return new Engine(context);
  3288. }
  3289. // class Engine | File: ../Engine/Engine.h
  3290. static void Register_Engine(asIScriptEngine* engine)
  3291. {
  3292. // explicit Engine::Engine(Context* context)
  3293. engine->RegisterObjectBehaviour("Engine", asBEHAVE_FACTORY, "Engine@+ f()", AS_FUNCTION(Engine__Engine_Contextstar) , AS_CALL_CDECL);
  3294. RegisterSubclass<Object, Engine>(engine, "Object", "Engine");
  3295. RegisterSubclass<RefCounted, Engine>(engine, "RefCounted", "Engine");
  3296. RegisterMembers_Engine<Engine>(engine, "Engine");
  3297. #ifdef REGISTER_CLASS_MANUAL_PART_Engine
  3298. REGISTER_CLASS_MANUAL_PART_Engine();
  3299. #endif
  3300. }
  3301. // explicit File::File(Context* context)
  3302. static File* File__File_Contextstar()
  3303. {
  3304. Context* context = GetScriptContext();
  3305. return new File(context);
  3306. }
  3307. // File::File(Context* context, const String& fileName, FileMode mode = FILE_READ)
  3308. static File* File__File_Contextstar_constspStringamp_FileMode(const String& fileName, FileMode mode)
  3309. {
  3310. Context* context = GetScriptContext();
  3311. return new File(context, fileName, mode);
  3312. }
  3313. // File::File(Context* context, PackageFile* package, const String& fileName)
  3314. static File* File__File_Contextstar_PackageFilestar_constspStringamp(PackageFile* package, const String& fileName)
  3315. {
  3316. Context* context = GetScriptContext();
  3317. return new File(context, package, fileName);
  3318. }
  3319. // class File | File: ../IO/File.h
  3320. static void Register_File(asIScriptEngine* engine)
  3321. {
  3322. // explicit File::File(Context* context)
  3323. engine->RegisterObjectBehaviour("File", asBEHAVE_FACTORY, "File@+ f()", AS_FUNCTION(File__File_Contextstar) , AS_CALL_CDECL);
  3324. // File::File(Context* context, const String& fileName, FileMode mode = FILE_READ)
  3325. engine->RegisterObjectBehaviour("File", asBEHAVE_FACTORY, "File@+ f(const String&in, FileMode = FILE_READ)", AS_FUNCTION(File__File_Contextstar_constspStringamp_FileMode) , AS_CALL_CDECL);
  3326. // File::File(Context* context, PackageFile* package, const String& fileName)
  3327. engine->RegisterObjectBehaviour("File", asBEHAVE_FACTORY, "File@+ f(PackageFile@+, const String&in)", AS_FUNCTION(File__File_Contextstar_PackageFilestar_constspStringamp) , AS_CALL_CDECL);
  3328. RegisterSubclass<Object, File>(engine, "Object", "File");
  3329. RegisterSubclass<RefCounted, File>(engine, "RefCounted", "File");
  3330. RegisterSubclass<Deserializer, File>(engine, "Deserializer", "File");
  3331. RegisterSubclass<Serializer, File>(engine, "Serializer", "File");
  3332. RegisterMembers_File<File>(engine, "File");
  3333. #ifdef REGISTER_CLASS_MANUAL_PART_File
  3334. REGISTER_CLASS_MANUAL_PART_File();
  3335. #endif
  3336. }
  3337. // explicit FileSelector::FileSelector(Context* context)
  3338. static FileSelector* FileSelector__FileSelector_Contextstar()
  3339. {
  3340. Context* context = GetScriptContext();
  3341. return new FileSelector(context);
  3342. }
  3343. // class FileSelector | File: ../UI/FileSelector.h
  3344. static void Register_FileSelector(asIScriptEngine* engine)
  3345. {
  3346. // explicit FileSelector::FileSelector(Context* context)
  3347. engine->RegisterObjectBehaviour("FileSelector", asBEHAVE_FACTORY, "FileSelector@+ f()", AS_FUNCTION(FileSelector__FileSelector_Contextstar) , AS_CALL_CDECL);
  3348. RegisterSubclass<Object, FileSelector>(engine, "Object", "FileSelector");
  3349. RegisterSubclass<RefCounted, FileSelector>(engine, "RefCounted", "FileSelector");
  3350. RegisterMembers_FileSelector<FileSelector>(engine, "FileSelector");
  3351. #ifdef REGISTER_CLASS_MANUAL_PART_FileSelector
  3352. REGISTER_CLASS_MANUAL_PART_FileSelector();
  3353. #endif
  3354. }
  3355. // explicit FileSystem::FileSystem(Context* context)
  3356. static FileSystem* FileSystem__FileSystem_Contextstar()
  3357. {
  3358. Context* context = GetScriptContext();
  3359. return new FileSystem(context);
  3360. }
  3361. // class FileSystem | File: ../IO/FileSystem.h
  3362. static void Register_FileSystem(asIScriptEngine* engine)
  3363. {
  3364. // explicit FileSystem::FileSystem(Context* context)
  3365. engine->RegisterObjectBehaviour("FileSystem", asBEHAVE_FACTORY, "FileSystem@+ f()", AS_FUNCTION(FileSystem__FileSystem_Contextstar) , AS_CALL_CDECL);
  3366. RegisterSubclass<Object, FileSystem>(engine, "Object", "FileSystem");
  3367. RegisterSubclass<RefCounted, FileSystem>(engine, "RefCounted", "FileSystem");
  3368. RegisterMembers_FileSystem<FileSystem>(engine, "FileSystem");
  3369. #ifdef REGISTER_CLASS_MANUAL_PART_FileSystem
  3370. REGISTER_CLASS_MANUAL_PART_FileSystem();
  3371. #endif
  3372. }
  3373. // explicit FileWatcher::FileWatcher(Context* context)
  3374. static FileWatcher* FileWatcher__FileWatcher_Contextstar()
  3375. {
  3376. Context* context = GetScriptContext();
  3377. return new FileWatcher(context);
  3378. }
  3379. // class FileWatcher | File: ../IO/FileWatcher.h
  3380. static void Register_FileWatcher(asIScriptEngine* engine)
  3381. {
  3382. // explicit FileWatcher::FileWatcher(Context* context)
  3383. engine->RegisterObjectBehaviour("FileWatcher", asBEHAVE_FACTORY, "FileWatcher@+ f()", AS_FUNCTION(FileWatcher__FileWatcher_Contextstar) , AS_CALL_CDECL);
  3384. RegisterSubclass<Object, FileWatcher>(engine, "Object", "FileWatcher");
  3385. RegisterSubclass<RefCounted, FileWatcher>(engine, "RefCounted", "FileWatcher");
  3386. RegisterMembers_FileWatcher<FileWatcher>(engine, "FileWatcher");
  3387. #ifdef REGISTER_CLASS_MANUAL_PART_FileWatcher
  3388. REGISTER_CLASS_MANUAL_PART_FileWatcher();
  3389. #endif
  3390. }
  3391. // explicit FontFaceBitmap::FontFaceBitmap(Font* font)
  3392. static FontFaceBitmap* FontFaceBitmap__FontFaceBitmap_Fontstar(Font* font)
  3393. {
  3394. return new FontFaceBitmap(font);
  3395. }
  3396. // class FontFaceBitmap | File: ../UI/FontFaceBitmap.h
  3397. static void Register_FontFaceBitmap(asIScriptEngine* engine)
  3398. {
  3399. // explicit FontFaceBitmap::FontFaceBitmap(Font* font)
  3400. engine->RegisterObjectBehaviour("FontFaceBitmap", asBEHAVE_FACTORY, "FontFaceBitmap@+ f(Font@+)", AS_FUNCTION(FontFaceBitmap__FontFaceBitmap_Fontstar) , AS_CALL_CDECL);
  3401. RegisterSubclass<FontFace, FontFaceBitmap>(engine, "FontFace", "FontFaceBitmap");
  3402. RegisterSubclass<RefCounted, FontFaceBitmap>(engine, "RefCounted", "FontFaceBitmap");
  3403. RegisterMembers_FontFaceBitmap<FontFaceBitmap>(engine, "FontFaceBitmap");
  3404. #ifdef REGISTER_CLASS_MANUAL_PART_FontFaceBitmap
  3405. REGISTER_CLASS_MANUAL_PART_FontFaceBitmap();
  3406. #endif
  3407. }
  3408. // explicit FontFaceFreeType::FontFaceFreeType(Font* font)
  3409. static FontFaceFreeType* FontFaceFreeType__FontFaceFreeType_Fontstar(Font* font)
  3410. {
  3411. return new FontFaceFreeType(font);
  3412. }
  3413. // class FontFaceFreeType | File: ../UI/FontFaceFreeType.h
  3414. static void Register_FontFaceFreeType(asIScriptEngine* engine)
  3415. {
  3416. // explicit FontFaceFreeType::FontFaceFreeType(Font* font)
  3417. engine->RegisterObjectBehaviour("FontFaceFreeType", asBEHAVE_FACTORY, "FontFaceFreeType@+ f(Font@+)", AS_FUNCTION(FontFaceFreeType__FontFaceFreeType_Fontstar) , AS_CALL_CDECL);
  3418. RegisterSubclass<FontFace, FontFaceFreeType>(engine, "FontFace", "FontFaceFreeType");
  3419. RegisterSubclass<RefCounted, FontFaceFreeType>(engine, "RefCounted", "FontFaceFreeType");
  3420. RegisterMembers_FontFaceFreeType<FontFaceFreeType>(engine, "FontFaceFreeType");
  3421. #ifdef REGISTER_CLASS_MANUAL_PART_FontFaceFreeType
  3422. REGISTER_CLASS_MANUAL_PART_FontFaceFreeType();
  3423. #endif
  3424. }
  3425. // explicit Geometry::Geometry(Context* context)
  3426. static Geometry* Geometry__Geometry_Contextstar()
  3427. {
  3428. Context* context = GetScriptContext();
  3429. return new Geometry(context);
  3430. }
  3431. // class Geometry | File: ../Graphics/Geometry.h
  3432. static void Register_Geometry(asIScriptEngine* engine)
  3433. {
  3434. // explicit Geometry::Geometry(Context* context)
  3435. engine->RegisterObjectBehaviour("Geometry", asBEHAVE_FACTORY, "Geometry@+ f()", AS_FUNCTION(Geometry__Geometry_Contextstar) , AS_CALL_CDECL);
  3436. RegisterSubclass<Object, Geometry>(engine, "Object", "Geometry");
  3437. RegisterSubclass<RefCounted, Geometry>(engine, "RefCounted", "Geometry");
  3438. RegisterMembers_Geometry<Geometry>(engine, "Geometry");
  3439. #ifdef REGISTER_CLASS_MANUAL_PART_Geometry
  3440. REGISTER_CLASS_MANUAL_PART_Geometry();
  3441. #endif
  3442. }
  3443. // explicit Graphics::Graphics(Context* context, GAPI gapi)
  3444. static Graphics* Graphics__Graphics_Contextstar_GAPI(GAPI gapi)
  3445. {
  3446. Context* context = GetScriptContext();
  3447. return new Graphics(context, gapi);
  3448. }
  3449. // class Graphics | File: ../Graphics/Graphics.h
  3450. static void Register_Graphics(asIScriptEngine* engine)
  3451. {
  3452. // explicit Graphics::Graphics(Context* context, GAPI gapi)
  3453. engine->RegisterObjectBehaviour("Graphics", asBEHAVE_FACTORY, "Graphics@+ f(GAPI)", AS_FUNCTION(Graphics__Graphics_Contextstar_GAPI) , AS_CALL_CDECL);
  3454. RegisterSubclass<Object, Graphics>(engine, "Object", "Graphics");
  3455. RegisterSubclass<RefCounted, Graphics>(engine, "RefCounted", "Graphics");
  3456. RegisterMembers_Graphics<Graphics>(engine, "Graphics");
  3457. #ifdef REGISTER_CLASS_MANUAL_PART_Graphics
  3458. REGISTER_CLASS_MANUAL_PART_Graphics();
  3459. #endif
  3460. }
  3461. // explicit IndexBuffer::IndexBuffer(Context* context, bool forceHeadless = false)
  3462. static IndexBuffer* IndexBuffer__IndexBuffer_Contextstar_bool(bool forceHeadless)
  3463. {
  3464. Context* context = GetScriptContext();
  3465. return new IndexBuffer(context, forceHeadless);
  3466. }
  3467. // class IndexBuffer | File: ../GraphicsAPI/IndexBuffer.h
  3468. static void Register_IndexBuffer(asIScriptEngine* engine)
  3469. {
  3470. // explicit IndexBuffer::IndexBuffer(Context* context, bool forceHeadless = false)
  3471. engine->RegisterObjectBehaviour("IndexBuffer", asBEHAVE_FACTORY, "IndexBuffer@+ f(bool = false)", AS_FUNCTION(IndexBuffer__IndexBuffer_Contextstar_bool) , AS_CALL_CDECL);
  3472. RegisterSubclass<Object, IndexBuffer>(engine, "Object", "IndexBuffer");
  3473. RegisterSubclass<RefCounted, IndexBuffer>(engine, "RefCounted", "IndexBuffer");
  3474. RegisterMembers_IndexBuffer<IndexBuffer>(engine, "IndexBuffer");
  3475. #ifdef REGISTER_CLASS_MANUAL_PART_IndexBuffer
  3476. REGISTER_CLASS_MANUAL_PART_IndexBuffer();
  3477. #endif
  3478. }
  3479. // explicit Input::Input(Context* context)
  3480. static Input* Input__Input_Contextstar()
  3481. {
  3482. Context* context = GetScriptContext();
  3483. return new Input(context);
  3484. }
  3485. // class Input | File: ../Input/Input.h
  3486. static void Register_Input(asIScriptEngine* engine)
  3487. {
  3488. // explicit Input::Input(Context* context)
  3489. engine->RegisterObjectBehaviour("Input", asBEHAVE_FACTORY, "Input@+ f()", AS_FUNCTION(Input__Input_Contextstar) , AS_CALL_CDECL);
  3490. RegisterSubclass<Object, Input>(engine, "Object", "Input");
  3491. RegisterSubclass<RefCounted, Input>(engine, "RefCounted", "Input");
  3492. RegisterMembers_Input<Input>(engine, "Input");
  3493. #ifdef REGISTER_CLASS_MANUAL_PART_Input
  3494. REGISTER_CLASS_MANUAL_PART_Input();
  3495. #endif
  3496. }
  3497. // explicit Localization::Localization(Context* context)
  3498. static Localization* Localization__Localization_Contextstar()
  3499. {
  3500. Context* context = GetScriptContext();
  3501. return new Localization(context);
  3502. }
  3503. // class Localization | File: ../Resource/Localization.h
  3504. static void Register_Localization(asIScriptEngine* engine)
  3505. {
  3506. // explicit Localization::Localization(Context* context)
  3507. engine->RegisterObjectBehaviour("Localization", asBEHAVE_FACTORY, "Localization@+ f()", AS_FUNCTION(Localization__Localization_Contextstar) , AS_CALL_CDECL);
  3508. RegisterSubclass<Object, Localization>(engine, "Object", "Localization");
  3509. RegisterSubclass<RefCounted, Localization>(engine, "RefCounted", "Localization");
  3510. RegisterMembers_Localization<Localization>(engine, "Localization");
  3511. #ifdef REGISTER_CLASS_MANUAL_PART_Localization
  3512. REGISTER_CLASS_MANUAL_PART_Localization();
  3513. #endif
  3514. }
  3515. // explicit Log::Log(Context* context)
  3516. static Log* Log__Log_Contextstar()
  3517. {
  3518. Context* context = GetScriptContext();
  3519. return new Log(context);
  3520. }
  3521. // class Log | File: ../IO/Log.h
  3522. static void Register_Log(asIScriptEngine* engine)
  3523. {
  3524. // explicit Log::Log(Context* context)
  3525. engine->RegisterObjectBehaviour("Log", asBEHAVE_FACTORY, "Log@+ f()", AS_FUNCTION(Log__Log_Contextstar) , AS_CALL_CDECL);
  3526. RegisterSubclass<Object, Log>(engine, "Object", "Log");
  3527. RegisterSubclass<RefCounted, Log>(engine, "RefCounted", "Log");
  3528. RegisterMembers_Log<Log>(engine, "Log");
  3529. #ifdef REGISTER_CLASS_MANUAL_PART_Log
  3530. REGISTER_CLASS_MANUAL_PART_Log();
  3531. #endif
  3532. }
  3533. // explicit MessageBox::MessageBox(Context* context, const String& messageString = String::EMPTY, const String& titleString = String::EMPTY, XMLFile* layoutFile = nullptr, XMLFile* styleFile = nullptr)
  3534. static MessageBox* MessageBox__MessageBox_Contextstar_constspStringamp_constspStringamp_XMLFilestar_XMLFilestar(const String& messageString, const String& titleString, XMLFile* layoutFile, XMLFile* styleFile)
  3535. {
  3536. Context* context = GetScriptContext();
  3537. return new MessageBox(context, messageString, titleString, layoutFile, styleFile);
  3538. }
  3539. // class MessageBox | File: ../UI/MessageBox.h
  3540. static void Register_MessageBox(asIScriptEngine* engine)
  3541. {
  3542. // explicit MessageBox::MessageBox(Context* context, const String& messageString = String::EMPTY, const String& titleString = String::EMPTY, XMLFile* layoutFile = nullptr, XMLFile* styleFile = nullptr)
  3543. 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);
  3544. RegisterSubclass<Object, MessageBox>(engine, "Object", "MessageBox");
  3545. RegisterSubclass<RefCounted, MessageBox>(engine, "RefCounted", "MessageBox");
  3546. RegisterMembers_MessageBox<MessageBox>(engine, "MessageBox");
  3547. #ifdef REGISTER_CLASS_MANUAL_PART_MessageBox
  3548. REGISTER_CLASS_MANUAL_PART_MessageBox();
  3549. #endif
  3550. }
  3551. // explicit NamedPipe::NamedPipe(Context* context)
  3552. static NamedPipe* NamedPipe__NamedPipe_Contextstar()
  3553. {
  3554. Context* context = GetScriptContext();
  3555. return new NamedPipe(context);
  3556. }
  3557. // NamedPipe::NamedPipe(Context* context, const String& name, bool isServer)
  3558. static NamedPipe* NamedPipe__NamedPipe_Contextstar_constspStringamp_bool(const String& name, bool isServer)
  3559. {
  3560. Context* context = GetScriptContext();
  3561. return new NamedPipe(context, name, isServer);
  3562. }
  3563. // class NamedPipe | File: ../IO/NamedPipe.h
  3564. static void Register_NamedPipe(asIScriptEngine* engine)
  3565. {
  3566. // explicit NamedPipe::NamedPipe(Context* context)
  3567. engine->RegisterObjectBehaviour("NamedPipe", asBEHAVE_FACTORY, "NamedPipe@+ f()", AS_FUNCTION(NamedPipe__NamedPipe_Contextstar) , AS_CALL_CDECL);
  3568. // NamedPipe::NamedPipe(Context* context, const String& name, bool isServer)
  3569. engine->RegisterObjectBehaviour("NamedPipe", asBEHAVE_FACTORY, "NamedPipe@+ f(const String&in, bool)", AS_FUNCTION(NamedPipe__NamedPipe_Contextstar_constspStringamp_bool) , AS_CALL_CDECL);
  3570. RegisterSubclass<Object, NamedPipe>(engine, "Object", "NamedPipe");
  3571. RegisterSubclass<RefCounted, NamedPipe>(engine, "RefCounted", "NamedPipe");
  3572. RegisterSubclass<Deserializer, NamedPipe>(engine, "Deserializer", "NamedPipe");
  3573. RegisterSubclass<Serializer, NamedPipe>(engine, "Serializer", "NamedPipe");
  3574. RegisterMembers_NamedPipe<NamedPipe>(engine, "NamedPipe");
  3575. #ifdef REGISTER_CLASS_MANUAL_PART_NamedPipe
  3576. REGISTER_CLASS_MANUAL_PART_NamedPipe();
  3577. #endif
  3578. }
  3579. // explicit OcclusionBuffer::OcclusionBuffer(Context* context)
  3580. static OcclusionBuffer* OcclusionBuffer__OcclusionBuffer_Contextstar()
  3581. {
  3582. Context* context = GetScriptContext();
  3583. return new OcclusionBuffer(context);
  3584. }
  3585. // class OcclusionBuffer | File: ../Graphics/OcclusionBuffer.h
  3586. static void Register_OcclusionBuffer(asIScriptEngine* engine)
  3587. {
  3588. // explicit OcclusionBuffer::OcclusionBuffer(Context* context)
  3589. engine->RegisterObjectBehaviour("OcclusionBuffer", asBEHAVE_FACTORY, "OcclusionBuffer@+ f()", AS_FUNCTION(OcclusionBuffer__OcclusionBuffer_Contextstar) , AS_CALL_CDECL);
  3590. RegisterSubclass<Object, OcclusionBuffer>(engine, "Object", "OcclusionBuffer");
  3591. RegisterSubclass<RefCounted, OcclusionBuffer>(engine, "RefCounted", "OcclusionBuffer");
  3592. RegisterMembers_OcclusionBuffer<OcclusionBuffer>(engine, "OcclusionBuffer");
  3593. #ifdef REGISTER_CLASS_MANUAL_PART_OcclusionBuffer
  3594. REGISTER_CLASS_MANUAL_PART_OcclusionBuffer();
  3595. #endif
  3596. }
  3597. // explicit OggVorbisSoundStream::OggVorbisSoundStream(const Sound* sound)
  3598. static OggVorbisSoundStream* OggVorbisSoundStream__OggVorbisSoundStream_constspSoundstar(const Sound* sound)
  3599. {
  3600. return new OggVorbisSoundStream(sound);
  3601. }
  3602. // class OggVorbisSoundStream | File: ../Audio/OggVorbisSoundStream.h
  3603. static void Register_OggVorbisSoundStream(asIScriptEngine* engine)
  3604. {
  3605. // explicit OggVorbisSoundStream::OggVorbisSoundStream(const Sound* sound)
  3606. engine->RegisterObjectBehaviour("OggVorbisSoundStream", asBEHAVE_FACTORY, "OggVorbisSoundStream@+ f(Sound@+)", AS_FUNCTION(OggVorbisSoundStream__OggVorbisSoundStream_constspSoundstar) , AS_CALL_CDECL);
  3607. RegisterSubclass<SoundStream, OggVorbisSoundStream>(engine, "SoundStream", "OggVorbisSoundStream");
  3608. RegisterSubclass<RefCounted, OggVorbisSoundStream>(engine, "RefCounted", "OggVorbisSoundStream");
  3609. RegisterMembers_OggVorbisSoundStream<OggVorbisSoundStream>(engine, "OggVorbisSoundStream");
  3610. #ifdef REGISTER_CLASS_MANUAL_PART_OggVorbisSoundStream
  3611. REGISTER_CLASS_MANUAL_PART_OggVorbisSoundStream();
  3612. #endif
  3613. }
  3614. // explicit PackageFile::PackageFile(Context* context)
  3615. static PackageFile* PackageFile__PackageFile_Contextstar()
  3616. {
  3617. Context* context = GetScriptContext();
  3618. return new PackageFile(context);
  3619. }
  3620. // PackageFile::PackageFile(Context* context, const String& fileName, unsigned startOffset = 0)
  3621. static PackageFile* PackageFile__PackageFile_Contextstar_constspStringamp_unsigned(const String& fileName, unsigned startOffset)
  3622. {
  3623. Context* context = GetScriptContext();
  3624. return new PackageFile(context, fileName, startOffset);
  3625. }
  3626. // class PackageFile | File: ../IO/PackageFile.h
  3627. static void Register_PackageFile(asIScriptEngine* engine)
  3628. {
  3629. // explicit PackageFile::PackageFile(Context* context)
  3630. engine->RegisterObjectBehaviour("PackageFile", asBEHAVE_FACTORY, "PackageFile@+ f()", AS_FUNCTION(PackageFile__PackageFile_Contextstar) , AS_CALL_CDECL);
  3631. // PackageFile::PackageFile(Context* context, const String& fileName, unsigned startOffset = 0)
  3632. engine->RegisterObjectBehaviour("PackageFile", asBEHAVE_FACTORY, "PackageFile@+ f(const String&in, uint = 0)", AS_FUNCTION(PackageFile__PackageFile_Contextstar_constspStringamp_unsigned) , AS_CALL_CDECL);
  3633. RegisterSubclass<Object, PackageFile>(engine, "Object", "PackageFile");
  3634. RegisterSubclass<RefCounted, PackageFile>(engine, "RefCounted", "PackageFile");
  3635. RegisterMembers_PackageFile<PackageFile>(engine, "PackageFile");
  3636. #ifdef REGISTER_CLASS_MANUAL_PART_PackageFile
  3637. REGISTER_CLASS_MANUAL_PART_PackageFile();
  3638. #endif
  3639. }
  3640. // explicit Profiler::Profiler(Context* context)
  3641. static Profiler* Profiler__Profiler_Contextstar()
  3642. {
  3643. Context* context = GetScriptContext();
  3644. return new Profiler(context);
  3645. }
  3646. // class Profiler | File: ../Core/Profiler.h
  3647. static void Register_Profiler(asIScriptEngine* engine)
  3648. {
  3649. // explicit Profiler::Profiler(Context* context)
  3650. engine->RegisterObjectBehaviour("Profiler", asBEHAVE_FACTORY, "Profiler@+ f()", AS_FUNCTION(Profiler__Profiler_Contextstar) , AS_CALL_CDECL);
  3651. RegisterSubclass<Object, Profiler>(engine, "Object", "Profiler");
  3652. RegisterSubclass<RefCounted, Profiler>(engine, "RefCounted", "Profiler");
  3653. RegisterMembers_Profiler<Profiler>(engine, "Profiler");
  3654. #ifdef REGISTER_CLASS_MANUAL_PART_Profiler
  3655. REGISTER_CLASS_MANUAL_PART_Profiler();
  3656. #endif
  3657. // void Profiler::BeginBlock(const char* name)
  3658. // Error: type "const char*" can not automatically bind
  3659. }
  3660. // explicit Renderer::Renderer(Context* context)
  3661. static Renderer* Renderer__Renderer_Contextstar()
  3662. {
  3663. Context* context = GetScriptContext();
  3664. return new Renderer(context);
  3665. }
  3666. // class Renderer | File: ../Graphics/Renderer.h
  3667. static void Register_Renderer(asIScriptEngine* engine)
  3668. {
  3669. // explicit Renderer::Renderer(Context* context)
  3670. engine->RegisterObjectBehaviour("Renderer", asBEHAVE_FACTORY, "Renderer@+ f()", AS_FUNCTION(Renderer__Renderer_Contextstar) , AS_CALL_CDECL);
  3671. RegisterSubclass<Object, Renderer>(engine, "Object", "Renderer");
  3672. RegisterSubclass<RefCounted, Renderer>(engine, "RefCounted", "Renderer");
  3673. RegisterMembers_Renderer<Renderer>(engine, "Renderer");
  3674. #ifdef REGISTER_CLASS_MANUAL_PART_Renderer
  3675. REGISTER_CLASS_MANUAL_PART_Renderer();
  3676. #endif
  3677. }
  3678. // explicit Resource::Resource(Context* context)
  3679. static Resource* Resource__Resource_Contextstar()
  3680. {
  3681. Context* context = GetScriptContext();
  3682. return new Resource(context);
  3683. }
  3684. // class Resource | File: ../Resource/Resource.h
  3685. static void Register_Resource(asIScriptEngine* engine)
  3686. {
  3687. // explicit Resource::Resource(Context* context)
  3688. engine->RegisterObjectBehaviour("Resource", asBEHAVE_FACTORY, "Resource@+ f()", AS_FUNCTION(Resource__Resource_Contextstar) , AS_CALL_CDECL);
  3689. RegisterSubclass<Object, Resource>(engine, "Object", "Resource");
  3690. RegisterSubclass<RefCounted, Resource>(engine, "RefCounted", "Resource");
  3691. RegisterMembers_Resource<Resource>(engine, "Resource");
  3692. #ifdef REGISTER_CLASS_MANUAL_PART_Resource
  3693. REGISTER_CLASS_MANUAL_PART_Resource();
  3694. #endif
  3695. }
  3696. // explicit ResourceCache::ResourceCache(Context* context)
  3697. static ResourceCache* ResourceCache__ResourceCache_Contextstar()
  3698. {
  3699. Context* context = GetScriptContext();
  3700. return new ResourceCache(context);
  3701. }
  3702. // class ResourceCache | File: ../Resource/ResourceCache.h
  3703. static void Register_ResourceCache(asIScriptEngine* engine)
  3704. {
  3705. // explicit ResourceCache::ResourceCache(Context* context)
  3706. engine->RegisterObjectBehaviour("ResourceCache", asBEHAVE_FACTORY, "ResourceCache@+ f()", AS_FUNCTION(ResourceCache__ResourceCache_Contextstar) , AS_CALL_CDECL);
  3707. RegisterSubclass<Object, ResourceCache>(engine, "Object", "ResourceCache");
  3708. RegisterSubclass<RefCounted, ResourceCache>(engine, "RefCounted", "ResourceCache");
  3709. RegisterMembers_ResourceCache<ResourceCache>(engine, "ResourceCache");
  3710. #ifdef REGISTER_CLASS_MANUAL_PART_ResourceCache
  3711. REGISTER_CLASS_MANUAL_PART_ResourceCache();
  3712. #endif
  3713. }
  3714. // explicit Serializable::Serializable(Context* context)
  3715. static Serializable* Serializable__Serializable_Contextstar()
  3716. {
  3717. Context* context = GetScriptContext();
  3718. return new Serializable(context);
  3719. }
  3720. // class Serializable | File: ../Scene/Serializable.h
  3721. static void Register_Serializable(asIScriptEngine* engine)
  3722. {
  3723. // explicit Serializable::Serializable(Context* context)
  3724. engine->RegisterObjectBehaviour("Serializable", asBEHAVE_FACTORY, "Serializable@+ f()", AS_FUNCTION(Serializable__Serializable_Contextstar) , AS_CALL_CDECL);
  3725. RegisterSubclass<Object, Serializable>(engine, "Object", "Serializable");
  3726. RegisterSubclass<RefCounted, Serializable>(engine, "RefCounted", "Serializable");
  3727. RegisterMembers_Serializable<Serializable>(engine, "Serializable");
  3728. #ifdef REGISTER_CLASS_MANUAL_PART_Serializable
  3729. REGISTER_CLASS_MANUAL_PART_Serializable();
  3730. #endif
  3731. }
  3732. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(Material* material, const String& name, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3733. static ShaderParameterAnimationInfo* ShaderParameterAnimationInfo__ShaderParameterAnimationInfo_Materialstar_constspStringamp_ValueAnimationstar_WrapMode_float(Material* material, const String& name, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3734. {
  3735. return new ShaderParameterAnimationInfo(material, name, attributeAnimation, wrapMode, speed);
  3736. }
  3737. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(const ShaderParameterAnimationInfo& other)
  3738. static ShaderParameterAnimationInfo* ShaderParameterAnimationInfo__ShaderParameterAnimationInfo_constspShaderParameterAnimationInfoamp(const ShaderParameterAnimationInfo& other)
  3739. {
  3740. return new ShaderParameterAnimationInfo(other);
  3741. }
  3742. // class ShaderParameterAnimationInfo | File: ../Graphics/Material.h
  3743. static void Register_ShaderParameterAnimationInfo(asIScriptEngine* engine)
  3744. {
  3745. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(Material* material, const String& name, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3746. 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);
  3747. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(const ShaderParameterAnimationInfo& other)
  3748. engine->RegisterObjectBehaviour("ShaderParameterAnimationInfo", asBEHAVE_FACTORY, "ShaderParameterAnimationInfo@+ f(const ShaderParameterAnimationInfo&in)", AS_FUNCTION(ShaderParameterAnimationInfo__ShaderParameterAnimationInfo_constspShaderParameterAnimationInfoamp) , AS_CALL_CDECL);
  3749. RegisterSubclass<ValueAnimationInfo, ShaderParameterAnimationInfo>(engine, "ValueAnimationInfo", "ShaderParameterAnimationInfo");
  3750. RegisterSubclass<RefCounted, ShaderParameterAnimationInfo>(engine, "RefCounted", "ShaderParameterAnimationInfo");
  3751. RegisterMembers_ShaderParameterAnimationInfo<ShaderParameterAnimationInfo>(engine, "ShaderParameterAnimationInfo");
  3752. #ifdef REGISTER_CLASS_MANUAL_PART_ShaderParameterAnimationInfo
  3753. REGISTER_CLASS_MANUAL_PART_ShaderParameterAnimationInfo();
  3754. #endif
  3755. }
  3756. // ShaderPrecache::ShaderPrecache(Context* context, const String& fileName)
  3757. static ShaderPrecache* ShaderPrecache__ShaderPrecache_Contextstar_constspStringamp(const String& fileName)
  3758. {
  3759. Context* context = GetScriptContext();
  3760. return new ShaderPrecache(context, fileName);
  3761. }
  3762. // class ShaderPrecache | File: ../GraphicsAPI/ShaderPrecache.h
  3763. static void Register_ShaderPrecache(asIScriptEngine* engine)
  3764. {
  3765. // ShaderPrecache::ShaderPrecache(Context* context, const String& fileName)
  3766. engine->RegisterObjectBehaviour("ShaderPrecache", asBEHAVE_FACTORY, "ShaderPrecache@+ f(const String&in)", AS_FUNCTION(ShaderPrecache__ShaderPrecache_Contextstar_constspStringamp) , AS_CALL_CDECL);
  3767. RegisterSubclass<Object, ShaderPrecache>(engine, "Object", "ShaderPrecache");
  3768. RegisterSubclass<RefCounted, ShaderPrecache>(engine, "RefCounted", "ShaderPrecache");
  3769. RegisterMembers_ShaderPrecache<ShaderPrecache>(engine, "ShaderPrecache");
  3770. #ifdef REGISTER_CLASS_MANUAL_PART_ShaderPrecache
  3771. REGISTER_CLASS_MANUAL_PART_ShaderPrecache();
  3772. #endif
  3773. }
  3774. // explicit Time::Time(Context* context)
  3775. static Time* Time__Time_Contextstar()
  3776. {
  3777. Context* context = GetScriptContext();
  3778. return new Time(context);
  3779. }
  3780. // class Time | File: ../Core/Timer.h
  3781. static void Register_Time(asIScriptEngine* engine)
  3782. {
  3783. // explicit Time::Time(Context* context)
  3784. engine->RegisterObjectBehaviour("Time", asBEHAVE_FACTORY, "Time@+ f()", AS_FUNCTION(Time__Time_Contextstar) , AS_CALL_CDECL);
  3785. RegisterSubclass<Object, Time>(engine, "Object", "Time");
  3786. RegisterSubclass<RefCounted, Time>(engine, "RefCounted", "Time");
  3787. RegisterMembers_Time<Time>(engine, "Time");
  3788. #ifdef REGISTER_CLASS_MANUAL_PART_Time
  3789. REGISTER_CLASS_MANUAL_PART_Time();
  3790. #endif
  3791. }
  3792. // explicit UI::UI(Context* context)
  3793. static UI* UI__UI_Contextstar()
  3794. {
  3795. Context* context = GetScriptContext();
  3796. return new UI(context);
  3797. }
  3798. // class UI | File: ../UI/UI.h
  3799. static void Register_UI(asIScriptEngine* engine)
  3800. {
  3801. // explicit UI::UI(Context* context)
  3802. engine->RegisterObjectBehaviour("UI", asBEHAVE_FACTORY, "UI@+ f()", AS_FUNCTION(UI__UI_Contextstar) , AS_CALL_CDECL);
  3803. RegisterSubclass<Object, UI>(engine, "Object", "UI");
  3804. RegisterSubclass<RefCounted, UI>(engine, "RefCounted", "UI");
  3805. RegisterMembers_UI<UI>(engine, "UI");
  3806. #ifdef REGISTER_CLASS_MANUAL_PART_UI
  3807. REGISTER_CLASS_MANUAL_PART_UI();
  3808. #endif
  3809. }
  3810. // explicit VectorBuffer::VectorBuffer(const Vector<u8>& data)
  3811. static void VectorBuffer__VectorBuffer_constspVectorlesu8greamp(VectorBuffer* _ptr, CScriptArray* data_conv)
  3812. {
  3813. Vector<u8> data = ArrayToVector<u8>(data_conv);
  3814. new(_ptr) VectorBuffer(data);
  3815. }
  3816. // VectorBuffer::VectorBuffer(Deserializer& source, i32 size)
  3817. static void VectorBuffer__VectorBuffer_Deserializeramp_i32(VectorBuffer* _ptr, Deserializer& source, i32 size)
  3818. {
  3819. new(_ptr) VectorBuffer(source, size);
  3820. }
  3821. // class VectorBuffer | File: ../IO/VectorBuffer.h
  3822. static void Register_VectorBuffer(asIScriptEngine* engine)
  3823. {
  3824. // VectorBuffer::VectorBuffer(const void* data, i32 size)
  3825. // Error: type "const void*" can not automatically bind
  3826. // explicit VectorBuffer::VectorBuffer(const Vector<u8>& data)
  3827. engine->RegisterObjectBehaviour("VectorBuffer", asBEHAVE_CONSTRUCT, "void f(Array<uint8>@+)", AS_FUNCTION_OBJFIRST(VectorBuffer__VectorBuffer_constspVectorlesu8greamp), AS_CALL_CDECL_OBJFIRST);
  3828. // VectorBuffer::VectorBuffer(Deserializer& source, i32 size)
  3829. engine->RegisterObjectBehaviour("VectorBuffer", asBEHAVE_CONSTRUCT, "void f(Deserializer&, int)", AS_FUNCTION_OBJFIRST(VectorBuffer__VectorBuffer_Deserializeramp_i32), AS_CALL_CDECL_OBJFIRST);
  3830. // VectorBuffer::~VectorBuffer() | Implicitly-declared
  3831. engine->RegisterObjectBehaviour("VectorBuffer", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VectorBuffer), AS_CALL_CDECL_OBJFIRST);
  3832. RegisterMembers_VectorBuffer<VectorBuffer>(engine, "VectorBuffer");
  3833. #ifdef REGISTER_CLASS_MANUAL_PART_VectorBuffer
  3834. REGISTER_CLASS_MANUAL_PART_VectorBuffer();
  3835. #endif
  3836. // VectorBuffer& VectorBuffer::operator =(const VectorBuffer&) | Possible implicitly-declared
  3837. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VectorBuffer>(engine, "VectorBuffer");
  3838. }
  3839. // explicit VertexBuffer::VertexBuffer(Context* context, bool forceHeadless = false)
  3840. static VertexBuffer* VertexBuffer__VertexBuffer_Contextstar_bool(bool forceHeadless)
  3841. {
  3842. Context* context = GetScriptContext();
  3843. return new VertexBuffer(context, forceHeadless);
  3844. }
  3845. // class VertexBuffer | File: ../GraphicsAPI/VertexBuffer.h
  3846. static void Register_VertexBuffer(asIScriptEngine* engine)
  3847. {
  3848. // explicit VertexBuffer::VertexBuffer(Context* context, bool forceHeadless = false)
  3849. engine->RegisterObjectBehaviour("VertexBuffer", asBEHAVE_FACTORY, "VertexBuffer@+ f(bool = false)", AS_FUNCTION(VertexBuffer__VertexBuffer_Contextstar_bool) , AS_CALL_CDECL);
  3850. RegisterSubclass<Object, VertexBuffer>(engine, "Object", "VertexBuffer");
  3851. RegisterSubclass<RefCounted, VertexBuffer>(engine, "RefCounted", "VertexBuffer");
  3852. RegisterMembers_VertexBuffer<VertexBuffer>(engine, "VertexBuffer");
  3853. #ifdef REGISTER_CLASS_MANUAL_PART_VertexBuffer
  3854. REGISTER_CLASS_MANUAL_PART_VertexBuffer();
  3855. #endif
  3856. }
  3857. // explicit View::View(Context* context)
  3858. static View* View__View_Contextstar()
  3859. {
  3860. Context* context = GetScriptContext();
  3861. return new View(context);
  3862. }
  3863. // class View | File: ../Graphics/View.h
  3864. static void Register_View(asIScriptEngine* engine)
  3865. {
  3866. // explicit View::View(Context* context)
  3867. engine->RegisterObjectBehaviour("View", asBEHAVE_FACTORY, "View@+ f()", AS_FUNCTION(View__View_Contextstar) , AS_CALL_CDECL);
  3868. RegisterSubclass<Object, View>(engine, "Object", "View");
  3869. RegisterSubclass<RefCounted, View>(engine, "RefCounted", "View");
  3870. RegisterMembers_View<View>(engine, "View");
  3871. #ifdef REGISTER_CLASS_MANUAL_PART_View
  3872. REGISTER_CLASS_MANUAL_PART_View();
  3873. #endif
  3874. }
  3875. // explicit Viewport::Viewport(Context* context)
  3876. static Viewport* Viewport__Viewport_Contextstar()
  3877. {
  3878. Context* context = GetScriptContext();
  3879. return new Viewport(context);
  3880. }
  3881. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, RenderPath* renderPath = nullptr)
  3882. static Viewport* Viewport__Viewport_Contextstar_Scenestar_Camerastar_RenderPathstar(Scene* scene, Camera* camera, RenderPath* renderPath)
  3883. {
  3884. Context* context = GetScriptContext();
  3885. return new Viewport(context, scene, camera, renderPath);
  3886. }
  3887. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = nullptr)
  3888. static Viewport* Viewport__Viewport_Contextstar_Scenestar_Camerastar_constspIntRectamp_RenderPathstar(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath)
  3889. {
  3890. Context* context = GetScriptContext();
  3891. return new Viewport(context, scene, camera, rect, renderPath);
  3892. }
  3893. // class Viewport | File: ../Graphics/Viewport.h
  3894. static void Register_Viewport(asIScriptEngine* engine)
  3895. {
  3896. // explicit Viewport::Viewport(Context* context)
  3897. engine->RegisterObjectBehaviour("Viewport", asBEHAVE_FACTORY, "Viewport@+ f()", AS_FUNCTION(Viewport__Viewport_Contextstar) , AS_CALL_CDECL);
  3898. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, RenderPath* renderPath = nullptr)
  3899. engine->RegisterObjectBehaviour("Viewport", asBEHAVE_FACTORY, "Viewport@+ f(Scene@+, Camera@+, RenderPath@+ = null)", AS_FUNCTION(Viewport__Viewport_Contextstar_Scenestar_Camerastar_RenderPathstar) , AS_CALL_CDECL);
  3900. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = nullptr)
  3901. 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);
  3902. RegisterSubclass<Object, Viewport>(engine, "Object", "Viewport");
  3903. RegisterSubclass<RefCounted, Viewport>(engine, "RefCounted", "Viewport");
  3904. RegisterMembers_Viewport<Viewport>(engine, "Viewport");
  3905. #ifdef REGISTER_CLASS_MANUAL_PART_Viewport
  3906. REGISTER_CLASS_MANUAL_PART_Viewport();
  3907. #endif
  3908. }
  3909. // explicit WorkQueue::WorkQueue(Context* context)
  3910. static WorkQueue* WorkQueue__WorkQueue_Contextstar()
  3911. {
  3912. Context* context = GetScriptContext();
  3913. return new WorkQueue(context);
  3914. }
  3915. // class WorkQueue | File: ../Core/WorkQueue.h
  3916. static void Register_WorkQueue(asIScriptEngine* engine)
  3917. {
  3918. // explicit WorkQueue::WorkQueue(Context* context)
  3919. engine->RegisterObjectBehaviour("WorkQueue", asBEHAVE_FACTORY, "WorkQueue@+ f()", AS_FUNCTION(WorkQueue__WorkQueue_Contextstar) , AS_CALL_CDECL);
  3920. RegisterSubclass<Object, WorkQueue>(engine, "Object", "WorkQueue");
  3921. RegisterSubclass<RefCounted, WorkQueue>(engine, "RefCounted", "WorkQueue");
  3922. RegisterMembers_WorkQueue<WorkQueue>(engine, "WorkQueue");
  3923. #ifdef REGISTER_CLASS_MANUAL_PART_WorkQueue
  3924. REGISTER_CLASS_MANUAL_PART_WorkQueue();
  3925. #endif
  3926. }
  3927. #ifdef URHO3D_DATABASE
  3928. // explicit Database::Database(Context* context)
  3929. static Database* Database__Database_Contextstar()
  3930. {
  3931. Context* context = GetScriptContext();
  3932. return new Database(context);
  3933. }
  3934. // class Database | File: ../Database/Database.h
  3935. static void Register_Database(asIScriptEngine* engine)
  3936. {
  3937. // explicit Database::Database(Context* context)
  3938. engine->RegisterObjectBehaviour("Database", asBEHAVE_FACTORY, "Database@+ f()", AS_FUNCTION(Database__Database_Contextstar) , AS_CALL_CDECL);
  3939. RegisterSubclass<Object, Database>(engine, "Object", "Database");
  3940. RegisterSubclass<RefCounted, Database>(engine, "RefCounted", "Database");
  3941. RegisterMembers_Database<Database>(engine, "Database");
  3942. #ifdef REGISTER_CLASS_MANUAL_PART_Database
  3943. REGISTER_CLASS_MANUAL_PART_Database();
  3944. #endif
  3945. }
  3946. #endif // def URHO3D_DATABASE
  3947. #ifdef URHO3D_NETWORK
  3948. // class Connection | File: ../Network/Connection.h
  3949. static void Register_Connection(asIScriptEngine* engine)
  3950. {
  3951. // Connection::Connection(Context* context, bool isClient, const SLNet::AddressOrGUID& address, SLNet::RakPeerInterface* peer)
  3952. // Error: type "const SLNet::AddressOrGUID&" can not automatically bind
  3953. RegisterSubclass<Object, Connection>(engine, "Object", "Connection");
  3954. RegisterSubclass<RefCounted, Connection>(engine, "RefCounted", "Connection");
  3955. RegisterMembers_Connection<Connection>(engine, "Connection");
  3956. #ifdef REGISTER_CLASS_MANUAL_PART_Connection
  3957. REGISTER_CLASS_MANUAL_PART_Connection();
  3958. #endif
  3959. }
  3960. // explicit Network::Network(Context* context)
  3961. static Network* Network__Network_Contextstar()
  3962. {
  3963. Context* context = GetScriptContext();
  3964. return new Network(context);
  3965. }
  3966. // class Network | File: ../Network/Network.h
  3967. static void Register_Network(asIScriptEngine* engine)
  3968. {
  3969. // explicit Network::Network(Context* context)
  3970. engine->RegisterObjectBehaviour("Network", asBEHAVE_FACTORY, "Network@+ f()", AS_FUNCTION(Network__Network_Contextstar) , AS_CALL_CDECL);
  3971. RegisterSubclass<Object, Network>(engine, "Object", "Network");
  3972. RegisterSubclass<RefCounted, Network>(engine, "RefCounted", "Network");
  3973. RegisterMembers_Network<Network>(engine, "Network");
  3974. #ifdef REGISTER_CLASS_MANUAL_PART_Network
  3975. REGISTER_CLASS_MANUAL_PART_Network();
  3976. #endif
  3977. }
  3978. #endif // def URHO3D_NETWORK
  3979. #ifdef URHO3D_PHYSICS
  3980. // ConvexData::ConvexData(Model* model, i32 lodLevel)
  3981. static ConvexData* ConvexData__ConvexData_Modelstar_i32(Model* model, i32 lodLevel)
  3982. {
  3983. return new ConvexData(model, lodLevel);
  3984. }
  3985. // explicit ConvexData::ConvexData(CustomGeometry* custom)
  3986. static ConvexData* ConvexData__ConvexData_CustomGeometrystar(CustomGeometry* custom)
  3987. {
  3988. return new ConvexData(custom);
  3989. }
  3990. // struct ConvexData | File: ../Physics/CollisionShape.h
  3991. static void Register_ConvexData(asIScriptEngine* engine)
  3992. {
  3993. // ConvexData::ConvexData(Model* model, i32 lodLevel)
  3994. engine->RegisterObjectBehaviour("ConvexData", asBEHAVE_FACTORY, "ConvexData@+ f(Model@+, int)", AS_FUNCTION(ConvexData__ConvexData_Modelstar_i32) , AS_CALL_CDECL);
  3995. // explicit ConvexData::ConvexData(CustomGeometry* custom)
  3996. engine->RegisterObjectBehaviour("ConvexData", asBEHAVE_FACTORY, "ConvexData@+ f(CustomGeometry@+)", AS_FUNCTION(ConvexData__ConvexData_CustomGeometrystar) , AS_CALL_CDECL);
  3997. RegisterSubclass<CollisionGeometryData, ConvexData>(engine, "CollisionGeometryData", "ConvexData");
  3998. RegisterSubclass<RefCounted, ConvexData>(engine, "RefCounted", "ConvexData");
  3999. RegisterMembers_ConvexData<ConvexData>(engine, "ConvexData");
  4000. #ifdef REGISTER_CLASS_MANUAL_PART_ConvexData
  4001. REGISTER_CLASS_MANUAL_PART_ConvexData();
  4002. #endif
  4003. }
  4004. // GImpactMeshData::GImpactMeshData(Model* model, i32 lodLevel)
  4005. static GImpactMeshData* GImpactMeshData__GImpactMeshData_Modelstar_i32(Model* model, i32 lodLevel)
  4006. {
  4007. return new GImpactMeshData(model, lodLevel);
  4008. }
  4009. // explicit GImpactMeshData::GImpactMeshData(CustomGeometry* custom)
  4010. static GImpactMeshData* GImpactMeshData__GImpactMeshData_CustomGeometrystar(CustomGeometry* custom)
  4011. {
  4012. return new GImpactMeshData(custom);
  4013. }
  4014. // struct GImpactMeshData | File: ../Physics/CollisionShape.h
  4015. static void Register_GImpactMeshData(asIScriptEngine* engine)
  4016. {
  4017. // GImpactMeshData::GImpactMeshData(Model* model, i32 lodLevel)
  4018. engine->RegisterObjectBehaviour("GImpactMeshData", asBEHAVE_FACTORY, "GImpactMeshData@+ f(Model@+, int)", AS_FUNCTION(GImpactMeshData__GImpactMeshData_Modelstar_i32) , AS_CALL_CDECL);
  4019. // explicit GImpactMeshData::GImpactMeshData(CustomGeometry* custom)
  4020. engine->RegisterObjectBehaviour("GImpactMeshData", asBEHAVE_FACTORY, "GImpactMeshData@+ f(CustomGeometry@+)", AS_FUNCTION(GImpactMeshData__GImpactMeshData_CustomGeometrystar) , AS_CALL_CDECL);
  4021. RegisterSubclass<CollisionGeometryData, GImpactMeshData>(engine, "CollisionGeometryData", "GImpactMeshData");
  4022. RegisterSubclass<RefCounted, GImpactMeshData>(engine, "RefCounted", "GImpactMeshData");
  4023. RegisterMembers_GImpactMeshData<GImpactMeshData>(engine, "GImpactMeshData");
  4024. #ifdef REGISTER_CLASS_MANUAL_PART_GImpactMeshData
  4025. REGISTER_CLASS_MANUAL_PART_GImpactMeshData();
  4026. #endif
  4027. }
  4028. // HeightfieldData::HeightfieldData(Terrain* terrain, i32 lodLevel)
  4029. static HeightfieldData* HeightfieldData__HeightfieldData_Terrainstar_i32(Terrain* terrain, i32 lodLevel)
  4030. {
  4031. return new HeightfieldData(terrain, lodLevel);
  4032. }
  4033. // struct HeightfieldData | File: ../Physics/CollisionShape.h
  4034. static void Register_HeightfieldData(asIScriptEngine* engine)
  4035. {
  4036. // HeightfieldData::HeightfieldData(Terrain* terrain, i32 lodLevel)
  4037. engine->RegisterObjectBehaviour("HeightfieldData", asBEHAVE_FACTORY, "HeightfieldData@+ f(Terrain@+, int)", AS_FUNCTION(HeightfieldData__HeightfieldData_Terrainstar_i32) , AS_CALL_CDECL);
  4038. RegisterSubclass<CollisionGeometryData, HeightfieldData>(engine, "CollisionGeometryData", "HeightfieldData");
  4039. RegisterSubclass<RefCounted, HeightfieldData>(engine, "RefCounted", "HeightfieldData");
  4040. RegisterMembers_HeightfieldData<HeightfieldData>(engine, "HeightfieldData");
  4041. #ifdef REGISTER_CLASS_MANUAL_PART_HeightfieldData
  4042. REGISTER_CLASS_MANUAL_PART_HeightfieldData();
  4043. #endif
  4044. }
  4045. // TriangleMeshData::TriangleMeshData(Model* model, i32 lodLevel)
  4046. static TriangleMeshData* TriangleMeshData__TriangleMeshData_Modelstar_i32(Model* model, i32 lodLevel)
  4047. {
  4048. return new TriangleMeshData(model, lodLevel);
  4049. }
  4050. // explicit TriangleMeshData::TriangleMeshData(CustomGeometry* custom)
  4051. static TriangleMeshData* TriangleMeshData__TriangleMeshData_CustomGeometrystar(CustomGeometry* custom)
  4052. {
  4053. return new TriangleMeshData(custom);
  4054. }
  4055. // struct TriangleMeshData | File: ../Physics/CollisionShape.h
  4056. static void Register_TriangleMeshData(asIScriptEngine* engine)
  4057. {
  4058. // TriangleMeshData::TriangleMeshData(Model* model, i32 lodLevel)
  4059. engine->RegisterObjectBehaviour("TriangleMeshData", asBEHAVE_FACTORY, "TriangleMeshData@+ f(Model@+, int)", AS_FUNCTION(TriangleMeshData__TriangleMeshData_Modelstar_i32) , AS_CALL_CDECL);
  4060. // explicit TriangleMeshData::TriangleMeshData(CustomGeometry* custom)
  4061. engine->RegisterObjectBehaviour("TriangleMeshData", asBEHAVE_FACTORY, "TriangleMeshData@+ f(CustomGeometry@+)", AS_FUNCTION(TriangleMeshData__TriangleMeshData_CustomGeometrystar) , AS_CALL_CDECL);
  4062. RegisterSubclass<CollisionGeometryData, TriangleMeshData>(engine, "CollisionGeometryData", "TriangleMeshData");
  4063. RegisterSubclass<RefCounted, TriangleMeshData>(engine, "RefCounted", "TriangleMeshData");
  4064. RegisterMembers_TriangleMeshData<TriangleMeshData>(engine, "TriangleMeshData");
  4065. #ifdef REGISTER_CLASS_MANUAL_PART_TriangleMeshData
  4066. REGISTER_CLASS_MANUAL_PART_TriangleMeshData();
  4067. #endif
  4068. }
  4069. #endif // def URHO3D_PHYSICS
  4070. #ifdef URHO3D_URHO2D
  4071. // explicit TmxImageLayer2D::TmxImageLayer2D(TmxFile2D* tmxFile)
  4072. static TmxImageLayer2D* TmxImageLayer2D__TmxImageLayer2D_TmxFile2Dstar(TmxFile2D* tmxFile)
  4073. {
  4074. return new TmxImageLayer2D(tmxFile);
  4075. }
  4076. // class TmxImageLayer2D | File: ../Urho2D/TmxFile2D.h
  4077. static void Register_TmxImageLayer2D(asIScriptEngine* engine)
  4078. {
  4079. // explicit TmxImageLayer2D::TmxImageLayer2D(TmxFile2D* tmxFile)
  4080. engine->RegisterObjectBehaviour("TmxImageLayer2D", asBEHAVE_FACTORY, "TmxImageLayer2D@+ f(TmxFile2D@+)", AS_FUNCTION(TmxImageLayer2D__TmxImageLayer2D_TmxFile2Dstar) , AS_CALL_CDECL);
  4081. RegisterSubclass<TmxLayer2D, TmxImageLayer2D>(engine, "TmxLayer2D", "TmxImageLayer2D");
  4082. RegisterSubclass<RefCounted, TmxImageLayer2D>(engine, "RefCounted", "TmxImageLayer2D");
  4083. RegisterMembers_TmxImageLayer2D<TmxImageLayer2D>(engine, "TmxImageLayer2D");
  4084. #ifdef REGISTER_CLASS_MANUAL_PART_TmxImageLayer2D
  4085. REGISTER_CLASS_MANUAL_PART_TmxImageLayer2D();
  4086. #endif
  4087. }
  4088. // explicit TmxObjectGroup2D::TmxObjectGroup2D(TmxFile2D* tmxFile)
  4089. static TmxObjectGroup2D* TmxObjectGroup2D__TmxObjectGroup2D_TmxFile2Dstar(TmxFile2D* tmxFile)
  4090. {
  4091. return new TmxObjectGroup2D(tmxFile);
  4092. }
  4093. // class TmxObjectGroup2D | File: ../Urho2D/TmxFile2D.h
  4094. static void Register_TmxObjectGroup2D(asIScriptEngine* engine)
  4095. {
  4096. // explicit TmxObjectGroup2D::TmxObjectGroup2D(TmxFile2D* tmxFile)
  4097. engine->RegisterObjectBehaviour("TmxObjectGroup2D", asBEHAVE_FACTORY, "TmxObjectGroup2D@+ f(TmxFile2D@+)", AS_FUNCTION(TmxObjectGroup2D__TmxObjectGroup2D_TmxFile2Dstar) , AS_CALL_CDECL);
  4098. RegisterSubclass<TmxLayer2D, TmxObjectGroup2D>(engine, "TmxLayer2D", "TmxObjectGroup2D");
  4099. RegisterSubclass<RefCounted, TmxObjectGroup2D>(engine, "RefCounted", "TmxObjectGroup2D");
  4100. RegisterMembers_TmxObjectGroup2D<TmxObjectGroup2D>(engine, "TmxObjectGroup2D");
  4101. #ifdef REGISTER_CLASS_MANUAL_PART_TmxObjectGroup2D
  4102. REGISTER_CLASS_MANUAL_PART_TmxObjectGroup2D();
  4103. #endif
  4104. }
  4105. // explicit TmxTileLayer2D::TmxTileLayer2D(TmxFile2D* tmxFile)
  4106. static TmxTileLayer2D* TmxTileLayer2D__TmxTileLayer2D_TmxFile2Dstar(TmxFile2D* tmxFile)
  4107. {
  4108. return new TmxTileLayer2D(tmxFile);
  4109. }
  4110. // class TmxTileLayer2D | File: ../Urho2D/TmxFile2D.h
  4111. static void Register_TmxTileLayer2D(asIScriptEngine* engine)
  4112. {
  4113. // explicit TmxTileLayer2D::TmxTileLayer2D(TmxFile2D* tmxFile)
  4114. engine->RegisterObjectBehaviour("TmxTileLayer2D", asBEHAVE_FACTORY, "TmxTileLayer2D@+ f(TmxFile2D@+)", AS_FUNCTION(TmxTileLayer2D__TmxTileLayer2D_TmxFile2Dstar) , AS_CALL_CDECL);
  4115. RegisterSubclass<TmxLayer2D, TmxTileLayer2D>(engine, "TmxLayer2D", "TmxTileLayer2D");
  4116. RegisterSubclass<RefCounted, TmxTileLayer2D>(engine, "RefCounted", "TmxTileLayer2D");
  4117. RegisterMembers_TmxTileLayer2D<TmxTileLayer2D>(engine, "TmxTileLayer2D");
  4118. #ifdef REGISTER_CLASS_MANUAL_PART_TmxTileLayer2D
  4119. REGISTER_CLASS_MANUAL_PART_TmxTileLayer2D();
  4120. #endif
  4121. }
  4122. #endif // def URHO3D_URHO2D
  4123. // class Animatable | File: ../Scene/Animatable.h
  4124. static void Register_Animatable(asIScriptEngine* engine)
  4125. {
  4126. RegisterSubclass<Serializable, Animatable>(engine, "Serializable", "Animatable");
  4127. RegisterSubclass<Object, Animatable>(engine, "Object", "Animatable");
  4128. RegisterSubclass<RefCounted, Animatable>(engine, "RefCounted", "Animatable");
  4129. RegisterMembers_Animatable<Animatable>(engine, "Animatable");
  4130. #ifdef REGISTER_CLASS_MANUAL_PART_Animatable
  4131. REGISTER_CLASS_MANUAL_PART_Animatable();
  4132. #endif
  4133. }
  4134. // explicit EventProfiler::EventProfiler(Context* context)
  4135. static EventProfiler* EventProfiler__EventProfiler_Contextstar()
  4136. {
  4137. Context* context = GetScriptContext();
  4138. return new EventProfiler(context);
  4139. }
  4140. // class EventProfiler | File: ../Core/EventProfiler.h
  4141. static void Register_EventProfiler(asIScriptEngine* engine)
  4142. {
  4143. // explicit EventProfiler::EventProfiler(Context* context)
  4144. engine->RegisterObjectBehaviour("EventProfiler", asBEHAVE_FACTORY, "EventProfiler@+ f()", AS_FUNCTION(EventProfiler__EventProfiler_Contextstar) , AS_CALL_CDECL);
  4145. RegisterSubclass<Profiler, EventProfiler>(engine, "Profiler", "EventProfiler");
  4146. RegisterSubclass<Object, EventProfiler>(engine, "Object", "EventProfiler");
  4147. RegisterSubclass<RefCounted, EventProfiler>(engine, "RefCounted", "EventProfiler");
  4148. RegisterMembers_EventProfiler<EventProfiler>(engine, "EventProfiler");
  4149. #ifdef REGISTER_CLASS_MANUAL_PART_EventProfiler
  4150. REGISTER_CLASS_MANUAL_PART_EventProfiler();
  4151. #endif
  4152. }
  4153. // explicit Font::Font(Context* context)
  4154. static Font* Font__Font_Contextstar()
  4155. {
  4156. Context* context = GetScriptContext();
  4157. return new Font(context);
  4158. }
  4159. // class Font | File: ../UI/Font.h
  4160. static void Register_Font(asIScriptEngine* engine)
  4161. {
  4162. // explicit Font::Font(Context* context)
  4163. engine->RegisterObjectBehaviour("Font", asBEHAVE_FACTORY, "Font@+ f()", AS_FUNCTION(Font__Font_Contextstar) , AS_CALL_CDECL);
  4164. RegisterSubclass<Resource, Font>(engine, "Resource", "Font");
  4165. RegisterSubclass<Object, Font>(engine, "Object", "Font");
  4166. RegisterSubclass<RefCounted, Font>(engine, "RefCounted", "Font");
  4167. RegisterMembers_Font<Font>(engine, "Font");
  4168. #ifdef REGISTER_CLASS_MANUAL_PART_Font
  4169. REGISTER_CLASS_MANUAL_PART_Font();
  4170. #endif
  4171. }
  4172. // explicit Image::Image(Context* context)
  4173. static Image* Image__Image_Contextstar()
  4174. {
  4175. Context* context = GetScriptContext();
  4176. return new Image(context);
  4177. }
  4178. // class Image | File: ../Resource/Image.h
  4179. static void Register_Image(asIScriptEngine* engine)
  4180. {
  4181. // explicit Image::Image(Context* context)
  4182. engine->RegisterObjectBehaviour("Image", asBEHAVE_FACTORY, "Image@+ f()", AS_FUNCTION(Image__Image_Contextstar) , AS_CALL_CDECL);
  4183. RegisterSubclass<Resource, Image>(engine, "Resource", "Image");
  4184. RegisterSubclass<Object, Image>(engine, "Object", "Image");
  4185. RegisterSubclass<RefCounted, Image>(engine, "RefCounted", "Image");
  4186. RegisterMembers_Image<Image>(engine, "Image");
  4187. #ifdef REGISTER_CLASS_MANUAL_PART_Image
  4188. REGISTER_CLASS_MANUAL_PART_Image();
  4189. #endif
  4190. }
  4191. // explicit JSONFile::JSONFile(Context* context)
  4192. static JSONFile* JSONFile__JSONFile_Contextstar()
  4193. {
  4194. Context* context = GetScriptContext();
  4195. return new JSONFile(context);
  4196. }
  4197. // class JSONFile | File: ../Resource/JSONFile.h
  4198. static void Register_JSONFile(asIScriptEngine* engine)
  4199. {
  4200. // explicit JSONFile::JSONFile(Context* context)
  4201. engine->RegisterObjectBehaviour("JSONFile", asBEHAVE_FACTORY, "JSONFile@+ f()", AS_FUNCTION(JSONFile__JSONFile_Contextstar) , AS_CALL_CDECL);
  4202. RegisterSubclass<Resource, JSONFile>(engine, "Resource", "JSONFile");
  4203. RegisterSubclass<Object, JSONFile>(engine, "Object", "JSONFile");
  4204. RegisterSubclass<RefCounted, JSONFile>(engine, "RefCounted", "JSONFile");
  4205. RegisterMembers_JSONFile<JSONFile>(engine, "JSONFile");
  4206. #ifdef REGISTER_CLASS_MANUAL_PART_JSONFile
  4207. REGISTER_CLASS_MANUAL_PART_JSONFile();
  4208. #endif
  4209. }
  4210. // explicit Material::Material(Context* context)
  4211. static Material* Material__Material_Contextstar()
  4212. {
  4213. Context* context = GetScriptContext();
  4214. return new Material(context);
  4215. }
  4216. // class Material | File: ../Graphics/Material.h
  4217. static void Register_Material(asIScriptEngine* engine)
  4218. {
  4219. // explicit Material::Material(Context* context)
  4220. engine->RegisterObjectBehaviour("Material", asBEHAVE_FACTORY, "Material@+ f()", AS_FUNCTION(Material__Material_Contextstar) , AS_CALL_CDECL);
  4221. RegisterSubclass<Resource, Material>(engine, "Resource", "Material");
  4222. RegisterSubclass<Object, Material>(engine, "Object", "Material");
  4223. RegisterSubclass<RefCounted, Material>(engine, "RefCounted", "Material");
  4224. RegisterMembers_Material<Material>(engine, "Material");
  4225. #ifdef REGISTER_CLASS_MANUAL_PART_Material
  4226. REGISTER_CLASS_MANUAL_PART_Material();
  4227. #endif
  4228. }
  4229. // explicit ObjectAnimation::ObjectAnimation(Context* context)
  4230. static ObjectAnimation* ObjectAnimation__ObjectAnimation_Contextstar()
  4231. {
  4232. Context* context = GetScriptContext();
  4233. return new ObjectAnimation(context);
  4234. }
  4235. // class ObjectAnimation | File: ../Scene/ObjectAnimation.h
  4236. static void Register_ObjectAnimation(asIScriptEngine* engine)
  4237. {
  4238. // explicit ObjectAnimation::ObjectAnimation(Context* context)
  4239. engine->RegisterObjectBehaviour("ObjectAnimation", asBEHAVE_FACTORY, "ObjectAnimation@+ f()", AS_FUNCTION(ObjectAnimation__ObjectAnimation_Contextstar) , AS_CALL_CDECL);
  4240. RegisterSubclass<Resource, ObjectAnimation>(engine, "Resource", "ObjectAnimation");
  4241. RegisterSubclass<Object, ObjectAnimation>(engine, "Object", "ObjectAnimation");
  4242. RegisterSubclass<RefCounted, ObjectAnimation>(engine, "RefCounted", "ObjectAnimation");
  4243. RegisterMembers_ObjectAnimation<ObjectAnimation>(engine, "ObjectAnimation");
  4244. #ifdef REGISTER_CLASS_MANUAL_PART_ObjectAnimation
  4245. REGISTER_CLASS_MANUAL_PART_ObjectAnimation();
  4246. #endif
  4247. }
  4248. // explicit ParticleEffect::ParticleEffect(Context* context)
  4249. static ParticleEffect* ParticleEffect__ParticleEffect_Contextstar()
  4250. {
  4251. Context* context = GetScriptContext();
  4252. return new ParticleEffect(context);
  4253. }
  4254. // class ParticleEffect | File: ../Graphics/ParticleEffect.h
  4255. static void Register_ParticleEffect(asIScriptEngine* engine)
  4256. {
  4257. // explicit ParticleEffect::ParticleEffect(Context* context)
  4258. engine->RegisterObjectBehaviour("ParticleEffect", asBEHAVE_FACTORY, "ParticleEffect@+ f()", AS_FUNCTION(ParticleEffect__ParticleEffect_Contextstar) , AS_CALL_CDECL);
  4259. RegisterSubclass<Resource, ParticleEffect>(engine, "Resource", "ParticleEffect");
  4260. RegisterSubclass<Object, ParticleEffect>(engine, "Object", "ParticleEffect");
  4261. RegisterSubclass<RefCounted, ParticleEffect>(engine, "RefCounted", "ParticleEffect");
  4262. RegisterMembers_ParticleEffect<ParticleEffect>(engine, "ParticleEffect");
  4263. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEffect
  4264. REGISTER_CLASS_MANUAL_PART_ParticleEffect();
  4265. #endif
  4266. }
  4267. // explicit ResourceWithMetadata::ResourceWithMetadata(Context* context)
  4268. static ResourceWithMetadata* ResourceWithMetadata__ResourceWithMetadata_Contextstar()
  4269. {
  4270. Context* context = GetScriptContext();
  4271. return new ResourceWithMetadata(context);
  4272. }
  4273. // class ResourceWithMetadata | File: ../Resource/Resource.h
  4274. static void Register_ResourceWithMetadata(asIScriptEngine* engine)
  4275. {
  4276. // explicit ResourceWithMetadata::ResourceWithMetadata(Context* context)
  4277. engine->RegisterObjectBehaviour("ResourceWithMetadata", asBEHAVE_FACTORY, "ResourceWithMetadata@+ f()", AS_FUNCTION(ResourceWithMetadata__ResourceWithMetadata_Contextstar) , AS_CALL_CDECL);
  4278. RegisterSubclass<Resource, ResourceWithMetadata>(engine, "Resource", "ResourceWithMetadata");
  4279. RegisterSubclass<Object, ResourceWithMetadata>(engine, "Object", "ResourceWithMetadata");
  4280. RegisterSubclass<RefCounted, ResourceWithMetadata>(engine, "RefCounted", "ResourceWithMetadata");
  4281. RegisterMembers_ResourceWithMetadata<ResourceWithMetadata>(engine, "ResourceWithMetadata");
  4282. #ifdef REGISTER_CLASS_MANUAL_PART_ResourceWithMetadata
  4283. REGISTER_CLASS_MANUAL_PART_ResourceWithMetadata();
  4284. #endif
  4285. }
  4286. // explicit Shader::Shader(Context* context)
  4287. static Shader* Shader__Shader_Contextstar()
  4288. {
  4289. Context* context = GetScriptContext();
  4290. return new Shader(context);
  4291. }
  4292. // class Shader | File: ../GraphicsAPI/Shader.h
  4293. static void Register_Shader(asIScriptEngine* engine)
  4294. {
  4295. // explicit Shader::Shader(Context* context)
  4296. engine->RegisterObjectBehaviour("Shader", asBEHAVE_FACTORY, "Shader@+ f()", AS_FUNCTION(Shader__Shader_Contextstar) , AS_CALL_CDECL);
  4297. RegisterSubclass<Resource, Shader>(engine, "Resource", "Shader");
  4298. RegisterSubclass<Object, Shader>(engine, "Object", "Shader");
  4299. RegisterSubclass<RefCounted, Shader>(engine, "RefCounted", "Shader");
  4300. RegisterMembers_Shader<Shader>(engine, "Shader");
  4301. #ifdef REGISTER_CLASS_MANUAL_PART_Shader
  4302. REGISTER_CLASS_MANUAL_PART_Shader();
  4303. #endif
  4304. }
  4305. // explicit Technique::Technique(Context* context)
  4306. static Technique* Technique__Technique_Contextstar()
  4307. {
  4308. Context* context = GetScriptContext();
  4309. return new Technique(context);
  4310. }
  4311. // class Technique | File: ../Graphics/Technique.h
  4312. static void Register_Technique(asIScriptEngine* engine)
  4313. {
  4314. // explicit Technique::Technique(Context* context)
  4315. engine->RegisterObjectBehaviour("Technique", asBEHAVE_FACTORY, "Technique@+ f()", AS_FUNCTION(Technique__Technique_Contextstar) , AS_CALL_CDECL);
  4316. RegisterSubclass<Resource, Technique>(engine, "Resource", "Technique");
  4317. RegisterSubclass<Object, Technique>(engine, "Object", "Technique");
  4318. RegisterSubclass<RefCounted, Technique>(engine, "RefCounted", "Technique");
  4319. RegisterMembers_Technique<Technique>(engine, "Technique");
  4320. #ifdef REGISTER_CLASS_MANUAL_PART_Technique
  4321. REGISTER_CLASS_MANUAL_PART_Technique();
  4322. #endif
  4323. }
  4324. // explicit ValueAnimation::ValueAnimation(Context* context)
  4325. static ValueAnimation* ValueAnimation__ValueAnimation_Contextstar()
  4326. {
  4327. Context* context = GetScriptContext();
  4328. return new ValueAnimation(context);
  4329. }
  4330. // class ValueAnimation | File: ../Scene/ValueAnimation.h
  4331. static void Register_ValueAnimation(asIScriptEngine* engine)
  4332. {
  4333. // explicit ValueAnimation::ValueAnimation(Context* context)
  4334. engine->RegisterObjectBehaviour("ValueAnimation", asBEHAVE_FACTORY, "ValueAnimation@+ f()", AS_FUNCTION(ValueAnimation__ValueAnimation_Contextstar) , AS_CALL_CDECL);
  4335. RegisterSubclass<Resource, ValueAnimation>(engine, "Resource", "ValueAnimation");
  4336. RegisterSubclass<Object, ValueAnimation>(engine, "Object", "ValueAnimation");
  4337. RegisterSubclass<RefCounted, ValueAnimation>(engine, "RefCounted", "ValueAnimation");
  4338. RegisterMembers_ValueAnimation<ValueAnimation>(engine, "ValueAnimation");
  4339. #ifdef REGISTER_CLASS_MANUAL_PART_ValueAnimation
  4340. REGISTER_CLASS_MANUAL_PART_ValueAnimation();
  4341. #endif
  4342. }
  4343. // explicit XMLFile::XMLFile(Context* context)
  4344. static XMLFile* XMLFile__XMLFile_Contextstar()
  4345. {
  4346. Context* context = GetScriptContext();
  4347. return new XMLFile(context);
  4348. }
  4349. // class XMLFile | File: ../Resource/XMLFile.h
  4350. static void Register_XMLFile(asIScriptEngine* engine)
  4351. {
  4352. // explicit XMLFile::XMLFile(Context* context)
  4353. engine->RegisterObjectBehaviour("XMLFile", asBEHAVE_FACTORY, "XMLFile@+ f()", AS_FUNCTION(XMLFile__XMLFile_Contextstar) , AS_CALL_CDECL);
  4354. RegisterSubclass<Resource, XMLFile>(engine, "Resource", "XMLFile");
  4355. RegisterSubclass<Object, XMLFile>(engine, "Object", "XMLFile");
  4356. RegisterSubclass<RefCounted, XMLFile>(engine, "RefCounted", "XMLFile");
  4357. RegisterMembers_XMLFile<XMLFile>(engine, "XMLFile");
  4358. #ifdef REGISTER_CLASS_MANUAL_PART_XMLFile
  4359. REGISTER_CLASS_MANUAL_PART_XMLFile();
  4360. #endif
  4361. }
  4362. #ifdef URHO3D_URHO2D
  4363. // explicit AnimationSet2D::AnimationSet2D(Context* context)
  4364. static AnimationSet2D* AnimationSet2D__AnimationSet2D_Contextstar()
  4365. {
  4366. Context* context = GetScriptContext();
  4367. return new AnimationSet2D(context);
  4368. }
  4369. // class AnimationSet2D | File: ../Urho2D/AnimationSet2D.h
  4370. static void Register_AnimationSet2D(asIScriptEngine* engine)
  4371. {
  4372. // explicit AnimationSet2D::AnimationSet2D(Context* context)
  4373. engine->RegisterObjectBehaviour("AnimationSet2D", asBEHAVE_FACTORY, "AnimationSet2D@+ f()", AS_FUNCTION(AnimationSet2D__AnimationSet2D_Contextstar) , AS_CALL_CDECL);
  4374. RegisterSubclass<Resource, AnimationSet2D>(engine, "Resource", "AnimationSet2D");
  4375. RegisterSubclass<Object, AnimationSet2D>(engine, "Object", "AnimationSet2D");
  4376. RegisterSubclass<RefCounted, AnimationSet2D>(engine, "RefCounted", "AnimationSet2D");
  4377. RegisterMembers_AnimationSet2D<AnimationSet2D>(engine, "AnimationSet2D");
  4378. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationSet2D
  4379. REGISTER_CLASS_MANUAL_PART_AnimationSet2D();
  4380. #endif
  4381. }
  4382. // explicit ParticleEffect2D::ParticleEffect2D(Context* context)
  4383. static ParticleEffect2D* ParticleEffect2D__ParticleEffect2D_Contextstar()
  4384. {
  4385. Context* context = GetScriptContext();
  4386. return new ParticleEffect2D(context);
  4387. }
  4388. // class ParticleEffect2D | File: ../Urho2D/ParticleEffect2D.h
  4389. static void Register_ParticleEffect2D(asIScriptEngine* engine)
  4390. {
  4391. // explicit ParticleEffect2D::ParticleEffect2D(Context* context)
  4392. engine->RegisterObjectBehaviour("ParticleEffect2D", asBEHAVE_FACTORY, "ParticleEffect2D@+ f()", AS_FUNCTION(ParticleEffect2D__ParticleEffect2D_Contextstar) , AS_CALL_CDECL);
  4393. RegisterSubclass<Resource, ParticleEffect2D>(engine, "Resource", "ParticleEffect2D");
  4394. RegisterSubclass<Object, ParticleEffect2D>(engine, "Object", "ParticleEffect2D");
  4395. RegisterSubclass<RefCounted, ParticleEffect2D>(engine, "RefCounted", "ParticleEffect2D");
  4396. RegisterMembers_ParticleEffect2D<ParticleEffect2D>(engine, "ParticleEffect2D");
  4397. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEffect2D
  4398. REGISTER_CLASS_MANUAL_PART_ParticleEffect2D();
  4399. #endif
  4400. }
  4401. // explicit Sprite2D::Sprite2D(Context* context)
  4402. static Sprite2D* Sprite2D__Sprite2D_Contextstar()
  4403. {
  4404. Context* context = GetScriptContext();
  4405. return new Sprite2D(context);
  4406. }
  4407. // class Sprite2D | File: ../Urho2D/Sprite2D.h
  4408. static void Register_Sprite2D(asIScriptEngine* engine)
  4409. {
  4410. // explicit Sprite2D::Sprite2D(Context* context)
  4411. engine->RegisterObjectBehaviour("Sprite2D", asBEHAVE_FACTORY, "Sprite2D@+ f()", AS_FUNCTION(Sprite2D__Sprite2D_Contextstar) , AS_CALL_CDECL);
  4412. RegisterSubclass<Resource, Sprite2D>(engine, "Resource", "Sprite2D");
  4413. RegisterSubclass<Object, Sprite2D>(engine, "Object", "Sprite2D");
  4414. RegisterSubclass<RefCounted, Sprite2D>(engine, "RefCounted", "Sprite2D");
  4415. RegisterMembers_Sprite2D<Sprite2D>(engine, "Sprite2D");
  4416. #ifdef REGISTER_CLASS_MANUAL_PART_Sprite2D
  4417. REGISTER_CLASS_MANUAL_PART_Sprite2D();
  4418. #endif
  4419. }
  4420. // explicit SpriteSheet2D::SpriteSheet2D(Context* context)
  4421. static SpriteSheet2D* SpriteSheet2D__SpriteSheet2D_Contextstar()
  4422. {
  4423. Context* context = GetScriptContext();
  4424. return new SpriteSheet2D(context);
  4425. }
  4426. // class SpriteSheet2D | File: ../Urho2D/SpriteSheet2D.h
  4427. static void Register_SpriteSheet2D(asIScriptEngine* engine)
  4428. {
  4429. // explicit SpriteSheet2D::SpriteSheet2D(Context* context)
  4430. engine->RegisterObjectBehaviour("SpriteSheet2D", asBEHAVE_FACTORY, "SpriteSheet2D@+ f()", AS_FUNCTION(SpriteSheet2D__SpriteSheet2D_Contextstar) , AS_CALL_CDECL);
  4431. RegisterSubclass<Resource, SpriteSheet2D>(engine, "Resource", "SpriteSheet2D");
  4432. RegisterSubclass<Object, SpriteSheet2D>(engine, "Object", "SpriteSheet2D");
  4433. RegisterSubclass<RefCounted, SpriteSheet2D>(engine, "RefCounted", "SpriteSheet2D");
  4434. RegisterMembers_SpriteSheet2D<SpriteSheet2D>(engine, "SpriteSheet2D");
  4435. #ifdef REGISTER_CLASS_MANUAL_PART_SpriteSheet2D
  4436. REGISTER_CLASS_MANUAL_PART_SpriteSheet2D();
  4437. #endif
  4438. }
  4439. // explicit TmxFile2D::TmxFile2D(Context* context)
  4440. static TmxFile2D* TmxFile2D__TmxFile2D_Contextstar()
  4441. {
  4442. Context* context = GetScriptContext();
  4443. return new TmxFile2D(context);
  4444. }
  4445. // class TmxFile2D | File: ../Urho2D/TmxFile2D.h
  4446. static void Register_TmxFile2D(asIScriptEngine* engine)
  4447. {
  4448. // explicit TmxFile2D::TmxFile2D(Context* context)
  4449. engine->RegisterObjectBehaviour("TmxFile2D", asBEHAVE_FACTORY, "TmxFile2D@+ f()", AS_FUNCTION(TmxFile2D__TmxFile2D_Contextstar) , AS_CALL_CDECL);
  4450. RegisterSubclass<Resource, TmxFile2D>(engine, "Resource", "TmxFile2D");
  4451. RegisterSubclass<Object, TmxFile2D>(engine, "Object", "TmxFile2D");
  4452. RegisterSubclass<RefCounted, TmxFile2D>(engine, "RefCounted", "TmxFile2D");
  4453. RegisterMembers_TmxFile2D<TmxFile2D>(engine, "TmxFile2D");
  4454. #ifdef REGISTER_CLASS_MANUAL_PART_TmxFile2D
  4455. REGISTER_CLASS_MANUAL_PART_TmxFile2D();
  4456. #endif
  4457. }
  4458. #endif // def URHO3D_URHO2D
  4459. // explicit Animation::Animation(Context* context)
  4460. static Animation* Animation__Animation_Contextstar()
  4461. {
  4462. Context* context = GetScriptContext();
  4463. return new Animation(context);
  4464. }
  4465. // class Animation | File: ../Graphics/Animation.h
  4466. static void Register_Animation(asIScriptEngine* engine)
  4467. {
  4468. // explicit Animation::Animation(Context* context)
  4469. engine->RegisterObjectBehaviour("Animation", asBEHAVE_FACTORY, "Animation@+ f()", AS_FUNCTION(Animation__Animation_Contextstar) , AS_CALL_CDECL);
  4470. RegisterSubclass<ResourceWithMetadata, Animation>(engine, "ResourceWithMetadata", "Animation");
  4471. RegisterSubclass<Resource, Animation>(engine, "Resource", "Animation");
  4472. RegisterSubclass<Object, Animation>(engine, "Object", "Animation");
  4473. RegisterSubclass<RefCounted, Animation>(engine, "RefCounted", "Animation");
  4474. RegisterMembers_Animation<Animation>(engine, "Animation");
  4475. #ifdef REGISTER_CLASS_MANUAL_PART_Animation
  4476. REGISTER_CLASS_MANUAL_PART_Animation();
  4477. #endif
  4478. }
  4479. // explicit Component::Component(Context* context)
  4480. static Component* Component__Component_Contextstar()
  4481. {
  4482. Context* context = GetScriptContext();
  4483. return new Component(context);
  4484. }
  4485. // class Component | File: ../Scene/Component.h
  4486. static void Register_Component(asIScriptEngine* engine)
  4487. {
  4488. // explicit Component::Component(Context* context)
  4489. engine->RegisterObjectBehaviour("Component", asBEHAVE_FACTORY, "Component@+ f()", AS_FUNCTION(Component__Component_Contextstar) , AS_CALL_CDECL);
  4490. RegisterSubclass<Animatable, Component>(engine, "Animatable", "Component");
  4491. RegisterSubclass<Serializable, Component>(engine, "Serializable", "Component");
  4492. RegisterSubclass<Object, Component>(engine, "Object", "Component");
  4493. RegisterSubclass<RefCounted, Component>(engine, "RefCounted", "Component");
  4494. RegisterMembers_Component<Component>(engine, "Component");
  4495. #ifdef REGISTER_CLASS_MANUAL_PART_Component
  4496. REGISTER_CLASS_MANUAL_PART_Component();
  4497. #endif
  4498. // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest)
  4499. engine->RegisterObjectMethod("Component", "void DrawDebugGeometry(DebugRenderer@+, bool)", AS_METHODPR(Component, DrawDebugGeometry, (DebugRenderer*, bool), void), AS_CALL_THISCALL);
  4500. }
  4501. // explicit Model::Model(Context* context)
  4502. static Model* Model__Model_Contextstar()
  4503. {
  4504. Context* context = GetScriptContext();
  4505. return new Model(context);
  4506. }
  4507. // class Model | File: ../Graphics/Model.h
  4508. static void Register_Model(asIScriptEngine* engine)
  4509. {
  4510. // explicit Model::Model(Context* context)
  4511. engine->RegisterObjectBehaviour("Model", asBEHAVE_FACTORY, "Model@+ f()", AS_FUNCTION(Model__Model_Contextstar) , AS_CALL_CDECL);
  4512. RegisterSubclass<ResourceWithMetadata, Model>(engine, "ResourceWithMetadata", "Model");
  4513. RegisterSubclass<Resource, Model>(engine, "Resource", "Model");
  4514. RegisterSubclass<Object, Model>(engine, "Object", "Model");
  4515. RegisterSubclass<RefCounted, Model>(engine, "RefCounted", "Model");
  4516. RegisterMembers_Model<Model>(engine, "Model");
  4517. #ifdef REGISTER_CLASS_MANUAL_PART_Model
  4518. REGISTER_CLASS_MANUAL_PART_Model();
  4519. #endif
  4520. }
  4521. // explicit Node::Node(Context* context)
  4522. static Node* Node__Node_Contextstar()
  4523. {
  4524. Context* context = GetScriptContext();
  4525. return new Node(context);
  4526. }
  4527. // class Node | File: ../Scene/Node.h
  4528. static void Register_Node(asIScriptEngine* engine)
  4529. {
  4530. // explicit Node::Node(Context* context)
  4531. engine->RegisterObjectBehaviour("Node", asBEHAVE_FACTORY, "Node@+ f()", AS_FUNCTION(Node__Node_Contextstar) , AS_CALL_CDECL);
  4532. RegisterSubclass<Animatable, Node>(engine, "Animatable", "Node");
  4533. RegisterSubclass<Serializable, Node>(engine, "Serializable", "Node");
  4534. RegisterSubclass<Object, Node>(engine, "Object", "Node");
  4535. RegisterSubclass<RefCounted, Node>(engine, "RefCounted", "Node");
  4536. RegisterMembers_Node<Node>(engine, "Node");
  4537. #ifdef REGISTER_CLASS_MANUAL_PART_Node
  4538. REGISTER_CLASS_MANUAL_PART_Node();
  4539. #endif
  4540. // bool Node::Load(Deserializer& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  4541. 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);
  4542. // bool Node::LoadJSON(const JSONValue& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  4543. 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);
  4544. // bool Node::LoadXML(const XMLElement& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  4545. 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);
  4546. // void Node::MarkReplicationDirty()
  4547. engine->RegisterObjectMethod("Node", "void MarkReplicationDirty()", AS_METHODPR(Node, MarkReplicationDirty, (), void), AS_CALL_THISCALL);
  4548. }
  4549. // explicit Sound::Sound(Context* context)
  4550. static Sound* Sound__Sound_Contextstar()
  4551. {
  4552. Context* context = GetScriptContext();
  4553. return new Sound(context);
  4554. }
  4555. // class Sound | File: ../Audio/Sound.h
  4556. static void Register_Sound(asIScriptEngine* engine)
  4557. {
  4558. // explicit Sound::Sound(Context* context)
  4559. engine->RegisterObjectBehaviour("Sound", asBEHAVE_FACTORY, "Sound@+ f()", AS_FUNCTION(Sound__Sound_Contextstar) , AS_CALL_CDECL);
  4560. RegisterSubclass<ResourceWithMetadata, Sound>(engine, "ResourceWithMetadata", "Sound");
  4561. RegisterSubclass<Resource, Sound>(engine, "Resource", "Sound");
  4562. RegisterSubclass<Object, Sound>(engine, "Object", "Sound");
  4563. RegisterSubclass<RefCounted, Sound>(engine, "RefCounted", "Sound");
  4564. RegisterMembers_Sound<Sound>(engine, "Sound");
  4565. #ifdef REGISTER_CLASS_MANUAL_PART_Sound
  4566. REGISTER_CLASS_MANUAL_PART_Sound();
  4567. #endif
  4568. }
  4569. // explicit Texture::Texture(Context* context)
  4570. static Texture* Texture__Texture_Contextstar()
  4571. {
  4572. Context* context = GetScriptContext();
  4573. return new Texture(context);
  4574. }
  4575. // class Texture | File: ../GraphicsAPI/Texture.h
  4576. static void Register_Texture(asIScriptEngine* engine)
  4577. {
  4578. // explicit Texture::Texture(Context* context)
  4579. engine->RegisterObjectBehaviour("Texture", asBEHAVE_FACTORY, "Texture@+ f()", AS_FUNCTION(Texture__Texture_Contextstar) , AS_CALL_CDECL);
  4580. RegisterSubclass<ResourceWithMetadata, Texture>(engine, "ResourceWithMetadata", "Texture");
  4581. RegisterSubclass<Resource, Texture>(engine, "Resource", "Texture");
  4582. RegisterSubclass<Object, Texture>(engine, "Object", "Texture");
  4583. RegisterSubclass<RefCounted, Texture>(engine, "RefCounted", "Texture");
  4584. RegisterMembers_Texture<Texture>(engine, "Texture");
  4585. #ifdef REGISTER_CLASS_MANUAL_PART_Texture
  4586. REGISTER_CLASS_MANUAL_PART_Texture();
  4587. #endif
  4588. }
  4589. // explicit UIElement::UIElement(Context* context)
  4590. static UIElement* UIElement__UIElement_Contextstar()
  4591. {
  4592. Context* context = GetScriptContext();
  4593. return new UIElement(context);
  4594. }
  4595. // class UIElement | File: ../UI/UIElement.h
  4596. static void Register_UIElement(asIScriptEngine* engine)
  4597. {
  4598. // explicit UIElement::UIElement(Context* context)
  4599. engine->RegisterObjectBehaviour("UIElement", asBEHAVE_FACTORY, "UIElement@+ f()", AS_FUNCTION(UIElement__UIElement_Contextstar) , AS_CALL_CDECL);
  4600. RegisterSubclass<Animatable, UIElement>(engine, "Animatable", "UIElement");
  4601. RegisterSubclass<Serializable, UIElement>(engine, "Serializable", "UIElement");
  4602. RegisterSubclass<Object, UIElement>(engine, "Object", "UIElement");
  4603. RegisterSubclass<RefCounted, UIElement>(engine, "RefCounted", "UIElement");
  4604. RegisterMembers_UIElement<UIElement>(engine, "UIElement");
  4605. #ifdef REGISTER_CLASS_MANUAL_PART_UIElement
  4606. REGISTER_CLASS_MANUAL_PART_UIElement();
  4607. #endif
  4608. // const IntVector2& UIElement::GetPosition() const
  4609. engine->RegisterObjectMethod("UIElement", "const IntVector2& GetPosition() const", AS_METHODPR(UIElement, GetPosition, () const, const IntVector2&), AS_CALL_THISCALL);
  4610. engine->RegisterObjectMethod("UIElement", "const IntVector2& get_position() const", AS_METHODPR(UIElement, GetPosition, () const, const IntVector2&), AS_CALL_THISCALL);
  4611. // bool UIElement::IsSelected() const
  4612. engine->RegisterObjectMethod("UIElement", "bool IsSelected() const", AS_METHODPR(UIElement, IsSelected, () const, bool), AS_CALL_THISCALL);
  4613. engine->RegisterObjectMethod("UIElement", "bool get_selected() const", AS_METHODPR(UIElement, IsSelected, () const, bool), AS_CALL_THISCALL);
  4614. // void UIElement::SetPosition(const IntVector2& position)
  4615. engine->RegisterObjectMethod("UIElement", "void SetPosition(const IntVector2&in)", AS_METHODPR(UIElement, SetPosition, (const IntVector2&), void), AS_CALL_THISCALL);
  4616. engine->RegisterObjectMethod("UIElement", "void set_position(const IntVector2&in)", AS_METHODPR(UIElement, SetPosition, (const IntVector2&), void), AS_CALL_THISCALL);
  4617. // void UIElement::SetPosition(int x, int y)
  4618. engine->RegisterObjectMethod("UIElement", "void SetPosition(int, int)", AS_METHODPR(UIElement, SetPosition, (int, int), void), AS_CALL_THISCALL);
  4619. }
  4620. // explicit AnimationController::AnimationController(Context* context)
  4621. static AnimationController* AnimationController__AnimationController_Contextstar()
  4622. {
  4623. Context* context = GetScriptContext();
  4624. return new AnimationController(context);
  4625. }
  4626. // class AnimationController | File: ../Graphics/AnimationController.h
  4627. static void Register_AnimationController(asIScriptEngine* engine)
  4628. {
  4629. // explicit AnimationController::AnimationController(Context* context)
  4630. engine->RegisterObjectBehaviour("AnimationController", asBEHAVE_FACTORY, "AnimationController@+ f()", AS_FUNCTION(AnimationController__AnimationController_Contextstar) , AS_CALL_CDECL);
  4631. RegisterSubclass<Component, AnimationController>(engine, "Component", "AnimationController");
  4632. RegisterSubclass<Animatable, AnimationController>(engine, "Animatable", "AnimationController");
  4633. RegisterSubclass<Serializable, AnimationController>(engine, "Serializable", "AnimationController");
  4634. RegisterSubclass<Object, AnimationController>(engine, "Object", "AnimationController");
  4635. RegisterSubclass<RefCounted, AnimationController>(engine, "RefCounted", "AnimationController");
  4636. RegisterMembers_AnimationController<AnimationController>(engine, "AnimationController");
  4637. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationController
  4638. REGISTER_CLASS_MANUAL_PART_AnimationController();
  4639. #endif
  4640. }
  4641. // explicit BorderImage::BorderImage(Context* context)
  4642. static BorderImage* BorderImage__BorderImage_Contextstar()
  4643. {
  4644. Context* context = GetScriptContext();
  4645. return new BorderImage(context);
  4646. }
  4647. // class BorderImage | File: ../UI/BorderImage.h
  4648. static void Register_BorderImage(asIScriptEngine* engine)
  4649. {
  4650. // explicit BorderImage::BorderImage(Context* context)
  4651. engine->RegisterObjectBehaviour("BorderImage", asBEHAVE_FACTORY, "BorderImage@+ f()", AS_FUNCTION(BorderImage__BorderImage_Contextstar) , AS_CALL_CDECL);
  4652. RegisterSubclass<UIElement, BorderImage>(engine, "UIElement", "BorderImage");
  4653. RegisterSubclass<Animatable, BorderImage>(engine, "Animatable", "BorderImage");
  4654. RegisterSubclass<Serializable, BorderImage>(engine, "Serializable", "BorderImage");
  4655. RegisterSubclass<Object, BorderImage>(engine, "Object", "BorderImage");
  4656. RegisterSubclass<RefCounted, BorderImage>(engine, "RefCounted", "BorderImage");
  4657. RegisterMembers_BorderImage<BorderImage>(engine, "BorderImage");
  4658. #ifdef REGISTER_CLASS_MANUAL_PART_BorderImage
  4659. REGISTER_CLASS_MANUAL_PART_BorderImage();
  4660. #endif
  4661. }
  4662. // explicit Camera::Camera(Context* context)
  4663. static Camera* Camera__Camera_Contextstar()
  4664. {
  4665. Context* context = GetScriptContext();
  4666. return new Camera(context);
  4667. }
  4668. // class Camera | File: ../Graphics/Camera.h
  4669. static void Register_Camera(asIScriptEngine* engine)
  4670. {
  4671. // explicit Camera::Camera(Context* context)
  4672. engine->RegisterObjectBehaviour("Camera", asBEHAVE_FACTORY, "Camera@+ f()", AS_FUNCTION(Camera__Camera_Contextstar) , AS_CALL_CDECL);
  4673. RegisterSubclass<Component, Camera>(engine, "Component", "Camera");
  4674. RegisterSubclass<Animatable, Camera>(engine, "Animatable", "Camera");
  4675. RegisterSubclass<Serializable, Camera>(engine, "Serializable", "Camera");
  4676. RegisterSubclass<Object, Camera>(engine, "Object", "Camera");
  4677. RegisterSubclass<RefCounted, Camera>(engine, "RefCounted", "Camera");
  4678. RegisterMembers_Camera<Camera>(engine, "Camera");
  4679. #ifdef REGISTER_CLASS_MANUAL_PART_Camera
  4680. REGISTER_CLASS_MANUAL_PART_Camera();
  4681. #endif
  4682. }
  4683. // explicit DebugRenderer::DebugRenderer(Context* context)
  4684. static DebugRenderer* DebugRenderer__DebugRenderer_Contextstar()
  4685. {
  4686. Context* context = GetScriptContext();
  4687. return new DebugRenderer(context);
  4688. }
  4689. // class DebugRenderer | File: ../Graphics/DebugRenderer.h
  4690. static void Register_DebugRenderer(asIScriptEngine* engine)
  4691. {
  4692. // explicit DebugRenderer::DebugRenderer(Context* context)
  4693. engine->RegisterObjectBehaviour("DebugRenderer", asBEHAVE_FACTORY, "DebugRenderer@+ f()", AS_FUNCTION(DebugRenderer__DebugRenderer_Contextstar) , AS_CALL_CDECL);
  4694. RegisterSubclass<Component, DebugRenderer>(engine, "Component", "DebugRenderer");
  4695. RegisterSubclass<Animatable, DebugRenderer>(engine, "Animatable", "DebugRenderer");
  4696. RegisterSubclass<Serializable, DebugRenderer>(engine, "Serializable", "DebugRenderer");
  4697. RegisterSubclass<Object, DebugRenderer>(engine, "Object", "DebugRenderer");
  4698. RegisterSubclass<RefCounted, DebugRenderer>(engine, "RefCounted", "DebugRenderer");
  4699. RegisterMembers_DebugRenderer<DebugRenderer>(engine, "DebugRenderer");
  4700. #ifdef REGISTER_CLASS_MANUAL_PART_DebugRenderer
  4701. REGISTER_CLASS_MANUAL_PART_DebugRenderer();
  4702. #endif
  4703. }
  4704. // class Drawable | File: ../Graphics/Drawable.h
  4705. static void Register_Drawable(asIScriptEngine* engine)
  4706. {
  4707. RegisterSubclass<Component, Drawable>(engine, "Component", "Drawable");
  4708. RegisterSubclass<Animatable, Drawable>(engine, "Animatable", "Drawable");
  4709. RegisterSubclass<Serializable, Drawable>(engine, "Serializable", "Drawable");
  4710. RegisterSubclass<Object, Drawable>(engine, "Object", "Drawable");
  4711. RegisterSubclass<RefCounted, Drawable>(engine, "RefCounted", "Drawable");
  4712. RegisterMembers_Drawable<Drawable>(engine, "Drawable");
  4713. #ifdef REGISTER_CLASS_MANUAL_PART_Drawable
  4714. REGISTER_CLASS_MANUAL_PART_Drawable();
  4715. #endif
  4716. // virtual void Drawable::Update(const FrameInfo& frame)
  4717. engine->RegisterObjectMethod("Drawable", "void Update(const FrameInfo&in)", AS_METHODPR(Drawable, Update, (const FrameInfo&), void), AS_CALL_THISCALL);
  4718. }
  4719. // explicit LogicComponent::LogicComponent(Context* context)
  4720. static LogicComponent* LogicComponent__LogicComponent_Contextstar()
  4721. {
  4722. Context* context = GetScriptContext();
  4723. return new LogicComponent(context);
  4724. }
  4725. // class LogicComponent | File: ../Scene/LogicComponent.h
  4726. static void Register_LogicComponent(asIScriptEngine* engine)
  4727. {
  4728. // explicit LogicComponent::LogicComponent(Context* context)
  4729. engine->RegisterObjectBehaviour("LogicComponent", asBEHAVE_FACTORY, "LogicComponent@+ f()", AS_FUNCTION(LogicComponent__LogicComponent_Contextstar) , AS_CALL_CDECL);
  4730. RegisterSubclass<Component, LogicComponent>(engine, "Component", "LogicComponent");
  4731. RegisterSubclass<Animatable, LogicComponent>(engine, "Animatable", "LogicComponent");
  4732. RegisterSubclass<Serializable, LogicComponent>(engine, "Serializable", "LogicComponent");
  4733. RegisterSubclass<Object, LogicComponent>(engine, "Object", "LogicComponent");
  4734. RegisterSubclass<RefCounted, LogicComponent>(engine, "RefCounted", "LogicComponent");
  4735. RegisterMembers_LogicComponent<LogicComponent>(engine, "LogicComponent");
  4736. #ifdef REGISTER_CLASS_MANUAL_PART_LogicComponent
  4737. REGISTER_CLASS_MANUAL_PART_LogicComponent();
  4738. #endif
  4739. }
  4740. // explicit Octree::Octree(Context* context)
  4741. static Octree* Octree__Octree_Contextstar()
  4742. {
  4743. Context* context = GetScriptContext();
  4744. return new Octree(context);
  4745. }
  4746. // class Octree | File: ../Graphics/Octree.h
  4747. static void Register_Octree(asIScriptEngine* engine)
  4748. {
  4749. // explicit Octree::Octree(Context* context)
  4750. engine->RegisterObjectBehaviour("Octree", asBEHAVE_FACTORY, "Octree@+ f()", AS_FUNCTION(Octree__Octree_Contextstar) , AS_CALL_CDECL);
  4751. RegisterSubclass<Component, Octree>(engine, "Component", "Octree");
  4752. RegisterSubclass<Animatable, Octree>(engine, "Animatable", "Octree");
  4753. RegisterSubclass<Serializable, Octree>(engine, "Serializable", "Octree");
  4754. RegisterSubclass<Object, Octree>(engine, "Object", "Octree");
  4755. RegisterSubclass<RefCounted, Octree>(engine, "RefCounted", "Octree");
  4756. RegisterMembers_Octree<Octree>(engine, "Octree");
  4757. #ifdef REGISTER_CLASS_MANUAL_PART_Octree
  4758. REGISTER_CLASS_MANUAL_PART_Octree();
  4759. #endif
  4760. }
  4761. // explicit Scene::Scene(Context* context)
  4762. static Scene* Scene__Scene_Contextstar()
  4763. {
  4764. Context* context = GetScriptContext();
  4765. return new Scene(context);
  4766. }
  4767. // class Scene | File: ../Scene/Scene.h
  4768. static void Register_Scene(asIScriptEngine* engine)
  4769. {
  4770. // explicit Scene::Scene(Context* context)
  4771. engine->RegisterObjectBehaviour("Scene", asBEHAVE_FACTORY, "Scene@+ f()", AS_FUNCTION(Scene__Scene_Contextstar) , AS_CALL_CDECL);
  4772. RegisterSubclass<Node, Scene>(engine, "Node", "Scene");
  4773. RegisterSubclass<Animatable, Scene>(engine, "Animatable", "Scene");
  4774. RegisterSubclass<Serializable, Scene>(engine, "Serializable", "Scene");
  4775. RegisterSubclass<Object, Scene>(engine, "Object", "Scene");
  4776. RegisterSubclass<RefCounted, Scene>(engine, "RefCounted", "Scene");
  4777. RegisterMembers_Scene<Scene>(engine, "Scene");
  4778. #ifdef REGISTER_CLASS_MANUAL_PART_Scene
  4779. REGISTER_CLASS_MANUAL_PART_Scene();
  4780. #endif
  4781. }
  4782. // explicit ScrollView::ScrollView(Context* context)
  4783. static ScrollView* ScrollView__ScrollView_Contextstar()
  4784. {
  4785. Context* context = GetScriptContext();
  4786. return new ScrollView(context);
  4787. }
  4788. // class ScrollView | File: ../UI/ScrollView.h
  4789. static void Register_ScrollView(asIScriptEngine* engine)
  4790. {
  4791. // explicit ScrollView::ScrollView(Context* context)
  4792. engine->RegisterObjectBehaviour("ScrollView", asBEHAVE_FACTORY, "ScrollView@+ f()", AS_FUNCTION(ScrollView__ScrollView_Contextstar) , AS_CALL_CDECL);
  4793. RegisterSubclass<UIElement, ScrollView>(engine, "UIElement", "ScrollView");
  4794. RegisterSubclass<Animatable, ScrollView>(engine, "Animatable", "ScrollView");
  4795. RegisterSubclass<Serializable, ScrollView>(engine, "Serializable", "ScrollView");
  4796. RegisterSubclass<Object, ScrollView>(engine, "Object", "ScrollView");
  4797. RegisterSubclass<RefCounted, ScrollView>(engine, "RefCounted", "ScrollView");
  4798. RegisterMembers_ScrollView<ScrollView>(engine, "ScrollView");
  4799. #ifdef REGISTER_CLASS_MANUAL_PART_ScrollView
  4800. REGISTER_CLASS_MANUAL_PART_ScrollView();
  4801. #endif
  4802. // bool UIElement::IsSelected() const
  4803. engine->RegisterObjectMethod("ScrollView", "bool IsSelected() const", AS_METHODPR(ScrollView, IsSelected, () const, bool), AS_CALL_THISCALL);
  4804. engine->RegisterObjectMethod("ScrollView", "bool get_selected() const", AS_METHODPR(ScrollView, IsSelected, () const, bool), AS_CALL_THISCALL);
  4805. }
  4806. // explicit SmoothedTransform::SmoothedTransform(Context* context)
  4807. static SmoothedTransform* SmoothedTransform__SmoothedTransform_Contextstar()
  4808. {
  4809. Context* context = GetScriptContext();
  4810. return new SmoothedTransform(context);
  4811. }
  4812. // class SmoothedTransform | File: ../Scene/SmoothedTransform.h
  4813. static void Register_SmoothedTransform(asIScriptEngine* engine)
  4814. {
  4815. // explicit SmoothedTransform::SmoothedTransform(Context* context)
  4816. engine->RegisterObjectBehaviour("SmoothedTransform", asBEHAVE_FACTORY, "SmoothedTransform@+ f()", AS_FUNCTION(SmoothedTransform__SmoothedTransform_Contextstar) , AS_CALL_CDECL);
  4817. RegisterSubclass<Component, SmoothedTransform>(engine, "Component", "SmoothedTransform");
  4818. RegisterSubclass<Animatable, SmoothedTransform>(engine, "Animatable", "SmoothedTransform");
  4819. RegisterSubclass<Serializable, SmoothedTransform>(engine, "Serializable", "SmoothedTransform");
  4820. RegisterSubclass<Object, SmoothedTransform>(engine, "Object", "SmoothedTransform");
  4821. RegisterSubclass<RefCounted, SmoothedTransform>(engine, "RefCounted", "SmoothedTransform");
  4822. RegisterMembers_SmoothedTransform<SmoothedTransform>(engine, "SmoothedTransform");
  4823. #ifdef REGISTER_CLASS_MANUAL_PART_SmoothedTransform
  4824. REGISTER_CLASS_MANUAL_PART_SmoothedTransform();
  4825. #endif
  4826. }
  4827. // explicit SoundListener::SoundListener(Context* context)
  4828. static SoundListener* SoundListener__SoundListener_Contextstar()
  4829. {
  4830. Context* context = GetScriptContext();
  4831. return new SoundListener(context);
  4832. }
  4833. // class SoundListener | File: ../Audio/SoundListener.h
  4834. static void Register_SoundListener(asIScriptEngine* engine)
  4835. {
  4836. // explicit SoundListener::SoundListener(Context* context)
  4837. engine->RegisterObjectBehaviour("SoundListener", asBEHAVE_FACTORY, "SoundListener@+ f()", AS_FUNCTION(SoundListener__SoundListener_Contextstar) , AS_CALL_CDECL);
  4838. RegisterSubclass<Component, SoundListener>(engine, "Component", "SoundListener");
  4839. RegisterSubclass<Animatable, SoundListener>(engine, "Animatable", "SoundListener");
  4840. RegisterSubclass<Serializable, SoundListener>(engine, "Serializable", "SoundListener");
  4841. RegisterSubclass<Object, SoundListener>(engine, "Object", "SoundListener");
  4842. RegisterSubclass<RefCounted, SoundListener>(engine, "RefCounted", "SoundListener");
  4843. RegisterMembers_SoundListener<SoundListener>(engine, "SoundListener");
  4844. #ifdef REGISTER_CLASS_MANUAL_PART_SoundListener
  4845. REGISTER_CLASS_MANUAL_PART_SoundListener();
  4846. #endif
  4847. }
  4848. // explicit SoundSource::SoundSource(Context* context)
  4849. static SoundSource* SoundSource__SoundSource_Contextstar()
  4850. {
  4851. Context* context = GetScriptContext();
  4852. return new SoundSource(context);
  4853. }
  4854. // class SoundSource | File: ../Audio/SoundSource.h
  4855. static void Register_SoundSource(asIScriptEngine* engine)
  4856. {
  4857. // explicit SoundSource::SoundSource(Context* context)
  4858. engine->RegisterObjectBehaviour("SoundSource", asBEHAVE_FACTORY, "SoundSource@+ f()", AS_FUNCTION(SoundSource__SoundSource_Contextstar) , AS_CALL_CDECL);
  4859. RegisterSubclass<Component, SoundSource>(engine, "Component", "SoundSource");
  4860. RegisterSubclass<Animatable, SoundSource>(engine, "Animatable", "SoundSource");
  4861. RegisterSubclass<Serializable, SoundSource>(engine, "Serializable", "SoundSource");
  4862. RegisterSubclass<Object, SoundSource>(engine, "Object", "SoundSource");
  4863. RegisterSubclass<RefCounted, SoundSource>(engine, "RefCounted", "SoundSource");
  4864. RegisterMembers_SoundSource<SoundSource>(engine, "SoundSource");
  4865. #ifdef REGISTER_CLASS_MANUAL_PART_SoundSource
  4866. REGISTER_CLASS_MANUAL_PART_SoundSource();
  4867. #endif
  4868. }
  4869. // explicit SplinePath::SplinePath(Context* context)
  4870. static SplinePath* SplinePath__SplinePath_Contextstar()
  4871. {
  4872. Context* context = GetScriptContext();
  4873. return new SplinePath(context);
  4874. }
  4875. // class SplinePath | File: ../Scene/SplinePath.h
  4876. static void Register_SplinePath(asIScriptEngine* engine)
  4877. {
  4878. // explicit SplinePath::SplinePath(Context* context)
  4879. engine->RegisterObjectBehaviour("SplinePath", asBEHAVE_FACTORY, "SplinePath@+ f()", AS_FUNCTION(SplinePath__SplinePath_Contextstar) , AS_CALL_CDECL);
  4880. RegisterSubclass<Component, SplinePath>(engine, "Component", "SplinePath");
  4881. RegisterSubclass<Animatable, SplinePath>(engine, "Animatable", "SplinePath");
  4882. RegisterSubclass<Serializable, SplinePath>(engine, "Serializable", "SplinePath");
  4883. RegisterSubclass<Object, SplinePath>(engine, "Object", "SplinePath");
  4884. RegisterSubclass<RefCounted, SplinePath>(engine, "RefCounted", "SplinePath");
  4885. RegisterMembers_SplinePath<SplinePath>(engine, "SplinePath");
  4886. #ifdef REGISTER_CLASS_MANUAL_PART_SplinePath
  4887. REGISTER_CLASS_MANUAL_PART_SplinePath();
  4888. #endif
  4889. }
  4890. // explicit Sprite::Sprite(Context* context)
  4891. static Sprite* Sprite__Sprite_Contextstar()
  4892. {
  4893. Context* context = GetScriptContext();
  4894. return new Sprite(context);
  4895. }
  4896. // class Sprite | File: ../UI/Sprite.h
  4897. static void Register_Sprite(asIScriptEngine* engine)
  4898. {
  4899. // explicit Sprite::Sprite(Context* context)
  4900. engine->RegisterObjectBehaviour("Sprite", asBEHAVE_FACTORY, "Sprite@+ f()", AS_FUNCTION(Sprite__Sprite_Contextstar) , AS_CALL_CDECL);
  4901. RegisterSubclass<UIElement, Sprite>(engine, "UIElement", "Sprite");
  4902. RegisterSubclass<Animatable, Sprite>(engine, "Animatable", "Sprite");
  4903. RegisterSubclass<Serializable, Sprite>(engine, "Serializable", "Sprite");
  4904. RegisterSubclass<Object, Sprite>(engine, "Object", "Sprite");
  4905. RegisterSubclass<RefCounted, Sprite>(engine, "RefCounted", "Sprite");
  4906. RegisterMembers_Sprite<Sprite>(engine, "Sprite");
  4907. #ifdef REGISTER_CLASS_MANUAL_PART_Sprite
  4908. REGISTER_CLASS_MANUAL_PART_Sprite();
  4909. #endif
  4910. }
  4911. // explicit Terrain::Terrain(Context* context)
  4912. static Terrain* Terrain__Terrain_Contextstar()
  4913. {
  4914. Context* context = GetScriptContext();
  4915. return new Terrain(context);
  4916. }
  4917. // class Terrain | File: ../Graphics/Terrain.h
  4918. static void Register_Terrain(asIScriptEngine* engine)
  4919. {
  4920. // explicit Terrain::Terrain(Context* context)
  4921. engine->RegisterObjectBehaviour("Terrain", asBEHAVE_FACTORY, "Terrain@+ f()", AS_FUNCTION(Terrain__Terrain_Contextstar) , AS_CALL_CDECL);
  4922. RegisterSubclass<Component, Terrain>(engine, "Component", "Terrain");
  4923. RegisterSubclass<Animatable, Terrain>(engine, "Animatable", "Terrain");
  4924. RegisterSubclass<Serializable, Terrain>(engine, "Serializable", "Terrain");
  4925. RegisterSubclass<Object, Terrain>(engine, "Object", "Terrain");
  4926. RegisterSubclass<RefCounted, Terrain>(engine, "RefCounted", "Terrain");
  4927. RegisterMembers_Terrain<Terrain>(engine, "Terrain");
  4928. #ifdef REGISTER_CLASS_MANUAL_PART_Terrain
  4929. REGISTER_CLASS_MANUAL_PART_Terrain();
  4930. #endif
  4931. }
  4932. // explicit Texture2D::Texture2D(Context* context)
  4933. static Texture2D* Texture2D__Texture2D_Contextstar()
  4934. {
  4935. Context* context = GetScriptContext();
  4936. return new Texture2D(context);
  4937. }
  4938. // class Texture2D | File: ../GraphicsAPI/Texture2D.h
  4939. static void Register_Texture2D(asIScriptEngine* engine)
  4940. {
  4941. // explicit Texture2D::Texture2D(Context* context)
  4942. engine->RegisterObjectBehaviour("Texture2D", asBEHAVE_FACTORY, "Texture2D@+ f()", AS_FUNCTION(Texture2D__Texture2D_Contextstar) , AS_CALL_CDECL);
  4943. RegisterSubclass<Texture, Texture2D>(engine, "Texture", "Texture2D");
  4944. RegisterSubclass<ResourceWithMetadata, Texture2D>(engine, "ResourceWithMetadata", "Texture2D");
  4945. RegisterSubclass<Resource, Texture2D>(engine, "Resource", "Texture2D");
  4946. RegisterSubclass<Object, Texture2D>(engine, "Object", "Texture2D");
  4947. RegisterSubclass<RefCounted, Texture2D>(engine, "RefCounted", "Texture2D");
  4948. RegisterMembers_Texture2D<Texture2D>(engine, "Texture2D");
  4949. #ifdef REGISTER_CLASS_MANUAL_PART_Texture2D
  4950. REGISTER_CLASS_MANUAL_PART_Texture2D();
  4951. #endif
  4952. }
  4953. // explicit Texture2DArray::Texture2DArray(Context* context)
  4954. static Texture2DArray* Texture2DArray__Texture2DArray_Contextstar()
  4955. {
  4956. Context* context = GetScriptContext();
  4957. return new Texture2DArray(context);
  4958. }
  4959. // class Texture2DArray | File: ../GraphicsAPI/Texture2DArray.h
  4960. static void Register_Texture2DArray(asIScriptEngine* engine)
  4961. {
  4962. // explicit Texture2DArray::Texture2DArray(Context* context)
  4963. engine->RegisterObjectBehaviour("Texture2DArray", asBEHAVE_FACTORY, "Texture2DArray@+ f()", AS_FUNCTION(Texture2DArray__Texture2DArray_Contextstar) , AS_CALL_CDECL);
  4964. RegisterSubclass<Texture, Texture2DArray>(engine, "Texture", "Texture2DArray");
  4965. RegisterSubclass<ResourceWithMetadata, Texture2DArray>(engine, "ResourceWithMetadata", "Texture2DArray");
  4966. RegisterSubclass<Resource, Texture2DArray>(engine, "Resource", "Texture2DArray");
  4967. RegisterSubclass<Object, Texture2DArray>(engine, "Object", "Texture2DArray");
  4968. RegisterSubclass<RefCounted, Texture2DArray>(engine, "RefCounted", "Texture2DArray");
  4969. RegisterMembers_Texture2DArray<Texture2DArray>(engine, "Texture2DArray");
  4970. #ifdef REGISTER_CLASS_MANUAL_PART_Texture2DArray
  4971. REGISTER_CLASS_MANUAL_PART_Texture2DArray();
  4972. #endif
  4973. }
  4974. // explicit Texture3D::Texture3D(Context* context)
  4975. static Texture3D* Texture3D__Texture3D_Contextstar()
  4976. {
  4977. Context* context = GetScriptContext();
  4978. return new Texture3D(context);
  4979. }
  4980. // class Texture3D | File: ../GraphicsAPI/Texture3D.h
  4981. static void Register_Texture3D(asIScriptEngine* engine)
  4982. {
  4983. // explicit Texture3D::Texture3D(Context* context)
  4984. engine->RegisterObjectBehaviour("Texture3D", asBEHAVE_FACTORY, "Texture3D@+ f()", AS_FUNCTION(Texture3D__Texture3D_Contextstar) , AS_CALL_CDECL);
  4985. RegisterSubclass<Texture, Texture3D>(engine, "Texture", "Texture3D");
  4986. RegisterSubclass<ResourceWithMetadata, Texture3D>(engine, "ResourceWithMetadata", "Texture3D");
  4987. RegisterSubclass<Resource, Texture3D>(engine, "Resource", "Texture3D");
  4988. RegisterSubclass<Object, Texture3D>(engine, "Object", "Texture3D");
  4989. RegisterSubclass<RefCounted, Texture3D>(engine, "RefCounted", "Texture3D");
  4990. RegisterMembers_Texture3D<Texture3D>(engine, "Texture3D");
  4991. #ifdef REGISTER_CLASS_MANUAL_PART_Texture3D
  4992. REGISTER_CLASS_MANUAL_PART_Texture3D();
  4993. #endif
  4994. }
  4995. // explicit TextureCube::TextureCube(Context* context)
  4996. static TextureCube* TextureCube__TextureCube_Contextstar()
  4997. {
  4998. Context* context = GetScriptContext();
  4999. return new TextureCube(context);
  5000. }
  5001. // class TextureCube | File: ../GraphicsAPI/TextureCube.h
  5002. static void Register_TextureCube(asIScriptEngine* engine)
  5003. {
  5004. // explicit TextureCube::TextureCube(Context* context)
  5005. engine->RegisterObjectBehaviour("TextureCube", asBEHAVE_FACTORY, "TextureCube@+ f()", AS_FUNCTION(TextureCube__TextureCube_Contextstar) , AS_CALL_CDECL);
  5006. RegisterSubclass<Texture, TextureCube>(engine, "Texture", "TextureCube");
  5007. RegisterSubclass<ResourceWithMetadata, TextureCube>(engine, "ResourceWithMetadata", "TextureCube");
  5008. RegisterSubclass<Resource, TextureCube>(engine, "Resource", "TextureCube");
  5009. RegisterSubclass<Object, TextureCube>(engine, "Object", "TextureCube");
  5010. RegisterSubclass<RefCounted, TextureCube>(engine, "RefCounted", "TextureCube");
  5011. RegisterMembers_TextureCube<TextureCube>(engine, "TextureCube");
  5012. #ifdef REGISTER_CLASS_MANUAL_PART_TextureCube
  5013. REGISTER_CLASS_MANUAL_PART_TextureCube();
  5014. #endif
  5015. }
  5016. // explicit ToolTip::ToolTip(Context* context)
  5017. static ToolTip* ToolTip__ToolTip_Contextstar()
  5018. {
  5019. Context* context = GetScriptContext();
  5020. return new ToolTip(context);
  5021. }
  5022. // class ToolTip | File: ../UI/ToolTip.h
  5023. static void Register_ToolTip(asIScriptEngine* engine)
  5024. {
  5025. // explicit ToolTip::ToolTip(Context* context)
  5026. engine->RegisterObjectBehaviour("ToolTip", asBEHAVE_FACTORY, "ToolTip@+ f()", AS_FUNCTION(ToolTip__ToolTip_Contextstar) , AS_CALL_CDECL);
  5027. RegisterSubclass<UIElement, ToolTip>(engine, "UIElement", "ToolTip");
  5028. RegisterSubclass<Animatable, ToolTip>(engine, "Animatable", "ToolTip");
  5029. RegisterSubclass<Serializable, ToolTip>(engine, "Serializable", "ToolTip");
  5030. RegisterSubclass<Object, ToolTip>(engine, "Object", "ToolTip");
  5031. RegisterSubclass<RefCounted, ToolTip>(engine, "RefCounted", "ToolTip");
  5032. RegisterMembers_ToolTip<ToolTip>(engine, "ToolTip");
  5033. #ifdef REGISTER_CLASS_MANUAL_PART_ToolTip
  5034. REGISTER_CLASS_MANUAL_PART_ToolTip();
  5035. #endif
  5036. }
  5037. // explicit UIComponent::UIComponent(Context* context)
  5038. static UIComponent* UIComponent__UIComponent_Contextstar()
  5039. {
  5040. Context* context = GetScriptContext();
  5041. return new UIComponent(context);
  5042. }
  5043. // class UIComponent | File: ../UI/UIComponent.h
  5044. static void Register_UIComponent(asIScriptEngine* engine)
  5045. {
  5046. // explicit UIComponent::UIComponent(Context* context)
  5047. engine->RegisterObjectBehaviour("UIComponent", asBEHAVE_FACTORY, "UIComponent@+ f()", AS_FUNCTION(UIComponent__UIComponent_Contextstar) , AS_CALL_CDECL);
  5048. RegisterSubclass<Component, UIComponent>(engine, "Component", "UIComponent");
  5049. RegisterSubclass<Animatable, UIComponent>(engine, "Animatable", "UIComponent");
  5050. RegisterSubclass<Serializable, UIComponent>(engine, "Serializable", "UIComponent");
  5051. RegisterSubclass<Object, UIComponent>(engine, "Object", "UIComponent");
  5052. RegisterSubclass<RefCounted, UIComponent>(engine, "RefCounted", "UIComponent");
  5053. RegisterMembers_UIComponent<UIComponent>(engine, "UIComponent");
  5054. #ifdef REGISTER_CLASS_MANUAL_PART_UIComponent
  5055. REGISTER_CLASS_MANUAL_PART_UIComponent();
  5056. #endif
  5057. }
  5058. // class UISelectable | File: ../UI/UISelectable.h
  5059. static void Register_UISelectable(asIScriptEngine* engine)
  5060. {
  5061. RegisterSubclass<UIElement, UISelectable>(engine, "UIElement", "UISelectable");
  5062. RegisterSubclass<Animatable, UISelectable>(engine, "Animatable", "UISelectable");
  5063. RegisterSubclass<Serializable, UISelectable>(engine, "Serializable", "UISelectable");
  5064. RegisterSubclass<Object, UISelectable>(engine, "Object", "UISelectable");
  5065. RegisterSubclass<RefCounted, UISelectable>(engine, "RefCounted", "UISelectable");
  5066. RegisterMembers_UISelectable<UISelectable>(engine, "UISelectable");
  5067. #ifdef REGISTER_CLASS_MANUAL_PART_UISelectable
  5068. REGISTER_CLASS_MANUAL_PART_UISelectable();
  5069. #endif
  5070. }
  5071. // class UnknownComponent | File: ../Scene/UnknownComponent.h
  5072. static void Register_UnknownComponent(asIScriptEngine* engine)
  5073. {
  5074. RegisterSubclass<Component, UnknownComponent>(engine, "Component", "UnknownComponent");
  5075. RegisterSubclass<Animatable, UnknownComponent>(engine, "Animatable", "UnknownComponent");
  5076. RegisterSubclass<Serializable, UnknownComponent>(engine, "Serializable", "UnknownComponent");
  5077. RegisterSubclass<Object, UnknownComponent>(engine, "Object", "UnknownComponent");
  5078. RegisterSubclass<RefCounted, UnknownComponent>(engine, "RefCounted", "UnknownComponent");
  5079. RegisterMembers_UnknownComponent<UnknownComponent>(engine, "UnknownComponent");
  5080. #ifdef REGISTER_CLASS_MANUAL_PART_UnknownComponent
  5081. REGISTER_CLASS_MANUAL_PART_UnknownComponent();
  5082. #endif
  5083. }
  5084. #ifdef URHO3D_IK
  5085. // explicit IKConstraint::IKConstraint(Context* context)
  5086. static IKConstraint* IKConstraint__IKConstraint_Contextstar()
  5087. {
  5088. Context* context = GetScriptContext();
  5089. return new IKConstraint(context);
  5090. }
  5091. // class IKConstraint | File: ../IK/IKConstraint.h
  5092. static void Register_IKConstraint(asIScriptEngine* engine)
  5093. {
  5094. // explicit IKConstraint::IKConstraint(Context* context)
  5095. engine->RegisterObjectBehaviour("IKConstraint", asBEHAVE_FACTORY, "IKConstraint@+ f()", AS_FUNCTION(IKConstraint__IKConstraint_Contextstar) , AS_CALL_CDECL);
  5096. RegisterSubclass<Component, IKConstraint>(engine, "Component", "IKConstraint");
  5097. RegisterSubclass<Animatable, IKConstraint>(engine, "Animatable", "IKConstraint");
  5098. RegisterSubclass<Serializable, IKConstraint>(engine, "Serializable", "IKConstraint");
  5099. RegisterSubclass<Object, IKConstraint>(engine, "Object", "IKConstraint");
  5100. RegisterSubclass<RefCounted, IKConstraint>(engine, "RefCounted", "IKConstraint");
  5101. RegisterMembers_IKConstraint<IKConstraint>(engine, "IKConstraint");
  5102. #ifdef REGISTER_CLASS_MANUAL_PART_IKConstraint
  5103. REGISTER_CLASS_MANUAL_PART_IKConstraint();
  5104. #endif
  5105. }
  5106. // explicit IKEffector::IKEffector(Context* context)
  5107. static IKEffector* IKEffector__IKEffector_Contextstar()
  5108. {
  5109. Context* context = GetScriptContext();
  5110. return new IKEffector(context);
  5111. }
  5112. // class IKEffector | File: ../IK/IKEffector.h
  5113. static void Register_IKEffector(asIScriptEngine* engine)
  5114. {
  5115. // explicit IKEffector::IKEffector(Context* context)
  5116. engine->RegisterObjectBehaviour("IKEffector", asBEHAVE_FACTORY, "IKEffector@+ f()", AS_FUNCTION(IKEffector__IKEffector_Contextstar) , AS_CALL_CDECL);
  5117. RegisterSubclass<Component, IKEffector>(engine, "Component", "IKEffector");
  5118. RegisterSubclass<Animatable, IKEffector>(engine, "Animatable", "IKEffector");
  5119. RegisterSubclass<Serializable, IKEffector>(engine, "Serializable", "IKEffector");
  5120. RegisterSubclass<Object, IKEffector>(engine, "Object", "IKEffector");
  5121. RegisterSubclass<RefCounted, IKEffector>(engine, "RefCounted", "IKEffector");
  5122. RegisterMembers_IKEffector<IKEffector>(engine, "IKEffector");
  5123. #ifdef REGISTER_CLASS_MANUAL_PART_IKEffector
  5124. REGISTER_CLASS_MANUAL_PART_IKEffector();
  5125. #endif
  5126. }
  5127. // explicit IKSolver::IKSolver(Context* context)
  5128. static IKSolver* IKSolver__IKSolver_Contextstar()
  5129. {
  5130. Context* context = GetScriptContext();
  5131. return new IKSolver(context);
  5132. }
  5133. // class IKSolver | File: ../IK/IKSolver.h
  5134. static void Register_IKSolver(asIScriptEngine* engine)
  5135. {
  5136. // explicit IKSolver::IKSolver(Context* context)
  5137. engine->RegisterObjectBehaviour("IKSolver", asBEHAVE_FACTORY, "IKSolver@+ f()", AS_FUNCTION(IKSolver__IKSolver_Contextstar) , AS_CALL_CDECL);
  5138. RegisterSubclass<Component, IKSolver>(engine, "Component", "IKSolver");
  5139. RegisterSubclass<Animatable, IKSolver>(engine, "Animatable", "IKSolver");
  5140. RegisterSubclass<Serializable, IKSolver>(engine, "Serializable", "IKSolver");
  5141. RegisterSubclass<Object, IKSolver>(engine, "Object", "IKSolver");
  5142. RegisterSubclass<RefCounted, IKSolver>(engine, "RefCounted", "IKSolver");
  5143. RegisterMembers_IKSolver<IKSolver>(engine, "IKSolver");
  5144. #ifdef REGISTER_CLASS_MANUAL_PART_IKSolver
  5145. REGISTER_CLASS_MANUAL_PART_IKSolver();
  5146. #endif
  5147. }
  5148. #endif // def URHO3D_IK
  5149. #ifdef URHO3D_NAVIGATION
  5150. // explicit CrowdAgent::CrowdAgent(Context* context)
  5151. static CrowdAgent* CrowdAgent__CrowdAgent_Contextstar()
  5152. {
  5153. Context* context = GetScriptContext();
  5154. return new CrowdAgent(context);
  5155. }
  5156. // class CrowdAgent | File: ../Navigation/CrowdAgent.h
  5157. static void Register_CrowdAgent(asIScriptEngine* engine)
  5158. {
  5159. // explicit CrowdAgent::CrowdAgent(Context* context)
  5160. engine->RegisterObjectBehaviour("CrowdAgent", asBEHAVE_FACTORY, "CrowdAgent@+ f()", AS_FUNCTION(CrowdAgent__CrowdAgent_Contextstar) , AS_CALL_CDECL);
  5161. RegisterSubclass<Component, CrowdAgent>(engine, "Component", "CrowdAgent");
  5162. RegisterSubclass<Animatable, CrowdAgent>(engine, "Animatable", "CrowdAgent");
  5163. RegisterSubclass<Serializable, CrowdAgent>(engine, "Serializable", "CrowdAgent");
  5164. RegisterSubclass<Object, CrowdAgent>(engine, "Object", "CrowdAgent");
  5165. RegisterSubclass<RefCounted, CrowdAgent>(engine, "RefCounted", "CrowdAgent");
  5166. RegisterMembers_CrowdAgent<CrowdAgent>(engine, "CrowdAgent");
  5167. #ifdef REGISTER_CLASS_MANUAL_PART_CrowdAgent
  5168. REGISTER_CLASS_MANUAL_PART_CrowdAgent();
  5169. #endif
  5170. }
  5171. // explicit CrowdManager::CrowdManager(Context* context)
  5172. static CrowdManager* CrowdManager__CrowdManager_Contextstar()
  5173. {
  5174. Context* context = GetScriptContext();
  5175. return new CrowdManager(context);
  5176. }
  5177. // class CrowdManager | File: ../Navigation/CrowdManager.h
  5178. static void Register_CrowdManager(asIScriptEngine* engine)
  5179. {
  5180. // explicit CrowdManager::CrowdManager(Context* context)
  5181. engine->RegisterObjectBehaviour("CrowdManager", asBEHAVE_FACTORY, "CrowdManager@+ f()", AS_FUNCTION(CrowdManager__CrowdManager_Contextstar) , AS_CALL_CDECL);
  5182. RegisterSubclass<Component, CrowdManager>(engine, "Component", "CrowdManager");
  5183. RegisterSubclass<Animatable, CrowdManager>(engine, "Animatable", "CrowdManager");
  5184. RegisterSubclass<Serializable, CrowdManager>(engine, "Serializable", "CrowdManager");
  5185. RegisterSubclass<Object, CrowdManager>(engine, "Object", "CrowdManager");
  5186. RegisterSubclass<RefCounted, CrowdManager>(engine, "RefCounted", "CrowdManager");
  5187. RegisterMembers_CrowdManager<CrowdManager>(engine, "CrowdManager");
  5188. #ifdef REGISTER_CLASS_MANUAL_PART_CrowdManager
  5189. REGISTER_CLASS_MANUAL_PART_CrowdManager();
  5190. #endif
  5191. }
  5192. // explicit NavArea::NavArea(Context* context)
  5193. static NavArea* NavArea__NavArea_Contextstar()
  5194. {
  5195. Context* context = GetScriptContext();
  5196. return new NavArea(context);
  5197. }
  5198. // class NavArea | File: ../Navigation/NavArea.h
  5199. static void Register_NavArea(asIScriptEngine* engine)
  5200. {
  5201. // explicit NavArea::NavArea(Context* context)
  5202. engine->RegisterObjectBehaviour("NavArea", asBEHAVE_FACTORY, "NavArea@+ f()", AS_FUNCTION(NavArea__NavArea_Contextstar) , AS_CALL_CDECL);
  5203. RegisterSubclass<Component, NavArea>(engine, "Component", "NavArea");
  5204. RegisterSubclass<Animatable, NavArea>(engine, "Animatable", "NavArea");
  5205. RegisterSubclass<Serializable, NavArea>(engine, "Serializable", "NavArea");
  5206. RegisterSubclass<Object, NavArea>(engine, "Object", "NavArea");
  5207. RegisterSubclass<RefCounted, NavArea>(engine, "RefCounted", "NavArea");
  5208. RegisterMembers_NavArea<NavArea>(engine, "NavArea");
  5209. #ifdef REGISTER_CLASS_MANUAL_PART_NavArea
  5210. REGISTER_CLASS_MANUAL_PART_NavArea();
  5211. #endif
  5212. }
  5213. // explicit Navigable::Navigable(Context* context)
  5214. static Navigable* Navigable__Navigable_Contextstar()
  5215. {
  5216. Context* context = GetScriptContext();
  5217. return new Navigable(context);
  5218. }
  5219. // class Navigable | File: ../Navigation/Navigable.h
  5220. static void Register_Navigable(asIScriptEngine* engine)
  5221. {
  5222. // explicit Navigable::Navigable(Context* context)
  5223. engine->RegisterObjectBehaviour("Navigable", asBEHAVE_FACTORY, "Navigable@+ f()", AS_FUNCTION(Navigable__Navigable_Contextstar) , AS_CALL_CDECL);
  5224. RegisterSubclass<Component, Navigable>(engine, "Component", "Navigable");
  5225. RegisterSubclass<Animatable, Navigable>(engine, "Animatable", "Navigable");
  5226. RegisterSubclass<Serializable, Navigable>(engine, "Serializable", "Navigable");
  5227. RegisterSubclass<Object, Navigable>(engine, "Object", "Navigable");
  5228. RegisterSubclass<RefCounted, Navigable>(engine, "RefCounted", "Navigable");
  5229. RegisterMembers_Navigable<Navigable>(engine, "Navigable");
  5230. #ifdef REGISTER_CLASS_MANUAL_PART_Navigable
  5231. REGISTER_CLASS_MANUAL_PART_Navigable();
  5232. #endif
  5233. }
  5234. // explicit NavigationMesh::NavigationMesh(Context* context)
  5235. static NavigationMesh* NavigationMesh__NavigationMesh_Contextstar()
  5236. {
  5237. Context* context = GetScriptContext();
  5238. return new NavigationMesh(context);
  5239. }
  5240. // class NavigationMesh | File: ../Navigation/NavigationMesh.h
  5241. static void Register_NavigationMesh(asIScriptEngine* engine)
  5242. {
  5243. // explicit NavigationMesh::NavigationMesh(Context* context)
  5244. engine->RegisterObjectBehaviour("NavigationMesh", asBEHAVE_FACTORY, "NavigationMesh@+ f()", AS_FUNCTION(NavigationMesh__NavigationMesh_Contextstar) , AS_CALL_CDECL);
  5245. RegisterSubclass<Component, NavigationMesh>(engine, "Component", "NavigationMesh");
  5246. RegisterSubclass<Animatable, NavigationMesh>(engine, "Animatable", "NavigationMesh");
  5247. RegisterSubclass<Serializable, NavigationMesh>(engine, "Serializable", "NavigationMesh");
  5248. RegisterSubclass<Object, NavigationMesh>(engine, "Object", "NavigationMesh");
  5249. RegisterSubclass<RefCounted, NavigationMesh>(engine, "RefCounted", "NavigationMesh");
  5250. RegisterMembers_NavigationMesh<NavigationMesh>(engine, "NavigationMesh");
  5251. #ifdef REGISTER_CLASS_MANUAL_PART_NavigationMesh
  5252. REGISTER_CLASS_MANUAL_PART_NavigationMesh();
  5253. #endif
  5254. }
  5255. // explicit Obstacle::Obstacle(Context* context)
  5256. static Obstacle* Obstacle__Obstacle_Contextstar()
  5257. {
  5258. Context* context = GetScriptContext();
  5259. return new Obstacle(context);
  5260. }
  5261. // class Obstacle | File: ../Navigation/Obstacle.h
  5262. static void Register_Obstacle(asIScriptEngine* engine)
  5263. {
  5264. // explicit Obstacle::Obstacle(Context* context)
  5265. engine->RegisterObjectBehaviour("Obstacle", asBEHAVE_FACTORY, "Obstacle@+ f()", AS_FUNCTION(Obstacle__Obstacle_Contextstar) , AS_CALL_CDECL);
  5266. RegisterSubclass<Component, Obstacle>(engine, "Component", "Obstacle");
  5267. RegisterSubclass<Animatable, Obstacle>(engine, "Animatable", "Obstacle");
  5268. RegisterSubclass<Serializable, Obstacle>(engine, "Serializable", "Obstacle");
  5269. RegisterSubclass<Object, Obstacle>(engine, "Object", "Obstacle");
  5270. RegisterSubclass<RefCounted, Obstacle>(engine, "RefCounted", "Obstacle");
  5271. RegisterMembers_Obstacle<Obstacle>(engine, "Obstacle");
  5272. #ifdef REGISTER_CLASS_MANUAL_PART_Obstacle
  5273. REGISTER_CLASS_MANUAL_PART_Obstacle();
  5274. #endif
  5275. }
  5276. // explicit OffMeshConnection::OffMeshConnection(Context* context)
  5277. static OffMeshConnection* OffMeshConnection__OffMeshConnection_Contextstar()
  5278. {
  5279. Context* context = GetScriptContext();
  5280. return new OffMeshConnection(context);
  5281. }
  5282. // class OffMeshConnection | File: ../Navigation/OffMeshConnection.h
  5283. static void Register_OffMeshConnection(asIScriptEngine* engine)
  5284. {
  5285. // explicit OffMeshConnection::OffMeshConnection(Context* context)
  5286. engine->RegisterObjectBehaviour("OffMeshConnection", asBEHAVE_FACTORY, "OffMeshConnection@+ f()", AS_FUNCTION(OffMeshConnection__OffMeshConnection_Contextstar) , AS_CALL_CDECL);
  5287. RegisterSubclass<Component, OffMeshConnection>(engine, "Component", "OffMeshConnection");
  5288. RegisterSubclass<Animatable, OffMeshConnection>(engine, "Animatable", "OffMeshConnection");
  5289. RegisterSubclass<Serializable, OffMeshConnection>(engine, "Serializable", "OffMeshConnection");
  5290. RegisterSubclass<Object, OffMeshConnection>(engine, "Object", "OffMeshConnection");
  5291. RegisterSubclass<RefCounted, OffMeshConnection>(engine, "RefCounted", "OffMeshConnection");
  5292. RegisterMembers_OffMeshConnection<OffMeshConnection>(engine, "OffMeshConnection");
  5293. #ifdef REGISTER_CLASS_MANUAL_PART_OffMeshConnection
  5294. REGISTER_CLASS_MANUAL_PART_OffMeshConnection();
  5295. #endif
  5296. }
  5297. #endif // def URHO3D_NAVIGATION
  5298. #ifdef URHO3D_NETWORK
  5299. // explicit NetworkPriority::NetworkPriority(Context* context)
  5300. static NetworkPriority* NetworkPriority__NetworkPriority_Contextstar()
  5301. {
  5302. Context* context = GetScriptContext();
  5303. return new NetworkPriority(context);
  5304. }
  5305. // class NetworkPriority | File: ../Network/NetworkPriority.h
  5306. static void Register_NetworkPriority(asIScriptEngine* engine)
  5307. {
  5308. // explicit NetworkPriority::NetworkPriority(Context* context)
  5309. engine->RegisterObjectBehaviour("NetworkPriority", asBEHAVE_FACTORY, "NetworkPriority@+ f()", AS_FUNCTION(NetworkPriority__NetworkPriority_Contextstar) , AS_CALL_CDECL);
  5310. RegisterSubclass<Component, NetworkPriority>(engine, "Component", "NetworkPriority");
  5311. RegisterSubclass<Animatable, NetworkPriority>(engine, "Animatable", "NetworkPriority");
  5312. RegisterSubclass<Serializable, NetworkPriority>(engine, "Serializable", "NetworkPriority");
  5313. RegisterSubclass<Object, NetworkPriority>(engine, "Object", "NetworkPriority");
  5314. RegisterSubclass<RefCounted, NetworkPriority>(engine, "RefCounted", "NetworkPriority");
  5315. RegisterMembers_NetworkPriority<NetworkPriority>(engine, "NetworkPriority");
  5316. #ifdef REGISTER_CLASS_MANUAL_PART_NetworkPriority
  5317. REGISTER_CLASS_MANUAL_PART_NetworkPriority();
  5318. #endif
  5319. }
  5320. #endif // def URHO3D_NETWORK
  5321. #ifdef URHO3D_PHYSICS
  5322. // explicit CollisionShape::CollisionShape(Context* context)
  5323. static CollisionShape* CollisionShape__CollisionShape_Contextstar()
  5324. {
  5325. Context* context = GetScriptContext();
  5326. return new CollisionShape(context);
  5327. }
  5328. // class CollisionShape | File: ../Physics/CollisionShape.h
  5329. static void Register_CollisionShape(asIScriptEngine* engine)
  5330. {
  5331. // explicit CollisionShape::CollisionShape(Context* context)
  5332. engine->RegisterObjectBehaviour("CollisionShape", asBEHAVE_FACTORY, "CollisionShape@+ f()", AS_FUNCTION(CollisionShape__CollisionShape_Contextstar) , AS_CALL_CDECL);
  5333. RegisterSubclass<Component, CollisionShape>(engine, "Component", "CollisionShape");
  5334. RegisterSubclass<Animatable, CollisionShape>(engine, "Animatable", "CollisionShape");
  5335. RegisterSubclass<Serializable, CollisionShape>(engine, "Serializable", "CollisionShape");
  5336. RegisterSubclass<Object, CollisionShape>(engine, "Object", "CollisionShape");
  5337. RegisterSubclass<RefCounted, CollisionShape>(engine, "RefCounted", "CollisionShape");
  5338. RegisterMembers_CollisionShape<CollisionShape>(engine, "CollisionShape");
  5339. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionShape
  5340. REGISTER_CLASS_MANUAL_PART_CollisionShape();
  5341. #endif
  5342. }
  5343. // explicit Constraint::Constraint(Context* context)
  5344. static Constraint* Constraint__Constraint_Contextstar()
  5345. {
  5346. Context* context = GetScriptContext();
  5347. return new Constraint(context);
  5348. }
  5349. // class Constraint | File: ../Physics/Constraint.h
  5350. static void Register_Constraint(asIScriptEngine* engine)
  5351. {
  5352. // explicit Constraint::Constraint(Context* context)
  5353. engine->RegisterObjectBehaviour("Constraint", asBEHAVE_FACTORY, "Constraint@+ f()", AS_FUNCTION(Constraint__Constraint_Contextstar) , AS_CALL_CDECL);
  5354. RegisterSubclass<Component, Constraint>(engine, "Component", "Constraint");
  5355. RegisterSubclass<Animatable, Constraint>(engine, "Animatable", "Constraint");
  5356. RegisterSubclass<Serializable, Constraint>(engine, "Serializable", "Constraint");
  5357. RegisterSubclass<Object, Constraint>(engine, "Object", "Constraint");
  5358. RegisterSubclass<RefCounted, Constraint>(engine, "RefCounted", "Constraint");
  5359. RegisterMembers_Constraint<Constraint>(engine, "Constraint");
  5360. #ifdef REGISTER_CLASS_MANUAL_PART_Constraint
  5361. REGISTER_CLASS_MANUAL_PART_Constraint();
  5362. #endif
  5363. }
  5364. // explicit PhysicsWorld::PhysicsWorld(Context* context)
  5365. static PhysicsWorld* PhysicsWorld__PhysicsWorld_Contextstar()
  5366. {
  5367. Context* context = GetScriptContext();
  5368. return new PhysicsWorld(context);
  5369. }
  5370. // class PhysicsWorld | File: ../Physics/PhysicsWorld.h
  5371. static void Register_PhysicsWorld(asIScriptEngine* engine)
  5372. {
  5373. // explicit PhysicsWorld::PhysicsWorld(Context* context)
  5374. engine->RegisterObjectBehaviour("PhysicsWorld", asBEHAVE_FACTORY, "PhysicsWorld@+ f()", AS_FUNCTION(PhysicsWorld__PhysicsWorld_Contextstar) , AS_CALL_CDECL);
  5375. RegisterSubclass<Component, PhysicsWorld>(engine, "Component", "PhysicsWorld");
  5376. RegisterSubclass<Animatable, PhysicsWorld>(engine, "Animatable", "PhysicsWorld");
  5377. RegisterSubclass<Serializable, PhysicsWorld>(engine, "Serializable", "PhysicsWorld");
  5378. RegisterSubclass<Object, PhysicsWorld>(engine, "Object", "PhysicsWorld");
  5379. RegisterSubclass<RefCounted, PhysicsWorld>(engine, "RefCounted", "PhysicsWorld");
  5380. RegisterMembers_PhysicsWorld<PhysicsWorld>(engine, "PhysicsWorld");
  5381. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsWorld
  5382. REGISTER_CLASS_MANUAL_PART_PhysicsWorld();
  5383. #endif
  5384. }
  5385. // explicit RigidBody::RigidBody(Context* context)
  5386. static RigidBody* RigidBody__RigidBody_Contextstar()
  5387. {
  5388. Context* context = GetScriptContext();
  5389. return new RigidBody(context);
  5390. }
  5391. // class RigidBody | File: ../Physics/RigidBody.h
  5392. static void Register_RigidBody(asIScriptEngine* engine)
  5393. {
  5394. // explicit RigidBody::RigidBody(Context* context)
  5395. engine->RegisterObjectBehaviour("RigidBody", asBEHAVE_FACTORY, "RigidBody@+ f()", AS_FUNCTION(RigidBody__RigidBody_Contextstar) , AS_CALL_CDECL);
  5396. RegisterSubclass<Component, RigidBody>(engine, "Component", "RigidBody");
  5397. RegisterSubclass<Animatable, RigidBody>(engine, "Animatable", "RigidBody");
  5398. RegisterSubclass<Serializable, RigidBody>(engine, "Serializable", "RigidBody");
  5399. RegisterSubclass<Object, RigidBody>(engine, "Object", "RigidBody");
  5400. RegisterSubclass<RefCounted, RigidBody>(engine, "RefCounted", "RigidBody");
  5401. RegisterMembers_RigidBody<RigidBody>(engine, "RigidBody");
  5402. #ifdef REGISTER_CLASS_MANUAL_PART_RigidBody
  5403. REGISTER_CLASS_MANUAL_PART_RigidBody();
  5404. #endif
  5405. }
  5406. #endif // def URHO3D_PHYSICS
  5407. #ifdef URHO3D_PHYSICS2D
  5408. // class CollisionShape2D | File: ../Physics2D/CollisionShape2D.h
  5409. static void Register_CollisionShape2D(asIScriptEngine* engine)
  5410. {
  5411. RegisterSubclass<Component, CollisionShape2D>(engine, "Component", "CollisionShape2D");
  5412. RegisterSubclass<Animatable, CollisionShape2D>(engine, "Animatable", "CollisionShape2D");
  5413. RegisterSubclass<Serializable, CollisionShape2D>(engine, "Serializable", "CollisionShape2D");
  5414. RegisterSubclass<Object, CollisionShape2D>(engine, "Object", "CollisionShape2D");
  5415. RegisterSubclass<RefCounted, CollisionShape2D>(engine, "RefCounted", "CollisionShape2D");
  5416. RegisterMembers_CollisionShape2D<CollisionShape2D>(engine, "CollisionShape2D");
  5417. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionShape2D
  5418. REGISTER_CLASS_MANUAL_PART_CollisionShape2D();
  5419. #endif
  5420. }
  5421. // explicit Constraint2D::Constraint2D(Context* context)
  5422. static Constraint2D* Constraint2D__Constraint2D_Contextstar()
  5423. {
  5424. Context* context = GetScriptContext();
  5425. return new Constraint2D(context);
  5426. }
  5427. // class Constraint2D | File: ../Physics2D/Constraint2D.h
  5428. static void Register_Constraint2D(asIScriptEngine* engine)
  5429. {
  5430. // explicit Constraint2D::Constraint2D(Context* context)
  5431. engine->RegisterObjectBehaviour("Constraint2D", asBEHAVE_FACTORY, "Constraint2D@+ f()", AS_FUNCTION(Constraint2D__Constraint2D_Contextstar) , AS_CALL_CDECL);
  5432. RegisterSubclass<Component, Constraint2D>(engine, "Component", "Constraint2D");
  5433. RegisterSubclass<Animatable, Constraint2D>(engine, "Animatable", "Constraint2D");
  5434. RegisterSubclass<Serializable, Constraint2D>(engine, "Serializable", "Constraint2D");
  5435. RegisterSubclass<Object, Constraint2D>(engine, "Object", "Constraint2D");
  5436. RegisterSubclass<RefCounted, Constraint2D>(engine, "RefCounted", "Constraint2D");
  5437. RegisterMembers_Constraint2D<Constraint2D>(engine, "Constraint2D");
  5438. #ifdef REGISTER_CLASS_MANUAL_PART_Constraint2D
  5439. REGISTER_CLASS_MANUAL_PART_Constraint2D();
  5440. #endif
  5441. }
  5442. // explicit PhysicsWorld2D::PhysicsWorld2D(Context* context)
  5443. static PhysicsWorld2D* PhysicsWorld2D__PhysicsWorld2D_Contextstar()
  5444. {
  5445. Context* context = GetScriptContext();
  5446. return new PhysicsWorld2D(context);
  5447. }
  5448. // class PhysicsWorld2D | File: ../Physics2D/PhysicsWorld2D.h
  5449. static void Register_PhysicsWorld2D(asIScriptEngine* engine)
  5450. {
  5451. // explicit PhysicsWorld2D::PhysicsWorld2D(Context* context)
  5452. engine->RegisterObjectBehaviour("PhysicsWorld2D", asBEHAVE_FACTORY, "PhysicsWorld2D@+ f()", AS_FUNCTION(PhysicsWorld2D__PhysicsWorld2D_Contextstar) , AS_CALL_CDECL);
  5453. RegisterSubclass<Component, PhysicsWorld2D>(engine, "Component", "PhysicsWorld2D");
  5454. RegisterSubclass<Animatable, PhysicsWorld2D>(engine, "Animatable", "PhysicsWorld2D");
  5455. RegisterSubclass<Serializable, PhysicsWorld2D>(engine, "Serializable", "PhysicsWorld2D");
  5456. RegisterSubclass<Object, PhysicsWorld2D>(engine, "Object", "PhysicsWorld2D");
  5457. RegisterSubclass<RefCounted, PhysicsWorld2D>(engine, "RefCounted", "PhysicsWorld2D");
  5458. RegisterMembers_PhysicsWorld2D<PhysicsWorld2D>(engine, "PhysicsWorld2D");
  5459. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsWorld2D
  5460. REGISTER_CLASS_MANUAL_PART_PhysicsWorld2D();
  5461. #endif
  5462. }
  5463. // explicit RigidBody2D::RigidBody2D(Context* context)
  5464. static RigidBody2D* RigidBody2D__RigidBody2D_Contextstar()
  5465. {
  5466. Context* context = GetScriptContext();
  5467. return new RigidBody2D(context);
  5468. }
  5469. // class RigidBody2D | File: ../Physics2D/RigidBody2D.h
  5470. static void Register_RigidBody2D(asIScriptEngine* engine)
  5471. {
  5472. // explicit RigidBody2D::RigidBody2D(Context* context)
  5473. engine->RegisterObjectBehaviour("RigidBody2D", asBEHAVE_FACTORY, "RigidBody2D@+ f()", AS_FUNCTION(RigidBody2D__RigidBody2D_Contextstar) , AS_CALL_CDECL);
  5474. RegisterSubclass<Component, RigidBody2D>(engine, "Component", "RigidBody2D");
  5475. RegisterSubclass<Animatable, RigidBody2D>(engine, "Animatable", "RigidBody2D");
  5476. RegisterSubclass<Serializable, RigidBody2D>(engine, "Serializable", "RigidBody2D");
  5477. RegisterSubclass<Object, RigidBody2D>(engine, "Object", "RigidBody2D");
  5478. RegisterSubclass<RefCounted, RigidBody2D>(engine, "RefCounted", "RigidBody2D");
  5479. RegisterMembers_RigidBody2D<RigidBody2D>(engine, "RigidBody2D");
  5480. #ifdef REGISTER_CLASS_MANUAL_PART_RigidBody2D
  5481. REGISTER_CLASS_MANUAL_PART_RigidBody2D();
  5482. #endif
  5483. }
  5484. #endif // def URHO3D_PHYSICS2D
  5485. #ifdef URHO3D_URHO2D
  5486. // explicit TileMap2D::TileMap2D(Context* context)
  5487. static TileMap2D* TileMap2D__TileMap2D_Contextstar()
  5488. {
  5489. Context* context = GetScriptContext();
  5490. return new TileMap2D(context);
  5491. }
  5492. // class TileMap2D | File: ../Urho2D/TileMap2D.h
  5493. static void Register_TileMap2D(asIScriptEngine* engine)
  5494. {
  5495. // explicit TileMap2D::TileMap2D(Context* context)
  5496. engine->RegisterObjectBehaviour("TileMap2D", asBEHAVE_FACTORY, "TileMap2D@+ f()", AS_FUNCTION(TileMap2D__TileMap2D_Contextstar) , AS_CALL_CDECL);
  5497. RegisterSubclass<Component, TileMap2D>(engine, "Component", "TileMap2D");
  5498. RegisterSubclass<Animatable, TileMap2D>(engine, "Animatable", "TileMap2D");
  5499. RegisterSubclass<Serializable, TileMap2D>(engine, "Serializable", "TileMap2D");
  5500. RegisterSubclass<Object, TileMap2D>(engine, "Object", "TileMap2D");
  5501. RegisterSubclass<RefCounted, TileMap2D>(engine, "RefCounted", "TileMap2D");
  5502. RegisterMembers_TileMap2D<TileMap2D>(engine, "TileMap2D");
  5503. #ifdef REGISTER_CLASS_MANUAL_PART_TileMap2D
  5504. REGISTER_CLASS_MANUAL_PART_TileMap2D();
  5505. #endif
  5506. }
  5507. // explicit TileMapLayer2D::TileMapLayer2D(Context* context)
  5508. static TileMapLayer2D* TileMapLayer2D__TileMapLayer2D_Contextstar()
  5509. {
  5510. Context* context = GetScriptContext();
  5511. return new TileMapLayer2D(context);
  5512. }
  5513. // class TileMapLayer2D | File: ../Urho2D/TileMapLayer2D.h
  5514. static void Register_TileMapLayer2D(asIScriptEngine* engine)
  5515. {
  5516. // explicit TileMapLayer2D::TileMapLayer2D(Context* context)
  5517. engine->RegisterObjectBehaviour("TileMapLayer2D", asBEHAVE_FACTORY, "TileMapLayer2D@+ f()", AS_FUNCTION(TileMapLayer2D__TileMapLayer2D_Contextstar) , AS_CALL_CDECL);
  5518. RegisterSubclass<Component, TileMapLayer2D>(engine, "Component", "TileMapLayer2D");
  5519. RegisterSubclass<Animatable, TileMapLayer2D>(engine, "Animatable", "TileMapLayer2D");
  5520. RegisterSubclass<Serializable, TileMapLayer2D>(engine, "Serializable", "TileMapLayer2D");
  5521. RegisterSubclass<Object, TileMapLayer2D>(engine, "Object", "TileMapLayer2D");
  5522. RegisterSubclass<RefCounted, TileMapLayer2D>(engine, "RefCounted", "TileMapLayer2D");
  5523. RegisterMembers_TileMapLayer2D<TileMapLayer2D>(engine, "TileMapLayer2D");
  5524. #ifdef REGISTER_CLASS_MANUAL_PART_TileMapLayer2D
  5525. REGISTER_CLASS_MANUAL_PART_TileMapLayer2D();
  5526. #endif
  5527. }
  5528. #endif // def URHO3D_URHO2D
  5529. // explicit BillboardSet::BillboardSet(Context* context)
  5530. static BillboardSet* BillboardSet__BillboardSet_Contextstar()
  5531. {
  5532. Context* context = GetScriptContext();
  5533. return new BillboardSet(context);
  5534. }
  5535. // class BillboardSet | File: ../Graphics/BillboardSet.h
  5536. static void Register_BillboardSet(asIScriptEngine* engine)
  5537. {
  5538. // explicit BillboardSet::BillboardSet(Context* context)
  5539. engine->RegisterObjectBehaviour("BillboardSet", asBEHAVE_FACTORY, "BillboardSet@+ f()", AS_FUNCTION(BillboardSet__BillboardSet_Contextstar) , AS_CALL_CDECL);
  5540. RegisterSubclass<Drawable, BillboardSet>(engine, "Drawable", "BillboardSet");
  5541. RegisterSubclass<Component, BillboardSet>(engine, "Component", "BillboardSet");
  5542. RegisterSubclass<Animatable, BillboardSet>(engine, "Animatable", "BillboardSet");
  5543. RegisterSubclass<Serializable, BillboardSet>(engine, "Serializable", "BillboardSet");
  5544. RegisterSubclass<Object, BillboardSet>(engine, "Object", "BillboardSet");
  5545. RegisterSubclass<RefCounted, BillboardSet>(engine, "RefCounted", "BillboardSet");
  5546. RegisterMembers_BillboardSet<BillboardSet>(engine, "BillboardSet");
  5547. #ifdef REGISTER_CLASS_MANUAL_PART_BillboardSet
  5548. REGISTER_CLASS_MANUAL_PART_BillboardSet();
  5549. #endif
  5550. }
  5551. // explicit Button::Button(Context* context)
  5552. static Button* Button__Button_Contextstar()
  5553. {
  5554. Context* context = GetScriptContext();
  5555. return new Button(context);
  5556. }
  5557. // class Button | File: ../UI/Button.h
  5558. static void Register_Button(asIScriptEngine* engine)
  5559. {
  5560. // explicit Button::Button(Context* context)
  5561. engine->RegisterObjectBehaviour("Button", asBEHAVE_FACTORY, "Button@+ f()", AS_FUNCTION(Button__Button_Contextstar) , AS_CALL_CDECL);
  5562. RegisterSubclass<BorderImage, Button>(engine, "BorderImage", "Button");
  5563. RegisterSubclass<UIElement, Button>(engine, "UIElement", "Button");
  5564. RegisterSubclass<Animatable, Button>(engine, "Animatable", "Button");
  5565. RegisterSubclass<Serializable, Button>(engine, "Serializable", "Button");
  5566. RegisterSubclass<Object, Button>(engine, "Object", "Button");
  5567. RegisterSubclass<RefCounted, Button>(engine, "RefCounted", "Button");
  5568. RegisterMembers_Button<Button>(engine, "Button");
  5569. #ifdef REGISTER_CLASS_MANUAL_PART_Button
  5570. REGISTER_CLASS_MANUAL_PART_Button();
  5571. #endif
  5572. }
  5573. // explicit CheckBox::CheckBox(Context* context)
  5574. static CheckBox* CheckBox__CheckBox_Contextstar()
  5575. {
  5576. Context* context = GetScriptContext();
  5577. return new CheckBox(context);
  5578. }
  5579. // class CheckBox | File: ../UI/CheckBox.h
  5580. static void Register_CheckBox(asIScriptEngine* engine)
  5581. {
  5582. // explicit CheckBox::CheckBox(Context* context)
  5583. engine->RegisterObjectBehaviour("CheckBox", asBEHAVE_FACTORY, "CheckBox@+ f()", AS_FUNCTION(CheckBox__CheckBox_Contextstar) , AS_CALL_CDECL);
  5584. RegisterSubclass<BorderImage, CheckBox>(engine, "BorderImage", "CheckBox");
  5585. RegisterSubclass<UIElement, CheckBox>(engine, "UIElement", "CheckBox");
  5586. RegisterSubclass<Animatable, CheckBox>(engine, "Animatable", "CheckBox");
  5587. RegisterSubclass<Serializable, CheckBox>(engine, "Serializable", "CheckBox");
  5588. RegisterSubclass<Object, CheckBox>(engine, "Object", "CheckBox");
  5589. RegisterSubclass<RefCounted, CheckBox>(engine, "RefCounted", "CheckBox");
  5590. RegisterMembers_CheckBox<CheckBox>(engine, "CheckBox");
  5591. #ifdef REGISTER_CLASS_MANUAL_PART_CheckBox
  5592. REGISTER_CLASS_MANUAL_PART_CheckBox();
  5593. #endif
  5594. }
  5595. // explicit Cursor::Cursor(Context* context)
  5596. static Cursor* Cursor__Cursor_Contextstar()
  5597. {
  5598. Context* context = GetScriptContext();
  5599. return new Cursor(context);
  5600. }
  5601. // class Cursor | File: ../UI/Cursor.h
  5602. static void Register_Cursor(asIScriptEngine* engine)
  5603. {
  5604. // explicit Cursor::Cursor(Context* context)
  5605. engine->RegisterObjectBehaviour("Cursor", asBEHAVE_FACTORY, "Cursor@+ f()", AS_FUNCTION(Cursor__Cursor_Contextstar) , AS_CALL_CDECL);
  5606. RegisterSubclass<BorderImage, Cursor>(engine, "BorderImage", "Cursor");
  5607. RegisterSubclass<UIElement, Cursor>(engine, "UIElement", "Cursor");
  5608. RegisterSubclass<Animatable, Cursor>(engine, "Animatable", "Cursor");
  5609. RegisterSubclass<Serializable, Cursor>(engine, "Serializable", "Cursor");
  5610. RegisterSubclass<Object, Cursor>(engine, "Object", "Cursor");
  5611. RegisterSubclass<RefCounted, Cursor>(engine, "RefCounted", "Cursor");
  5612. RegisterMembers_Cursor<Cursor>(engine, "Cursor");
  5613. #ifdef REGISTER_CLASS_MANUAL_PART_Cursor
  5614. REGISTER_CLASS_MANUAL_PART_Cursor();
  5615. #endif
  5616. }
  5617. // explicit CustomGeometry::CustomGeometry(Context* context)
  5618. static CustomGeometry* CustomGeometry__CustomGeometry_Contextstar()
  5619. {
  5620. Context* context = GetScriptContext();
  5621. return new CustomGeometry(context);
  5622. }
  5623. // class CustomGeometry | File: ../Graphics/CustomGeometry.h
  5624. static void Register_CustomGeometry(asIScriptEngine* engine)
  5625. {
  5626. // explicit CustomGeometry::CustomGeometry(Context* context)
  5627. engine->RegisterObjectBehaviour("CustomGeometry", asBEHAVE_FACTORY, "CustomGeometry@+ f()", AS_FUNCTION(CustomGeometry__CustomGeometry_Contextstar) , AS_CALL_CDECL);
  5628. RegisterSubclass<Drawable, CustomGeometry>(engine, "Drawable", "CustomGeometry");
  5629. RegisterSubclass<Component, CustomGeometry>(engine, "Component", "CustomGeometry");
  5630. RegisterSubclass<Animatable, CustomGeometry>(engine, "Animatable", "CustomGeometry");
  5631. RegisterSubclass<Serializable, CustomGeometry>(engine, "Serializable", "CustomGeometry");
  5632. RegisterSubclass<Object, CustomGeometry>(engine, "Object", "CustomGeometry");
  5633. RegisterSubclass<RefCounted, CustomGeometry>(engine, "RefCounted", "CustomGeometry");
  5634. RegisterMembers_CustomGeometry<CustomGeometry>(engine, "CustomGeometry");
  5635. #ifdef REGISTER_CLASS_MANUAL_PART_CustomGeometry
  5636. REGISTER_CLASS_MANUAL_PART_CustomGeometry();
  5637. #endif
  5638. }
  5639. // explicit DecalSet::DecalSet(Context* context)
  5640. static DecalSet* DecalSet__DecalSet_Contextstar()
  5641. {
  5642. Context* context = GetScriptContext();
  5643. return new DecalSet(context);
  5644. }
  5645. // class DecalSet | File: ../Graphics/DecalSet.h
  5646. static void Register_DecalSet(asIScriptEngine* engine)
  5647. {
  5648. // explicit DecalSet::DecalSet(Context* context)
  5649. engine->RegisterObjectBehaviour("DecalSet", asBEHAVE_FACTORY, "DecalSet@+ f()", AS_FUNCTION(DecalSet__DecalSet_Contextstar) , AS_CALL_CDECL);
  5650. RegisterSubclass<Drawable, DecalSet>(engine, "Drawable", "DecalSet");
  5651. RegisterSubclass<Component, DecalSet>(engine, "Component", "DecalSet");
  5652. RegisterSubclass<Animatable, DecalSet>(engine, "Animatable", "DecalSet");
  5653. RegisterSubclass<Serializable, DecalSet>(engine, "Serializable", "DecalSet");
  5654. RegisterSubclass<Object, DecalSet>(engine, "Object", "DecalSet");
  5655. RegisterSubclass<RefCounted, DecalSet>(engine, "RefCounted", "DecalSet");
  5656. RegisterMembers_DecalSet<DecalSet>(engine, "DecalSet");
  5657. #ifdef REGISTER_CLASS_MANUAL_PART_DecalSet
  5658. REGISTER_CLASS_MANUAL_PART_DecalSet();
  5659. #endif
  5660. }
  5661. // explicit Light::Light(Context* context)
  5662. static Light* Light__Light_Contextstar()
  5663. {
  5664. Context* context = GetScriptContext();
  5665. return new Light(context);
  5666. }
  5667. // class Light | File: ../Graphics/Light.h
  5668. static void Register_Light(asIScriptEngine* engine)
  5669. {
  5670. // explicit Light::Light(Context* context)
  5671. engine->RegisterObjectBehaviour("Light", asBEHAVE_FACTORY, "Light@+ f()", AS_FUNCTION(Light__Light_Contextstar) , AS_CALL_CDECL);
  5672. RegisterSubclass<Drawable, Light>(engine, "Drawable", "Light");
  5673. RegisterSubclass<Component, Light>(engine, "Component", "Light");
  5674. RegisterSubclass<Animatable, Light>(engine, "Animatable", "Light");
  5675. RegisterSubclass<Serializable, Light>(engine, "Serializable", "Light");
  5676. RegisterSubclass<Object, Light>(engine, "Object", "Light");
  5677. RegisterSubclass<RefCounted, Light>(engine, "RefCounted", "Light");
  5678. RegisterMembers_Light<Light>(engine, "Light");
  5679. #ifdef REGISTER_CLASS_MANUAL_PART_Light
  5680. REGISTER_CLASS_MANUAL_PART_Light();
  5681. #endif
  5682. }
  5683. // explicit LineEdit::LineEdit(Context* context)
  5684. static LineEdit* LineEdit__LineEdit_Contextstar()
  5685. {
  5686. Context* context = GetScriptContext();
  5687. return new LineEdit(context);
  5688. }
  5689. // class LineEdit | File: ../UI/LineEdit.h
  5690. static void Register_LineEdit(asIScriptEngine* engine)
  5691. {
  5692. // explicit LineEdit::LineEdit(Context* context)
  5693. engine->RegisterObjectBehaviour("LineEdit", asBEHAVE_FACTORY, "LineEdit@+ f()", AS_FUNCTION(LineEdit__LineEdit_Contextstar) , AS_CALL_CDECL);
  5694. RegisterSubclass<BorderImage, LineEdit>(engine, "BorderImage", "LineEdit");
  5695. RegisterSubclass<UIElement, LineEdit>(engine, "UIElement", "LineEdit");
  5696. RegisterSubclass<Animatable, LineEdit>(engine, "Animatable", "LineEdit");
  5697. RegisterSubclass<Serializable, LineEdit>(engine, "Serializable", "LineEdit");
  5698. RegisterSubclass<Object, LineEdit>(engine, "Object", "LineEdit");
  5699. RegisterSubclass<RefCounted, LineEdit>(engine, "RefCounted", "LineEdit");
  5700. RegisterMembers_LineEdit<LineEdit>(engine, "LineEdit");
  5701. #ifdef REGISTER_CLASS_MANUAL_PART_LineEdit
  5702. REGISTER_CLASS_MANUAL_PART_LineEdit();
  5703. #endif
  5704. }
  5705. // explicit ListView::ListView(Context* context)
  5706. static ListView* ListView__ListView_Contextstar()
  5707. {
  5708. Context* context = GetScriptContext();
  5709. return new ListView(context);
  5710. }
  5711. // class ListView | File: ../UI/ListView.h
  5712. static void Register_ListView(asIScriptEngine* engine)
  5713. {
  5714. // explicit ListView::ListView(Context* context)
  5715. engine->RegisterObjectBehaviour("ListView", asBEHAVE_FACTORY, "ListView@+ f()", AS_FUNCTION(ListView__ListView_Contextstar) , AS_CALL_CDECL);
  5716. RegisterSubclass<ScrollView, ListView>(engine, "ScrollView", "ListView");
  5717. RegisterSubclass<UIElement, ListView>(engine, "UIElement", "ListView");
  5718. RegisterSubclass<Animatable, ListView>(engine, "Animatable", "ListView");
  5719. RegisterSubclass<Serializable, ListView>(engine, "Serializable", "ListView");
  5720. RegisterSubclass<Object, ListView>(engine, "Object", "ListView");
  5721. RegisterSubclass<RefCounted, ListView>(engine, "RefCounted", "ListView");
  5722. RegisterMembers_ListView<ListView>(engine, "ListView");
  5723. #ifdef REGISTER_CLASS_MANUAL_PART_ListView
  5724. REGISTER_CLASS_MANUAL_PART_ListView();
  5725. #endif
  5726. }
  5727. // explicit ProgressBar::ProgressBar(Context* context)
  5728. static ProgressBar* ProgressBar__ProgressBar_Contextstar()
  5729. {
  5730. Context* context = GetScriptContext();
  5731. return new ProgressBar(context);
  5732. }
  5733. // class ProgressBar | File: ../UI/ProgressBar.h
  5734. static void Register_ProgressBar(asIScriptEngine* engine)
  5735. {
  5736. // explicit ProgressBar::ProgressBar(Context* context)
  5737. engine->RegisterObjectBehaviour("ProgressBar", asBEHAVE_FACTORY, "ProgressBar@+ f()", AS_FUNCTION(ProgressBar__ProgressBar_Contextstar) , AS_CALL_CDECL);
  5738. RegisterSubclass<BorderImage, ProgressBar>(engine, "BorderImage", "ProgressBar");
  5739. RegisterSubclass<UIElement, ProgressBar>(engine, "UIElement", "ProgressBar");
  5740. RegisterSubclass<Animatable, ProgressBar>(engine, "Animatable", "ProgressBar");
  5741. RegisterSubclass<Serializable, ProgressBar>(engine, "Serializable", "ProgressBar");
  5742. RegisterSubclass<Object, ProgressBar>(engine, "Object", "ProgressBar");
  5743. RegisterSubclass<RefCounted, ProgressBar>(engine, "RefCounted", "ProgressBar");
  5744. RegisterMembers_ProgressBar<ProgressBar>(engine, "ProgressBar");
  5745. #ifdef REGISTER_CLASS_MANUAL_PART_ProgressBar
  5746. REGISTER_CLASS_MANUAL_PART_ProgressBar();
  5747. #endif
  5748. }
  5749. // explicit RibbonTrail::RibbonTrail(Context* context)
  5750. static RibbonTrail* RibbonTrail__RibbonTrail_Contextstar()
  5751. {
  5752. Context* context = GetScriptContext();
  5753. return new RibbonTrail(context);
  5754. }
  5755. // class RibbonTrail | File: ../Graphics/RibbonTrail.h
  5756. static void Register_RibbonTrail(asIScriptEngine* engine)
  5757. {
  5758. // explicit RibbonTrail::RibbonTrail(Context* context)
  5759. engine->RegisterObjectBehaviour("RibbonTrail", asBEHAVE_FACTORY, "RibbonTrail@+ f()", AS_FUNCTION(RibbonTrail__RibbonTrail_Contextstar) , AS_CALL_CDECL);
  5760. RegisterSubclass<Drawable, RibbonTrail>(engine, "Drawable", "RibbonTrail");
  5761. RegisterSubclass<Component, RibbonTrail>(engine, "Component", "RibbonTrail");
  5762. RegisterSubclass<Animatable, RibbonTrail>(engine, "Animatable", "RibbonTrail");
  5763. RegisterSubclass<Serializable, RibbonTrail>(engine, "Serializable", "RibbonTrail");
  5764. RegisterSubclass<Object, RibbonTrail>(engine, "Object", "RibbonTrail");
  5765. RegisterSubclass<RefCounted, RibbonTrail>(engine, "RefCounted", "RibbonTrail");
  5766. RegisterMembers_RibbonTrail<RibbonTrail>(engine, "RibbonTrail");
  5767. #ifdef REGISTER_CLASS_MANUAL_PART_RibbonTrail
  5768. REGISTER_CLASS_MANUAL_PART_RibbonTrail();
  5769. #endif
  5770. }
  5771. // explicit ScrollBar::ScrollBar(Context* context)
  5772. static ScrollBar* ScrollBar__ScrollBar_Contextstar()
  5773. {
  5774. Context* context = GetScriptContext();
  5775. return new ScrollBar(context);
  5776. }
  5777. // class ScrollBar | File: ../UI/ScrollBar.h
  5778. static void Register_ScrollBar(asIScriptEngine* engine)
  5779. {
  5780. // explicit ScrollBar::ScrollBar(Context* context)
  5781. engine->RegisterObjectBehaviour("ScrollBar", asBEHAVE_FACTORY, "ScrollBar@+ f()", AS_FUNCTION(ScrollBar__ScrollBar_Contextstar) , AS_CALL_CDECL);
  5782. RegisterSubclass<BorderImage, ScrollBar>(engine, "BorderImage", "ScrollBar");
  5783. RegisterSubclass<UIElement, ScrollBar>(engine, "UIElement", "ScrollBar");
  5784. RegisterSubclass<Animatable, ScrollBar>(engine, "Animatable", "ScrollBar");
  5785. RegisterSubclass<Serializable, ScrollBar>(engine, "Serializable", "ScrollBar");
  5786. RegisterSubclass<Object, ScrollBar>(engine, "Object", "ScrollBar");
  5787. RegisterSubclass<RefCounted, ScrollBar>(engine, "RefCounted", "ScrollBar");
  5788. RegisterMembers_ScrollBar<ScrollBar>(engine, "ScrollBar");
  5789. #ifdef REGISTER_CLASS_MANUAL_PART_ScrollBar
  5790. REGISTER_CLASS_MANUAL_PART_ScrollBar();
  5791. #endif
  5792. }
  5793. // explicit Slider::Slider(Context* context)
  5794. static Slider* Slider__Slider_Contextstar()
  5795. {
  5796. Context* context = GetScriptContext();
  5797. return new Slider(context);
  5798. }
  5799. // class Slider | File: ../UI/Slider.h
  5800. static void Register_Slider(asIScriptEngine* engine)
  5801. {
  5802. // explicit Slider::Slider(Context* context)
  5803. engine->RegisterObjectBehaviour("Slider", asBEHAVE_FACTORY, "Slider@+ f()", AS_FUNCTION(Slider__Slider_Contextstar) , AS_CALL_CDECL);
  5804. RegisterSubclass<BorderImage, Slider>(engine, "BorderImage", "Slider");
  5805. RegisterSubclass<UIElement, Slider>(engine, "UIElement", "Slider");
  5806. RegisterSubclass<Animatable, Slider>(engine, "Animatable", "Slider");
  5807. RegisterSubclass<Serializable, Slider>(engine, "Serializable", "Slider");
  5808. RegisterSubclass<Object, Slider>(engine, "Object", "Slider");
  5809. RegisterSubclass<RefCounted, Slider>(engine, "RefCounted", "Slider");
  5810. RegisterMembers_Slider<Slider>(engine, "Slider");
  5811. #ifdef REGISTER_CLASS_MANUAL_PART_Slider
  5812. REGISTER_CLASS_MANUAL_PART_Slider();
  5813. #endif
  5814. }
  5815. // explicit SoundSource3D::SoundSource3D(Context* context)
  5816. static SoundSource3D* SoundSource3D__SoundSource3D_Contextstar()
  5817. {
  5818. Context* context = GetScriptContext();
  5819. return new SoundSource3D(context);
  5820. }
  5821. // class SoundSource3D | File: ../Audio/SoundSource3D.h
  5822. static void Register_SoundSource3D(asIScriptEngine* engine)
  5823. {
  5824. // explicit SoundSource3D::SoundSource3D(Context* context)
  5825. engine->RegisterObjectBehaviour("SoundSource3D", asBEHAVE_FACTORY, "SoundSource3D@+ f()", AS_FUNCTION(SoundSource3D__SoundSource3D_Contextstar) , AS_CALL_CDECL);
  5826. RegisterSubclass<SoundSource, SoundSource3D>(engine, "SoundSource", "SoundSource3D");
  5827. RegisterSubclass<Component, SoundSource3D>(engine, "Component", "SoundSource3D");
  5828. RegisterSubclass<Animatable, SoundSource3D>(engine, "Animatable", "SoundSource3D");
  5829. RegisterSubclass<Serializable, SoundSource3D>(engine, "Serializable", "SoundSource3D");
  5830. RegisterSubclass<Object, SoundSource3D>(engine, "Object", "SoundSource3D");
  5831. RegisterSubclass<RefCounted, SoundSource3D>(engine, "RefCounted", "SoundSource3D");
  5832. RegisterMembers_SoundSource3D<SoundSource3D>(engine, "SoundSource3D");
  5833. #ifdef REGISTER_CLASS_MANUAL_PART_SoundSource3D
  5834. REGISTER_CLASS_MANUAL_PART_SoundSource3D();
  5835. #endif
  5836. }
  5837. // explicit StaticModel::StaticModel(Context* context)
  5838. static StaticModel* StaticModel__StaticModel_Contextstar()
  5839. {
  5840. Context* context = GetScriptContext();
  5841. return new StaticModel(context);
  5842. }
  5843. // class StaticModel | File: ../Graphics/StaticModel.h
  5844. static void Register_StaticModel(asIScriptEngine* engine)
  5845. {
  5846. // explicit StaticModel::StaticModel(Context* context)
  5847. engine->RegisterObjectBehaviour("StaticModel", asBEHAVE_FACTORY, "StaticModel@+ f()", AS_FUNCTION(StaticModel__StaticModel_Contextstar) , AS_CALL_CDECL);
  5848. RegisterSubclass<Drawable, StaticModel>(engine, "Drawable", "StaticModel");
  5849. RegisterSubclass<Component, StaticModel>(engine, "Component", "StaticModel");
  5850. RegisterSubclass<Animatable, StaticModel>(engine, "Animatable", "StaticModel");
  5851. RegisterSubclass<Serializable, StaticModel>(engine, "Serializable", "StaticModel");
  5852. RegisterSubclass<Object, StaticModel>(engine, "Object", "StaticModel");
  5853. RegisterSubclass<RefCounted, StaticModel>(engine, "RefCounted", "StaticModel");
  5854. RegisterMembers_StaticModel<StaticModel>(engine, "StaticModel");
  5855. #ifdef REGISTER_CLASS_MANUAL_PART_StaticModel
  5856. REGISTER_CLASS_MANUAL_PART_StaticModel();
  5857. #endif
  5858. // virtual void StaticModel::SetModel(Model* model)
  5859. // Not registered because have @manualbind mark
  5860. }
  5861. // explicit TerrainPatch::TerrainPatch(Context* context)
  5862. static TerrainPatch* TerrainPatch__TerrainPatch_Contextstar()
  5863. {
  5864. Context* context = GetScriptContext();
  5865. return new TerrainPatch(context);
  5866. }
  5867. // class TerrainPatch | File: ../Graphics/TerrainPatch.h
  5868. static void Register_TerrainPatch(asIScriptEngine* engine)
  5869. {
  5870. // explicit TerrainPatch::TerrainPatch(Context* context)
  5871. engine->RegisterObjectBehaviour("TerrainPatch", asBEHAVE_FACTORY, "TerrainPatch@+ f()", AS_FUNCTION(TerrainPatch__TerrainPatch_Contextstar) , AS_CALL_CDECL);
  5872. RegisterSubclass<Drawable, TerrainPatch>(engine, "Drawable", "TerrainPatch");
  5873. RegisterSubclass<Component, TerrainPatch>(engine, "Component", "TerrainPatch");
  5874. RegisterSubclass<Animatable, TerrainPatch>(engine, "Animatable", "TerrainPatch");
  5875. RegisterSubclass<Serializable, TerrainPatch>(engine, "Serializable", "TerrainPatch");
  5876. RegisterSubclass<Object, TerrainPatch>(engine, "Object", "TerrainPatch");
  5877. RegisterSubclass<RefCounted, TerrainPatch>(engine, "RefCounted", "TerrainPatch");
  5878. RegisterMembers_TerrainPatch<TerrainPatch>(engine, "TerrainPatch");
  5879. #ifdef REGISTER_CLASS_MANUAL_PART_TerrainPatch
  5880. REGISTER_CLASS_MANUAL_PART_TerrainPatch();
  5881. #endif
  5882. }
  5883. // explicit Text::Text(Context* context)
  5884. static Text* Text__Text_Contextstar()
  5885. {
  5886. Context* context = GetScriptContext();
  5887. return new Text(context);
  5888. }
  5889. // class Text | File: ../UI/Text.h
  5890. static void Register_Text(asIScriptEngine* engine)
  5891. {
  5892. // explicit Text::Text(Context* context)
  5893. engine->RegisterObjectBehaviour("Text", asBEHAVE_FACTORY, "Text@+ f()", AS_FUNCTION(Text__Text_Contextstar) , AS_CALL_CDECL);
  5894. RegisterSubclass<UISelectable, Text>(engine, "UISelectable", "Text");
  5895. RegisterSubclass<UIElement, Text>(engine, "UIElement", "Text");
  5896. RegisterSubclass<Animatable, Text>(engine, "Animatable", "Text");
  5897. RegisterSubclass<Serializable, Text>(engine, "Serializable", "Text");
  5898. RegisterSubclass<Object, Text>(engine, "Object", "Text");
  5899. RegisterSubclass<RefCounted, Text>(engine, "RefCounted", "Text");
  5900. RegisterMembers_Text<Text>(engine, "Text");
  5901. #ifdef REGISTER_CLASS_MANUAL_PART_Text
  5902. REGISTER_CLASS_MANUAL_PART_Text();
  5903. #endif
  5904. }
  5905. // explicit Text3D::Text3D(Context* context)
  5906. static Text3D* Text3D__Text3D_Contextstar()
  5907. {
  5908. Context* context = GetScriptContext();
  5909. return new Text3D(context);
  5910. }
  5911. // class Text3D | File: ../UI/Text3D.h
  5912. static void Register_Text3D(asIScriptEngine* engine)
  5913. {
  5914. // explicit Text3D::Text3D(Context* context)
  5915. engine->RegisterObjectBehaviour("Text3D", asBEHAVE_FACTORY, "Text3D@+ f()", AS_FUNCTION(Text3D__Text3D_Contextstar) , AS_CALL_CDECL);
  5916. RegisterSubclass<Drawable, Text3D>(engine, "Drawable", "Text3D");
  5917. RegisterSubclass<Component, Text3D>(engine, "Component", "Text3D");
  5918. RegisterSubclass<Animatable, Text3D>(engine, "Animatable", "Text3D");
  5919. RegisterSubclass<Serializable, Text3D>(engine, "Serializable", "Text3D");
  5920. RegisterSubclass<Object, Text3D>(engine, "Object", "Text3D");
  5921. RegisterSubclass<RefCounted, Text3D>(engine, "RefCounted", "Text3D");
  5922. RegisterMembers_Text3D<Text3D>(engine, "Text3D");
  5923. #ifdef REGISTER_CLASS_MANUAL_PART_Text3D
  5924. REGISTER_CLASS_MANUAL_PART_Text3D();
  5925. #endif
  5926. }
  5927. // explicit Window::Window(Context* context)
  5928. static Window* Window__Window_Contextstar()
  5929. {
  5930. Context* context = GetScriptContext();
  5931. return new Window(context);
  5932. }
  5933. // class Window | File: ../UI/Window.h
  5934. static void Register_Window(asIScriptEngine* engine)
  5935. {
  5936. // explicit Window::Window(Context* context)
  5937. engine->RegisterObjectBehaviour("Window", asBEHAVE_FACTORY, "Window@+ f()", AS_FUNCTION(Window__Window_Contextstar) , AS_CALL_CDECL);
  5938. RegisterSubclass<BorderImage, Window>(engine, "BorderImage", "Window");
  5939. RegisterSubclass<UIElement, Window>(engine, "UIElement", "Window");
  5940. RegisterSubclass<Animatable, Window>(engine, "Animatable", "Window");
  5941. RegisterSubclass<Serializable, Window>(engine, "Serializable", "Window");
  5942. RegisterSubclass<Object, Window>(engine, "Object", "Window");
  5943. RegisterSubclass<RefCounted, Window>(engine, "RefCounted", "Window");
  5944. RegisterMembers_Window<Window>(engine, "Window");
  5945. #ifdef REGISTER_CLASS_MANUAL_PART_Window
  5946. REGISTER_CLASS_MANUAL_PART_Window();
  5947. #endif
  5948. }
  5949. // explicit Zone::Zone(Context* context)
  5950. static Zone* Zone__Zone_Contextstar()
  5951. {
  5952. Context* context = GetScriptContext();
  5953. return new Zone(context);
  5954. }
  5955. // class Zone | File: ../Graphics/Zone.h
  5956. static void Register_Zone(asIScriptEngine* engine)
  5957. {
  5958. // explicit Zone::Zone(Context* context)
  5959. engine->RegisterObjectBehaviour("Zone", asBEHAVE_FACTORY, "Zone@+ f()", AS_FUNCTION(Zone__Zone_Contextstar) , AS_CALL_CDECL);
  5960. RegisterSubclass<Drawable, Zone>(engine, "Drawable", "Zone");
  5961. RegisterSubclass<Component, Zone>(engine, "Component", "Zone");
  5962. RegisterSubclass<Animatable, Zone>(engine, "Animatable", "Zone");
  5963. RegisterSubclass<Serializable, Zone>(engine, "Serializable", "Zone");
  5964. RegisterSubclass<Object, Zone>(engine, "Object", "Zone");
  5965. RegisterSubclass<RefCounted, Zone>(engine, "RefCounted", "Zone");
  5966. RegisterMembers_Zone<Zone>(engine, "Zone");
  5967. #ifdef REGISTER_CLASS_MANUAL_PART_Zone
  5968. REGISTER_CLASS_MANUAL_PART_Zone();
  5969. #endif
  5970. }
  5971. #ifdef URHO3D_NAVIGATION
  5972. // explicit DynamicNavigationMesh::DynamicNavigationMesh(Context* context)
  5973. static DynamicNavigationMesh* DynamicNavigationMesh__DynamicNavigationMesh_Contextstar()
  5974. {
  5975. Context* context = GetScriptContext();
  5976. return new DynamicNavigationMesh(context);
  5977. }
  5978. // class DynamicNavigationMesh | File: ../Navigation/DynamicNavigationMesh.h
  5979. static void Register_DynamicNavigationMesh(asIScriptEngine* engine)
  5980. {
  5981. // explicit DynamicNavigationMesh::DynamicNavigationMesh(Context* context)
  5982. engine->RegisterObjectBehaviour("DynamicNavigationMesh", asBEHAVE_FACTORY, "DynamicNavigationMesh@+ f()", AS_FUNCTION(DynamicNavigationMesh__DynamicNavigationMesh_Contextstar) , AS_CALL_CDECL);
  5983. RegisterSubclass<NavigationMesh, DynamicNavigationMesh>(engine, "NavigationMesh", "DynamicNavigationMesh");
  5984. RegisterSubclass<Component, DynamicNavigationMesh>(engine, "Component", "DynamicNavigationMesh");
  5985. RegisterSubclass<Animatable, DynamicNavigationMesh>(engine, "Animatable", "DynamicNavigationMesh");
  5986. RegisterSubclass<Serializable, DynamicNavigationMesh>(engine, "Serializable", "DynamicNavigationMesh");
  5987. RegisterSubclass<Object, DynamicNavigationMesh>(engine, "Object", "DynamicNavigationMesh");
  5988. RegisterSubclass<RefCounted, DynamicNavigationMesh>(engine, "RefCounted", "DynamicNavigationMesh");
  5989. RegisterMembers_DynamicNavigationMesh<DynamicNavigationMesh>(engine, "DynamicNavigationMesh");
  5990. #ifdef REGISTER_CLASS_MANUAL_PART_DynamicNavigationMesh
  5991. REGISTER_CLASS_MANUAL_PART_DynamicNavigationMesh();
  5992. #endif
  5993. }
  5994. #endif // def URHO3D_NAVIGATION
  5995. #ifdef URHO3D_PHYSICS
  5996. // class RaycastVehicle | File: ../Physics/RaycastVehicle.h
  5997. static void Register_RaycastVehicle(asIScriptEngine* engine)
  5998. {
  5999. // explicit RaycastVehicle::RaycastVehicle(Urho3D::Context* context)
  6000. // Error: type "Urho3D::Context*" can not automatically bind
  6001. RegisterSubclass<LogicComponent, RaycastVehicle>(engine, "LogicComponent", "RaycastVehicle");
  6002. RegisterSubclass<Component, RaycastVehicle>(engine, "Component", "RaycastVehicle");
  6003. RegisterSubclass<Animatable, RaycastVehicle>(engine, "Animatable", "RaycastVehicle");
  6004. RegisterSubclass<Serializable, RaycastVehicle>(engine, "Serializable", "RaycastVehicle");
  6005. RegisterSubclass<Object, RaycastVehicle>(engine, "Object", "RaycastVehicle");
  6006. RegisterSubclass<RefCounted, RaycastVehicle>(engine, "RefCounted", "RaycastVehicle");
  6007. RegisterMembers_RaycastVehicle<RaycastVehicle>(engine, "RaycastVehicle");
  6008. #ifdef REGISTER_CLASS_MANUAL_PART_RaycastVehicle
  6009. REGISTER_CLASS_MANUAL_PART_RaycastVehicle();
  6010. #endif
  6011. }
  6012. #endif // def URHO3D_PHYSICS
  6013. #ifdef URHO3D_PHYSICS2D
  6014. // explicit CollisionBox2D::CollisionBox2D(Context* context)
  6015. static CollisionBox2D* CollisionBox2D__CollisionBox2D_Contextstar()
  6016. {
  6017. Context* context = GetScriptContext();
  6018. return new CollisionBox2D(context);
  6019. }
  6020. // class CollisionBox2D | File: ../Physics2D/CollisionBox2D.h
  6021. static void Register_CollisionBox2D(asIScriptEngine* engine)
  6022. {
  6023. // explicit CollisionBox2D::CollisionBox2D(Context* context)
  6024. engine->RegisterObjectBehaviour("CollisionBox2D", asBEHAVE_FACTORY, "CollisionBox2D@+ f()", AS_FUNCTION(CollisionBox2D__CollisionBox2D_Contextstar) , AS_CALL_CDECL);
  6025. RegisterSubclass<CollisionShape2D, CollisionBox2D>(engine, "CollisionShape2D", "CollisionBox2D");
  6026. RegisterSubclass<Component, CollisionBox2D>(engine, "Component", "CollisionBox2D");
  6027. RegisterSubclass<Animatable, CollisionBox2D>(engine, "Animatable", "CollisionBox2D");
  6028. RegisterSubclass<Serializable, CollisionBox2D>(engine, "Serializable", "CollisionBox2D");
  6029. RegisterSubclass<Object, CollisionBox2D>(engine, "Object", "CollisionBox2D");
  6030. RegisterSubclass<RefCounted, CollisionBox2D>(engine, "RefCounted", "CollisionBox2D");
  6031. RegisterMembers_CollisionBox2D<CollisionBox2D>(engine, "CollisionBox2D");
  6032. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionBox2D
  6033. REGISTER_CLASS_MANUAL_PART_CollisionBox2D();
  6034. #endif
  6035. }
  6036. // explicit CollisionChain2D::CollisionChain2D(Context* context)
  6037. static CollisionChain2D* CollisionChain2D__CollisionChain2D_Contextstar()
  6038. {
  6039. Context* context = GetScriptContext();
  6040. return new CollisionChain2D(context);
  6041. }
  6042. // class CollisionChain2D | File: ../Physics2D/CollisionChain2D.h
  6043. static void Register_CollisionChain2D(asIScriptEngine* engine)
  6044. {
  6045. // explicit CollisionChain2D::CollisionChain2D(Context* context)
  6046. engine->RegisterObjectBehaviour("CollisionChain2D", asBEHAVE_FACTORY, "CollisionChain2D@+ f()", AS_FUNCTION(CollisionChain2D__CollisionChain2D_Contextstar) , AS_CALL_CDECL);
  6047. RegisterSubclass<CollisionShape2D, CollisionChain2D>(engine, "CollisionShape2D", "CollisionChain2D");
  6048. RegisterSubclass<Component, CollisionChain2D>(engine, "Component", "CollisionChain2D");
  6049. RegisterSubclass<Animatable, CollisionChain2D>(engine, "Animatable", "CollisionChain2D");
  6050. RegisterSubclass<Serializable, CollisionChain2D>(engine, "Serializable", "CollisionChain2D");
  6051. RegisterSubclass<Object, CollisionChain2D>(engine, "Object", "CollisionChain2D");
  6052. RegisterSubclass<RefCounted, CollisionChain2D>(engine, "RefCounted", "CollisionChain2D");
  6053. RegisterMembers_CollisionChain2D<CollisionChain2D>(engine, "CollisionChain2D");
  6054. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionChain2D
  6055. REGISTER_CLASS_MANUAL_PART_CollisionChain2D();
  6056. #endif
  6057. }
  6058. // explicit CollisionCircle2D::CollisionCircle2D(Context* context)
  6059. static CollisionCircle2D* CollisionCircle2D__CollisionCircle2D_Contextstar()
  6060. {
  6061. Context* context = GetScriptContext();
  6062. return new CollisionCircle2D(context);
  6063. }
  6064. // class CollisionCircle2D | File: ../Physics2D/CollisionCircle2D.h
  6065. static void Register_CollisionCircle2D(asIScriptEngine* engine)
  6066. {
  6067. // explicit CollisionCircle2D::CollisionCircle2D(Context* context)
  6068. engine->RegisterObjectBehaviour("CollisionCircle2D", asBEHAVE_FACTORY, "CollisionCircle2D@+ f()", AS_FUNCTION(CollisionCircle2D__CollisionCircle2D_Contextstar) , AS_CALL_CDECL);
  6069. RegisterSubclass<CollisionShape2D, CollisionCircle2D>(engine, "CollisionShape2D", "CollisionCircle2D");
  6070. RegisterSubclass<Component, CollisionCircle2D>(engine, "Component", "CollisionCircle2D");
  6071. RegisterSubclass<Animatable, CollisionCircle2D>(engine, "Animatable", "CollisionCircle2D");
  6072. RegisterSubclass<Serializable, CollisionCircle2D>(engine, "Serializable", "CollisionCircle2D");
  6073. RegisterSubclass<Object, CollisionCircle2D>(engine, "Object", "CollisionCircle2D");
  6074. RegisterSubclass<RefCounted, CollisionCircle2D>(engine, "RefCounted", "CollisionCircle2D");
  6075. RegisterMembers_CollisionCircle2D<CollisionCircle2D>(engine, "CollisionCircle2D");
  6076. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionCircle2D
  6077. REGISTER_CLASS_MANUAL_PART_CollisionCircle2D();
  6078. #endif
  6079. }
  6080. // explicit CollisionEdge2D::CollisionEdge2D(Context* context)
  6081. static CollisionEdge2D* CollisionEdge2D__CollisionEdge2D_Contextstar()
  6082. {
  6083. Context* context = GetScriptContext();
  6084. return new CollisionEdge2D(context);
  6085. }
  6086. // class CollisionEdge2D | File: ../Physics2D/CollisionEdge2D.h
  6087. static void Register_CollisionEdge2D(asIScriptEngine* engine)
  6088. {
  6089. // explicit CollisionEdge2D::CollisionEdge2D(Context* context)
  6090. engine->RegisterObjectBehaviour("CollisionEdge2D", asBEHAVE_FACTORY, "CollisionEdge2D@+ f()", AS_FUNCTION(CollisionEdge2D__CollisionEdge2D_Contextstar) , AS_CALL_CDECL);
  6091. RegisterSubclass<CollisionShape2D, CollisionEdge2D>(engine, "CollisionShape2D", "CollisionEdge2D");
  6092. RegisterSubclass<Component, CollisionEdge2D>(engine, "Component", "CollisionEdge2D");
  6093. RegisterSubclass<Animatable, CollisionEdge2D>(engine, "Animatable", "CollisionEdge2D");
  6094. RegisterSubclass<Serializable, CollisionEdge2D>(engine, "Serializable", "CollisionEdge2D");
  6095. RegisterSubclass<Object, CollisionEdge2D>(engine, "Object", "CollisionEdge2D");
  6096. RegisterSubclass<RefCounted, CollisionEdge2D>(engine, "RefCounted", "CollisionEdge2D");
  6097. RegisterMembers_CollisionEdge2D<CollisionEdge2D>(engine, "CollisionEdge2D");
  6098. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionEdge2D
  6099. REGISTER_CLASS_MANUAL_PART_CollisionEdge2D();
  6100. #endif
  6101. }
  6102. // explicit CollisionPolygon2D::CollisionPolygon2D(Context* context)
  6103. static CollisionPolygon2D* CollisionPolygon2D__CollisionPolygon2D_Contextstar()
  6104. {
  6105. Context* context = GetScriptContext();
  6106. return new CollisionPolygon2D(context);
  6107. }
  6108. // class CollisionPolygon2D | File: ../Physics2D/CollisionPolygon2D.h
  6109. static void Register_CollisionPolygon2D(asIScriptEngine* engine)
  6110. {
  6111. // explicit CollisionPolygon2D::CollisionPolygon2D(Context* context)
  6112. engine->RegisterObjectBehaviour("CollisionPolygon2D", asBEHAVE_FACTORY, "CollisionPolygon2D@+ f()", AS_FUNCTION(CollisionPolygon2D__CollisionPolygon2D_Contextstar) , AS_CALL_CDECL);
  6113. RegisterSubclass<CollisionShape2D, CollisionPolygon2D>(engine, "CollisionShape2D", "CollisionPolygon2D");
  6114. RegisterSubclass<Component, CollisionPolygon2D>(engine, "Component", "CollisionPolygon2D");
  6115. RegisterSubclass<Animatable, CollisionPolygon2D>(engine, "Animatable", "CollisionPolygon2D");
  6116. RegisterSubclass<Serializable, CollisionPolygon2D>(engine, "Serializable", "CollisionPolygon2D");
  6117. RegisterSubclass<Object, CollisionPolygon2D>(engine, "Object", "CollisionPolygon2D");
  6118. RegisterSubclass<RefCounted, CollisionPolygon2D>(engine, "RefCounted", "CollisionPolygon2D");
  6119. RegisterMembers_CollisionPolygon2D<CollisionPolygon2D>(engine, "CollisionPolygon2D");
  6120. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionPolygon2D
  6121. REGISTER_CLASS_MANUAL_PART_CollisionPolygon2D();
  6122. #endif
  6123. }
  6124. // explicit ConstraintDistance2D::ConstraintDistance2D(Context* context)
  6125. static ConstraintDistance2D* ConstraintDistance2D__ConstraintDistance2D_Contextstar()
  6126. {
  6127. Context* context = GetScriptContext();
  6128. return new ConstraintDistance2D(context);
  6129. }
  6130. // class ConstraintDistance2D | File: ../Physics2D/ConstraintDistance2D.h
  6131. static void Register_ConstraintDistance2D(asIScriptEngine* engine)
  6132. {
  6133. // explicit ConstraintDistance2D::ConstraintDistance2D(Context* context)
  6134. engine->RegisterObjectBehaviour("ConstraintDistance2D", asBEHAVE_FACTORY, "ConstraintDistance2D@+ f()", AS_FUNCTION(ConstraintDistance2D__ConstraintDistance2D_Contextstar) , AS_CALL_CDECL);
  6135. RegisterSubclass<Constraint2D, ConstraintDistance2D>(engine, "Constraint2D", "ConstraintDistance2D");
  6136. RegisterSubclass<Component, ConstraintDistance2D>(engine, "Component", "ConstraintDistance2D");
  6137. RegisterSubclass<Animatable, ConstraintDistance2D>(engine, "Animatable", "ConstraintDistance2D");
  6138. RegisterSubclass<Serializable, ConstraintDistance2D>(engine, "Serializable", "ConstraintDistance2D");
  6139. RegisterSubclass<Object, ConstraintDistance2D>(engine, "Object", "ConstraintDistance2D");
  6140. RegisterSubclass<RefCounted, ConstraintDistance2D>(engine, "RefCounted", "ConstraintDistance2D");
  6141. RegisterMembers_ConstraintDistance2D<ConstraintDistance2D>(engine, "ConstraintDistance2D");
  6142. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintDistance2D
  6143. REGISTER_CLASS_MANUAL_PART_ConstraintDistance2D();
  6144. #endif
  6145. }
  6146. // explicit ConstraintFriction2D::ConstraintFriction2D(Context* context)
  6147. static ConstraintFriction2D* ConstraintFriction2D__ConstraintFriction2D_Contextstar()
  6148. {
  6149. Context* context = GetScriptContext();
  6150. return new ConstraintFriction2D(context);
  6151. }
  6152. // class ConstraintFriction2D | File: ../Physics2D/ConstraintFriction2D.h
  6153. static void Register_ConstraintFriction2D(asIScriptEngine* engine)
  6154. {
  6155. // explicit ConstraintFriction2D::ConstraintFriction2D(Context* context)
  6156. engine->RegisterObjectBehaviour("ConstraintFriction2D", asBEHAVE_FACTORY, "ConstraintFriction2D@+ f()", AS_FUNCTION(ConstraintFriction2D__ConstraintFriction2D_Contextstar) , AS_CALL_CDECL);
  6157. RegisterSubclass<Constraint2D, ConstraintFriction2D>(engine, "Constraint2D", "ConstraintFriction2D");
  6158. RegisterSubclass<Component, ConstraintFriction2D>(engine, "Component", "ConstraintFriction2D");
  6159. RegisterSubclass<Animatable, ConstraintFriction2D>(engine, "Animatable", "ConstraintFriction2D");
  6160. RegisterSubclass<Serializable, ConstraintFriction2D>(engine, "Serializable", "ConstraintFriction2D");
  6161. RegisterSubclass<Object, ConstraintFriction2D>(engine, "Object", "ConstraintFriction2D");
  6162. RegisterSubclass<RefCounted, ConstraintFriction2D>(engine, "RefCounted", "ConstraintFriction2D");
  6163. RegisterMembers_ConstraintFriction2D<ConstraintFriction2D>(engine, "ConstraintFriction2D");
  6164. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintFriction2D
  6165. REGISTER_CLASS_MANUAL_PART_ConstraintFriction2D();
  6166. #endif
  6167. }
  6168. // explicit ConstraintGear2D::ConstraintGear2D(Context* context)
  6169. static ConstraintGear2D* ConstraintGear2D__ConstraintGear2D_Contextstar()
  6170. {
  6171. Context* context = GetScriptContext();
  6172. return new ConstraintGear2D(context);
  6173. }
  6174. // class ConstraintGear2D | File: ../Physics2D/ConstraintGear2D.h
  6175. static void Register_ConstraintGear2D(asIScriptEngine* engine)
  6176. {
  6177. // explicit ConstraintGear2D::ConstraintGear2D(Context* context)
  6178. engine->RegisterObjectBehaviour("ConstraintGear2D", asBEHAVE_FACTORY, "ConstraintGear2D@+ f()", AS_FUNCTION(ConstraintGear2D__ConstraintGear2D_Contextstar) , AS_CALL_CDECL);
  6179. RegisterSubclass<Constraint2D, ConstraintGear2D>(engine, "Constraint2D", "ConstraintGear2D");
  6180. RegisterSubclass<Component, ConstraintGear2D>(engine, "Component", "ConstraintGear2D");
  6181. RegisterSubclass<Animatable, ConstraintGear2D>(engine, "Animatable", "ConstraintGear2D");
  6182. RegisterSubclass<Serializable, ConstraintGear2D>(engine, "Serializable", "ConstraintGear2D");
  6183. RegisterSubclass<Object, ConstraintGear2D>(engine, "Object", "ConstraintGear2D");
  6184. RegisterSubclass<RefCounted, ConstraintGear2D>(engine, "RefCounted", "ConstraintGear2D");
  6185. RegisterMembers_ConstraintGear2D<ConstraintGear2D>(engine, "ConstraintGear2D");
  6186. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintGear2D
  6187. REGISTER_CLASS_MANUAL_PART_ConstraintGear2D();
  6188. #endif
  6189. }
  6190. // explicit ConstraintMotor2D::ConstraintMotor2D(Context* context)
  6191. static ConstraintMotor2D* ConstraintMotor2D__ConstraintMotor2D_Contextstar()
  6192. {
  6193. Context* context = GetScriptContext();
  6194. return new ConstraintMotor2D(context);
  6195. }
  6196. // class ConstraintMotor2D | File: ../Physics2D/ConstraintMotor2D.h
  6197. static void Register_ConstraintMotor2D(asIScriptEngine* engine)
  6198. {
  6199. // explicit ConstraintMotor2D::ConstraintMotor2D(Context* context)
  6200. engine->RegisterObjectBehaviour("ConstraintMotor2D", asBEHAVE_FACTORY, "ConstraintMotor2D@+ f()", AS_FUNCTION(ConstraintMotor2D__ConstraintMotor2D_Contextstar) , AS_CALL_CDECL);
  6201. RegisterSubclass<Constraint2D, ConstraintMotor2D>(engine, "Constraint2D", "ConstraintMotor2D");
  6202. RegisterSubclass<Component, ConstraintMotor2D>(engine, "Component", "ConstraintMotor2D");
  6203. RegisterSubclass<Animatable, ConstraintMotor2D>(engine, "Animatable", "ConstraintMotor2D");
  6204. RegisterSubclass<Serializable, ConstraintMotor2D>(engine, "Serializable", "ConstraintMotor2D");
  6205. RegisterSubclass<Object, ConstraintMotor2D>(engine, "Object", "ConstraintMotor2D");
  6206. RegisterSubclass<RefCounted, ConstraintMotor2D>(engine, "RefCounted", "ConstraintMotor2D");
  6207. RegisterMembers_ConstraintMotor2D<ConstraintMotor2D>(engine, "ConstraintMotor2D");
  6208. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintMotor2D
  6209. REGISTER_CLASS_MANUAL_PART_ConstraintMotor2D();
  6210. #endif
  6211. }
  6212. // explicit ConstraintMouse2D::ConstraintMouse2D(Context* context)
  6213. static ConstraintMouse2D* ConstraintMouse2D__ConstraintMouse2D_Contextstar()
  6214. {
  6215. Context* context = GetScriptContext();
  6216. return new ConstraintMouse2D(context);
  6217. }
  6218. // class ConstraintMouse2D | File: ../Physics2D/ConstraintMouse2D.h
  6219. static void Register_ConstraintMouse2D(asIScriptEngine* engine)
  6220. {
  6221. // explicit ConstraintMouse2D::ConstraintMouse2D(Context* context)
  6222. engine->RegisterObjectBehaviour("ConstraintMouse2D", asBEHAVE_FACTORY, "ConstraintMouse2D@+ f()", AS_FUNCTION(ConstraintMouse2D__ConstraintMouse2D_Contextstar) , AS_CALL_CDECL);
  6223. RegisterSubclass<Constraint2D, ConstraintMouse2D>(engine, "Constraint2D", "ConstraintMouse2D");
  6224. RegisterSubclass<Component, ConstraintMouse2D>(engine, "Component", "ConstraintMouse2D");
  6225. RegisterSubclass<Animatable, ConstraintMouse2D>(engine, "Animatable", "ConstraintMouse2D");
  6226. RegisterSubclass<Serializable, ConstraintMouse2D>(engine, "Serializable", "ConstraintMouse2D");
  6227. RegisterSubclass<Object, ConstraintMouse2D>(engine, "Object", "ConstraintMouse2D");
  6228. RegisterSubclass<RefCounted, ConstraintMouse2D>(engine, "RefCounted", "ConstraintMouse2D");
  6229. RegisterMembers_ConstraintMouse2D<ConstraintMouse2D>(engine, "ConstraintMouse2D");
  6230. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintMouse2D
  6231. REGISTER_CLASS_MANUAL_PART_ConstraintMouse2D();
  6232. #endif
  6233. }
  6234. // explicit ConstraintPrismatic2D::ConstraintPrismatic2D(Context* context)
  6235. static ConstraintPrismatic2D* ConstraintPrismatic2D__ConstraintPrismatic2D_Contextstar()
  6236. {
  6237. Context* context = GetScriptContext();
  6238. return new ConstraintPrismatic2D(context);
  6239. }
  6240. // class ConstraintPrismatic2D | File: ../Physics2D/ConstraintPrismatic2D.h
  6241. static void Register_ConstraintPrismatic2D(asIScriptEngine* engine)
  6242. {
  6243. // explicit ConstraintPrismatic2D::ConstraintPrismatic2D(Context* context)
  6244. engine->RegisterObjectBehaviour("ConstraintPrismatic2D", asBEHAVE_FACTORY, "ConstraintPrismatic2D@+ f()", AS_FUNCTION(ConstraintPrismatic2D__ConstraintPrismatic2D_Contextstar) , AS_CALL_CDECL);
  6245. RegisterSubclass<Constraint2D, ConstraintPrismatic2D>(engine, "Constraint2D", "ConstraintPrismatic2D");
  6246. RegisterSubclass<Component, ConstraintPrismatic2D>(engine, "Component", "ConstraintPrismatic2D");
  6247. RegisterSubclass<Animatable, ConstraintPrismatic2D>(engine, "Animatable", "ConstraintPrismatic2D");
  6248. RegisterSubclass<Serializable, ConstraintPrismatic2D>(engine, "Serializable", "ConstraintPrismatic2D");
  6249. RegisterSubclass<Object, ConstraintPrismatic2D>(engine, "Object", "ConstraintPrismatic2D");
  6250. RegisterSubclass<RefCounted, ConstraintPrismatic2D>(engine, "RefCounted", "ConstraintPrismatic2D");
  6251. RegisterMembers_ConstraintPrismatic2D<ConstraintPrismatic2D>(engine, "ConstraintPrismatic2D");
  6252. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintPrismatic2D
  6253. REGISTER_CLASS_MANUAL_PART_ConstraintPrismatic2D();
  6254. #endif
  6255. }
  6256. // explicit ConstraintPulley2D::ConstraintPulley2D(Context* context)
  6257. static ConstraintPulley2D* ConstraintPulley2D__ConstraintPulley2D_Contextstar()
  6258. {
  6259. Context* context = GetScriptContext();
  6260. return new ConstraintPulley2D(context);
  6261. }
  6262. // class ConstraintPulley2D | File: ../Physics2D/ConstraintPulley2D.h
  6263. static void Register_ConstraintPulley2D(asIScriptEngine* engine)
  6264. {
  6265. // explicit ConstraintPulley2D::ConstraintPulley2D(Context* context)
  6266. engine->RegisterObjectBehaviour("ConstraintPulley2D", asBEHAVE_FACTORY, "ConstraintPulley2D@+ f()", AS_FUNCTION(ConstraintPulley2D__ConstraintPulley2D_Contextstar) , AS_CALL_CDECL);
  6267. RegisterSubclass<Constraint2D, ConstraintPulley2D>(engine, "Constraint2D", "ConstraintPulley2D");
  6268. RegisterSubclass<Component, ConstraintPulley2D>(engine, "Component", "ConstraintPulley2D");
  6269. RegisterSubclass<Animatable, ConstraintPulley2D>(engine, "Animatable", "ConstraintPulley2D");
  6270. RegisterSubclass<Serializable, ConstraintPulley2D>(engine, "Serializable", "ConstraintPulley2D");
  6271. RegisterSubclass<Object, ConstraintPulley2D>(engine, "Object", "ConstraintPulley2D");
  6272. RegisterSubclass<RefCounted, ConstraintPulley2D>(engine, "RefCounted", "ConstraintPulley2D");
  6273. RegisterMembers_ConstraintPulley2D<ConstraintPulley2D>(engine, "ConstraintPulley2D");
  6274. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintPulley2D
  6275. REGISTER_CLASS_MANUAL_PART_ConstraintPulley2D();
  6276. #endif
  6277. }
  6278. // explicit ConstraintRevolute2D::ConstraintRevolute2D(Context* context)
  6279. static ConstraintRevolute2D* ConstraintRevolute2D__ConstraintRevolute2D_Contextstar()
  6280. {
  6281. Context* context = GetScriptContext();
  6282. return new ConstraintRevolute2D(context);
  6283. }
  6284. // class ConstraintRevolute2D | File: ../Physics2D/ConstraintRevolute2D.h
  6285. static void Register_ConstraintRevolute2D(asIScriptEngine* engine)
  6286. {
  6287. // explicit ConstraintRevolute2D::ConstraintRevolute2D(Context* context)
  6288. engine->RegisterObjectBehaviour("ConstraintRevolute2D", asBEHAVE_FACTORY, "ConstraintRevolute2D@+ f()", AS_FUNCTION(ConstraintRevolute2D__ConstraintRevolute2D_Contextstar) , AS_CALL_CDECL);
  6289. RegisterSubclass<Constraint2D, ConstraintRevolute2D>(engine, "Constraint2D", "ConstraintRevolute2D");
  6290. RegisterSubclass<Component, ConstraintRevolute2D>(engine, "Component", "ConstraintRevolute2D");
  6291. RegisterSubclass<Animatable, ConstraintRevolute2D>(engine, "Animatable", "ConstraintRevolute2D");
  6292. RegisterSubclass<Serializable, ConstraintRevolute2D>(engine, "Serializable", "ConstraintRevolute2D");
  6293. RegisterSubclass<Object, ConstraintRevolute2D>(engine, "Object", "ConstraintRevolute2D");
  6294. RegisterSubclass<RefCounted, ConstraintRevolute2D>(engine, "RefCounted", "ConstraintRevolute2D");
  6295. RegisterMembers_ConstraintRevolute2D<ConstraintRevolute2D>(engine, "ConstraintRevolute2D");
  6296. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintRevolute2D
  6297. REGISTER_CLASS_MANUAL_PART_ConstraintRevolute2D();
  6298. #endif
  6299. }
  6300. // explicit ConstraintWeld2D::ConstraintWeld2D(Context* context)
  6301. static ConstraintWeld2D* ConstraintWeld2D__ConstraintWeld2D_Contextstar()
  6302. {
  6303. Context* context = GetScriptContext();
  6304. return new ConstraintWeld2D(context);
  6305. }
  6306. // class ConstraintWeld2D | File: ../Physics2D/ConstraintWeld2D.h
  6307. static void Register_ConstraintWeld2D(asIScriptEngine* engine)
  6308. {
  6309. // explicit ConstraintWeld2D::ConstraintWeld2D(Context* context)
  6310. engine->RegisterObjectBehaviour("ConstraintWeld2D", asBEHAVE_FACTORY, "ConstraintWeld2D@+ f()", AS_FUNCTION(ConstraintWeld2D__ConstraintWeld2D_Contextstar) , AS_CALL_CDECL);
  6311. RegisterSubclass<Constraint2D, ConstraintWeld2D>(engine, "Constraint2D", "ConstraintWeld2D");
  6312. RegisterSubclass<Component, ConstraintWeld2D>(engine, "Component", "ConstraintWeld2D");
  6313. RegisterSubclass<Animatable, ConstraintWeld2D>(engine, "Animatable", "ConstraintWeld2D");
  6314. RegisterSubclass<Serializable, ConstraintWeld2D>(engine, "Serializable", "ConstraintWeld2D");
  6315. RegisterSubclass<Object, ConstraintWeld2D>(engine, "Object", "ConstraintWeld2D");
  6316. RegisterSubclass<RefCounted, ConstraintWeld2D>(engine, "RefCounted", "ConstraintWeld2D");
  6317. RegisterMembers_ConstraintWeld2D<ConstraintWeld2D>(engine, "ConstraintWeld2D");
  6318. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintWeld2D
  6319. REGISTER_CLASS_MANUAL_PART_ConstraintWeld2D();
  6320. #endif
  6321. }
  6322. // explicit ConstraintWheel2D::ConstraintWheel2D(Context* context)
  6323. static ConstraintWheel2D* ConstraintWheel2D__ConstraintWheel2D_Contextstar()
  6324. {
  6325. Context* context = GetScriptContext();
  6326. return new ConstraintWheel2D(context);
  6327. }
  6328. // class ConstraintWheel2D | File: ../Physics2D/ConstraintWheel2D.h
  6329. static void Register_ConstraintWheel2D(asIScriptEngine* engine)
  6330. {
  6331. // explicit ConstraintWheel2D::ConstraintWheel2D(Context* context)
  6332. engine->RegisterObjectBehaviour("ConstraintWheel2D", asBEHAVE_FACTORY, "ConstraintWheel2D@+ f()", AS_FUNCTION(ConstraintWheel2D__ConstraintWheel2D_Contextstar) , AS_CALL_CDECL);
  6333. RegisterSubclass<Constraint2D, ConstraintWheel2D>(engine, "Constraint2D", "ConstraintWheel2D");
  6334. RegisterSubclass<Component, ConstraintWheel2D>(engine, "Component", "ConstraintWheel2D");
  6335. RegisterSubclass<Animatable, ConstraintWheel2D>(engine, "Animatable", "ConstraintWheel2D");
  6336. RegisterSubclass<Serializable, ConstraintWheel2D>(engine, "Serializable", "ConstraintWheel2D");
  6337. RegisterSubclass<Object, ConstraintWheel2D>(engine, "Object", "ConstraintWheel2D");
  6338. RegisterSubclass<RefCounted, ConstraintWheel2D>(engine, "RefCounted", "ConstraintWheel2D");
  6339. RegisterMembers_ConstraintWheel2D<ConstraintWheel2D>(engine, "ConstraintWheel2D");
  6340. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintWheel2D
  6341. REGISTER_CLASS_MANUAL_PART_ConstraintWheel2D();
  6342. #endif
  6343. }
  6344. #endif // def URHO3D_PHYSICS2D
  6345. #ifdef URHO3D_URHO2D
  6346. // class Drawable2D | File: ../Urho2D/Drawable2D.h
  6347. static void Register_Drawable2D(asIScriptEngine* engine)
  6348. {
  6349. RegisterSubclass<Drawable, Drawable2D>(engine, "Drawable", "Drawable2D");
  6350. RegisterSubclass<Component, Drawable2D>(engine, "Component", "Drawable2D");
  6351. RegisterSubclass<Animatable, Drawable2D>(engine, "Animatable", "Drawable2D");
  6352. RegisterSubclass<Serializable, Drawable2D>(engine, "Serializable", "Drawable2D");
  6353. RegisterSubclass<Object, Drawable2D>(engine, "Object", "Drawable2D");
  6354. RegisterSubclass<RefCounted, Drawable2D>(engine, "RefCounted", "Drawable2D");
  6355. RegisterMembers_Drawable2D<Drawable2D>(engine, "Drawable2D");
  6356. #ifdef REGISTER_CLASS_MANUAL_PART_Drawable2D
  6357. REGISTER_CLASS_MANUAL_PART_Drawable2D();
  6358. #endif
  6359. // virtual void Drawable::Update(const FrameInfo& frame)
  6360. engine->RegisterObjectMethod("Drawable2D", "void Update(const FrameInfo&in)", AS_METHODPR(Drawable2D, Update, (const FrameInfo&), void), AS_CALL_THISCALL);
  6361. }
  6362. // explicit Renderer2D::Renderer2D(Context* context)
  6363. static Renderer2D* Renderer2D__Renderer2D_Contextstar()
  6364. {
  6365. Context* context = GetScriptContext();
  6366. return new Renderer2D(context);
  6367. }
  6368. // class Renderer2D | File: ../Urho2D/Renderer2D.h
  6369. static void Register_Renderer2D(asIScriptEngine* engine)
  6370. {
  6371. // explicit Renderer2D::Renderer2D(Context* context)
  6372. engine->RegisterObjectBehaviour("Renderer2D", asBEHAVE_FACTORY, "Renderer2D@+ f()", AS_FUNCTION(Renderer2D__Renderer2D_Contextstar) , AS_CALL_CDECL);
  6373. RegisterSubclass<Drawable, Renderer2D>(engine, "Drawable", "Renderer2D");
  6374. RegisterSubclass<Component, Renderer2D>(engine, "Component", "Renderer2D");
  6375. RegisterSubclass<Animatable, Renderer2D>(engine, "Animatable", "Renderer2D");
  6376. RegisterSubclass<Serializable, Renderer2D>(engine, "Serializable", "Renderer2D");
  6377. RegisterSubclass<Object, Renderer2D>(engine, "Object", "Renderer2D");
  6378. RegisterSubclass<RefCounted, Renderer2D>(engine, "RefCounted", "Renderer2D");
  6379. RegisterMembers_Renderer2D<Renderer2D>(engine, "Renderer2D");
  6380. #ifdef REGISTER_CLASS_MANUAL_PART_Renderer2D
  6381. REGISTER_CLASS_MANUAL_PART_Renderer2D();
  6382. #endif
  6383. }
  6384. #endif // def URHO3D_URHO2D
  6385. // explicit AnimatedModel::AnimatedModel(Context* context)
  6386. static AnimatedModel* AnimatedModel__AnimatedModel_Contextstar()
  6387. {
  6388. Context* context = GetScriptContext();
  6389. return new AnimatedModel(context);
  6390. }
  6391. // class AnimatedModel | File: ../Graphics/AnimatedModel.h
  6392. static void Register_AnimatedModel(asIScriptEngine* engine)
  6393. {
  6394. // explicit AnimatedModel::AnimatedModel(Context* context)
  6395. engine->RegisterObjectBehaviour("AnimatedModel", asBEHAVE_FACTORY, "AnimatedModel@+ f()", AS_FUNCTION(AnimatedModel__AnimatedModel_Contextstar) , AS_CALL_CDECL);
  6396. RegisterSubclass<StaticModel, AnimatedModel>(engine, "StaticModel", "AnimatedModel");
  6397. RegisterSubclass<Drawable, AnimatedModel>(engine, "Drawable", "AnimatedModel");
  6398. RegisterSubclass<Component, AnimatedModel>(engine, "Component", "AnimatedModel");
  6399. RegisterSubclass<Animatable, AnimatedModel>(engine, "Animatable", "AnimatedModel");
  6400. RegisterSubclass<Serializable, AnimatedModel>(engine, "Serializable", "AnimatedModel");
  6401. RegisterSubclass<Object, AnimatedModel>(engine, "Object", "AnimatedModel");
  6402. RegisterSubclass<RefCounted, AnimatedModel>(engine, "RefCounted", "AnimatedModel");
  6403. RegisterMembers_AnimatedModel<AnimatedModel>(engine, "AnimatedModel");
  6404. #ifdef REGISTER_CLASS_MANUAL_PART_AnimatedModel
  6405. REGISTER_CLASS_MANUAL_PART_AnimatedModel();
  6406. #endif
  6407. }
  6408. // explicit Menu::Menu(Context* context)
  6409. static Menu* Menu__Menu_Contextstar()
  6410. {
  6411. Context* context = GetScriptContext();
  6412. return new Menu(context);
  6413. }
  6414. // class Menu | File: ../UI/Menu.h
  6415. static void Register_Menu(asIScriptEngine* engine)
  6416. {
  6417. // explicit Menu::Menu(Context* context)
  6418. engine->RegisterObjectBehaviour("Menu", asBEHAVE_FACTORY, "Menu@+ f()", AS_FUNCTION(Menu__Menu_Contextstar) , AS_CALL_CDECL);
  6419. RegisterSubclass<Button, Menu>(engine, "Button", "Menu");
  6420. RegisterSubclass<BorderImage, Menu>(engine, "BorderImage", "Menu");
  6421. RegisterSubclass<UIElement, Menu>(engine, "UIElement", "Menu");
  6422. RegisterSubclass<Animatable, Menu>(engine, "Animatable", "Menu");
  6423. RegisterSubclass<Serializable, Menu>(engine, "Serializable", "Menu");
  6424. RegisterSubclass<Object, Menu>(engine, "Object", "Menu");
  6425. RegisterSubclass<RefCounted, Menu>(engine, "RefCounted", "Menu");
  6426. RegisterMembers_Menu<Menu>(engine, "Menu");
  6427. #ifdef REGISTER_CLASS_MANUAL_PART_Menu
  6428. REGISTER_CLASS_MANUAL_PART_Menu();
  6429. #endif
  6430. }
  6431. // explicit ParticleEmitter::ParticleEmitter(Context* context)
  6432. static ParticleEmitter* ParticleEmitter__ParticleEmitter_Contextstar()
  6433. {
  6434. Context* context = GetScriptContext();
  6435. return new ParticleEmitter(context);
  6436. }
  6437. // class ParticleEmitter | File: ../Graphics/ParticleEmitter.h
  6438. static void Register_ParticleEmitter(asIScriptEngine* engine)
  6439. {
  6440. // explicit ParticleEmitter::ParticleEmitter(Context* context)
  6441. engine->RegisterObjectBehaviour("ParticleEmitter", asBEHAVE_FACTORY, "ParticleEmitter@+ f()", AS_FUNCTION(ParticleEmitter__ParticleEmitter_Contextstar) , AS_CALL_CDECL);
  6442. RegisterSubclass<BillboardSet, ParticleEmitter>(engine, "BillboardSet", "ParticleEmitter");
  6443. RegisterSubclass<Drawable, ParticleEmitter>(engine, "Drawable", "ParticleEmitter");
  6444. RegisterSubclass<Component, ParticleEmitter>(engine, "Component", "ParticleEmitter");
  6445. RegisterSubclass<Animatable, ParticleEmitter>(engine, "Animatable", "ParticleEmitter");
  6446. RegisterSubclass<Serializable, ParticleEmitter>(engine, "Serializable", "ParticleEmitter");
  6447. RegisterSubclass<Object, ParticleEmitter>(engine, "Object", "ParticleEmitter");
  6448. RegisterSubclass<RefCounted, ParticleEmitter>(engine, "RefCounted", "ParticleEmitter");
  6449. RegisterMembers_ParticleEmitter<ParticleEmitter>(engine, "ParticleEmitter");
  6450. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEmitter
  6451. REGISTER_CLASS_MANUAL_PART_ParticleEmitter();
  6452. #endif
  6453. }
  6454. // explicit Skybox::Skybox(Context* context)
  6455. static Skybox* Skybox__Skybox_Contextstar()
  6456. {
  6457. Context* context = GetScriptContext();
  6458. return new Skybox(context);
  6459. }
  6460. // class Skybox | File: ../Graphics/Skybox.h
  6461. static void Register_Skybox(asIScriptEngine* engine)
  6462. {
  6463. // explicit Skybox::Skybox(Context* context)
  6464. engine->RegisterObjectBehaviour("Skybox", asBEHAVE_FACTORY, "Skybox@+ f()", AS_FUNCTION(Skybox__Skybox_Contextstar) , AS_CALL_CDECL);
  6465. RegisterSubclass<StaticModel, Skybox>(engine, "StaticModel", "Skybox");
  6466. RegisterSubclass<Drawable, Skybox>(engine, "Drawable", "Skybox");
  6467. RegisterSubclass<Component, Skybox>(engine, "Component", "Skybox");
  6468. RegisterSubclass<Animatable, Skybox>(engine, "Animatable", "Skybox");
  6469. RegisterSubclass<Serializable, Skybox>(engine, "Serializable", "Skybox");
  6470. RegisterSubclass<Object, Skybox>(engine, "Object", "Skybox");
  6471. RegisterSubclass<RefCounted, Skybox>(engine, "RefCounted", "Skybox");
  6472. RegisterMembers_Skybox<Skybox>(engine, "Skybox");
  6473. #ifdef REGISTER_CLASS_MANUAL_PART_Skybox
  6474. REGISTER_CLASS_MANUAL_PART_Skybox();
  6475. #endif
  6476. }
  6477. // explicit StaticModelGroup::StaticModelGroup(Context* context)
  6478. static StaticModelGroup* StaticModelGroup__StaticModelGroup_Contextstar()
  6479. {
  6480. Context* context = GetScriptContext();
  6481. return new StaticModelGroup(context);
  6482. }
  6483. // class StaticModelGroup | File: ../Graphics/StaticModelGroup.h
  6484. static void Register_StaticModelGroup(asIScriptEngine* engine)
  6485. {
  6486. // explicit StaticModelGroup::StaticModelGroup(Context* context)
  6487. engine->RegisterObjectBehaviour("StaticModelGroup", asBEHAVE_FACTORY, "StaticModelGroup@+ f()", AS_FUNCTION(StaticModelGroup__StaticModelGroup_Contextstar) , AS_CALL_CDECL);
  6488. RegisterSubclass<StaticModel, StaticModelGroup>(engine, "StaticModel", "StaticModelGroup");
  6489. RegisterSubclass<Drawable, StaticModelGroup>(engine, "Drawable", "StaticModelGroup");
  6490. RegisterSubclass<Component, StaticModelGroup>(engine, "Component", "StaticModelGroup");
  6491. RegisterSubclass<Animatable, StaticModelGroup>(engine, "Animatable", "StaticModelGroup");
  6492. RegisterSubclass<Serializable, StaticModelGroup>(engine, "Serializable", "StaticModelGroup");
  6493. RegisterSubclass<Object, StaticModelGroup>(engine, "Object", "StaticModelGroup");
  6494. RegisterSubclass<RefCounted, StaticModelGroup>(engine, "RefCounted", "StaticModelGroup");
  6495. RegisterMembers_StaticModelGroup<StaticModelGroup>(engine, "StaticModelGroup");
  6496. #ifdef REGISTER_CLASS_MANUAL_PART_StaticModelGroup
  6497. REGISTER_CLASS_MANUAL_PART_StaticModelGroup();
  6498. #endif
  6499. }
  6500. // explicit View3D::View3D(Context* context)
  6501. static View3D* View3D__View3D_Contextstar()
  6502. {
  6503. Context* context = GetScriptContext();
  6504. return new View3D(context);
  6505. }
  6506. // class View3D | File: ../UI/View3D.h
  6507. static void Register_View3D(asIScriptEngine* engine)
  6508. {
  6509. // explicit View3D::View3D(Context* context)
  6510. engine->RegisterObjectBehaviour("View3D", asBEHAVE_FACTORY, "View3D@+ f()", AS_FUNCTION(View3D__View3D_Contextstar) , AS_CALL_CDECL);
  6511. RegisterSubclass<Window, View3D>(engine, "Window", "View3D");
  6512. RegisterSubclass<BorderImage, View3D>(engine, "BorderImage", "View3D");
  6513. RegisterSubclass<UIElement, View3D>(engine, "UIElement", "View3D");
  6514. RegisterSubclass<Animatable, View3D>(engine, "Animatable", "View3D");
  6515. RegisterSubclass<Serializable, View3D>(engine, "Serializable", "View3D");
  6516. RegisterSubclass<Object, View3D>(engine, "Object", "View3D");
  6517. RegisterSubclass<RefCounted, View3D>(engine, "RefCounted", "View3D");
  6518. RegisterMembers_View3D<View3D>(engine, "View3D");
  6519. #ifdef REGISTER_CLASS_MANUAL_PART_View3D
  6520. REGISTER_CLASS_MANUAL_PART_View3D();
  6521. #endif
  6522. }
  6523. #ifdef URHO3D_URHO2D
  6524. // explicit ParticleEmitter2D::ParticleEmitter2D(Context* context)
  6525. static ParticleEmitter2D* ParticleEmitter2D__ParticleEmitter2D_Contextstar()
  6526. {
  6527. Context* context = GetScriptContext();
  6528. return new ParticleEmitter2D(context);
  6529. }
  6530. // class ParticleEmitter2D | File: ../Urho2D/ParticleEmitter2D.h
  6531. static void Register_ParticleEmitter2D(asIScriptEngine* engine)
  6532. {
  6533. // explicit ParticleEmitter2D::ParticleEmitter2D(Context* context)
  6534. engine->RegisterObjectBehaviour("ParticleEmitter2D", asBEHAVE_FACTORY, "ParticleEmitter2D@+ f()", AS_FUNCTION(ParticleEmitter2D__ParticleEmitter2D_Contextstar) , AS_CALL_CDECL);
  6535. RegisterSubclass<Drawable2D, ParticleEmitter2D>(engine, "Drawable2D", "ParticleEmitter2D");
  6536. RegisterSubclass<Drawable, ParticleEmitter2D>(engine, "Drawable", "ParticleEmitter2D");
  6537. RegisterSubclass<Component, ParticleEmitter2D>(engine, "Component", "ParticleEmitter2D");
  6538. RegisterSubclass<Animatable, ParticleEmitter2D>(engine, "Animatable", "ParticleEmitter2D");
  6539. RegisterSubclass<Serializable, ParticleEmitter2D>(engine, "Serializable", "ParticleEmitter2D");
  6540. RegisterSubclass<Object, ParticleEmitter2D>(engine, "Object", "ParticleEmitter2D");
  6541. RegisterSubclass<RefCounted, ParticleEmitter2D>(engine, "RefCounted", "ParticleEmitter2D");
  6542. RegisterMembers_ParticleEmitter2D<ParticleEmitter2D>(engine, "ParticleEmitter2D");
  6543. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEmitter2D
  6544. REGISTER_CLASS_MANUAL_PART_ParticleEmitter2D();
  6545. #endif
  6546. }
  6547. // explicit StaticSprite2D::StaticSprite2D(Context* context)
  6548. static StaticSprite2D* StaticSprite2D__StaticSprite2D_Contextstar()
  6549. {
  6550. Context* context = GetScriptContext();
  6551. return new StaticSprite2D(context);
  6552. }
  6553. // class StaticSprite2D | File: ../Urho2D/StaticSprite2D.h
  6554. static void Register_StaticSprite2D(asIScriptEngine* engine)
  6555. {
  6556. // explicit StaticSprite2D::StaticSprite2D(Context* context)
  6557. engine->RegisterObjectBehaviour("StaticSprite2D", asBEHAVE_FACTORY, "StaticSprite2D@+ f()", AS_FUNCTION(StaticSprite2D__StaticSprite2D_Contextstar) , AS_CALL_CDECL);
  6558. RegisterSubclass<Drawable2D, StaticSprite2D>(engine, "Drawable2D", "StaticSprite2D");
  6559. RegisterSubclass<Drawable, StaticSprite2D>(engine, "Drawable", "StaticSprite2D");
  6560. RegisterSubclass<Component, StaticSprite2D>(engine, "Component", "StaticSprite2D");
  6561. RegisterSubclass<Animatable, StaticSprite2D>(engine, "Animatable", "StaticSprite2D");
  6562. RegisterSubclass<Serializable, StaticSprite2D>(engine, "Serializable", "StaticSprite2D");
  6563. RegisterSubclass<Object, StaticSprite2D>(engine, "Object", "StaticSprite2D");
  6564. RegisterSubclass<RefCounted, StaticSprite2D>(engine, "RefCounted", "StaticSprite2D");
  6565. RegisterMembers_StaticSprite2D<StaticSprite2D>(engine, "StaticSprite2D");
  6566. #ifdef REGISTER_CLASS_MANUAL_PART_StaticSprite2D
  6567. REGISTER_CLASS_MANUAL_PART_StaticSprite2D();
  6568. #endif
  6569. }
  6570. #endif // def URHO3D_URHO2D
  6571. // explicit DropDownList::DropDownList(Context* context)
  6572. static DropDownList* DropDownList__DropDownList_Contextstar()
  6573. {
  6574. Context* context = GetScriptContext();
  6575. return new DropDownList(context);
  6576. }
  6577. // class DropDownList | File: ../UI/DropDownList.h
  6578. static void Register_DropDownList(asIScriptEngine* engine)
  6579. {
  6580. // explicit DropDownList::DropDownList(Context* context)
  6581. engine->RegisterObjectBehaviour("DropDownList", asBEHAVE_FACTORY, "DropDownList@+ f()", AS_FUNCTION(DropDownList__DropDownList_Contextstar) , AS_CALL_CDECL);
  6582. RegisterSubclass<Menu, DropDownList>(engine, "Menu", "DropDownList");
  6583. RegisterSubclass<Button, DropDownList>(engine, "Button", "DropDownList");
  6584. RegisterSubclass<BorderImage, DropDownList>(engine, "BorderImage", "DropDownList");
  6585. RegisterSubclass<UIElement, DropDownList>(engine, "UIElement", "DropDownList");
  6586. RegisterSubclass<Animatable, DropDownList>(engine, "Animatable", "DropDownList");
  6587. RegisterSubclass<Serializable, DropDownList>(engine, "Serializable", "DropDownList");
  6588. RegisterSubclass<Object, DropDownList>(engine, "Object", "DropDownList");
  6589. RegisterSubclass<RefCounted, DropDownList>(engine, "RefCounted", "DropDownList");
  6590. RegisterMembers_DropDownList<DropDownList>(engine, "DropDownList");
  6591. #ifdef REGISTER_CLASS_MANUAL_PART_DropDownList
  6592. REGISTER_CLASS_MANUAL_PART_DropDownList();
  6593. #endif
  6594. }
  6595. #ifdef URHO3D_URHO2D
  6596. // explicit AnimatedSprite2D::AnimatedSprite2D(Context* context)
  6597. static AnimatedSprite2D* AnimatedSprite2D__AnimatedSprite2D_Contextstar()
  6598. {
  6599. Context* context = GetScriptContext();
  6600. return new AnimatedSprite2D(context);
  6601. }
  6602. // class AnimatedSprite2D | File: ../Urho2D/AnimatedSprite2D.h
  6603. static void Register_AnimatedSprite2D(asIScriptEngine* engine)
  6604. {
  6605. // explicit AnimatedSprite2D::AnimatedSprite2D(Context* context)
  6606. engine->RegisterObjectBehaviour("AnimatedSprite2D", asBEHAVE_FACTORY, "AnimatedSprite2D@+ f()", AS_FUNCTION(AnimatedSprite2D__AnimatedSprite2D_Contextstar) , AS_CALL_CDECL);
  6607. RegisterSubclass<StaticSprite2D, AnimatedSprite2D>(engine, "StaticSprite2D", "AnimatedSprite2D");
  6608. RegisterSubclass<Drawable2D, AnimatedSprite2D>(engine, "Drawable2D", "AnimatedSprite2D");
  6609. RegisterSubclass<Drawable, AnimatedSprite2D>(engine, "Drawable", "AnimatedSprite2D");
  6610. RegisterSubclass<Component, AnimatedSprite2D>(engine, "Component", "AnimatedSprite2D");
  6611. RegisterSubclass<Animatable, AnimatedSprite2D>(engine, "Animatable", "AnimatedSprite2D");
  6612. RegisterSubclass<Serializable, AnimatedSprite2D>(engine, "Serializable", "AnimatedSprite2D");
  6613. RegisterSubclass<Object, AnimatedSprite2D>(engine, "Object", "AnimatedSprite2D");
  6614. RegisterSubclass<RefCounted, AnimatedSprite2D>(engine, "RefCounted", "AnimatedSprite2D");
  6615. RegisterMembers_AnimatedSprite2D<AnimatedSprite2D>(engine, "AnimatedSprite2D");
  6616. #ifdef REGISTER_CLASS_MANUAL_PART_AnimatedSprite2D
  6617. REGISTER_CLASS_MANUAL_PART_AnimatedSprite2D();
  6618. #endif
  6619. }
  6620. // explicit StretchableSprite2D::StretchableSprite2D(Context* context)
  6621. static StretchableSprite2D* StretchableSprite2D__StretchableSprite2D_Contextstar()
  6622. {
  6623. Context* context = GetScriptContext();
  6624. return new StretchableSprite2D(context);
  6625. }
  6626. // class StretchableSprite2D | File: ../Urho2D/StretchableSprite2D.h
  6627. static void Register_StretchableSprite2D(asIScriptEngine* engine)
  6628. {
  6629. // explicit StretchableSprite2D::StretchableSprite2D(Context* context)
  6630. engine->RegisterObjectBehaviour("StretchableSprite2D", asBEHAVE_FACTORY, "StretchableSprite2D@+ f()", AS_FUNCTION(StretchableSprite2D__StretchableSprite2D_Contextstar) , AS_CALL_CDECL);
  6631. RegisterSubclass<StaticSprite2D, StretchableSprite2D>(engine, "StaticSprite2D", "StretchableSprite2D");
  6632. RegisterSubclass<Drawable2D, StretchableSprite2D>(engine, "Drawable2D", "StretchableSprite2D");
  6633. RegisterSubclass<Drawable, StretchableSprite2D>(engine, "Drawable", "StretchableSprite2D");
  6634. RegisterSubclass<Component, StretchableSprite2D>(engine, "Component", "StretchableSprite2D");
  6635. RegisterSubclass<Animatable, StretchableSprite2D>(engine, "Animatable", "StretchableSprite2D");
  6636. RegisterSubclass<Serializable, StretchableSprite2D>(engine, "Serializable", "StretchableSprite2D");
  6637. RegisterSubclass<Object, StretchableSprite2D>(engine, "Object", "StretchableSprite2D");
  6638. RegisterSubclass<RefCounted, StretchableSprite2D>(engine, "RefCounted", "StretchableSprite2D");
  6639. RegisterMembers_StretchableSprite2D<StretchableSprite2D>(engine, "StretchableSprite2D");
  6640. #ifdef REGISTER_CLASS_MANUAL_PART_StretchableSprite2D
  6641. REGISTER_CLASS_MANUAL_PART_StretchableSprite2D();
  6642. #endif
  6643. }
  6644. #endif // def URHO3D_URHO2D
  6645. void ASRegisterGeneratedClasses(asIScriptEngine* engine)
  6646. {
  6647. Register_AnimationControl(engine);
  6648. Register_AnimationKeyFrame(engine);
  6649. Register_AnimationStateTrack(engine);
  6650. Register_AnimationTrack(engine);
  6651. Register_AnimationTriggerPoint(engine);
  6652. Register_AreaAllocator(engine);
  6653. Register_AsyncProgress(engine);
  6654. Register_AttributeInfo(engine);
  6655. Register_BackgroundLoadItem(engine);
  6656. Register_Batch(engine);
  6657. Register_BatchGroupKey(engine);
  6658. Register_BatchQueue(engine);
  6659. Register_BiasParameters(engine);
  6660. Register_BigInt(engine);
  6661. Register_Billboard(engine);
  6662. Register_Bone(engine);
  6663. Register_BoundingBox(engine);
  6664. Register_CascadeParameters(engine);
  6665. Register_CharLocation(engine);
  6666. Register_Color(engine);
  6667. Register_ColorFrame(engine);
  6668. Register_CompressedLevel(engine);
  6669. Register_Condition(engine);
  6670. Register_Controls(engine);
  6671. Register_CursorShapeInfo(engine);
  6672. Register_CustomGeometryVertex(engine);
  6673. Register_DebugLine(engine);
  6674. Register_DebugTriangle(engine);
  6675. Register_Decal(engine);
  6676. Register_DecalVertex(engine);
  6677. Register_DepthValue(engine);
  6678. Register_Deserializer(engine);
  6679. Register_DirtyBits(engine);
  6680. Register_FileSelectorEntry(engine);
  6681. Register_FocusParameters(engine);
  6682. Register_FontGlyph(engine);
  6683. Register_FrameInfo(engine);
  6684. Register_Frustum(engine);
  6685. Register_GPUObject(engine);
  6686. Register_GeometryDesc(engine);
  6687. Register_HashBase(engine);
  6688. Register_HashIteratorBase(engine);
  6689. Register_HashNodeBase(engine);
  6690. Register_HiresTimer(engine);
  6691. Register_IndexBufferDesc(engine);
  6692. Register_InstanceData(engine);
  6693. Register_IntRect(engine);
  6694. Register_IntVector2(engine);
  6695. Register_IntVector3(engine);
  6696. Register_JSONValue(engine);
  6697. Register_JoystickState(engine);
  6698. Register_LightBatchQueue(engine);
  6699. Register_LightQueryResult(engine);
  6700. Register_LinkedListNode(engine);
  6701. Register_ListBase(engine);
  6702. Register_ListIteratorBase(engine);
  6703. Register_ListNodeBase(engine);
  6704. Register_MaterialShaderParameter(engine);
  6705. Register_Matrix2(engine);
  6706. Register_Matrix3(engine);
  6707. Register_Matrix3x4(engine);
  6708. Register_Matrix4(engine);
  6709. Register_ModelMorph(engine);
  6710. Register_Mutex(engine);
  6711. Register_MutexLock(engine);
  6712. Register_NetworkState(engine);
  6713. Register_NodeImpl(engine);
  6714. Register_OcclusionBatch(engine);
  6715. Register_OcclusionBufferData(engine);
  6716. Register_OctreeQueryResult(engine);
  6717. Register_PackageEntry(engine);
  6718. Register_Particle(engine);
  6719. Register_PerThreadSceneResult(engine);
  6720. Register_Plane(engine);
  6721. Register_Polyhedron(engine);
  6722. Register_Quaternion(engine);
  6723. Register_Ray(engine);
  6724. Register_RayQueryResult(engine);
  6725. Register_Rect(engine);
  6726. Register_RefCount(engine);
  6727. Register_RefCounted(engine);
  6728. Register_RenderPathCommand(engine);
  6729. Register_RenderTargetInfo(engine);
  6730. Register_ReplicationState(engine);
  6731. Register_ResourceGroup(engine);
  6732. Register_ResourceRef(engine);
  6733. Register_ResourceRefList(engine);
  6734. Register_ScenePassInfo(engine);
  6735. Register_SceneResolver(engine);
  6736. Register_ScratchBuffer(engine);
  6737. Register_ScreenModeParams(engine);
  6738. Register_Serializer(engine);
  6739. Register_ShaderParameter(engine);
  6740. Register_ShadowBatchQueue(engine);
  6741. Register_Skeleton(engine);
  6742. Register_SourceBatch(engine);
  6743. Register_Sphere(engine);
  6744. Register_Spline(engine);
  6745. Register_StaticModelGeometryData(engine);
  6746. Register_StoredLogMessage(engine);
  6747. Register_String(engine);
  6748. Register_StringHash(engine);
  6749. Register_StringHashRegister(engine);
  6750. Register_TechniqueEntry(engine);
  6751. Register_TextureFrame(engine);
  6752. Register_Timer(engine);
  6753. Register_TouchState(engine);
  6754. Register_TrailPoint(engine);
  6755. Register_UIBatch(engine);
  6756. Register_VAnimEventFrame(engine);
  6757. Register_VAnimKeyFrame(engine);
  6758. Register_Variant(engine);
  6759. Register_Vector2(engine);
  6760. Register_Vector3(engine);
  6761. Register_Vector4(engine);
  6762. Register_VectorBase(engine);
  6763. Register_VertexBufferDesc(engine);
  6764. Register_VertexBufferMorph(engine);
  6765. Register_VertexElement(engine);
  6766. Register_WindowModeParams(engine);
  6767. Register_XMLElement(engine);
  6768. Register_XPathQuery(engine);
  6769. Register_XPathResultSet(engine);
  6770. #ifdef URHO3D_NAVIGATION
  6771. Register_CrowdObstacleAvoidanceParams(engine);
  6772. Register_NavAreaStub(engine);
  6773. Register_NavBuildData(engine);
  6774. Register_NavigationGeometryInfo(engine);
  6775. Register_NavigationPathPoint(engine);
  6776. #endif
  6777. #ifdef URHO3D_NETWORK
  6778. Register_PackageDownload(engine);
  6779. Register_PackageUpload(engine);
  6780. Register_RemoteEvent(engine);
  6781. #endif
  6782. #ifdef URHO3D_PHYSICS
  6783. Register_DelayedWorldTransform(engine);
  6784. Register_ManifoldPair(engine);
  6785. Register_PhysicsRaycastResult(engine);
  6786. Register_PhysicsWorldConfig(engine);
  6787. #endif
  6788. #ifdef URHO3D_PHYSICS2D
  6789. Register_DelayedWorldTransform2D(engine);
  6790. Register_PhysicsRaycastResult2D(engine);
  6791. #endif
  6792. #ifdef URHO3D_URHO2D
  6793. Register_Particle2D(engine);
  6794. Register_SourceBatch2D(engine);
  6795. Register_TileMapInfo2D(engine);
  6796. Register_Vertex2D(engine);
  6797. #endif
  6798. Register_AnimationState(engine);
  6799. Register_AttributeAccessor(engine);
  6800. Register_BatchGroup(engine);
  6801. Register_ComponentReplicationState(engine);
  6802. Register_Context(engine);
  6803. Register_EventReceiverGroup(engine);
  6804. Register_FontFace(engine);
  6805. Register_NodeReplicationState(engine);
  6806. Register_Object(engine);
  6807. Register_ObjectFactory(engine);
  6808. Register_Pass(engine);
  6809. Register_RenderPath(engine);
  6810. Register_RenderSurface(engine);
  6811. Register_SceneReplicationState(engine);
  6812. Register_ShaderVariation(engine);
  6813. Register_SoundStream(engine);
  6814. Register_ValueAnimationInfo(engine);
  6815. #ifdef URHO3D_NAVIGATION
  6816. Register_SimpleNavBuildData(engine);
  6817. #endif
  6818. #ifdef URHO3D_NETWORK
  6819. Register_HttpRequest(engine);
  6820. #endif
  6821. #ifdef URHO3D_PHYSICS
  6822. Register_CollisionGeometryData(engine);
  6823. #endif
  6824. #ifdef URHO3D_URHO2D
  6825. Register_PropertySet2D(engine);
  6826. Register_Tile2D(engine);
  6827. Register_TileMapObject2D(engine);
  6828. Register_TmxLayer2D(engine);
  6829. #endif
  6830. Register_AttributeAnimationInfo(engine);
  6831. Register_Audio(engine);
  6832. Register_BufferedSoundStream(engine);
  6833. Register_Console(engine);
  6834. Register_ConstantBuffer(engine);
  6835. Register_DebugHud(engine);
  6836. Register_Engine(engine);
  6837. Register_File(engine);
  6838. Register_FileSelector(engine);
  6839. Register_FileSystem(engine);
  6840. Register_FileWatcher(engine);
  6841. Register_FontFaceBitmap(engine);
  6842. Register_FontFaceFreeType(engine);
  6843. Register_Geometry(engine);
  6844. Register_Graphics(engine);
  6845. Register_IndexBuffer(engine);
  6846. Register_Input(engine);
  6847. Register_Localization(engine);
  6848. Register_Log(engine);
  6849. Register_MessageBox(engine);
  6850. Register_NamedPipe(engine);
  6851. Register_OcclusionBuffer(engine);
  6852. Register_OggVorbisSoundStream(engine);
  6853. Register_PackageFile(engine);
  6854. Register_Profiler(engine);
  6855. Register_Renderer(engine);
  6856. Register_Resource(engine);
  6857. Register_ResourceCache(engine);
  6858. Register_Serializable(engine);
  6859. Register_ShaderParameterAnimationInfo(engine);
  6860. Register_ShaderPrecache(engine);
  6861. Register_Time(engine);
  6862. Register_UI(engine);
  6863. Register_VectorBuffer(engine);
  6864. Register_VertexBuffer(engine);
  6865. Register_View(engine);
  6866. Register_Viewport(engine);
  6867. Register_WorkQueue(engine);
  6868. #ifdef URHO3D_DATABASE
  6869. Register_Database(engine);
  6870. #endif
  6871. #ifdef URHO3D_NETWORK
  6872. Register_Connection(engine);
  6873. Register_Network(engine);
  6874. #endif
  6875. #ifdef URHO3D_PHYSICS
  6876. Register_ConvexData(engine);
  6877. Register_GImpactMeshData(engine);
  6878. Register_HeightfieldData(engine);
  6879. Register_TriangleMeshData(engine);
  6880. #endif
  6881. #ifdef URHO3D_URHO2D
  6882. Register_TmxImageLayer2D(engine);
  6883. Register_TmxObjectGroup2D(engine);
  6884. Register_TmxTileLayer2D(engine);
  6885. #endif
  6886. Register_Animatable(engine);
  6887. Register_EventProfiler(engine);
  6888. Register_Font(engine);
  6889. Register_Image(engine);
  6890. Register_JSONFile(engine);
  6891. Register_Material(engine);
  6892. Register_ObjectAnimation(engine);
  6893. Register_ParticleEffect(engine);
  6894. Register_ResourceWithMetadata(engine);
  6895. Register_Shader(engine);
  6896. Register_Technique(engine);
  6897. Register_ValueAnimation(engine);
  6898. Register_XMLFile(engine);
  6899. #ifdef URHO3D_URHO2D
  6900. Register_AnimationSet2D(engine);
  6901. Register_ParticleEffect2D(engine);
  6902. Register_Sprite2D(engine);
  6903. Register_SpriteSheet2D(engine);
  6904. Register_TmxFile2D(engine);
  6905. #endif
  6906. Register_Animation(engine);
  6907. Register_Component(engine);
  6908. Register_Model(engine);
  6909. Register_Node(engine);
  6910. Register_Sound(engine);
  6911. Register_Texture(engine);
  6912. Register_UIElement(engine);
  6913. Register_AnimationController(engine);
  6914. Register_BorderImage(engine);
  6915. Register_Camera(engine);
  6916. Register_DebugRenderer(engine);
  6917. Register_Drawable(engine);
  6918. Register_LogicComponent(engine);
  6919. Register_Octree(engine);
  6920. Register_Scene(engine);
  6921. Register_ScrollView(engine);
  6922. Register_SmoothedTransform(engine);
  6923. Register_SoundListener(engine);
  6924. Register_SoundSource(engine);
  6925. Register_SplinePath(engine);
  6926. Register_Sprite(engine);
  6927. Register_Terrain(engine);
  6928. Register_Texture2D(engine);
  6929. Register_Texture2DArray(engine);
  6930. Register_Texture3D(engine);
  6931. Register_TextureCube(engine);
  6932. Register_ToolTip(engine);
  6933. Register_UIComponent(engine);
  6934. Register_UISelectable(engine);
  6935. Register_UnknownComponent(engine);
  6936. #ifdef URHO3D_IK
  6937. Register_IKConstraint(engine);
  6938. Register_IKEffector(engine);
  6939. Register_IKSolver(engine);
  6940. #endif
  6941. #ifdef URHO3D_NAVIGATION
  6942. Register_CrowdAgent(engine);
  6943. Register_CrowdManager(engine);
  6944. Register_NavArea(engine);
  6945. Register_Navigable(engine);
  6946. Register_NavigationMesh(engine);
  6947. Register_Obstacle(engine);
  6948. Register_OffMeshConnection(engine);
  6949. #endif
  6950. #ifdef URHO3D_NETWORK
  6951. Register_NetworkPriority(engine);
  6952. #endif
  6953. #ifdef URHO3D_PHYSICS
  6954. Register_CollisionShape(engine);
  6955. Register_Constraint(engine);
  6956. Register_PhysicsWorld(engine);
  6957. Register_RigidBody(engine);
  6958. #endif
  6959. #ifdef URHO3D_PHYSICS2D
  6960. Register_CollisionShape2D(engine);
  6961. Register_Constraint2D(engine);
  6962. Register_PhysicsWorld2D(engine);
  6963. Register_RigidBody2D(engine);
  6964. #endif
  6965. #ifdef URHO3D_URHO2D
  6966. Register_TileMap2D(engine);
  6967. Register_TileMapLayer2D(engine);
  6968. #endif
  6969. Register_BillboardSet(engine);
  6970. Register_Button(engine);
  6971. Register_CheckBox(engine);
  6972. Register_Cursor(engine);
  6973. Register_CustomGeometry(engine);
  6974. Register_DecalSet(engine);
  6975. Register_Light(engine);
  6976. Register_LineEdit(engine);
  6977. Register_ListView(engine);
  6978. Register_ProgressBar(engine);
  6979. Register_RibbonTrail(engine);
  6980. Register_ScrollBar(engine);
  6981. Register_Slider(engine);
  6982. Register_SoundSource3D(engine);
  6983. Register_StaticModel(engine);
  6984. Register_TerrainPatch(engine);
  6985. Register_Text(engine);
  6986. Register_Text3D(engine);
  6987. Register_Window(engine);
  6988. Register_Zone(engine);
  6989. #ifdef URHO3D_NAVIGATION
  6990. Register_DynamicNavigationMesh(engine);
  6991. #endif
  6992. #ifdef URHO3D_PHYSICS
  6993. Register_RaycastVehicle(engine);
  6994. #endif
  6995. #ifdef URHO3D_PHYSICS2D
  6996. Register_CollisionBox2D(engine);
  6997. Register_CollisionChain2D(engine);
  6998. Register_CollisionCircle2D(engine);
  6999. Register_CollisionEdge2D(engine);
  7000. Register_CollisionPolygon2D(engine);
  7001. Register_ConstraintDistance2D(engine);
  7002. Register_ConstraintFriction2D(engine);
  7003. Register_ConstraintGear2D(engine);
  7004. Register_ConstraintMotor2D(engine);
  7005. Register_ConstraintMouse2D(engine);
  7006. Register_ConstraintPrismatic2D(engine);
  7007. Register_ConstraintPulley2D(engine);
  7008. Register_ConstraintRevolute2D(engine);
  7009. Register_ConstraintWeld2D(engine);
  7010. Register_ConstraintWheel2D(engine);
  7011. #endif
  7012. #ifdef URHO3D_URHO2D
  7013. Register_Drawable2D(engine);
  7014. Register_Renderer2D(engine);
  7015. #endif
  7016. Register_AnimatedModel(engine);
  7017. Register_Menu(engine);
  7018. Register_ParticleEmitter(engine);
  7019. Register_Skybox(engine);
  7020. Register_StaticModelGroup(engine);
  7021. Register_View3D(engine);
  7022. #ifdef URHO3D_URHO2D
  7023. Register_ParticleEmitter2D(engine);
  7024. Register_StaticSprite2D(engine);
  7025. #endif
  7026. Register_DropDownList(engine);
  7027. #ifdef URHO3D_URHO2D
  7028. Register_AnimatedSprite2D(engine);
  7029. Register_StretchableSprite2D(engine);
  7030. #endif
  7031. }
  7032. }