Generated_Classes.cpp 383 KB

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