Generated_Classes.cpp 381 KB

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