Generated_Classes.cpp 384 KB

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