Generated_Classes.cpp 381 KB

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