Generated_Classes.cpp 382 KB

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