Generated_Classes.cpp 383 KB

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