Generated_Classes.cpp 382 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786
  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, unsigned 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(unsigned value) noexcept
  1997. static void StringHash_constexpr_StringHash_unsigned(StringHash* _ptr, unsigned 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(unsigned value) noexcept
  2014. engine->RegisterObjectBehaviour("StringHash", asBEHAVE_CONSTRUCT, "void f(uint)", AS_FUNCTION_OBJFIRST(StringHash_constexpr_StringHash_unsigned), 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 VectorBuffer& value)
  2220. static void Variant__Variant_constspVectorBufferamp(Variant* _ptr, const VectorBuffer& value)
  2221. {
  2222. new(_ptr) Variant(value);
  2223. }
  2224. // Variant::Variant(const ResourceRef& value)
  2225. static void Variant__Variant_constspResourceRefamp(Variant* _ptr, const ResourceRef& value)
  2226. {
  2227. new(_ptr) Variant(value);
  2228. }
  2229. // Variant::Variant(const ResourceRefList& value)
  2230. static void Variant__Variant_constspResourceRefListamp(Variant* _ptr, const ResourceRefList& value)
  2231. {
  2232. new(_ptr) Variant(value);
  2233. }
  2234. // Variant::Variant(const VariantMap& value)
  2235. static void Variant__Variant_constspVariantMapamp(Variant* _ptr, const VariantMap& value)
  2236. {
  2237. new(_ptr) Variant(value);
  2238. }
  2239. // Variant::Variant(const StringVector& value)
  2240. static void Variant__Variant_constspStringVectoramp(Variant* _ptr, CScriptArray* value_conv)
  2241. {
  2242. StringVector value = ArrayToVector<String>(value_conv);
  2243. new(_ptr) Variant(value);
  2244. }
  2245. // Variant::Variant(const Rect& value)
  2246. static void Variant__Variant_constspRectamp(Variant* _ptr, const Rect& value)
  2247. {
  2248. new(_ptr) Variant(value);
  2249. }
  2250. // Variant::Variant(const IntRect& value)
  2251. static void Variant__Variant_constspIntRectamp(Variant* _ptr, const IntRect& value)
  2252. {
  2253. new(_ptr) Variant(value);
  2254. }
  2255. // Variant::Variant(const IntVector2& value)
  2256. static void Variant__Variant_constspIntVector2amp(Variant* _ptr, const IntVector2& value)
  2257. {
  2258. new(_ptr) Variant(value);
  2259. }
  2260. // Variant::Variant(const IntVector3& value)
  2261. static void Variant__Variant_constspIntVector3amp(Variant* _ptr, const IntVector3& value)
  2262. {
  2263. new(_ptr) Variant(value);
  2264. }
  2265. // Variant::Variant(RefCounted* value)
  2266. static void Variant__Variant_RefCountedstar(Variant* _ptr, RefCounted* value)
  2267. {
  2268. new(_ptr) Variant(value);
  2269. }
  2270. // Variant::Variant(const Matrix3& value)
  2271. static void Variant__Variant_constspMatrix3amp(Variant* _ptr, const Matrix3& value)
  2272. {
  2273. new(_ptr) Variant(value);
  2274. }
  2275. // Variant::Variant(const Matrix3x4& value)
  2276. static void Variant__Variant_constspMatrix3x4amp(Variant* _ptr, const Matrix3x4& value)
  2277. {
  2278. new(_ptr) Variant(value);
  2279. }
  2280. // Variant::Variant(const Matrix4& value)
  2281. static void Variant__Variant_constspMatrix4amp(Variant* _ptr, const Matrix4& value)
  2282. {
  2283. new(_ptr) Variant(value);
  2284. }
  2285. // Variant::Variant(const String& type, const String& value)
  2286. static void Variant__Variant_constspStringamp_constspStringamp(Variant* _ptr, const String& type, const String& value)
  2287. {
  2288. new(_ptr) Variant(type, value);
  2289. }
  2290. // Variant::Variant(VariantType type, const String& value)
  2291. static void Variant__Variant_VariantType_constspStringamp(Variant* _ptr, VariantType type, const String& value)
  2292. {
  2293. new(_ptr) Variant(type, value);
  2294. }
  2295. // Variant::Variant(const Variant& value)
  2296. static void Variant__Variant_constspVariantamp(Variant* _ptr, const Variant& value)
  2297. {
  2298. new(_ptr) Variant(value);
  2299. }
  2300. // class Variant | File: ../Core/Variant.h
  2301. static void Register_Variant(asIScriptEngine* engine)
  2302. {
  2303. // Variant::Variant(VariantType type, const char* value)
  2304. // Error: type "const char*" can not automatically bind
  2305. // Variant::Variant(const VariantVector& value)
  2306. // Error: type "const VariantVector&" can not automatically bind
  2307. // Variant::Variant(const Vector<unsigned char>& value)
  2308. // Error: type "const Vector<unsigned char>&" can not automatically bind
  2309. // Variant::Variant(const char* type, const char* value)
  2310. // Error: type "const char*" can not automatically bind
  2311. // Variant::Variant(const char* value)
  2312. // Error: type "const char*" can not automatically bind
  2313. // Variant::Variant(void* value)
  2314. // Error: type "void*" can not automatically bind
  2315. // template <class T> Variant::Variant(const CustomVariantValueImpl<T>& value)
  2316. // Error: type "const CustomVariantValueImpl<T>&" can not automatically bind
  2317. // Variant::Variant(int value)
  2318. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(int)", AS_FUNCTION_OBJFIRST(Variant__Variant_int), AS_CALL_CDECL_OBJFIRST);
  2319. // Variant::Variant(long long value)
  2320. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(int64)", AS_FUNCTION_OBJFIRST(Variant__Variant_longsplong), AS_CALL_CDECL_OBJFIRST);
  2321. // Variant::Variant(unsigned value)
  2322. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(uint)", AS_FUNCTION_OBJFIRST(Variant__Variant_unsigned), AS_CALL_CDECL_OBJFIRST);
  2323. // Variant::Variant(unsigned long long value)
  2324. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(uint64)", AS_FUNCTION_OBJFIRST(Variant__Variant_unsignedsplongsplong), AS_CALL_CDECL_OBJFIRST);
  2325. // Variant::Variant(const StringHash& value)
  2326. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const StringHash&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringHashamp), AS_CALL_CDECL_OBJFIRST);
  2327. // Variant::Variant(bool value)
  2328. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(bool)", AS_FUNCTION_OBJFIRST(Variant__Variant_bool), AS_CALL_CDECL_OBJFIRST);
  2329. // Variant::Variant(float value)
  2330. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(float)", AS_FUNCTION_OBJFIRST(Variant__Variant_float), AS_CALL_CDECL_OBJFIRST);
  2331. // Variant::Variant(double value)
  2332. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(double)", AS_FUNCTION_OBJFIRST(Variant__Variant_double), AS_CALL_CDECL_OBJFIRST);
  2333. // Variant::Variant(const Vector2& value)
  2334. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Vector2&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVector2amp), AS_CALL_CDECL_OBJFIRST);
  2335. // Variant::Variant(const Vector3& value)
  2336. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Vector3&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  2337. // Variant::Variant(const Vector4& value)
  2338. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Vector4&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVector4amp), AS_CALL_CDECL_OBJFIRST);
  2339. // Variant::Variant(const Quaternion& value)
  2340. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Quaternion&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspQuaternionamp), AS_CALL_CDECL_OBJFIRST);
  2341. // Variant::Variant(const Color& value)
  2342. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Color&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspColoramp), AS_CALL_CDECL_OBJFIRST);
  2343. // Variant::Variant(const String& value)
  2344. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const String&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  2345. // Variant::Variant(const VectorBuffer& value)
  2346. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const VectorBuffer&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVectorBufferamp), AS_CALL_CDECL_OBJFIRST);
  2347. // Variant::Variant(const ResourceRef& value)
  2348. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const ResourceRef&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspResourceRefamp), AS_CALL_CDECL_OBJFIRST);
  2349. // Variant::Variant(const ResourceRefList& value)
  2350. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const ResourceRefList&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspResourceRefListamp), AS_CALL_CDECL_OBJFIRST);
  2351. // Variant::Variant(const VariantMap& value)
  2352. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const VariantMap&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVariantMapamp), AS_CALL_CDECL_OBJFIRST);
  2353. // Variant::Variant(const StringVector& value)
  2354. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(Array<String>@+)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringVectoramp), AS_CALL_CDECL_OBJFIRST);
  2355. // Variant::Variant(const Rect& value)
  2356. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Rect&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspRectamp), AS_CALL_CDECL_OBJFIRST);
  2357. // Variant::Variant(const IntRect& value)
  2358. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const IntRect&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspIntRectamp), AS_CALL_CDECL_OBJFIRST);
  2359. // Variant::Variant(const IntVector2& value)
  2360. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const IntVector2&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspIntVector2amp), AS_CALL_CDECL_OBJFIRST);
  2361. // Variant::Variant(const IntVector3& value)
  2362. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const IntVector3&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspIntVector3amp), AS_CALL_CDECL_OBJFIRST);
  2363. // Variant::Variant(RefCounted* value)
  2364. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(RefCounted@+)", AS_FUNCTION_OBJFIRST(Variant__Variant_RefCountedstar), AS_CALL_CDECL_OBJFIRST);
  2365. // Variant::Variant(const Matrix3& value)
  2366. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Matrix3&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspMatrix3amp), AS_CALL_CDECL_OBJFIRST);
  2367. // Variant::Variant(const Matrix3x4& value)
  2368. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Matrix3x4&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspMatrix3x4amp), AS_CALL_CDECL_OBJFIRST);
  2369. // Variant::Variant(const Matrix4& value)
  2370. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Matrix4&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspMatrix4amp), AS_CALL_CDECL_OBJFIRST);
  2371. // Variant::Variant(const String& type, const String& value)
  2372. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const String&in, const String&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspStringamp_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  2373. // Variant::Variant(VariantType type, const String& value)
  2374. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(VariantType, const String&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_VariantType_constspStringamp), AS_CALL_CDECL_OBJFIRST);
  2375. // Variant::Variant(const Variant& value)
  2376. engine->RegisterObjectBehaviour("Variant", asBEHAVE_CONSTRUCT, "void f(const Variant&in)", AS_FUNCTION_OBJFIRST(Variant__Variant_constspVariantamp), AS_CALL_CDECL_OBJFIRST);
  2377. // Variant::~Variant()
  2378. engine->RegisterObjectBehaviour("Variant", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Variant), AS_CALL_CDECL_OBJFIRST);
  2379. RegisterMembers_Variant<Variant>(engine, "Variant");
  2380. #ifdef REGISTER_CLASS_MANUAL_PART_Variant
  2381. REGISTER_CLASS_MANUAL_PART_Variant();
  2382. #endif
  2383. }
  2384. // Vector2::Vector2(const Vector2& vector) noexcept = default
  2385. static void Vector2__Vector2_constspVector2amp(Vector2* _ptr, const Vector2& vector)
  2386. {
  2387. new(_ptr) Vector2(vector);
  2388. }
  2389. // explicit Vector2::Vector2(const IntVector2& vector) noexcept
  2390. static void Vector2__Vector2_constspIntVector2amp(Vector2* _ptr, const IntVector2& vector)
  2391. {
  2392. new(_ptr) Vector2(vector);
  2393. }
  2394. // Vector2::Vector2(float x, float y) noexcept
  2395. static void Vector2__Vector2_float_float(Vector2* _ptr, float x, float y)
  2396. {
  2397. new(_ptr) Vector2(x, y);
  2398. }
  2399. // class Vector2 | File: ../Math/Vector2.h
  2400. static void Register_Vector2(asIScriptEngine* engine)
  2401. {
  2402. // explicit Vector2::Vector2(const float* data) noexcept
  2403. // Error: type "const float*" can not automatically bind
  2404. // Vector2::Vector2(const Vector2& vector) noexcept = default
  2405. engine->RegisterObjectBehaviour("Vector2", asBEHAVE_CONSTRUCT, "void f(const Vector2&in)", AS_FUNCTION_OBJFIRST(Vector2__Vector2_constspVector2amp), AS_CALL_CDECL_OBJFIRST);
  2406. // explicit Vector2::Vector2(const IntVector2& vector) noexcept
  2407. engine->RegisterObjectBehaviour("Vector2", asBEHAVE_CONSTRUCT, "void f(const IntVector2&in)", AS_FUNCTION_OBJFIRST(Vector2__Vector2_constspIntVector2amp), AS_CALL_CDECL_OBJFIRST);
  2408. // Vector2::Vector2(float x, float y) noexcept
  2409. engine->RegisterObjectBehaviour("Vector2", asBEHAVE_CONSTRUCT, "void f(float, float)", AS_FUNCTION_OBJFIRST(Vector2__Vector2_float_float), AS_CALL_CDECL_OBJFIRST);
  2410. RegisterMembers_Vector2<Vector2>(engine, "Vector2");
  2411. #ifdef REGISTER_CLASS_MANUAL_PART_Vector2
  2412. REGISTER_CLASS_MANUAL_PART_Vector2();
  2413. #endif
  2414. }
  2415. // Vector3::Vector3(const Vector3& vector) noexcept = default
  2416. static void Vector3__Vector3_constspVector3amp(Vector3* _ptr, const Vector3& vector)
  2417. {
  2418. new(_ptr) Vector3(vector);
  2419. }
  2420. // Vector3::Vector3(const Vector2& vector, float z) noexcept
  2421. static void Vector3__Vector3_constspVector2amp_float(Vector3* _ptr, const Vector2& vector, float z)
  2422. {
  2423. new(_ptr) Vector3(vector, z);
  2424. }
  2425. // explicit Vector3::Vector3(const Vector2& vector) noexcept
  2426. static void Vector3__Vector3_constspVector2amp(Vector3* _ptr, const Vector2& vector)
  2427. {
  2428. new(_ptr) Vector3(vector);
  2429. }
  2430. // explicit Vector3::Vector3(const IntVector3& vector) noexcept
  2431. static void Vector3__Vector3_constspIntVector3amp(Vector3* _ptr, const IntVector3& vector)
  2432. {
  2433. new(_ptr) Vector3(vector);
  2434. }
  2435. // Vector3::Vector3(float x, float y, float z) noexcept
  2436. static void Vector3__Vector3_float_float_float(Vector3* _ptr, float x, float y, float z)
  2437. {
  2438. new(_ptr) Vector3(x, y, z);
  2439. }
  2440. // Vector3::Vector3(float x, float y) noexcept
  2441. static void Vector3__Vector3_float_float(Vector3* _ptr, float x, float y)
  2442. {
  2443. new(_ptr) Vector3(x, y);
  2444. }
  2445. // class Vector3 | File: ../Math/Vector3.h
  2446. static void Register_Vector3(asIScriptEngine* engine)
  2447. {
  2448. // explicit Vector3::Vector3(const float* data) noexcept
  2449. // Error: type "const float*" can not automatically bind
  2450. // Vector3::Vector3(const Vector3& vector) noexcept = default
  2451. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const Vector3&in)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspVector3amp), AS_CALL_CDECL_OBJFIRST);
  2452. // Vector3::Vector3(const Vector2& vector, float z) noexcept
  2453. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const Vector2&in, float)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspVector2amp_float), AS_CALL_CDECL_OBJFIRST);
  2454. // explicit Vector3::Vector3(const Vector2& vector) noexcept
  2455. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const Vector2&in)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspVector2amp), AS_CALL_CDECL_OBJFIRST);
  2456. // explicit Vector3::Vector3(const IntVector3& vector) noexcept
  2457. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(const IntVector3&in)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_constspIntVector3amp), AS_CALL_CDECL_OBJFIRST);
  2458. // Vector3::Vector3(float x, float y, float z) noexcept
  2459. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(float, float, float)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_float_float_float), AS_CALL_CDECL_OBJFIRST);
  2460. // Vector3::Vector3(float x, float y) noexcept
  2461. engine->RegisterObjectBehaviour("Vector3", asBEHAVE_CONSTRUCT, "void f(float, float)", AS_FUNCTION_OBJFIRST(Vector3__Vector3_float_float), AS_CALL_CDECL_OBJFIRST);
  2462. RegisterMembers_Vector3<Vector3>(engine, "Vector3");
  2463. #ifdef REGISTER_CLASS_MANUAL_PART_Vector3
  2464. REGISTER_CLASS_MANUAL_PART_Vector3();
  2465. #endif
  2466. }
  2467. // Vector4::Vector4(const Vector4& vector) noexcept = default
  2468. static void Vector4__Vector4_constspVector4amp(Vector4* _ptr, const Vector4& vector)
  2469. {
  2470. new(_ptr) Vector4(vector);
  2471. }
  2472. // Vector4::Vector4(const Vector3& vector, float w) noexcept
  2473. static void Vector4__Vector4_constspVector3amp_float(Vector4* _ptr, const Vector3& vector, float w)
  2474. {
  2475. new(_ptr) Vector4(vector, w);
  2476. }
  2477. // Vector4::Vector4(float x, float y, float z, float w) noexcept
  2478. static void Vector4__Vector4_float_float_float_float(Vector4* _ptr, float x, float y, float z, float w)
  2479. {
  2480. new(_ptr) Vector4(x, y, z, w);
  2481. }
  2482. // class Vector4 | File: ../Math/Vector4.h
  2483. static void Register_Vector4(asIScriptEngine* engine)
  2484. {
  2485. // explicit Vector4::Vector4(const float* data) noexcept
  2486. // Error: type "const float*" can not automatically bind
  2487. // Vector4::Vector4(const Vector4& vector) noexcept = default
  2488. engine->RegisterObjectBehaviour("Vector4", asBEHAVE_CONSTRUCT, "void f(const Vector4&in)", AS_FUNCTION_OBJFIRST(Vector4__Vector4_constspVector4amp), AS_CALL_CDECL_OBJFIRST);
  2489. // Vector4::Vector4(const Vector3& vector, float w) noexcept
  2490. engine->RegisterObjectBehaviour("Vector4", asBEHAVE_CONSTRUCT, "void f(const Vector3&in, float)", AS_FUNCTION_OBJFIRST(Vector4__Vector4_constspVector3amp_float), AS_CALL_CDECL_OBJFIRST);
  2491. // Vector4::Vector4(float x, float y, float z, float w) noexcept
  2492. engine->RegisterObjectBehaviour("Vector4", asBEHAVE_CONSTRUCT, "void f(float, float, float, float)", AS_FUNCTION_OBJFIRST(Vector4__Vector4_float_float_float_float), AS_CALL_CDECL_OBJFIRST);
  2493. RegisterMembers_Vector4<Vector4>(engine, "Vector4");
  2494. #ifdef REGISTER_CLASS_MANUAL_PART_Vector4
  2495. REGISTER_CLASS_MANUAL_PART_Vector4();
  2496. #endif
  2497. }
  2498. // class VectorBase | File: ../Container/VectorBase.h
  2499. static void Register_VectorBase(asIScriptEngine* engine)
  2500. {
  2501. // VectorBase::~VectorBase() | Implicitly-declared
  2502. engine->RegisterObjectBehaviour("VectorBase", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VectorBase), AS_CALL_CDECL_OBJFIRST);
  2503. RegisterMembers_VectorBase<VectorBase>(engine, "VectorBase");
  2504. #ifdef REGISTER_CLASS_MANUAL_PART_VectorBase
  2505. REGISTER_CLASS_MANUAL_PART_VectorBase();
  2506. #endif
  2507. // VectorBase& VectorBase::operator =(const VectorBase&) | Possible implicitly-declared
  2508. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VectorBase>(engine, "VectorBase");
  2509. }
  2510. // struct VertexBufferDesc | File: ../Graphics/Model.h
  2511. static void Register_VertexBufferDesc(asIScriptEngine* engine)
  2512. {
  2513. // VertexBufferDesc::~VertexBufferDesc() | Implicitly-declared
  2514. engine->RegisterObjectBehaviour("VertexBufferDesc", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VertexBufferDesc), AS_CALL_CDECL_OBJFIRST);
  2515. RegisterMembers_VertexBufferDesc<VertexBufferDesc>(engine, "VertexBufferDesc");
  2516. #ifdef REGISTER_CLASS_MANUAL_PART_VertexBufferDesc
  2517. REGISTER_CLASS_MANUAL_PART_VertexBufferDesc();
  2518. #endif
  2519. // VertexBufferDesc& VertexBufferDesc::operator =(const VertexBufferDesc&) | Possible implicitly-declared
  2520. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VertexBufferDesc>(engine, "VertexBufferDesc");
  2521. }
  2522. // struct VertexBufferMorph | File: ../Graphics/Model.h
  2523. static void Register_VertexBufferMorph(asIScriptEngine* engine)
  2524. {
  2525. // VertexBufferMorph::~VertexBufferMorph() | Implicitly-declared
  2526. engine->RegisterObjectBehaviour("VertexBufferMorph", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VertexBufferMorph), AS_CALL_CDECL_OBJFIRST);
  2527. RegisterMembers_VertexBufferMorph<VertexBufferMorph>(engine, "VertexBufferMorph");
  2528. #ifdef REGISTER_CLASS_MANUAL_PART_VertexBufferMorph
  2529. REGISTER_CLASS_MANUAL_PART_VertexBufferMorph();
  2530. #endif
  2531. // VertexBufferMorph& VertexBufferMorph::operator =(const VertexBufferMorph&) | Possible implicitly-declared
  2532. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VertexBufferMorph>(engine, "VertexBufferMorph");
  2533. }
  2534. // VertexElement::VertexElement(VertexElementType type, VertexElementSemantic semantic, i8 index = 0, bool perInstance = false) noexcept
  2535. static void VertexElement__VertexElement_VertexElementType_VertexElementSemantic_i8_bool(VertexElement* _ptr, VertexElementType type, VertexElementSemantic semantic, i8 index, bool perInstance)
  2536. {
  2537. new(_ptr) VertexElement(type, semantic, index, perInstance);
  2538. }
  2539. // struct VertexElement | File: ../GraphicsAPI/GraphicsDefs.h
  2540. static void Register_VertexElement(asIScriptEngine* engine)
  2541. {
  2542. // VertexElement::VertexElement(VertexElementType type, VertexElementSemantic semantic, i8 index = 0, bool perInstance = false) noexcept
  2543. 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);
  2544. // VertexElement::~VertexElement() | Implicitly-declared
  2545. engine->RegisterObjectBehaviour("VertexElement", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VertexElement), AS_CALL_CDECL_OBJFIRST);
  2546. RegisterMembers_VertexElement<VertexElement>(engine, "VertexElement");
  2547. #ifdef REGISTER_CLASS_MANUAL_PART_VertexElement
  2548. REGISTER_CLASS_MANUAL_PART_VertexElement();
  2549. #endif
  2550. // VertexElement& VertexElement::operator =(const VertexElement&) | Possible implicitly-declared
  2551. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VertexElement>(engine, "VertexElement");
  2552. }
  2553. // struct WindowModeParams | File: ../Graphics/Graphics.h
  2554. static void Register_WindowModeParams(asIScriptEngine* engine)
  2555. {
  2556. // WindowModeParams::~WindowModeParams() | Implicitly-declared
  2557. engine->RegisterObjectBehaviour("WindowModeParams", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(WindowModeParams), AS_CALL_CDECL_OBJFIRST);
  2558. RegisterMembers_WindowModeParams<WindowModeParams>(engine, "WindowModeParams");
  2559. #ifdef REGISTER_CLASS_MANUAL_PART_WindowModeParams
  2560. REGISTER_CLASS_MANUAL_PART_WindowModeParams();
  2561. #endif
  2562. // WindowModeParams& WindowModeParams::operator =(const WindowModeParams&) | Possible implicitly-declared
  2563. RegisterImplicitlyDeclaredAssignOperatorIfPossible<WindowModeParams>(engine, "WindowModeParams");
  2564. }
  2565. // XMLElement::XMLElement(const XMLElement& rhs)
  2566. static void XMLElement__XMLElement_constspXMLElementamp(XMLElement* _ptr, const XMLElement& rhs)
  2567. {
  2568. new(_ptr) XMLElement(rhs);
  2569. }
  2570. // class XMLElement | File: ../Resource/XMLElement.h
  2571. static void Register_XMLElement(asIScriptEngine* engine)
  2572. {
  2573. // XMLElement::XMLElement(XMLFile* file, const XPathResultSet* resultSet, const pugi::xpath_node* xpathNode, unsigned xpathResultIndex)
  2574. // Error: type "const XPathResultSet*" can not automatically bind
  2575. // XMLElement::XMLElement(XMLFile* file, pugi::xml_node_struct* node)
  2576. // Error: type "pugi::xml_node_struct*" can not automatically bind
  2577. // XMLElement::XMLElement(const XMLElement& rhs)
  2578. engine->RegisterObjectBehaviour("XMLElement", asBEHAVE_CONSTRUCT, "void f(const XMLElement&in)", AS_FUNCTION_OBJFIRST(XMLElement__XMLElement_constspXMLElementamp), AS_CALL_CDECL_OBJFIRST);
  2579. // XMLElement::~XMLElement()
  2580. engine->RegisterObjectBehaviour("XMLElement", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(XMLElement), AS_CALL_CDECL_OBJFIRST);
  2581. RegisterMembers_XMLElement<XMLElement>(engine, "XMLElement");
  2582. #ifdef REGISTER_CLASS_MANUAL_PART_XMLElement
  2583. REGISTER_CLASS_MANUAL_PART_XMLElement();
  2584. #endif
  2585. }
  2586. // explicit XPathQuery::XPathQuery(const String& queryString, const String& variableString = String::EMPTY)
  2587. static void XPathQuery__XPathQuery_constspStringamp_constspStringamp(XPathQuery* _ptr, const String& queryString, const String& variableString)
  2588. {
  2589. new(_ptr) XPathQuery(queryString, variableString);
  2590. }
  2591. // class XPathQuery | File: ../Resource/XMLElement.h
  2592. static void Register_XPathQuery(asIScriptEngine* engine)
  2593. {
  2594. // explicit XPathQuery::XPathQuery(const String& queryString, const String& variableString = String::EMPTY)
  2595. 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);
  2596. // XPathQuery::~XPathQuery()
  2597. engine->RegisterObjectBehaviour("XPathQuery", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(XPathQuery), AS_CALL_CDECL_OBJFIRST);
  2598. RegisterMembers_XPathQuery<XPathQuery>(engine, "XPathQuery");
  2599. #ifdef REGISTER_CLASS_MANUAL_PART_XPathQuery
  2600. REGISTER_CLASS_MANUAL_PART_XPathQuery();
  2601. #endif
  2602. // XPathQuery& XPathQuery::operator =(const XPathQuery&) | Possible implicitly-declared
  2603. RegisterImplicitlyDeclaredAssignOperatorIfPossible<XPathQuery>(engine, "XPathQuery");
  2604. }
  2605. // XPathResultSet::XPathResultSet(const XPathResultSet& rhs)
  2606. static void XPathResultSet__XPathResultSet_constspXPathResultSetamp(XPathResultSet* _ptr, const XPathResultSet& rhs)
  2607. {
  2608. new(_ptr) XPathResultSet(rhs);
  2609. }
  2610. // class XPathResultSet | File: ../Resource/XMLElement.h
  2611. static void Register_XPathResultSet(asIScriptEngine* engine)
  2612. {
  2613. // XPathResultSet::XPathResultSet(XMLFile* file, pugi::xpath_node_set* resultSet)
  2614. // Error: type "pugi::xpath_node_set*" can not automatically bind
  2615. // XPathResultSet::XPathResultSet(const XPathResultSet& rhs)
  2616. engine->RegisterObjectBehaviour("XPathResultSet", asBEHAVE_CONSTRUCT, "void f(const XPathResultSet&in)", AS_FUNCTION_OBJFIRST(XPathResultSet__XPathResultSet_constspXPathResultSetamp), AS_CALL_CDECL_OBJFIRST);
  2617. // XPathResultSet::~XPathResultSet()
  2618. engine->RegisterObjectBehaviour("XPathResultSet", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(XPathResultSet), AS_CALL_CDECL_OBJFIRST);
  2619. RegisterMembers_XPathResultSet<XPathResultSet>(engine, "XPathResultSet");
  2620. #ifdef REGISTER_CLASS_MANUAL_PART_XPathResultSet
  2621. REGISTER_CLASS_MANUAL_PART_XPathResultSet();
  2622. #endif
  2623. }
  2624. #ifdef URHO3D_NAVIGATION
  2625. // struct CrowdObstacleAvoidanceParams | File: ../Navigation/CrowdManager.h
  2626. static void Register_CrowdObstacleAvoidanceParams(asIScriptEngine* engine)
  2627. {
  2628. RegisterMembers_CrowdObstacleAvoidanceParams<CrowdObstacleAvoidanceParams>(engine, "CrowdObstacleAvoidanceParams");
  2629. #ifdef REGISTER_CLASS_MANUAL_PART_CrowdObstacleAvoidanceParams
  2630. REGISTER_CLASS_MANUAL_PART_CrowdObstacleAvoidanceParams();
  2631. #endif
  2632. // CrowdObstacleAvoidanceParams& CrowdObstacleAvoidanceParams::operator =(const CrowdObstacleAvoidanceParams&) | Possible implicitly-declared
  2633. RegisterImplicitlyDeclaredAssignOperatorIfPossible<CrowdObstacleAvoidanceParams>(engine, "CrowdObstacleAvoidanceParams");
  2634. }
  2635. // struct NavAreaStub | File: ../Navigation/NavBuildData.h
  2636. static void Register_NavAreaStub(asIScriptEngine* engine)
  2637. {
  2638. // NavAreaStub::~NavAreaStub() | Implicitly-declared
  2639. engine->RegisterObjectBehaviour("NavAreaStub", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavAreaStub), AS_CALL_CDECL_OBJFIRST);
  2640. RegisterMembers_NavAreaStub<NavAreaStub>(engine, "NavAreaStub");
  2641. #ifdef REGISTER_CLASS_MANUAL_PART_NavAreaStub
  2642. REGISTER_CLASS_MANUAL_PART_NavAreaStub();
  2643. #endif
  2644. // NavAreaStub& NavAreaStub::operator =(const NavAreaStub&) | Possible implicitly-declared
  2645. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavAreaStub>(engine, "NavAreaStub");
  2646. }
  2647. // struct NavBuildData | File: ../Navigation/NavBuildData.h
  2648. static void Register_NavBuildData(asIScriptEngine* engine)
  2649. {
  2650. // virtual NavBuildData::~NavBuildData()
  2651. engine->RegisterObjectBehaviour("NavBuildData", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavBuildData), AS_CALL_CDECL_OBJFIRST);
  2652. RegisterMembers_NavBuildData<NavBuildData>(engine, "NavBuildData");
  2653. #ifdef REGISTER_CLASS_MANUAL_PART_NavBuildData
  2654. REGISTER_CLASS_MANUAL_PART_NavBuildData();
  2655. #endif
  2656. // NavBuildData& NavBuildData::operator =(const NavBuildData&) | Possible implicitly-declared
  2657. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavBuildData>(engine, "NavBuildData");
  2658. }
  2659. // struct NavigationGeometryInfo | File: ../Navigation/NavigationMesh.h
  2660. static void Register_NavigationGeometryInfo(asIScriptEngine* engine)
  2661. {
  2662. // NavigationGeometryInfo::~NavigationGeometryInfo() | Implicitly-declared
  2663. engine->RegisterObjectBehaviour("NavigationGeometryInfo", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavigationGeometryInfo), AS_CALL_CDECL_OBJFIRST);
  2664. RegisterMembers_NavigationGeometryInfo<NavigationGeometryInfo>(engine, "NavigationGeometryInfo");
  2665. #ifdef REGISTER_CLASS_MANUAL_PART_NavigationGeometryInfo
  2666. REGISTER_CLASS_MANUAL_PART_NavigationGeometryInfo();
  2667. #endif
  2668. // NavigationGeometryInfo& NavigationGeometryInfo::operator =(const NavigationGeometryInfo&) | Possible implicitly-declared
  2669. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavigationGeometryInfo>(engine, "NavigationGeometryInfo");
  2670. }
  2671. // struct NavigationPathPoint | File: ../Navigation/NavigationMesh.h
  2672. static void Register_NavigationPathPoint(asIScriptEngine* engine)
  2673. {
  2674. // NavigationPathPoint::~NavigationPathPoint() | Implicitly-declared
  2675. engine->RegisterObjectBehaviour("NavigationPathPoint", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NavigationPathPoint), AS_CALL_CDECL_OBJFIRST);
  2676. RegisterMembers_NavigationPathPoint<NavigationPathPoint>(engine, "NavigationPathPoint");
  2677. #ifdef REGISTER_CLASS_MANUAL_PART_NavigationPathPoint
  2678. REGISTER_CLASS_MANUAL_PART_NavigationPathPoint();
  2679. #endif
  2680. // NavigationPathPoint& NavigationPathPoint::operator =(const NavigationPathPoint&) | Possible implicitly-declared
  2681. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NavigationPathPoint>(engine, "NavigationPathPoint");
  2682. }
  2683. #endif // def URHO3D_NAVIGATION
  2684. #ifdef URHO3D_NETWORK
  2685. // struct PackageDownload | File: ../Network/Connection.h
  2686. static void Register_PackageDownload(asIScriptEngine* engine)
  2687. {
  2688. // PackageDownload::~PackageDownload() | Implicitly-declared
  2689. engine->RegisterObjectBehaviour("PackageDownload", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PackageDownload), AS_CALL_CDECL_OBJFIRST);
  2690. RegisterMembers_PackageDownload<PackageDownload>(engine, "PackageDownload");
  2691. #ifdef REGISTER_CLASS_MANUAL_PART_PackageDownload
  2692. REGISTER_CLASS_MANUAL_PART_PackageDownload();
  2693. #endif
  2694. // PackageDownload& PackageDownload::operator =(const PackageDownload&) | Possible implicitly-declared
  2695. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PackageDownload>(engine, "PackageDownload");
  2696. }
  2697. // struct PackageUpload | File: ../Network/Connection.h
  2698. static void Register_PackageUpload(asIScriptEngine* engine)
  2699. {
  2700. // PackageUpload::~PackageUpload() | Implicitly-declared
  2701. engine->RegisterObjectBehaviour("PackageUpload", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PackageUpload), AS_CALL_CDECL_OBJFIRST);
  2702. RegisterMembers_PackageUpload<PackageUpload>(engine, "PackageUpload");
  2703. #ifdef REGISTER_CLASS_MANUAL_PART_PackageUpload
  2704. REGISTER_CLASS_MANUAL_PART_PackageUpload();
  2705. #endif
  2706. // PackageUpload& PackageUpload::operator =(const PackageUpload&) | Possible implicitly-declared
  2707. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PackageUpload>(engine, "PackageUpload");
  2708. }
  2709. // struct RemoteEvent | File: ../Network/Connection.h
  2710. static void Register_RemoteEvent(asIScriptEngine* engine)
  2711. {
  2712. // RemoteEvent::~RemoteEvent() | Implicitly-declared
  2713. engine->RegisterObjectBehaviour("RemoteEvent", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(RemoteEvent), AS_CALL_CDECL_OBJFIRST);
  2714. RegisterMembers_RemoteEvent<RemoteEvent>(engine, "RemoteEvent");
  2715. #ifdef REGISTER_CLASS_MANUAL_PART_RemoteEvent
  2716. REGISTER_CLASS_MANUAL_PART_RemoteEvent();
  2717. #endif
  2718. // RemoteEvent& RemoteEvent::operator =(const RemoteEvent&) | Possible implicitly-declared
  2719. RegisterImplicitlyDeclaredAssignOperatorIfPossible<RemoteEvent>(engine, "RemoteEvent");
  2720. }
  2721. #endif // def URHO3D_NETWORK
  2722. #ifdef URHO3D_PHYSICS
  2723. // struct DelayedWorldTransform | File: ../Physics/PhysicsWorld.h
  2724. static void Register_DelayedWorldTransform(asIScriptEngine* engine)
  2725. {
  2726. // DelayedWorldTransform::~DelayedWorldTransform() | Implicitly-declared
  2727. engine->RegisterObjectBehaviour("DelayedWorldTransform", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(DelayedWorldTransform), AS_CALL_CDECL_OBJFIRST);
  2728. RegisterMembers_DelayedWorldTransform<DelayedWorldTransform>(engine, "DelayedWorldTransform");
  2729. #ifdef REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform
  2730. REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform();
  2731. #endif
  2732. // DelayedWorldTransform& DelayedWorldTransform::operator =(const DelayedWorldTransform&) | Possible implicitly-declared
  2733. RegisterImplicitlyDeclaredAssignOperatorIfPossible<DelayedWorldTransform>(engine, "DelayedWorldTransform");
  2734. }
  2735. // struct ManifoldPair | File: ../Physics/PhysicsWorld.h
  2736. static void Register_ManifoldPair(asIScriptEngine* engine)
  2737. {
  2738. // ManifoldPair::~ManifoldPair() | Implicitly-declared
  2739. engine->RegisterObjectBehaviour("ManifoldPair", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ManifoldPair), AS_CALL_CDECL_OBJFIRST);
  2740. RegisterMembers_ManifoldPair<ManifoldPair>(engine, "ManifoldPair");
  2741. #ifdef REGISTER_CLASS_MANUAL_PART_ManifoldPair
  2742. REGISTER_CLASS_MANUAL_PART_ManifoldPair();
  2743. #endif
  2744. // ManifoldPair& ManifoldPair::operator =(const ManifoldPair&) | Possible implicitly-declared
  2745. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ManifoldPair>(engine, "ManifoldPair");
  2746. }
  2747. // struct PhysicsRaycastResult | File: ../Physics/PhysicsWorld.h
  2748. static void Register_PhysicsRaycastResult(asIScriptEngine* engine)
  2749. {
  2750. // PhysicsRaycastResult::~PhysicsRaycastResult() | Implicitly-declared
  2751. engine->RegisterObjectBehaviour("PhysicsRaycastResult", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PhysicsRaycastResult), AS_CALL_CDECL_OBJFIRST);
  2752. RegisterMembers_PhysicsRaycastResult<PhysicsRaycastResult>(engine, "PhysicsRaycastResult");
  2753. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult
  2754. REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult();
  2755. #endif
  2756. // PhysicsRaycastResult& PhysicsRaycastResult::operator =(const PhysicsRaycastResult&) | Possible implicitly-declared
  2757. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PhysicsRaycastResult>(engine, "PhysicsRaycastResult");
  2758. }
  2759. // struct PhysicsWorldConfig | File: ../Physics/PhysicsWorld.h
  2760. static void Register_PhysicsWorldConfig(asIScriptEngine* engine)
  2761. {
  2762. // PhysicsWorldConfig::~PhysicsWorldConfig() | Implicitly-declared
  2763. engine->RegisterObjectBehaviour("PhysicsWorldConfig", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PhysicsWorldConfig), AS_CALL_CDECL_OBJFIRST);
  2764. RegisterMembers_PhysicsWorldConfig<PhysicsWorldConfig>(engine, "PhysicsWorldConfig");
  2765. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsWorldConfig
  2766. REGISTER_CLASS_MANUAL_PART_PhysicsWorldConfig();
  2767. #endif
  2768. // PhysicsWorldConfig& PhysicsWorldConfig::operator =(const PhysicsWorldConfig&) | Possible implicitly-declared
  2769. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PhysicsWorldConfig>(engine, "PhysicsWorldConfig");
  2770. }
  2771. #endif // def URHO3D_PHYSICS
  2772. #ifdef URHO3D_PHYSICS2D
  2773. // struct DelayedWorldTransform2D | File: ../Physics2D/PhysicsWorld2D.h
  2774. static void Register_DelayedWorldTransform2D(asIScriptEngine* engine)
  2775. {
  2776. // DelayedWorldTransform2D::~DelayedWorldTransform2D() | Implicitly-declared
  2777. engine->RegisterObjectBehaviour("DelayedWorldTransform2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(DelayedWorldTransform2D), AS_CALL_CDECL_OBJFIRST);
  2778. RegisterMembers_DelayedWorldTransform2D<DelayedWorldTransform2D>(engine, "DelayedWorldTransform2D");
  2779. #ifdef REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform2D
  2780. REGISTER_CLASS_MANUAL_PART_DelayedWorldTransform2D();
  2781. #endif
  2782. // DelayedWorldTransform2D& DelayedWorldTransform2D::operator =(const DelayedWorldTransform2D&) | Possible implicitly-declared
  2783. RegisterImplicitlyDeclaredAssignOperatorIfPossible<DelayedWorldTransform2D>(engine, "DelayedWorldTransform2D");
  2784. }
  2785. // struct PhysicsRaycastResult2D | File: ../Physics2D/PhysicsWorld2D.h
  2786. static void Register_PhysicsRaycastResult2D(asIScriptEngine* engine)
  2787. {
  2788. // PhysicsRaycastResult2D::~PhysicsRaycastResult2D() | Implicitly-declared
  2789. engine->RegisterObjectBehaviour("PhysicsRaycastResult2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(PhysicsRaycastResult2D), AS_CALL_CDECL_OBJFIRST);
  2790. RegisterMembers_PhysicsRaycastResult2D<PhysicsRaycastResult2D>(engine, "PhysicsRaycastResult2D");
  2791. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult2D
  2792. REGISTER_CLASS_MANUAL_PART_PhysicsRaycastResult2D();
  2793. #endif
  2794. // PhysicsRaycastResult2D& PhysicsRaycastResult2D::operator =(const PhysicsRaycastResult2D&) | Possible implicitly-declared
  2795. RegisterImplicitlyDeclaredAssignOperatorIfPossible<PhysicsRaycastResult2D>(engine, "PhysicsRaycastResult2D");
  2796. }
  2797. #endif // def URHO3D_PHYSICS2D
  2798. #ifdef URHO3D_URHO2D
  2799. // struct Particle2D | File: ../Urho2D/ParticleEmitter2D.h
  2800. static void Register_Particle2D(asIScriptEngine* engine)
  2801. {
  2802. // Particle2D::~Particle2D() | Implicitly-declared
  2803. engine->RegisterObjectBehaviour("Particle2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Particle2D), AS_CALL_CDECL_OBJFIRST);
  2804. RegisterMembers_Particle2D<Particle2D>(engine, "Particle2D");
  2805. #ifdef REGISTER_CLASS_MANUAL_PART_Particle2D
  2806. REGISTER_CLASS_MANUAL_PART_Particle2D();
  2807. #endif
  2808. // Particle2D& Particle2D::operator =(const Particle2D&) | Possible implicitly-declared
  2809. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Particle2D>(engine, "Particle2D");
  2810. }
  2811. // struct SourceBatch2D | File: ../Urho2D/Drawable2D.h
  2812. static void Register_SourceBatch2D(asIScriptEngine* engine)
  2813. {
  2814. // SourceBatch2D::~SourceBatch2D() | Implicitly-declared
  2815. engine->RegisterObjectBehaviour("SourceBatch2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(SourceBatch2D), AS_CALL_CDECL_OBJFIRST);
  2816. RegisterMembers_SourceBatch2D<SourceBatch2D>(engine, "SourceBatch2D");
  2817. #ifdef REGISTER_CLASS_MANUAL_PART_SourceBatch2D
  2818. REGISTER_CLASS_MANUAL_PART_SourceBatch2D();
  2819. #endif
  2820. // SourceBatch2D& SourceBatch2D::operator =(const SourceBatch2D&) | Possible implicitly-declared
  2821. RegisterImplicitlyDeclaredAssignOperatorIfPossible<SourceBatch2D>(engine, "SourceBatch2D");
  2822. }
  2823. // struct TileMapInfo2D | File: ../Urho2D/TileMapDefs2D.h
  2824. static void Register_TileMapInfo2D(asIScriptEngine* engine)
  2825. {
  2826. RegisterMembers_TileMapInfo2D<TileMapInfo2D>(engine, "TileMapInfo2D");
  2827. #ifdef REGISTER_CLASS_MANUAL_PART_TileMapInfo2D
  2828. REGISTER_CLASS_MANUAL_PART_TileMapInfo2D();
  2829. #endif
  2830. // TileMapInfo2D& TileMapInfo2D::operator =(const TileMapInfo2D&) | Possible implicitly-declared
  2831. RegisterImplicitlyDeclaredAssignOperatorIfPossible<TileMapInfo2D>(engine, "TileMapInfo2D");
  2832. }
  2833. // struct Vertex2D | File: ../Urho2D/Drawable2D.h
  2834. static void Register_Vertex2D(asIScriptEngine* engine)
  2835. {
  2836. // Vertex2D::~Vertex2D() | Implicitly-declared
  2837. engine->RegisterObjectBehaviour("Vertex2D", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(Vertex2D), AS_CALL_CDECL_OBJFIRST);
  2838. RegisterMembers_Vertex2D<Vertex2D>(engine, "Vertex2D");
  2839. #ifdef REGISTER_CLASS_MANUAL_PART_Vertex2D
  2840. REGISTER_CLASS_MANUAL_PART_Vertex2D();
  2841. #endif
  2842. // Vertex2D& Vertex2D::operator =(const Vertex2D&) | Possible implicitly-declared
  2843. RegisterImplicitlyDeclaredAssignOperatorIfPossible<Vertex2D>(engine, "Vertex2D");
  2844. }
  2845. #endif // def URHO3D_URHO2D
  2846. // AnimationState::AnimationState(AnimatedModel* model, Animation* animation)
  2847. static AnimationState* AnimationState__AnimationState_AnimatedModelstar_Animationstar(AnimatedModel* model, Animation* animation)
  2848. {
  2849. return new AnimationState(model, animation);
  2850. }
  2851. // AnimationState::AnimationState(Node* node, Animation* animation)
  2852. static AnimationState* AnimationState__AnimationState_Nodestar_Animationstar(Node* node, Animation* animation)
  2853. {
  2854. return new AnimationState(node, animation);
  2855. }
  2856. // class AnimationState | File: ../Graphics/AnimationState.h
  2857. static void Register_AnimationState(asIScriptEngine* engine)
  2858. {
  2859. // AnimationState::AnimationState(AnimatedModel* model, Animation* animation)
  2860. engine->RegisterObjectBehaviour("AnimationState", asBEHAVE_FACTORY, "AnimationState@+ f(AnimatedModel@+, Animation@+)", AS_FUNCTION(AnimationState__AnimationState_AnimatedModelstar_Animationstar) , AS_CALL_CDECL);
  2861. // AnimationState::AnimationState(Node* node, Animation* animation)
  2862. engine->RegisterObjectBehaviour("AnimationState", asBEHAVE_FACTORY, "AnimationState@+ f(Node@+, Animation@+)", AS_FUNCTION(AnimationState__AnimationState_Nodestar_Animationstar) , AS_CALL_CDECL);
  2863. RegisterSubclass<RefCounted, AnimationState>(engine, "RefCounted", "AnimationState");
  2864. RegisterMembers_AnimationState<AnimationState>(engine, "AnimationState");
  2865. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationState
  2866. REGISTER_CLASS_MANUAL_PART_AnimationState();
  2867. #endif
  2868. }
  2869. // class AttributeAccessor | File: ../Core/Attribute.h
  2870. static void Register_AttributeAccessor(asIScriptEngine* engine)
  2871. {
  2872. RegisterSubclass<RefCounted, AttributeAccessor>(engine, "RefCounted", "AttributeAccessor");
  2873. RegisterMembers_AttributeAccessor<AttributeAccessor>(engine, "AttributeAccessor");
  2874. #ifdef REGISTER_CLASS_MANUAL_PART_AttributeAccessor
  2875. REGISTER_CLASS_MANUAL_PART_AttributeAccessor();
  2876. #endif
  2877. }
  2878. // explicit BatchGroup::BatchGroup(const Batch& batch)
  2879. static void BatchGroup__BatchGroup_constspBatchamp(BatchGroup* _ptr, const Batch& batch)
  2880. {
  2881. new(_ptr) BatchGroup(batch);
  2882. }
  2883. // struct BatchGroup | File: ../Graphics/Batch.h
  2884. static void Register_BatchGroup(asIScriptEngine* engine)
  2885. {
  2886. // explicit BatchGroup::BatchGroup(const Batch& batch)
  2887. engine->RegisterObjectBehaviour("BatchGroup", asBEHAVE_CONSTRUCT, "void f(const Batch&in)", AS_FUNCTION_OBJFIRST(BatchGroup__BatchGroup_constspBatchamp), AS_CALL_CDECL_OBJFIRST);
  2888. // BatchGroup::~BatchGroup() = default
  2889. engine->RegisterObjectBehaviour("BatchGroup", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(BatchGroup), AS_CALL_CDECL_OBJFIRST);
  2890. RegisterMembers_BatchGroup<BatchGroup>(engine, "BatchGroup");
  2891. #ifdef REGISTER_CLASS_MANUAL_PART_BatchGroup
  2892. REGISTER_CLASS_MANUAL_PART_BatchGroup();
  2893. #endif
  2894. // BatchGroup& BatchGroup::operator =(const BatchGroup&) | Possible implicitly-declared
  2895. RegisterImplicitlyDeclaredAssignOperatorIfPossible<BatchGroup>(engine, "BatchGroup");
  2896. }
  2897. // struct ComponentReplicationState | File: ../Scene/ReplicationState.h
  2898. static void Register_ComponentReplicationState(asIScriptEngine* engine)
  2899. {
  2900. // ComponentReplicationState::~ComponentReplicationState() | Implicitly-declared
  2901. engine->RegisterObjectBehaviour("ComponentReplicationState", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(ComponentReplicationState), AS_CALL_CDECL_OBJFIRST);
  2902. RegisterMembers_ComponentReplicationState<ComponentReplicationState>(engine, "ComponentReplicationState");
  2903. #ifdef REGISTER_CLASS_MANUAL_PART_ComponentReplicationState
  2904. REGISTER_CLASS_MANUAL_PART_ComponentReplicationState();
  2905. #endif
  2906. // ComponentReplicationState& ComponentReplicationState::operator =(const ComponentReplicationState&) | Possible implicitly-declared
  2907. RegisterImplicitlyDeclaredAssignOperatorIfPossible<ComponentReplicationState>(engine, "ComponentReplicationState");
  2908. }
  2909. // class Context | File: ../Core/Context.h
  2910. static void Register_Context(asIScriptEngine* engine)
  2911. {
  2912. RegisterSubclass<RefCounted, Context>(engine, "RefCounted", "Context");
  2913. RegisterMembers_Context<Context>(engine, "Context");
  2914. #ifdef REGISTER_CLASS_MANUAL_PART_Context
  2915. REGISTER_CLASS_MANUAL_PART_Context();
  2916. #endif
  2917. }
  2918. // class EventReceiverGroup | File: ../Core/Context.h
  2919. static void Register_EventReceiverGroup(asIScriptEngine* engine)
  2920. {
  2921. RegisterSubclass<RefCounted, EventReceiverGroup>(engine, "RefCounted", "EventReceiverGroup");
  2922. RegisterMembers_EventReceiverGroup<EventReceiverGroup>(engine, "EventReceiverGroup");
  2923. #ifdef REGISTER_CLASS_MANUAL_PART_EventReceiverGroup
  2924. REGISTER_CLASS_MANUAL_PART_EventReceiverGroup();
  2925. #endif
  2926. }
  2927. // class FontFace | File: ../UI/FontFace.h
  2928. static void Register_FontFace(asIScriptEngine* engine)
  2929. {
  2930. RegisterSubclass<RefCounted, FontFace>(engine, "RefCounted", "FontFace");
  2931. RegisterMembers_FontFace<FontFace>(engine, "FontFace");
  2932. #ifdef REGISTER_CLASS_MANUAL_PART_FontFace
  2933. REGISTER_CLASS_MANUAL_PART_FontFace();
  2934. #endif
  2935. }
  2936. // struct NodeReplicationState | File: ../Scene/ReplicationState.h
  2937. static void Register_NodeReplicationState(asIScriptEngine* engine)
  2938. {
  2939. // NodeReplicationState::~NodeReplicationState() | Implicitly-declared
  2940. engine->RegisterObjectBehaviour("NodeReplicationState", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(NodeReplicationState), AS_CALL_CDECL_OBJFIRST);
  2941. RegisterMembers_NodeReplicationState<NodeReplicationState>(engine, "NodeReplicationState");
  2942. #ifdef REGISTER_CLASS_MANUAL_PART_NodeReplicationState
  2943. REGISTER_CLASS_MANUAL_PART_NodeReplicationState();
  2944. #endif
  2945. // NodeReplicationState& NodeReplicationState::operator =(const NodeReplicationState&) | Possible implicitly-declared
  2946. RegisterImplicitlyDeclaredAssignOperatorIfPossible<NodeReplicationState>(engine, "NodeReplicationState");
  2947. }
  2948. // class Object | File: ../Core/Object.h
  2949. static void Register_Object(asIScriptEngine* engine)
  2950. {
  2951. RegisterSubclass<RefCounted, Object>(engine, "RefCounted", "Object");
  2952. RegisterMembers_Object<Object>(engine, "Object");
  2953. #ifdef REGISTER_CLASS_MANUAL_PART_Object
  2954. REGISTER_CLASS_MANUAL_PART_Object();
  2955. #endif
  2956. }
  2957. // class ObjectFactory | File: ../Core/Object.h
  2958. static void Register_ObjectFactory(asIScriptEngine* engine)
  2959. {
  2960. RegisterSubclass<RefCounted, ObjectFactory>(engine, "RefCounted", "ObjectFactory");
  2961. RegisterMembers_ObjectFactory<ObjectFactory>(engine, "ObjectFactory");
  2962. #ifdef REGISTER_CLASS_MANUAL_PART_ObjectFactory
  2963. REGISTER_CLASS_MANUAL_PART_ObjectFactory();
  2964. #endif
  2965. }
  2966. // explicit Pass::Pass(const String& name)
  2967. static Pass* Pass__Pass_constspStringamp(const String& name)
  2968. {
  2969. return new Pass(name);
  2970. }
  2971. // class Pass | File: ../Graphics/Technique.h
  2972. static void Register_Pass(asIScriptEngine* engine)
  2973. {
  2974. // explicit Pass::Pass(const String& name)
  2975. engine->RegisterObjectBehaviour("Pass", asBEHAVE_FACTORY, "Pass@+ f(const String&in)", AS_FUNCTION(Pass__Pass_constspStringamp) , AS_CALL_CDECL);
  2976. RegisterSubclass<RefCounted, Pass>(engine, "RefCounted", "Pass");
  2977. RegisterMembers_Pass<Pass>(engine, "Pass");
  2978. #ifdef REGISTER_CLASS_MANUAL_PART_Pass
  2979. REGISTER_CLASS_MANUAL_PART_Pass();
  2980. #endif
  2981. }
  2982. // class RenderPath | File: ../Graphics/RenderPath.h
  2983. static void Register_RenderPath(asIScriptEngine* engine)
  2984. {
  2985. RegisterSubclass<RefCounted, RenderPath>(engine, "RefCounted", "RenderPath");
  2986. RegisterMembers_RenderPath<RenderPath>(engine, "RenderPath");
  2987. #ifdef REGISTER_CLASS_MANUAL_PART_RenderPath
  2988. REGISTER_CLASS_MANUAL_PART_RenderPath();
  2989. #endif
  2990. }
  2991. // explicit RenderSurface::RenderSurface(Texture* parentTexture)
  2992. static RenderSurface* RenderSurface__RenderSurface_Texturestar(Texture* parentTexture)
  2993. {
  2994. return new RenderSurface(parentTexture);
  2995. }
  2996. // class RenderSurface | File: ../GraphicsAPI/RenderSurface.h
  2997. static void Register_RenderSurface(asIScriptEngine* engine)
  2998. {
  2999. // explicit RenderSurface::RenderSurface(Texture* parentTexture)
  3000. engine->RegisterObjectBehaviour("RenderSurface", asBEHAVE_FACTORY, "RenderSurface@+ f(Texture@+)", AS_FUNCTION(RenderSurface__RenderSurface_Texturestar) , AS_CALL_CDECL);
  3001. RegisterSubclass<RefCounted, RenderSurface>(engine, "RefCounted", "RenderSurface");
  3002. RegisterMembers_RenderSurface<RenderSurface>(engine, "RenderSurface");
  3003. #ifdef REGISTER_CLASS_MANUAL_PART_RenderSurface
  3004. REGISTER_CLASS_MANUAL_PART_RenderSurface();
  3005. #endif
  3006. }
  3007. // struct SceneReplicationState | File: ../Scene/ReplicationState.h
  3008. static void Register_SceneReplicationState(asIScriptEngine* engine)
  3009. {
  3010. // SceneReplicationState::~SceneReplicationState() | Implicitly-declared
  3011. engine->RegisterObjectBehaviour("SceneReplicationState", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(SceneReplicationState), AS_CALL_CDECL_OBJFIRST);
  3012. RegisterMembers_SceneReplicationState<SceneReplicationState>(engine, "SceneReplicationState");
  3013. #ifdef REGISTER_CLASS_MANUAL_PART_SceneReplicationState
  3014. REGISTER_CLASS_MANUAL_PART_SceneReplicationState();
  3015. #endif
  3016. // SceneReplicationState& SceneReplicationState::operator =(const SceneReplicationState&) | Possible implicitly-declared
  3017. RegisterImplicitlyDeclaredAssignOperatorIfPossible<SceneReplicationState>(engine, "SceneReplicationState");
  3018. }
  3019. // ShaderVariation::ShaderVariation(Shader* owner, ShaderType type)
  3020. static ShaderVariation* ShaderVariation__ShaderVariation_Shaderstar_ShaderType(Shader* owner, ShaderType type)
  3021. {
  3022. return new ShaderVariation(owner, type);
  3023. }
  3024. // class ShaderVariation | File: ../GraphicsAPI/ShaderVariation.h
  3025. static void Register_ShaderVariation(asIScriptEngine* engine)
  3026. {
  3027. // ShaderVariation::ShaderVariation(Shader* owner, ShaderType type)
  3028. engine->RegisterObjectBehaviour("ShaderVariation", asBEHAVE_FACTORY, "ShaderVariation@+ f(Shader@+, ShaderType)", AS_FUNCTION(ShaderVariation__ShaderVariation_Shaderstar_ShaderType) , AS_CALL_CDECL);
  3029. RegisterSubclass<RefCounted, ShaderVariation>(engine, "RefCounted", "ShaderVariation");
  3030. RegisterMembers_ShaderVariation<ShaderVariation>(engine, "ShaderVariation");
  3031. #ifdef REGISTER_CLASS_MANUAL_PART_ShaderVariation
  3032. REGISTER_CLASS_MANUAL_PART_ShaderVariation();
  3033. #endif
  3034. }
  3035. // class SoundStream | File: ../Audio/SoundStream.h
  3036. static void Register_SoundStream(asIScriptEngine* engine)
  3037. {
  3038. RegisterSubclass<RefCounted, SoundStream>(engine, "RefCounted", "SoundStream");
  3039. RegisterMembers_SoundStream<SoundStream>(engine, "SoundStream");
  3040. #ifdef REGISTER_CLASS_MANUAL_PART_SoundStream
  3041. REGISTER_CLASS_MANUAL_PART_SoundStream();
  3042. #endif
  3043. }
  3044. // ValueAnimationInfo::ValueAnimationInfo(ValueAnimation* animation, WrapMode wrapMode, float speed)
  3045. static ValueAnimationInfo* ValueAnimationInfo__ValueAnimationInfo_ValueAnimationstar_WrapMode_float(ValueAnimation* animation, WrapMode wrapMode, float speed)
  3046. {
  3047. return new ValueAnimationInfo(animation, wrapMode, speed);
  3048. }
  3049. // ValueAnimationInfo::ValueAnimationInfo(Object* target, ValueAnimation* animation, WrapMode wrapMode, float speed)
  3050. static ValueAnimationInfo* ValueAnimationInfo__ValueAnimationInfo_Objectstar_ValueAnimationstar_WrapMode_float(Object* target, ValueAnimation* animation, WrapMode wrapMode, float speed)
  3051. {
  3052. return new ValueAnimationInfo(target, animation, wrapMode, speed);
  3053. }
  3054. // ValueAnimationInfo::ValueAnimationInfo(const ValueAnimationInfo& other)
  3055. static ValueAnimationInfo* ValueAnimationInfo__ValueAnimationInfo_constspValueAnimationInfoamp(const ValueAnimationInfo& other)
  3056. {
  3057. return new ValueAnimationInfo(other);
  3058. }
  3059. // class ValueAnimationInfo | File: ../Scene/ValueAnimationInfo.h
  3060. static void Register_ValueAnimationInfo(asIScriptEngine* engine)
  3061. {
  3062. // ValueAnimationInfo::ValueAnimationInfo(ValueAnimation* animation, WrapMode wrapMode, float speed)
  3063. engine->RegisterObjectBehaviour("ValueAnimationInfo", asBEHAVE_FACTORY, "ValueAnimationInfo@+ f(ValueAnimation@+, WrapMode, float)", AS_FUNCTION(ValueAnimationInfo__ValueAnimationInfo_ValueAnimationstar_WrapMode_float) , AS_CALL_CDECL);
  3064. // ValueAnimationInfo::ValueAnimationInfo(Object* target, ValueAnimation* animation, WrapMode wrapMode, float speed)
  3065. engine->RegisterObjectBehaviour("ValueAnimationInfo", asBEHAVE_FACTORY, "ValueAnimationInfo@+ f(Object@+, ValueAnimation@+, WrapMode, float)", AS_FUNCTION(ValueAnimationInfo__ValueAnimationInfo_Objectstar_ValueAnimationstar_WrapMode_float) , AS_CALL_CDECL);
  3066. // ValueAnimationInfo::ValueAnimationInfo(const ValueAnimationInfo& other)
  3067. engine->RegisterObjectBehaviour("ValueAnimationInfo", asBEHAVE_FACTORY, "ValueAnimationInfo@+ f(const ValueAnimationInfo&in)", AS_FUNCTION(ValueAnimationInfo__ValueAnimationInfo_constspValueAnimationInfoamp) , AS_CALL_CDECL);
  3068. RegisterSubclass<RefCounted, ValueAnimationInfo>(engine, "RefCounted", "ValueAnimationInfo");
  3069. RegisterMembers_ValueAnimationInfo<ValueAnimationInfo>(engine, "ValueAnimationInfo");
  3070. #ifdef REGISTER_CLASS_MANUAL_PART_ValueAnimationInfo
  3071. REGISTER_CLASS_MANUAL_PART_ValueAnimationInfo();
  3072. #endif
  3073. }
  3074. #ifdef URHO3D_NAVIGATION
  3075. // struct SimpleNavBuildData | File: ../Navigation/NavBuildData.h
  3076. static void Register_SimpleNavBuildData(asIScriptEngine* engine)
  3077. {
  3078. // SimpleNavBuildData::~SimpleNavBuildData() override
  3079. engine->RegisterObjectBehaviour("SimpleNavBuildData", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(SimpleNavBuildData), AS_CALL_CDECL_OBJFIRST);
  3080. RegisterMembers_SimpleNavBuildData<SimpleNavBuildData>(engine, "SimpleNavBuildData");
  3081. #ifdef REGISTER_CLASS_MANUAL_PART_SimpleNavBuildData
  3082. REGISTER_CLASS_MANUAL_PART_SimpleNavBuildData();
  3083. #endif
  3084. // SimpleNavBuildData& SimpleNavBuildData::operator =(const SimpleNavBuildData&) | Possible implicitly-declared
  3085. RegisterImplicitlyDeclaredAssignOperatorIfPossible<SimpleNavBuildData>(engine, "SimpleNavBuildData");
  3086. }
  3087. #endif // def URHO3D_NAVIGATION
  3088. #ifdef URHO3D_NETWORK
  3089. // HttpRequest::HttpRequest(const String& url, const String& verb, const Vector<String>& headers, const String& postData)
  3090. static HttpRequest* HttpRequest__HttpRequest_constspStringamp_constspStringamp_constspVectorlesStringgreamp_constspStringamp(const String& url, const String& verb, CScriptArray* headers_conv, const String& postData)
  3091. {
  3092. Vector<String> headers = ArrayToVector<String>(headers_conv);
  3093. return new HttpRequest(url, verb, headers, postData);
  3094. }
  3095. // class HttpRequest | File: ../Network/HttpRequest.h
  3096. static void Register_HttpRequest(asIScriptEngine* engine)
  3097. {
  3098. // HttpRequest::HttpRequest(const String& url, const String& verb, const Vector<String>& headers, const String& postData)
  3099. 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);
  3100. RegisterSubclass<RefCounted, HttpRequest>(engine, "RefCounted", "HttpRequest");
  3101. RegisterSubclass<Deserializer, HttpRequest>(engine, "Deserializer", "HttpRequest");
  3102. RegisterMembers_HttpRequest<HttpRequest>(engine, "HttpRequest");
  3103. #ifdef REGISTER_CLASS_MANUAL_PART_HttpRequest
  3104. REGISTER_CLASS_MANUAL_PART_HttpRequest();
  3105. #endif
  3106. }
  3107. #endif // def URHO3D_NETWORK
  3108. #ifdef URHO3D_PHYSICS
  3109. // struct CollisionGeometryData | File: ../Physics/CollisionShape.h
  3110. static void Register_CollisionGeometryData(asIScriptEngine* engine)
  3111. {
  3112. RegisterSubclass<RefCounted, CollisionGeometryData>(engine, "RefCounted", "CollisionGeometryData");
  3113. RegisterMembers_CollisionGeometryData<CollisionGeometryData>(engine, "CollisionGeometryData");
  3114. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionGeometryData
  3115. REGISTER_CLASS_MANUAL_PART_CollisionGeometryData();
  3116. #endif
  3117. }
  3118. #endif // def URHO3D_PHYSICS
  3119. #ifdef URHO3D_URHO2D
  3120. // class PropertySet2D | File: ../Urho2D/TileMapDefs2D.h
  3121. static void Register_PropertySet2D(asIScriptEngine* engine)
  3122. {
  3123. RegisterSubclass<RefCounted, PropertySet2D>(engine, "RefCounted", "PropertySet2D");
  3124. RegisterMembers_PropertySet2D<PropertySet2D>(engine, "PropertySet2D");
  3125. #ifdef REGISTER_CLASS_MANUAL_PART_PropertySet2D
  3126. REGISTER_CLASS_MANUAL_PART_PropertySet2D();
  3127. #endif
  3128. }
  3129. // class Tile2D | File: ../Urho2D/TileMapDefs2D.h
  3130. static void Register_Tile2D(asIScriptEngine* engine)
  3131. {
  3132. RegisterSubclass<RefCounted, Tile2D>(engine, "RefCounted", "Tile2D");
  3133. RegisterMembers_Tile2D<Tile2D>(engine, "Tile2D");
  3134. #ifdef REGISTER_CLASS_MANUAL_PART_Tile2D
  3135. REGISTER_CLASS_MANUAL_PART_Tile2D();
  3136. #endif
  3137. }
  3138. // class TileMapObject2D | File: ../Urho2D/TileMapDefs2D.h
  3139. static void Register_TileMapObject2D(asIScriptEngine* engine)
  3140. {
  3141. RegisterSubclass<RefCounted, TileMapObject2D>(engine, "RefCounted", "TileMapObject2D");
  3142. RegisterMembers_TileMapObject2D<TileMapObject2D>(engine, "TileMapObject2D");
  3143. #ifdef REGISTER_CLASS_MANUAL_PART_TileMapObject2D
  3144. REGISTER_CLASS_MANUAL_PART_TileMapObject2D();
  3145. #endif
  3146. }
  3147. // TmxLayer2D::TmxLayer2D(TmxFile2D* tmxFile, TileMapLayerType2D type)
  3148. static TmxLayer2D* TmxLayer2D__TmxLayer2D_TmxFile2Dstar_TileMapLayerType2D(TmxFile2D* tmxFile, TileMapLayerType2D type)
  3149. {
  3150. return new TmxLayer2D(tmxFile, type);
  3151. }
  3152. // class TmxLayer2D | File: ../Urho2D/TmxFile2D.h
  3153. static void Register_TmxLayer2D(asIScriptEngine* engine)
  3154. {
  3155. // TmxLayer2D::TmxLayer2D(TmxFile2D* tmxFile, TileMapLayerType2D type)
  3156. engine->RegisterObjectBehaviour("TmxLayer2D", asBEHAVE_FACTORY, "TmxLayer2D@+ f(TmxFile2D@+, TileMapLayerType2D)", AS_FUNCTION(TmxLayer2D__TmxLayer2D_TmxFile2Dstar_TileMapLayerType2D) , AS_CALL_CDECL);
  3157. RegisterSubclass<RefCounted, TmxLayer2D>(engine, "RefCounted", "TmxLayer2D");
  3158. RegisterMembers_TmxLayer2D<TmxLayer2D>(engine, "TmxLayer2D");
  3159. #ifdef REGISTER_CLASS_MANUAL_PART_TmxLayer2D
  3160. REGISTER_CLASS_MANUAL_PART_TmxLayer2D();
  3161. #endif
  3162. }
  3163. #endif // def URHO3D_URHO2D
  3164. // AttributeAnimationInfo::AttributeAnimationInfo(Animatable* animatable, const AttributeInfo& attributeInfo, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3165. static AttributeAnimationInfo* AttributeAnimationInfo__AttributeAnimationInfo_Animatablestar_constspAttributeInfoamp_ValueAnimationstar_WrapMode_float(Animatable* animatable, const AttributeInfo& attributeInfo, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3166. {
  3167. return new AttributeAnimationInfo(animatable, attributeInfo, attributeAnimation, wrapMode, speed);
  3168. }
  3169. // AttributeAnimationInfo::AttributeAnimationInfo(const AttributeAnimationInfo& other)
  3170. static AttributeAnimationInfo* AttributeAnimationInfo__AttributeAnimationInfo_constspAttributeAnimationInfoamp(const AttributeAnimationInfo& other)
  3171. {
  3172. return new AttributeAnimationInfo(other);
  3173. }
  3174. // class AttributeAnimationInfo | File: ../Scene/Animatable.h
  3175. static void Register_AttributeAnimationInfo(asIScriptEngine* engine)
  3176. {
  3177. // AttributeAnimationInfo::AttributeAnimationInfo(Animatable* animatable, const AttributeInfo& attributeInfo, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3178. 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);
  3179. // AttributeAnimationInfo::AttributeAnimationInfo(const AttributeAnimationInfo& other)
  3180. engine->RegisterObjectBehaviour("AttributeAnimationInfo", asBEHAVE_FACTORY, "AttributeAnimationInfo@+ f(const AttributeAnimationInfo&in)", AS_FUNCTION(AttributeAnimationInfo__AttributeAnimationInfo_constspAttributeAnimationInfoamp) , AS_CALL_CDECL);
  3181. RegisterSubclass<ValueAnimationInfo, AttributeAnimationInfo>(engine, "ValueAnimationInfo", "AttributeAnimationInfo");
  3182. RegisterSubclass<RefCounted, AttributeAnimationInfo>(engine, "RefCounted", "AttributeAnimationInfo");
  3183. RegisterMembers_AttributeAnimationInfo<AttributeAnimationInfo>(engine, "AttributeAnimationInfo");
  3184. #ifdef REGISTER_CLASS_MANUAL_PART_AttributeAnimationInfo
  3185. REGISTER_CLASS_MANUAL_PART_AttributeAnimationInfo();
  3186. #endif
  3187. }
  3188. // explicit Audio::Audio(Context* context)
  3189. static Audio* Audio__Audio_Contextstar()
  3190. {
  3191. Context* context = GetScriptContext();
  3192. return new Audio(context);
  3193. }
  3194. // class Audio | File: ../Audio/Audio.h
  3195. static void Register_Audio(asIScriptEngine* engine)
  3196. {
  3197. // explicit Audio::Audio(Context* context)
  3198. engine->RegisterObjectBehaviour("Audio", asBEHAVE_FACTORY, "Audio@+ f()", AS_FUNCTION(Audio__Audio_Contextstar) , AS_CALL_CDECL);
  3199. RegisterSubclass<Object, Audio>(engine, "Object", "Audio");
  3200. RegisterSubclass<RefCounted, Audio>(engine, "RefCounted", "Audio");
  3201. RegisterMembers_Audio<Audio>(engine, "Audio");
  3202. #ifdef REGISTER_CLASS_MANUAL_PART_Audio
  3203. REGISTER_CLASS_MANUAL_PART_Audio();
  3204. #endif
  3205. }
  3206. // class BufferedSoundStream | File: ../Audio/BufferedSoundStream.h
  3207. static void Register_BufferedSoundStream(asIScriptEngine* engine)
  3208. {
  3209. RegisterSubclass<SoundStream, BufferedSoundStream>(engine, "SoundStream", "BufferedSoundStream");
  3210. RegisterSubclass<RefCounted, BufferedSoundStream>(engine, "RefCounted", "BufferedSoundStream");
  3211. RegisterMembers_BufferedSoundStream<BufferedSoundStream>(engine, "BufferedSoundStream");
  3212. #ifdef REGISTER_CLASS_MANUAL_PART_BufferedSoundStream
  3213. REGISTER_CLASS_MANUAL_PART_BufferedSoundStream();
  3214. #endif
  3215. }
  3216. // explicit Console::Console(Context* context)
  3217. static Console* Console__Console_Contextstar()
  3218. {
  3219. Context* context = GetScriptContext();
  3220. return new Console(context);
  3221. }
  3222. // class Console | File: ../Engine/Console.h
  3223. static void Register_Console(asIScriptEngine* engine)
  3224. {
  3225. // explicit Console::Console(Context* context)
  3226. engine->RegisterObjectBehaviour("Console", asBEHAVE_FACTORY, "Console@+ f()", AS_FUNCTION(Console__Console_Contextstar) , AS_CALL_CDECL);
  3227. RegisterSubclass<Object, Console>(engine, "Object", "Console");
  3228. RegisterSubclass<RefCounted, Console>(engine, "RefCounted", "Console");
  3229. RegisterMembers_Console<Console>(engine, "Console");
  3230. #ifdef REGISTER_CLASS_MANUAL_PART_Console
  3231. REGISTER_CLASS_MANUAL_PART_Console();
  3232. #endif
  3233. }
  3234. // explicit ConstantBuffer::ConstantBuffer(Context* context)
  3235. static ConstantBuffer* ConstantBuffer__ConstantBuffer_Contextstar()
  3236. {
  3237. Context* context = GetScriptContext();
  3238. return new ConstantBuffer(context);
  3239. }
  3240. // class ConstantBuffer | File: ../GraphicsAPI/ConstantBuffer.h
  3241. static void Register_ConstantBuffer(asIScriptEngine* engine)
  3242. {
  3243. // explicit ConstantBuffer::ConstantBuffer(Context* context)
  3244. engine->RegisterObjectBehaviour("ConstantBuffer", asBEHAVE_FACTORY, "ConstantBuffer@+ f()", AS_FUNCTION(ConstantBuffer__ConstantBuffer_Contextstar) , AS_CALL_CDECL);
  3245. RegisterSubclass<Object, ConstantBuffer>(engine, "Object", "ConstantBuffer");
  3246. RegisterSubclass<RefCounted, ConstantBuffer>(engine, "RefCounted", "ConstantBuffer");
  3247. RegisterMembers_ConstantBuffer<ConstantBuffer>(engine, "ConstantBuffer");
  3248. #ifdef REGISTER_CLASS_MANUAL_PART_ConstantBuffer
  3249. REGISTER_CLASS_MANUAL_PART_ConstantBuffer();
  3250. #endif
  3251. }
  3252. // explicit DebugHud::DebugHud(Context* context)
  3253. static DebugHud* DebugHud__DebugHud_Contextstar()
  3254. {
  3255. Context* context = GetScriptContext();
  3256. return new DebugHud(context);
  3257. }
  3258. // class DebugHud | File: ../Engine/DebugHud.h
  3259. static void Register_DebugHud(asIScriptEngine* engine)
  3260. {
  3261. // explicit DebugHud::DebugHud(Context* context)
  3262. engine->RegisterObjectBehaviour("DebugHud", asBEHAVE_FACTORY, "DebugHud@+ f()", AS_FUNCTION(DebugHud__DebugHud_Contextstar) , AS_CALL_CDECL);
  3263. RegisterSubclass<Object, DebugHud>(engine, "Object", "DebugHud");
  3264. RegisterSubclass<RefCounted, DebugHud>(engine, "RefCounted", "DebugHud");
  3265. RegisterMembers_DebugHud<DebugHud>(engine, "DebugHud");
  3266. #ifdef REGISTER_CLASS_MANUAL_PART_DebugHud
  3267. REGISTER_CLASS_MANUAL_PART_DebugHud();
  3268. #endif
  3269. }
  3270. // explicit Engine::Engine(Context* context)
  3271. static Engine* Engine__Engine_Contextstar()
  3272. {
  3273. Context* context = GetScriptContext();
  3274. return new Engine(context);
  3275. }
  3276. // class Engine | File: ../Engine/Engine.h
  3277. static void Register_Engine(asIScriptEngine* engine)
  3278. {
  3279. // explicit Engine::Engine(Context* context)
  3280. engine->RegisterObjectBehaviour("Engine", asBEHAVE_FACTORY, "Engine@+ f()", AS_FUNCTION(Engine__Engine_Contextstar) , AS_CALL_CDECL);
  3281. RegisterSubclass<Object, Engine>(engine, "Object", "Engine");
  3282. RegisterSubclass<RefCounted, Engine>(engine, "RefCounted", "Engine");
  3283. RegisterMembers_Engine<Engine>(engine, "Engine");
  3284. #ifdef REGISTER_CLASS_MANUAL_PART_Engine
  3285. REGISTER_CLASS_MANUAL_PART_Engine();
  3286. #endif
  3287. }
  3288. // explicit File::File(Context* context)
  3289. static File* File__File_Contextstar()
  3290. {
  3291. Context* context = GetScriptContext();
  3292. return new File(context);
  3293. }
  3294. // File::File(Context* context, const String& fileName, FileMode mode = FILE_READ)
  3295. static File* File__File_Contextstar_constspStringamp_FileMode(const String& fileName, FileMode mode)
  3296. {
  3297. Context* context = GetScriptContext();
  3298. return new File(context, fileName, mode);
  3299. }
  3300. // File::File(Context* context, PackageFile* package, const String& fileName)
  3301. static File* File__File_Contextstar_PackageFilestar_constspStringamp(PackageFile* package, const String& fileName)
  3302. {
  3303. Context* context = GetScriptContext();
  3304. return new File(context, package, fileName);
  3305. }
  3306. // class File | File: ../IO/File.h
  3307. static void Register_File(asIScriptEngine* engine)
  3308. {
  3309. // explicit File::File(Context* context)
  3310. engine->RegisterObjectBehaviour("File", asBEHAVE_FACTORY, "File@+ f()", AS_FUNCTION(File__File_Contextstar) , AS_CALL_CDECL);
  3311. // File::File(Context* context, const String& fileName, FileMode mode = FILE_READ)
  3312. engine->RegisterObjectBehaviour("File", asBEHAVE_FACTORY, "File@+ f(const String&in, FileMode = FILE_READ)", AS_FUNCTION(File__File_Contextstar_constspStringamp_FileMode) , AS_CALL_CDECL);
  3313. // File::File(Context* context, PackageFile* package, const String& fileName)
  3314. engine->RegisterObjectBehaviour("File", asBEHAVE_FACTORY, "File@+ f(PackageFile@+, const String&in)", AS_FUNCTION(File__File_Contextstar_PackageFilestar_constspStringamp) , AS_CALL_CDECL);
  3315. RegisterSubclass<Object, File>(engine, "Object", "File");
  3316. RegisterSubclass<RefCounted, File>(engine, "RefCounted", "File");
  3317. RegisterSubclass<Deserializer, File>(engine, "Deserializer", "File");
  3318. RegisterSubclass<Serializer, File>(engine, "Serializer", "File");
  3319. RegisterMembers_File<File>(engine, "File");
  3320. #ifdef REGISTER_CLASS_MANUAL_PART_File
  3321. REGISTER_CLASS_MANUAL_PART_File();
  3322. #endif
  3323. }
  3324. // explicit FileSelector::FileSelector(Context* context)
  3325. static FileSelector* FileSelector__FileSelector_Contextstar()
  3326. {
  3327. Context* context = GetScriptContext();
  3328. return new FileSelector(context);
  3329. }
  3330. // class FileSelector | File: ../UI/FileSelector.h
  3331. static void Register_FileSelector(asIScriptEngine* engine)
  3332. {
  3333. // explicit FileSelector::FileSelector(Context* context)
  3334. engine->RegisterObjectBehaviour("FileSelector", asBEHAVE_FACTORY, "FileSelector@+ f()", AS_FUNCTION(FileSelector__FileSelector_Contextstar) , AS_CALL_CDECL);
  3335. RegisterSubclass<Object, FileSelector>(engine, "Object", "FileSelector");
  3336. RegisterSubclass<RefCounted, FileSelector>(engine, "RefCounted", "FileSelector");
  3337. RegisterMembers_FileSelector<FileSelector>(engine, "FileSelector");
  3338. #ifdef REGISTER_CLASS_MANUAL_PART_FileSelector
  3339. REGISTER_CLASS_MANUAL_PART_FileSelector();
  3340. #endif
  3341. }
  3342. // explicit FileSystem::FileSystem(Context* context)
  3343. static FileSystem* FileSystem__FileSystem_Contextstar()
  3344. {
  3345. Context* context = GetScriptContext();
  3346. return new FileSystem(context);
  3347. }
  3348. // class FileSystem | File: ../IO/FileSystem.h
  3349. static void Register_FileSystem(asIScriptEngine* engine)
  3350. {
  3351. // explicit FileSystem::FileSystem(Context* context)
  3352. engine->RegisterObjectBehaviour("FileSystem", asBEHAVE_FACTORY, "FileSystem@+ f()", AS_FUNCTION(FileSystem__FileSystem_Contextstar) , AS_CALL_CDECL);
  3353. RegisterSubclass<Object, FileSystem>(engine, "Object", "FileSystem");
  3354. RegisterSubclass<RefCounted, FileSystem>(engine, "RefCounted", "FileSystem");
  3355. RegisterMembers_FileSystem<FileSystem>(engine, "FileSystem");
  3356. #ifdef REGISTER_CLASS_MANUAL_PART_FileSystem
  3357. REGISTER_CLASS_MANUAL_PART_FileSystem();
  3358. #endif
  3359. }
  3360. // explicit FileWatcher::FileWatcher(Context* context)
  3361. static FileWatcher* FileWatcher__FileWatcher_Contextstar()
  3362. {
  3363. Context* context = GetScriptContext();
  3364. return new FileWatcher(context);
  3365. }
  3366. // class FileWatcher | File: ../IO/FileWatcher.h
  3367. static void Register_FileWatcher(asIScriptEngine* engine)
  3368. {
  3369. // explicit FileWatcher::FileWatcher(Context* context)
  3370. engine->RegisterObjectBehaviour("FileWatcher", asBEHAVE_FACTORY, "FileWatcher@+ f()", AS_FUNCTION(FileWatcher__FileWatcher_Contextstar) , AS_CALL_CDECL);
  3371. RegisterSubclass<Object, FileWatcher>(engine, "Object", "FileWatcher");
  3372. RegisterSubclass<RefCounted, FileWatcher>(engine, "RefCounted", "FileWatcher");
  3373. RegisterMembers_FileWatcher<FileWatcher>(engine, "FileWatcher");
  3374. #ifdef REGISTER_CLASS_MANUAL_PART_FileWatcher
  3375. REGISTER_CLASS_MANUAL_PART_FileWatcher();
  3376. #endif
  3377. }
  3378. // explicit FontFaceBitmap::FontFaceBitmap(Font* font)
  3379. static FontFaceBitmap* FontFaceBitmap__FontFaceBitmap_Fontstar(Font* font)
  3380. {
  3381. return new FontFaceBitmap(font);
  3382. }
  3383. // class FontFaceBitmap | File: ../UI/FontFaceBitmap.h
  3384. static void Register_FontFaceBitmap(asIScriptEngine* engine)
  3385. {
  3386. // explicit FontFaceBitmap::FontFaceBitmap(Font* font)
  3387. engine->RegisterObjectBehaviour("FontFaceBitmap", asBEHAVE_FACTORY, "FontFaceBitmap@+ f(Font@+)", AS_FUNCTION(FontFaceBitmap__FontFaceBitmap_Fontstar) , AS_CALL_CDECL);
  3388. RegisterSubclass<FontFace, FontFaceBitmap>(engine, "FontFace", "FontFaceBitmap");
  3389. RegisterSubclass<RefCounted, FontFaceBitmap>(engine, "RefCounted", "FontFaceBitmap");
  3390. RegisterMembers_FontFaceBitmap<FontFaceBitmap>(engine, "FontFaceBitmap");
  3391. #ifdef REGISTER_CLASS_MANUAL_PART_FontFaceBitmap
  3392. REGISTER_CLASS_MANUAL_PART_FontFaceBitmap();
  3393. #endif
  3394. }
  3395. // explicit FontFaceFreeType::FontFaceFreeType(Font* font)
  3396. static FontFaceFreeType* FontFaceFreeType__FontFaceFreeType_Fontstar(Font* font)
  3397. {
  3398. return new FontFaceFreeType(font);
  3399. }
  3400. // class FontFaceFreeType | File: ../UI/FontFaceFreeType.h
  3401. static void Register_FontFaceFreeType(asIScriptEngine* engine)
  3402. {
  3403. // explicit FontFaceFreeType::FontFaceFreeType(Font* font)
  3404. engine->RegisterObjectBehaviour("FontFaceFreeType", asBEHAVE_FACTORY, "FontFaceFreeType@+ f(Font@+)", AS_FUNCTION(FontFaceFreeType__FontFaceFreeType_Fontstar) , AS_CALL_CDECL);
  3405. RegisterSubclass<FontFace, FontFaceFreeType>(engine, "FontFace", "FontFaceFreeType");
  3406. RegisterSubclass<RefCounted, FontFaceFreeType>(engine, "RefCounted", "FontFaceFreeType");
  3407. RegisterMembers_FontFaceFreeType<FontFaceFreeType>(engine, "FontFaceFreeType");
  3408. #ifdef REGISTER_CLASS_MANUAL_PART_FontFaceFreeType
  3409. REGISTER_CLASS_MANUAL_PART_FontFaceFreeType();
  3410. #endif
  3411. }
  3412. // explicit Geometry::Geometry(Context* context)
  3413. static Geometry* Geometry__Geometry_Contextstar()
  3414. {
  3415. Context* context = GetScriptContext();
  3416. return new Geometry(context);
  3417. }
  3418. // class Geometry | File: ../Graphics/Geometry.h
  3419. static void Register_Geometry(asIScriptEngine* engine)
  3420. {
  3421. // explicit Geometry::Geometry(Context* context)
  3422. engine->RegisterObjectBehaviour("Geometry", asBEHAVE_FACTORY, "Geometry@+ f()", AS_FUNCTION(Geometry__Geometry_Contextstar) , AS_CALL_CDECL);
  3423. RegisterSubclass<Object, Geometry>(engine, "Object", "Geometry");
  3424. RegisterSubclass<RefCounted, Geometry>(engine, "RefCounted", "Geometry");
  3425. RegisterMembers_Geometry<Geometry>(engine, "Geometry");
  3426. #ifdef REGISTER_CLASS_MANUAL_PART_Geometry
  3427. REGISTER_CLASS_MANUAL_PART_Geometry();
  3428. #endif
  3429. }
  3430. // explicit Graphics::Graphics(Context* context, GAPI gapi)
  3431. static Graphics* Graphics__Graphics_Contextstar_GAPI(GAPI gapi)
  3432. {
  3433. Context* context = GetScriptContext();
  3434. return new Graphics(context, gapi);
  3435. }
  3436. // class Graphics | File: ../Graphics/Graphics.h
  3437. static void Register_Graphics(asIScriptEngine* engine)
  3438. {
  3439. // explicit Graphics::Graphics(Context* context, GAPI gapi)
  3440. engine->RegisterObjectBehaviour("Graphics", asBEHAVE_FACTORY, "Graphics@+ f(GAPI)", AS_FUNCTION(Graphics__Graphics_Contextstar_GAPI) , AS_CALL_CDECL);
  3441. RegisterSubclass<Object, Graphics>(engine, "Object", "Graphics");
  3442. RegisterSubclass<RefCounted, Graphics>(engine, "RefCounted", "Graphics");
  3443. RegisterMembers_Graphics<Graphics>(engine, "Graphics");
  3444. #ifdef REGISTER_CLASS_MANUAL_PART_Graphics
  3445. REGISTER_CLASS_MANUAL_PART_Graphics();
  3446. #endif
  3447. }
  3448. // explicit IndexBuffer::IndexBuffer(Context* context, bool forceHeadless = false)
  3449. static IndexBuffer* IndexBuffer__IndexBuffer_Contextstar_bool(bool forceHeadless)
  3450. {
  3451. Context* context = GetScriptContext();
  3452. return new IndexBuffer(context, forceHeadless);
  3453. }
  3454. // class IndexBuffer | File: ../GraphicsAPI/IndexBuffer.h
  3455. static void Register_IndexBuffer(asIScriptEngine* engine)
  3456. {
  3457. // explicit IndexBuffer::IndexBuffer(Context* context, bool forceHeadless = false)
  3458. engine->RegisterObjectBehaviour("IndexBuffer", asBEHAVE_FACTORY, "IndexBuffer@+ f(bool = false)", AS_FUNCTION(IndexBuffer__IndexBuffer_Contextstar_bool) , AS_CALL_CDECL);
  3459. RegisterSubclass<Object, IndexBuffer>(engine, "Object", "IndexBuffer");
  3460. RegisterSubclass<RefCounted, IndexBuffer>(engine, "RefCounted", "IndexBuffer");
  3461. RegisterMembers_IndexBuffer<IndexBuffer>(engine, "IndexBuffer");
  3462. #ifdef REGISTER_CLASS_MANUAL_PART_IndexBuffer
  3463. REGISTER_CLASS_MANUAL_PART_IndexBuffer();
  3464. #endif
  3465. }
  3466. // explicit Input::Input(Context* context)
  3467. static Input* Input__Input_Contextstar()
  3468. {
  3469. Context* context = GetScriptContext();
  3470. return new Input(context);
  3471. }
  3472. // class Input | File: ../Input/Input.h
  3473. static void Register_Input(asIScriptEngine* engine)
  3474. {
  3475. // explicit Input::Input(Context* context)
  3476. engine->RegisterObjectBehaviour("Input", asBEHAVE_FACTORY, "Input@+ f()", AS_FUNCTION(Input__Input_Contextstar) , AS_CALL_CDECL);
  3477. RegisterSubclass<Object, Input>(engine, "Object", "Input");
  3478. RegisterSubclass<RefCounted, Input>(engine, "RefCounted", "Input");
  3479. RegisterMembers_Input<Input>(engine, "Input");
  3480. #ifdef REGISTER_CLASS_MANUAL_PART_Input
  3481. REGISTER_CLASS_MANUAL_PART_Input();
  3482. #endif
  3483. }
  3484. // explicit Localization::Localization(Context* context)
  3485. static Localization* Localization__Localization_Contextstar()
  3486. {
  3487. Context* context = GetScriptContext();
  3488. return new Localization(context);
  3489. }
  3490. // class Localization | File: ../Resource/Localization.h
  3491. static void Register_Localization(asIScriptEngine* engine)
  3492. {
  3493. // explicit Localization::Localization(Context* context)
  3494. engine->RegisterObjectBehaviour("Localization", asBEHAVE_FACTORY, "Localization@+ f()", AS_FUNCTION(Localization__Localization_Contextstar) , AS_CALL_CDECL);
  3495. RegisterSubclass<Object, Localization>(engine, "Object", "Localization");
  3496. RegisterSubclass<RefCounted, Localization>(engine, "RefCounted", "Localization");
  3497. RegisterMembers_Localization<Localization>(engine, "Localization");
  3498. #ifdef REGISTER_CLASS_MANUAL_PART_Localization
  3499. REGISTER_CLASS_MANUAL_PART_Localization();
  3500. #endif
  3501. }
  3502. // explicit Log::Log(Context* context)
  3503. static Log* Log__Log_Contextstar()
  3504. {
  3505. Context* context = GetScriptContext();
  3506. return new Log(context);
  3507. }
  3508. // class Log | File: ../IO/Log.h
  3509. static void Register_Log(asIScriptEngine* engine)
  3510. {
  3511. // explicit Log::Log(Context* context)
  3512. engine->RegisterObjectBehaviour("Log", asBEHAVE_FACTORY, "Log@+ f()", AS_FUNCTION(Log__Log_Contextstar) , AS_CALL_CDECL);
  3513. RegisterSubclass<Object, Log>(engine, "Object", "Log");
  3514. RegisterSubclass<RefCounted, Log>(engine, "RefCounted", "Log");
  3515. RegisterMembers_Log<Log>(engine, "Log");
  3516. #ifdef REGISTER_CLASS_MANUAL_PART_Log
  3517. REGISTER_CLASS_MANUAL_PART_Log();
  3518. #endif
  3519. }
  3520. // explicit MessageBox::MessageBox(Context* context, const String& messageString = String::EMPTY, const String& titleString = String::EMPTY, XMLFile* layoutFile = nullptr, XMLFile* styleFile = nullptr)
  3521. static MessageBox* MessageBox__MessageBox_Contextstar_constspStringamp_constspStringamp_XMLFilestar_XMLFilestar(const String& messageString, const String& titleString, XMLFile* layoutFile, XMLFile* styleFile)
  3522. {
  3523. Context* context = GetScriptContext();
  3524. return new MessageBox(context, messageString, titleString, layoutFile, styleFile);
  3525. }
  3526. // class MessageBox | File: ../UI/MessageBox.h
  3527. static void Register_MessageBox(asIScriptEngine* engine)
  3528. {
  3529. // explicit MessageBox::MessageBox(Context* context, const String& messageString = String::EMPTY, const String& titleString = String::EMPTY, XMLFile* layoutFile = nullptr, XMLFile* styleFile = nullptr)
  3530. 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);
  3531. RegisterSubclass<Object, MessageBox>(engine, "Object", "MessageBox");
  3532. RegisterSubclass<RefCounted, MessageBox>(engine, "RefCounted", "MessageBox");
  3533. RegisterMembers_MessageBox<MessageBox>(engine, "MessageBox");
  3534. #ifdef REGISTER_CLASS_MANUAL_PART_MessageBox
  3535. REGISTER_CLASS_MANUAL_PART_MessageBox();
  3536. #endif
  3537. }
  3538. // explicit NamedPipe::NamedPipe(Context* context)
  3539. static NamedPipe* NamedPipe__NamedPipe_Contextstar()
  3540. {
  3541. Context* context = GetScriptContext();
  3542. return new NamedPipe(context);
  3543. }
  3544. // NamedPipe::NamedPipe(Context* context, const String& name, bool isServer)
  3545. static NamedPipe* NamedPipe__NamedPipe_Contextstar_constspStringamp_bool(const String& name, bool isServer)
  3546. {
  3547. Context* context = GetScriptContext();
  3548. return new NamedPipe(context, name, isServer);
  3549. }
  3550. // class NamedPipe | File: ../IO/NamedPipe.h
  3551. static void Register_NamedPipe(asIScriptEngine* engine)
  3552. {
  3553. // explicit NamedPipe::NamedPipe(Context* context)
  3554. engine->RegisterObjectBehaviour("NamedPipe", asBEHAVE_FACTORY, "NamedPipe@+ f()", AS_FUNCTION(NamedPipe__NamedPipe_Contextstar) , AS_CALL_CDECL);
  3555. // NamedPipe::NamedPipe(Context* context, const String& name, bool isServer)
  3556. engine->RegisterObjectBehaviour("NamedPipe", asBEHAVE_FACTORY, "NamedPipe@+ f(const String&in, bool)", AS_FUNCTION(NamedPipe__NamedPipe_Contextstar_constspStringamp_bool) , AS_CALL_CDECL);
  3557. RegisterSubclass<Object, NamedPipe>(engine, "Object", "NamedPipe");
  3558. RegisterSubclass<RefCounted, NamedPipe>(engine, "RefCounted", "NamedPipe");
  3559. RegisterSubclass<Deserializer, NamedPipe>(engine, "Deserializer", "NamedPipe");
  3560. RegisterSubclass<Serializer, NamedPipe>(engine, "Serializer", "NamedPipe");
  3561. RegisterMembers_NamedPipe<NamedPipe>(engine, "NamedPipe");
  3562. #ifdef REGISTER_CLASS_MANUAL_PART_NamedPipe
  3563. REGISTER_CLASS_MANUAL_PART_NamedPipe();
  3564. #endif
  3565. }
  3566. // explicit OcclusionBuffer::OcclusionBuffer(Context* context)
  3567. static OcclusionBuffer* OcclusionBuffer__OcclusionBuffer_Contextstar()
  3568. {
  3569. Context* context = GetScriptContext();
  3570. return new OcclusionBuffer(context);
  3571. }
  3572. // class OcclusionBuffer | File: ../Graphics/OcclusionBuffer.h
  3573. static void Register_OcclusionBuffer(asIScriptEngine* engine)
  3574. {
  3575. // explicit OcclusionBuffer::OcclusionBuffer(Context* context)
  3576. engine->RegisterObjectBehaviour("OcclusionBuffer", asBEHAVE_FACTORY, "OcclusionBuffer@+ f()", AS_FUNCTION(OcclusionBuffer__OcclusionBuffer_Contextstar) , AS_CALL_CDECL);
  3577. RegisterSubclass<Object, OcclusionBuffer>(engine, "Object", "OcclusionBuffer");
  3578. RegisterSubclass<RefCounted, OcclusionBuffer>(engine, "RefCounted", "OcclusionBuffer");
  3579. RegisterMembers_OcclusionBuffer<OcclusionBuffer>(engine, "OcclusionBuffer");
  3580. #ifdef REGISTER_CLASS_MANUAL_PART_OcclusionBuffer
  3581. REGISTER_CLASS_MANUAL_PART_OcclusionBuffer();
  3582. #endif
  3583. }
  3584. // explicit OggVorbisSoundStream::OggVorbisSoundStream(const Sound* sound)
  3585. static OggVorbisSoundStream* OggVorbisSoundStream__OggVorbisSoundStream_constspSoundstar(const Sound* sound)
  3586. {
  3587. return new OggVorbisSoundStream(sound);
  3588. }
  3589. // class OggVorbisSoundStream | File: ../Audio/OggVorbisSoundStream.h
  3590. static void Register_OggVorbisSoundStream(asIScriptEngine* engine)
  3591. {
  3592. // explicit OggVorbisSoundStream::OggVorbisSoundStream(const Sound* sound)
  3593. engine->RegisterObjectBehaviour("OggVorbisSoundStream", asBEHAVE_FACTORY, "OggVorbisSoundStream@+ f(Sound@+)", AS_FUNCTION(OggVorbisSoundStream__OggVorbisSoundStream_constspSoundstar) , AS_CALL_CDECL);
  3594. RegisterSubclass<SoundStream, OggVorbisSoundStream>(engine, "SoundStream", "OggVorbisSoundStream");
  3595. RegisterSubclass<RefCounted, OggVorbisSoundStream>(engine, "RefCounted", "OggVorbisSoundStream");
  3596. RegisterMembers_OggVorbisSoundStream<OggVorbisSoundStream>(engine, "OggVorbisSoundStream");
  3597. #ifdef REGISTER_CLASS_MANUAL_PART_OggVorbisSoundStream
  3598. REGISTER_CLASS_MANUAL_PART_OggVorbisSoundStream();
  3599. #endif
  3600. }
  3601. // explicit PackageFile::PackageFile(Context* context)
  3602. static PackageFile* PackageFile__PackageFile_Contextstar()
  3603. {
  3604. Context* context = GetScriptContext();
  3605. return new PackageFile(context);
  3606. }
  3607. // PackageFile::PackageFile(Context* context, const String& fileName, unsigned startOffset = 0)
  3608. static PackageFile* PackageFile__PackageFile_Contextstar_constspStringamp_unsigned(const String& fileName, unsigned startOffset)
  3609. {
  3610. Context* context = GetScriptContext();
  3611. return new PackageFile(context, fileName, startOffset);
  3612. }
  3613. // class PackageFile | File: ../IO/PackageFile.h
  3614. static void Register_PackageFile(asIScriptEngine* engine)
  3615. {
  3616. // explicit PackageFile::PackageFile(Context* context)
  3617. engine->RegisterObjectBehaviour("PackageFile", asBEHAVE_FACTORY, "PackageFile@+ f()", AS_FUNCTION(PackageFile__PackageFile_Contextstar) , AS_CALL_CDECL);
  3618. // PackageFile::PackageFile(Context* context, const String& fileName, unsigned startOffset = 0)
  3619. engine->RegisterObjectBehaviour("PackageFile", asBEHAVE_FACTORY, "PackageFile@+ f(const String&in, uint = 0)", AS_FUNCTION(PackageFile__PackageFile_Contextstar_constspStringamp_unsigned) , AS_CALL_CDECL);
  3620. RegisterSubclass<Object, PackageFile>(engine, "Object", "PackageFile");
  3621. RegisterSubclass<RefCounted, PackageFile>(engine, "RefCounted", "PackageFile");
  3622. RegisterMembers_PackageFile<PackageFile>(engine, "PackageFile");
  3623. #ifdef REGISTER_CLASS_MANUAL_PART_PackageFile
  3624. REGISTER_CLASS_MANUAL_PART_PackageFile();
  3625. #endif
  3626. }
  3627. // explicit Profiler::Profiler(Context* context)
  3628. static Profiler* Profiler__Profiler_Contextstar()
  3629. {
  3630. Context* context = GetScriptContext();
  3631. return new Profiler(context);
  3632. }
  3633. // class Profiler | File: ../Core/Profiler.h
  3634. static void Register_Profiler(asIScriptEngine* engine)
  3635. {
  3636. // explicit Profiler::Profiler(Context* context)
  3637. engine->RegisterObjectBehaviour("Profiler", asBEHAVE_FACTORY, "Profiler@+ f()", AS_FUNCTION(Profiler__Profiler_Contextstar) , AS_CALL_CDECL);
  3638. RegisterSubclass<Object, Profiler>(engine, "Object", "Profiler");
  3639. RegisterSubclass<RefCounted, Profiler>(engine, "RefCounted", "Profiler");
  3640. RegisterMembers_Profiler<Profiler>(engine, "Profiler");
  3641. #ifdef REGISTER_CLASS_MANUAL_PART_Profiler
  3642. REGISTER_CLASS_MANUAL_PART_Profiler();
  3643. #endif
  3644. // void Profiler::BeginBlock(const char* name)
  3645. // Error: type "const char*" can not automatically bind
  3646. }
  3647. // explicit Renderer::Renderer(Context* context)
  3648. static Renderer* Renderer__Renderer_Contextstar()
  3649. {
  3650. Context* context = GetScriptContext();
  3651. return new Renderer(context);
  3652. }
  3653. // class Renderer | File: ../Graphics/Renderer.h
  3654. static void Register_Renderer(asIScriptEngine* engine)
  3655. {
  3656. // explicit Renderer::Renderer(Context* context)
  3657. engine->RegisterObjectBehaviour("Renderer", asBEHAVE_FACTORY, "Renderer@+ f()", AS_FUNCTION(Renderer__Renderer_Contextstar) , AS_CALL_CDECL);
  3658. RegisterSubclass<Object, Renderer>(engine, "Object", "Renderer");
  3659. RegisterSubclass<RefCounted, Renderer>(engine, "RefCounted", "Renderer");
  3660. RegisterMembers_Renderer<Renderer>(engine, "Renderer");
  3661. #ifdef REGISTER_CLASS_MANUAL_PART_Renderer
  3662. REGISTER_CLASS_MANUAL_PART_Renderer();
  3663. #endif
  3664. }
  3665. // explicit Resource::Resource(Context* context)
  3666. static Resource* Resource__Resource_Contextstar()
  3667. {
  3668. Context* context = GetScriptContext();
  3669. return new Resource(context);
  3670. }
  3671. // class Resource | File: ../Resource/Resource.h
  3672. static void Register_Resource(asIScriptEngine* engine)
  3673. {
  3674. // explicit Resource::Resource(Context* context)
  3675. engine->RegisterObjectBehaviour("Resource", asBEHAVE_FACTORY, "Resource@+ f()", AS_FUNCTION(Resource__Resource_Contextstar) , AS_CALL_CDECL);
  3676. RegisterSubclass<Object, Resource>(engine, "Object", "Resource");
  3677. RegisterSubclass<RefCounted, Resource>(engine, "RefCounted", "Resource");
  3678. RegisterMembers_Resource<Resource>(engine, "Resource");
  3679. #ifdef REGISTER_CLASS_MANUAL_PART_Resource
  3680. REGISTER_CLASS_MANUAL_PART_Resource();
  3681. #endif
  3682. }
  3683. // explicit ResourceCache::ResourceCache(Context* context)
  3684. static ResourceCache* ResourceCache__ResourceCache_Contextstar()
  3685. {
  3686. Context* context = GetScriptContext();
  3687. return new ResourceCache(context);
  3688. }
  3689. // class ResourceCache | File: ../Resource/ResourceCache.h
  3690. static void Register_ResourceCache(asIScriptEngine* engine)
  3691. {
  3692. // explicit ResourceCache::ResourceCache(Context* context)
  3693. engine->RegisterObjectBehaviour("ResourceCache", asBEHAVE_FACTORY, "ResourceCache@+ f()", AS_FUNCTION(ResourceCache__ResourceCache_Contextstar) , AS_CALL_CDECL);
  3694. RegisterSubclass<Object, ResourceCache>(engine, "Object", "ResourceCache");
  3695. RegisterSubclass<RefCounted, ResourceCache>(engine, "RefCounted", "ResourceCache");
  3696. RegisterMembers_ResourceCache<ResourceCache>(engine, "ResourceCache");
  3697. #ifdef REGISTER_CLASS_MANUAL_PART_ResourceCache
  3698. REGISTER_CLASS_MANUAL_PART_ResourceCache();
  3699. #endif
  3700. }
  3701. // explicit Serializable::Serializable(Context* context)
  3702. static Serializable* Serializable__Serializable_Contextstar()
  3703. {
  3704. Context* context = GetScriptContext();
  3705. return new Serializable(context);
  3706. }
  3707. // class Serializable | File: ../Scene/Serializable.h
  3708. static void Register_Serializable(asIScriptEngine* engine)
  3709. {
  3710. // explicit Serializable::Serializable(Context* context)
  3711. engine->RegisterObjectBehaviour("Serializable", asBEHAVE_FACTORY, "Serializable@+ f()", AS_FUNCTION(Serializable__Serializable_Contextstar) , AS_CALL_CDECL);
  3712. RegisterSubclass<Object, Serializable>(engine, "Object", "Serializable");
  3713. RegisterSubclass<RefCounted, Serializable>(engine, "RefCounted", "Serializable");
  3714. RegisterMembers_Serializable<Serializable>(engine, "Serializable");
  3715. #ifdef REGISTER_CLASS_MANUAL_PART_Serializable
  3716. REGISTER_CLASS_MANUAL_PART_Serializable();
  3717. #endif
  3718. }
  3719. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(Material* material, const String& name, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3720. static ShaderParameterAnimationInfo* ShaderParameterAnimationInfo__ShaderParameterAnimationInfo_Materialstar_constspStringamp_ValueAnimationstar_WrapMode_float(Material* material, const String& name, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3721. {
  3722. return new ShaderParameterAnimationInfo(material, name, attributeAnimation, wrapMode, speed);
  3723. }
  3724. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(const ShaderParameterAnimationInfo& other)
  3725. static ShaderParameterAnimationInfo* ShaderParameterAnimationInfo__ShaderParameterAnimationInfo_constspShaderParameterAnimationInfoamp(const ShaderParameterAnimationInfo& other)
  3726. {
  3727. return new ShaderParameterAnimationInfo(other);
  3728. }
  3729. // class ShaderParameterAnimationInfo | File: ../Graphics/Material.h
  3730. static void Register_ShaderParameterAnimationInfo(asIScriptEngine* engine)
  3731. {
  3732. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(Material* material, const String& name, ValueAnimation* attributeAnimation, WrapMode wrapMode, float speed)
  3733. 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);
  3734. // ShaderParameterAnimationInfo::ShaderParameterAnimationInfo(const ShaderParameterAnimationInfo& other)
  3735. engine->RegisterObjectBehaviour("ShaderParameterAnimationInfo", asBEHAVE_FACTORY, "ShaderParameterAnimationInfo@+ f(const ShaderParameterAnimationInfo&in)", AS_FUNCTION(ShaderParameterAnimationInfo__ShaderParameterAnimationInfo_constspShaderParameterAnimationInfoamp) , AS_CALL_CDECL);
  3736. RegisterSubclass<ValueAnimationInfo, ShaderParameterAnimationInfo>(engine, "ValueAnimationInfo", "ShaderParameterAnimationInfo");
  3737. RegisterSubclass<RefCounted, ShaderParameterAnimationInfo>(engine, "RefCounted", "ShaderParameterAnimationInfo");
  3738. RegisterMembers_ShaderParameterAnimationInfo<ShaderParameterAnimationInfo>(engine, "ShaderParameterAnimationInfo");
  3739. #ifdef REGISTER_CLASS_MANUAL_PART_ShaderParameterAnimationInfo
  3740. REGISTER_CLASS_MANUAL_PART_ShaderParameterAnimationInfo();
  3741. #endif
  3742. }
  3743. // ShaderPrecache::ShaderPrecache(Context* context, const String& fileName)
  3744. static ShaderPrecache* ShaderPrecache__ShaderPrecache_Contextstar_constspStringamp(const String& fileName)
  3745. {
  3746. Context* context = GetScriptContext();
  3747. return new ShaderPrecache(context, fileName);
  3748. }
  3749. // class ShaderPrecache | File: ../GraphicsAPI/ShaderPrecache.h
  3750. static void Register_ShaderPrecache(asIScriptEngine* engine)
  3751. {
  3752. // ShaderPrecache::ShaderPrecache(Context* context, const String& fileName)
  3753. engine->RegisterObjectBehaviour("ShaderPrecache", asBEHAVE_FACTORY, "ShaderPrecache@+ f(const String&in)", AS_FUNCTION(ShaderPrecache__ShaderPrecache_Contextstar_constspStringamp) , AS_CALL_CDECL);
  3754. RegisterSubclass<Object, ShaderPrecache>(engine, "Object", "ShaderPrecache");
  3755. RegisterSubclass<RefCounted, ShaderPrecache>(engine, "RefCounted", "ShaderPrecache");
  3756. RegisterMembers_ShaderPrecache<ShaderPrecache>(engine, "ShaderPrecache");
  3757. #ifdef REGISTER_CLASS_MANUAL_PART_ShaderPrecache
  3758. REGISTER_CLASS_MANUAL_PART_ShaderPrecache();
  3759. #endif
  3760. }
  3761. // explicit Time::Time(Context* context)
  3762. static Time* Time__Time_Contextstar()
  3763. {
  3764. Context* context = GetScriptContext();
  3765. return new Time(context);
  3766. }
  3767. // class Time | File: ../Core/Timer.h
  3768. static void Register_Time(asIScriptEngine* engine)
  3769. {
  3770. // explicit Time::Time(Context* context)
  3771. engine->RegisterObjectBehaviour("Time", asBEHAVE_FACTORY, "Time@+ f()", AS_FUNCTION(Time__Time_Contextstar) , AS_CALL_CDECL);
  3772. RegisterSubclass<Object, Time>(engine, "Object", "Time");
  3773. RegisterSubclass<RefCounted, Time>(engine, "RefCounted", "Time");
  3774. RegisterMembers_Time<Time>(engine, "Time");
  3775. #ifdef REGISTER_CLASS_MANUAL_PART_Time
  3776. REGISTER_CLASS_MANUAL_PART_Time();
  3777. #endif
  3778. }
  3779. // explicit UI::UI(Context* context)
  3780. static UI* UI__UI_Contextstar()
  3781. {
  3782. Context* context = GetScriptContext();
  3783. return new UI(context);
  3784. }
  3785. // class UI | File: ../UI/UI.h
  3786. static void Register_UI(asIScriptEngine* engine)
  3787. {
  3788. // explicit UI::UI(Context* context)
  3789. engine->RegisterObjectBehaviour("UI", asBEHAVE_FACTORY, "UI@+ f()", AS_FUNCTION(UI__UI_Contextstar) , AS_CALL_CDECL);
  3790. RegisterSubclass<Object, UI>(engine, "Object", "UI");
  3791. RegisterSubclass<RefCounted, UI>(engine, "RefCounted", "UI");
  3792. RegisterMembers_UI<UI>(engine, "UI");
  3793. #ifdef REGISTER_CLASS_MANUAL_PART_UI
  3794. REGISTER_CLASS_MANUAL_PART_UI();
  3795. #endif
  3796. }
  3797. // VectorBuffer::VectorBuffer(Deserializer& source, unsigned size)
  3798. static void VectorBuffer__VectorBuffer_Deserializeramp_unsigned(VectorBuffer* _ptr, Deserializer& source, unsigned size)
  3799. {
  3800. new(_ptr) VectorBuffer(source, size);
  3801. }
  3802. // class VectorBuffer | File: ../IO/VectorBuffer.h
  3803. static void Register_VectorBuffer(asIScriptEngine* engine)
  3804. {
  3805. // VectorBuffer::VectorBuffer(const void* data, unsigned size)
  3806. // Error: type "const void*" can not automatically bind
  3807. // explicit VectorBuffer::VectorBuffer(const Vector<unsigned char>& data)
  3808. // Error: type "const Vector<unsigned char>&" can not automatically bind
  3809. // VectorBuffer::VectorBuffer(Deserializer& source, unsigned size)
  3810. engine->RegisterObjectBehaviour("VectorBuffer", asBEHAVE_CONSTRUCT, "void f(Deserializer&, uint)", AS_FUNCTION_OBJFIRST(VectorBuffer__VectorBuffer_Deserializeramp_unsigned), AS_CALL_CDECL_OBJFIRST);
  3811. // VectorBuffer::~VectorBuffer() | Implicitly-declared
  3812. engine->RegisterObjectBehaviour("VectorBuffer", asBEHAVE_DESTRUCT, "void f()", AS_DESTRUCTOR(VectorBuffer), AS_CALL_CDECL_OBJFIRST);
  3813. RegisterMembers_VectorBuffer<VectorBuffer>(engine, "VectorBuffer");
  3814. #ifdef REGISTER_CLASS_MANUAL_PART_VectorBuffer
  3815. REGISTER_CLASS_MANUAL_PART_VectorBuffer();
  3816. #endif
  3817. // VectorBuffer& VectorBuffer::operator =(const VectorBuffer&) | Possible implicitly-declared
  3818. RegisterImplicitlyDeclaredAssignOperatorIfPossible<VectorBuffer>(engine, "VectorBuffer");
  3819. }
  3820. // explicit VertexBuffer::VertexBuffer(Context* context, bool forceHeadless = false)
  3821. static VertexBuffer* VertexBuffer__VertexBuffer_Contextstar_bool(bool forceHeadless)
  3822. {
  3823. Context* context = GetScriptContext();
  3824. return new VertexBuffer(context, forceHeadless);
  3825. }
  3826. // class VertexBuffer | File: ../GraphicsAPI/VertexBuffer.h
  3827. static void Register_VertexBuffer(asIScriptEngine* engine)
  3828. {
  3829. // explicit VertexBuffer::VertexBuffer(Context* context, bool forceHeadless = false)
  3830. engine->RegisterObjectBehaviour("VertexBuffer", asBEHAVE_FACTORY, "VertexBuffer@+ f(bool = false)", AS_FUNCTION(VertexBuffer__VertexBuffer_Contextstar_bool) , AS_CALL_CDECL);
  3831. RegisterSubclass<Object, VertexBuffer>(engine, "Object", "VertexBuffer");
  3832. RegisterSubclass<RefCounted, VertexBuffer>(engine, "RefCounted", "VertexBuffer");
  3833. RegisterMembers_VertexBuffer<VertexBuffer>(engine, "VertexBuffer");
  3834. #ifdef REGISTER_CLASS_MANUAL_PART_VertexBuffer
  3835. REGISTER_CLASS_MANUAL_PART_VertexBuffer();
  3836. #endif
  3837. }
  3838. // explicit View::View(Context* context)
  3839. static View* View__View_Contextstar()
  3840. {
  3841. Context* context = GetScriptContext();
  3842. return new View(context);
  3843. }
  3844. // class View | File: ../Graphics/View.h
  3845. static void Register_View(asIScriptEngine* engine)
  3846. {
  3847. // explicit View::View(Context* context)
  3848. engine->RegisterObjectBehaviour("View", asBEHAVE_FACTORY, "View@+ f()", AS_FUNCTION(View__View_Contextstar) , AS_CALL_CDECL);
  3849. RegisterSubclass<Object, View>(engine, "Object", "View");
  3850. RegisterSubclass<RefCounted, View>(engine, "RefCounted", "View");
  3851. RegisterMembers_View<View>(engine, "View");
  3852. #ifdef REGISTER_CLASS_MANUAL_PART_View
  3853. REGISTER_CLASS_MANUAL_PART_View();
  3854. #endif
  3855. }
  3856. // explicit Viewport::Viewport(Context* context)
  3857. static Viewport* Viewport__Viewport_Contextstar()
  3858. {
  3859. Context* context = GetScriptContext();
  3860. return new Viewport(context);
  3861. }
  3862. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, RenderPath* renderPath = nullptr)
  3863. static Viewport* Viewport__Viewport_Contextstar_Scenestar_Camerastar_RenderPathstar(Scene* scene, Camera* camera, RenderPath* renderPath)
  3864. {
  3865. Context* context = GetScriptContext();
  3866. return new Viewport(context, scene, camera, renderPath);
  3867. }
  3868. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = nullptr)
  3869. static Viewport* Viewport__Viewport_Contextstar_Scenestar_Camerastar_constspIntRectamp_RenderPathstar(Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath)
  3870. {
  3871. Context* context = GetScriptContext();
  3872. return new Viewport(context, scene, camera, rect, renderPath);
  3873. }
  3874. // class Viewport | File: ../Graphics/Viewport.h
  3875. static void Register_Viewport(asIScriptEngine* engine)
  3876. {
  3877. // explicit Viewport::Viewport(Context* context)
  3878. engine->RegisterObjectBehaviour("Viewport", asBEHAVE_FACTORY, "Viewport@+ f()", AS_FUNCTION(Viewport__Viewport_Contextstar) , AS_CALL_CDECL);
  3879. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, RenderPath* renderPath = nullptr)
  3880. engine->RegisterObjectBehaviour("Viewport", asBEHAVE_FACTORY, "Viewport@+ f(Scene@+, Camera@+, RenderPath@+ = null)", AS_FUNCTION(Viewport__Viewport_Contextstar_Scenestar_Camerastar_RenderPathstar) , AS_CALL_CDECL);
  3881. // Viewport::Viewport(Context* context, Scene* scene, Camera* camera, const IntRect& rect, RenderPath* renderPath = nullptr)
  3882. 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);
  3883. RegisterSubclass<Object, Viewport>(engine, "Object", "Viewport");
  3884. RegisterSubclass<RefCounted, Viewport>(engine, "RefCounted", "Viewport");
  3885. RegisterMembers_Viewport<Viewport>(engine, "Viewport");
  3886. #ifdef REGISTER_CLASS_MANUAL_PART_Viewport
  3887. REGISTER_CLASS_MANUAL_PART_Viewport();
  3888. #endif
  3889. }
  3890. // explicit WorkQueue::WorkQueue(Context* context)
  3891. static WorkQueue* WorkQueue__WorkQueue_Contextstar()
  3892. {
  3893. Context* context = GetScriptContext();
  3894. return new WorkQueue(context);
  3895. }
  3896. // class WorkQueue | File: ../Core/WorkQueue.h
  3897. static void Register_WorkQueue(asIScriptEngine* engine)
  3898. {
  3899. // explicit WorkQueue::WorkQueue(Context* context)
  3900. engine->RegisterObjectBehaviour("WorkQueue", asBEHAVE_FACTORY, "WorkQueue@+ f()", AS_FUNCTION(WorkQueue__WorkQueue_Contextstar) , AS_CALL_CDECL);
  3901. RegisterSubclass<Object, WorkQueue>(engine, "Object", "WorkQueue");
  3902. RegisterSubclass<RefCounted, WorkQueue>(engine, "RefCounted", "WorkQueue");
  3903. RegisterMembers_WorkQueue<WorkQueue>(engine, "WorkQueue");
  3904. #ifdef REGISTER_CLASS_MANUAL_PART_WorkQueue
  3905. REGISTER_CLASS_MANUAL_PART_WorkQueue();
  3906. #endif
  3907. }
  3908. #ifdef URHO3D_DATABASE
  3909. // explicit Database::Database(Context* context)
  3910. static Database* Database__Database_Contextstar()
  3911. {
  3912. Context* context = GetScriptContext();
  3913. return new Database(context);
  3914. }
  3915. // class Database | File: ../Database/Database.h
  3916. static void Register_Database(asIScriptEngine* engine)
  3917. {
  3918. // explicit Database::Database(Context* context)
  3919. engine->RegisterObjectBehaviour("Database", asBEHAVE_FACTORY, "Database@+ f()", AS_FUNCTION(Database__Database_Contextstar) , AS_CALL_CDECL);
  3920. RegisterSubclass<Object, Database>(engine, "Object", "Database");
  3921. RegisterSubclass<RefCounted, Database>(engine, "RefCounted", "Database");
  3922. RegisterMembers_Database<Database>(engine, "Database");
  3923. #ifdef REGISTER_CLASS_MANUAL_PART_Database
  3924. REGISTER_CLASS_MANUAL_PART_Database();
  3925. #endif
  3926. }
  3927. #endif // def URHO3D_DATABASE
  3928. #ifdef URHO3D_NETWORK
  3929. // class Connection | File: ../Network/Connection.h
  3930. static void Register_Connection(asIScriptEngine* engine)
  3931. {
  3932. // Connection::Connection(Context* context, bool isClient, const SLNet::AddressOrGUID& address, SLNet::RakPeerInterface* peer)
  3933. // Error: type "const SLNet::AddressOrGUID&" can not automatically bind
  3934. RegisterSubclass<Object, Connection>(engine, "Object", "Connection");
  3935. RegisterSubclass<RefCounted, Connection>(engine, "RefCounted", "Connection");
  3936. RegisterMembers_Connection<Connection>(engine, "Connection");
  3937. #ifdef REGISTER_CLASS_MANUAL_PART_Connection
  3938. REGISTER_CLASS_MANUAL_PART_Connection();
  3939. #endif
  3940. }
  3941. // explicit Network::Network(Context* context)
  3942. static Network* Network__Network_Contextstar()
  3943. {
  3944. Context* context = GetScriptContext();
  3945. return new Network(context);
  3946. }
  3947. // class Network | File: ../Network/Network.h
  3948. static void Register_Network(asIScriptEngine* engine)
  3949. {
  3950. // explicit Network::Network(Context* context)
  3951. engine->RegisterObjectBehaviour("Network", asBEHAVE_FACTORY, "Network@+ f()", AS_FUNCTION(Network__Network_Contextstar) , AS_CALL_CDECL);
  3952. RegisterSubclass<Object, Network>(engine, "Object", "Network");
  3953. RegisterSubclass<RefCounted, Network>(engine, "RefCounted", "Network");
  3954. RegisterMembers_Network<Network>(engine, "Network");
  3955. #ifdef REGISTER_CLASS_MANUAL_PART_Network
  3956. REGISTER_CLASS_MANUAL_PART_Network();
  3957. #endif
  3958. }
  3959. #endif // def URHO3D_NETWORK
  3960. #ifdef URHO3D_PHYSICS
  3961. // ConvexData::ConvexData(Model* model, i32 lodLevel)
  3962. static ConvexData* ConvexData__ConvexData_Modelstar_i32(Model* model, i32 lodLevel)
  3963. {
  3964. return new ConvexData(model, lodLevel);
  3965. }
  3966. // explicit ConvexData::ConvexData(CustomGeometry* custom)
  3967. static ConvexData* ConvexData__ConvexData_CustomGeometrystar(CustomGeometry* custom)
  3968. {
  3969. return new ConvexData(custom);
  3970. }
  3971. // struct ConvexData | File: ../Physics/CollisionShape.h
  3972. static void Register_ConvexData(asIScriptEngine* engine)
  3973. {
  3974. // ConvexData::ConvexData(Model* model, i32 lodLevel)
  3975. engine->RegisterObjectBehaviour("ConvexData", asBEHAVE_FACTORY, "ConvexData@+ f(Model@+, int)", AS_FUNCTION(ConvexData__ConvexData_Modelstar_i32) , AS_CALL_CDECL);
  3976. // explicit ConvexData::ConvexData(CustomGeometry* custom)
  3977. engine->RegisterObjectBehaviour("ConvexData", asBEHAVE_FACTORY, "ConvexData@+ f(CustomGeometry@+)", AS_FUNCTION(ConvexData__ConvexData_CustomGeometrystar) , AS_CALL_CDECL);
  3978. RegisterSubclass<CollisionGeometryData, ConvexData>(engine, "CollisionGeometryData", "ConvexData");
  3979. RegisterSubclass<RefCounted, ConvexData>(engine, "RefCounted", "ConvexData");
  3980. RegisterMembers_ConvexData<ConvexData>(engine, "ConvexData");
  3981. #ifdef REGISTER_CLASS_MANUAL_PART_ConvexData
  3982. REGISTER_CLASS_MANUAL_PART_ConvexData();
  3983. #endif
  3984. }
  3985. // GImpactMeshData::GImpactMeshData(Model* model, i32 lodLevel)
  3986. static GImpactMeshData* GImpactMeshData__GImpactMeshData_Modelstar_i32(Model* model, i32 lodLevel)
  3987. {
  3988. return new GImpactMeshData(model, lodLevel);
  3989. }
  3990. // explicit GImpactMeshData::GImpactMeshData(CustomGeometry* custom)
  3991. static GImpactMeshData* GImpactMeshData__GImpactMeshData_CustomGeometrystar(CustomGeometry* custom)
  3992. {
  3993. return new GImpactMeshData(custom);
  3994. }
  3995. // struct GImpactMeshData | File: ../Physics/CollisionShape.h
  3996. static void Register_GImpactMeshData(asIScriptEngine* engine)
  3997. {
  3998. // GImpactMeshData::GImpactMeshData(Model* model, i32 lodLevel)
  3999. engine->RegisterObjectBehaviour("GImpactMeshData", asBEHAVE_FACTORY, "GImpactMeshData@+ f(Model@+, int)", AS_FUNCTION(GImpactMeshData__GImpactMeshData_Modelstar_i32) , AS_CALL_CDECL);
  4000. // explicit GImpactMeshData::GImpactMeshData(CustomGeometry* custom)
  4001. engine->RegisterObjectBehaviour("GImpactMeshData", asBEHAVE_FACTORY, "GImpactMeshData@+ f(CustomGeometry@+)", AS_FUNCTION(GImpactMeshData__GImpactMeshData_CustomGeometrystar) , AS_CALL_CDECL);
  4002. RegisterSubclass<CollisionGeometryData, GImpactMeshData>(engine, "CollisionGeometryData", "GImpactMeshData");
  4003. RegisterSubclass<RefCounted, GImpactMeshData>(engine, "RefCounted", "GImpactMeshData");
  4004. RegisterMembers_GImpactMeshData<GImpactMeshData>(engine, "GImpactMeshData");
  4005. #ifdef REGISTER_CLASS_MANUAL_PART_GImpactMeshData
  4006. REGISTER_CLASS_MANUAL_PART_GImpactMeshData();
  4007. #endif
  4008. }
  4009. // HeightfieldData::HeightfieldData(Terrain* terrain, i32 lodLevel)
  4010. static HeightfieldData* HeightfieldData__HeightfieldData_Terrainstar_i32(Terrain* terrain, i32 lodLevel)
  4011. {
  4012. return new HeightfieldData(terrain, lodLevel);
  4013. }
  4014. // struct HeightfieldData | File: ../Physics/CollisionShape.h
  4015. static void Register_HeightfieldData(asIScriptEngine* engine)
  4016. {
  4017. // HeightfieldData::HeightfieldData(Terrain* terrain, i32 lodLevel)
  4018. engine->RegisterObjectBehaviour("HeightfieldData", asBEHAVE_FACTORY, "HeightfieldData@+ f(Terrain@+, int)", AS_FUNCTION(HeightfieldData__HeightfieldData_Terrainstar_i32) , AS_CALL_CDECL);
  4019. RegisterSubclass<CollisionGeometryData, HeightfieldData>(engine, "CollisionGeometryData", "HeightfieldData");
  4020. RegisterSubclass<RefCounted, HeightfieldData>(engine, "RefCounted", "HeightfieldData");
  4021. RegisterMembers_HeightfieldData<HeightfieldData>(engine, "HeightfieldData");
  4022. #ifdef REGISTER_CLASS_MANUAL_PART_HeightfieldData
  4023. REGISTER_CLASS_MANUAL_PART_HeightfieldData();
  4024. #endif
  4025. }
  4026. // TriangleMeshData::TriangleMeshData(Model* model, i32 lodLevel)
  4027. static TriangleMeshData* TriangleMeshData__TriangleMeshData_Modelstar_i32(Model* model, i32 lodLevel)
  4028. {
  4029. return new TriangleMeshData(model, lodLevel);
  4030. }
  4031. // explicit TriangleMeshData::TriangleMeshData(CustomGeometry* custom)
  4032. static TriangleMeshData* TriangleMeshData__TriangleMeshData_CustomGeometrystar(CustomGeometry* custom)
  4033. {
  4034. return new TriangleMeshData(custom);
  4035. }
  4036. // struct TriangleMeshData | File: ../Physics/CollisionShape.h
  4037. static void Register_TriangleMeshData(asIScriptEngine* engine)
  4038. {
  4039. // TriangleMeshData::TriangleMeshData(Model* model, i32 lodLevel)
  4040. engine->RegisterObjectBehaviour("TriangleMeshData", asBEHAVE_FACTORY, "TriangleMeshData@+ f(Model@+, int)", AS_FUNCTION(TriangleMeshData__TriangleMeshData_Modelstar_i32) , AS_CALL_CDECL);
  4041. // explicit TriangleMeshData::TriangleMeshData(CustomGeometry* custom)
  4042. engine->RegisterObjectBehaviour("TriangleMeshData", asBEHAVE_FACTORY, "TriangleMeshData@+ f(CustomGeometry@+)", AS_FUNCTION(TriangleMeshData__TriangleMeshData_CustomGeometrystar) , AS_CALL_CDECL);
  4043. RegisterSubclass<CollisionGeometryData, TriangleMeshData>(engine, "CollisionGeometryData", "TriangleMeshData");
  4044. RegisterSubclass<RefCounted, TriangleMeshData>(engine, "RefCounted", "TriangleMeshData");
  4045. RegisterMembers_TriangleMeshData<TriangleMeshData>(engine, "TriangleMeshData");
  4046. #ifdef REGISTER_CLASS_MANUAL_PART_TriangleMeshData
  4047. REGISTER_CLASS_MANUAL_PART_TriangleMeshData();
  4048. #endif
  4049. }
  4050. #endif // def URHO3D_PHYSICS
  4051. #ifdef URHO3D_URHO2D
  4052. // explicit TmxImageLayer2D::TmxImageLayer2D(TmxFile2D* tmxFile)
  4053. static TmxImageLayer2D* TmxImageLayer2D__TmxImageLayer2D_TmxFile2Dstar(TmxFile2D* tmxFile)
  4054. {
  4055. return new TmxImageLayer2D(tmxFile);
  4056. }
  4057. // class TmxImageLayer2D | File: ../Urho2D/TmxFile2D.h
  4058. static void Register_TmxImageLayer2D(asIScriptEngine* engine)
  4059. {
  4060. // explicit TmxImageLayer2D::TmxImageLayer2D(TmxFile2D* tmxFile)
  4061. engine->RegisterObjectBehaviour("TmxImageLayer2D", asBEHAVE_FACTORY, "TmxImageLayer2D@+ f(TmxFile2D@+)", AS_FUNCTION(TmxImageLayer2D__TmxImageLayer2D_TmxFile2Dstar) , AS_CALL_CDECL);
  4062. RegisterSubclass<TmxLayer2D, TmxImageLayer2D>(engine, "TmxLayer2D", "TmxImageLayer2D");
  4063. RegisterSubclass<RefCounted, TmxImageLayer2D>(engine, "RefCounted", "TmxImageLayer2D");
  4064. RegisterMembers_TmxImageLayer2D<TmxImageLayer2D>(engine, "TmxImageLayer2D");
  4065. #ifdef REGISTER_CLASS_MANUAL_PART_TmxImageLayer2D
  4066. REGISTER_CLASS_MANUAL_PART_TmxImageLayer2D();
  4067. #endif
  4068. }
  4069. // explicit TmxObjectGroup2D::TmxObjectGroup2D(TmxFile2D* tmxFile)
  4070. static TmxObjectGroup2D* TmxObjectGroup2D__TmxObjectGroup2D_TmxFile2Dstar(TmxFile2D* tmxFile)
  4071. {
  4072. return new TmxObjectGroup2D(tmxFile);
  4073. }
  4074. // class TmxObjectGroup2D | File: ../Urho2D/TmxFile2D.h
  4075. static void Register_TmxObjectGroup2D(asIScriptEngine* engine)
  4076. {
  4077. // explicit TmxObjectGroup2D::TmxObjectGroup2D(TmxFile2D* tmxFile)
  4078. engine->RegisterObjectBehaviour("TmxObjectGroup2D", asBEHAVE_FACTORY, "TmxObjectGroup2D@+ f(TmxFile2D@+)", AS_FUNCTION(TmxObjectGroup2D__TmxObjectGroup2D_TmxFile2Dstar) , AS_CALL_CDECL);
  4079. RegisterSubclass<TmxLayer2D, TmxObjectGroup2D>(engine, "TmxLayer2D", "TmxObjectGroup2D");
  4080. RegisterSubclass<RefCounted, TmxObjectGroup2D>(engine, "RefCounted", "TmxObjectGroup2D");
  4081. RegisterMembers_TmxObjectGroup2D<TmxObjectGroup2D>(engine, "TmxObjectGroup2D");
  4082. #ifdef REGISTER_CLASS_MANUAL_PART_TmxObjectGroup2D
  4083. REGISTER_CLASS_MANUAL_PART_TmxObjectGroup2D();
  4084. #endif
  4085. }
  4086. // explicit TmxTileLayer2D::TmxTileLayer2D(TmxFile2D* tmxFile)
  4087. static TmxTileLayer2D* TmxTileLayer2D__TmxTileLayer2D_TmxFile2Dstar(TmxFile2D* tmxFile)
  4088. {
  4089. return new TmxTileLayer2D(tmxFile);
  4090. }
  4091. // class TmxTileLayer2D | File: ../Urho2D/TmxFile2D.h
  4092. static void Register_TmxTileLayer2D(asIScriptEngine* engine)
  4093. {
  4094. // explicit TmxTileLayer2D::TmxTileLayer2D(TmxFile2D* tmxFile)
  4095. engine->RegisterObjectBehaviour("TmxTileLayer2D", asBEHAVE_FACTORY, "TmxTileLayer2D@+ f(TmxFile2D@+)", AS_FUNCTION(TmxTileLayer2D__TmxTileLayer2D_TmxFile2Dstar) , AS_CALL_CDECL);
  4096. RegisterSubclass<TmxLayer2D, TmxTileLayer2D>(engine, "TmxLayer2D", "TmxTileLayer2D");
  4097. RegisterSubclass<RefCounted, TmxTileLayer2D>(engine, "RefCounted", "TmxTileLayer2D");
  4098. RegisterMembers_TmxTileLayer2D<TmxTileLayer2D>(engine, "TmxTileLayer2D");
  4099. #ifdef REGISTER_CLASS_MANUAL_PART_TmxTileLayer2D
  4100. REGISTER_CLASS_MANUAL_PART_TmxTileLayer2D();
  4101. #endif
  4102. }
  4103. #endif // def URHO3D_URHO2D
  4104. // class Animatable | File: ../Scene/Animatable.h
  4105. static void Register_Animatable(asIScriptEngine* engine)
  4106. {
  4107. RegisterSubclass<Serializable, Animatable>(engine, "Serializable", "Animatable");
  4108. RegisterSubclass<Object, Animatable>(engine, "Object", "Animatable");
  4109. RegisterSubclass<RefCounted, Animatable>(engine, "RefCounted", "Animatable");
  4110. RegisterMembers_Animatable<Animatable>(engine, "Animatable");
  4111. #ifdef REGISTER_CLASS_MANUAL_PART_Animatable
  4112. REGISTER_CLASS_MANUAL_PART_Animatable();
  4113. #endif
  4114. }
  4115. // explicit EventProfiler::EventProfiler(Context* context)
  4116. static EventProfiler* EventProfiler__EventProfiler_Contextstar()
  4117. {
  4118. Context* context = GetScriptContext();
  4119. return new EventProfiler(context);
  4120. }
  4121. // class EventProfiler | File: ../Core/EventProfiler.h
  4122. static void Register_EventProfiler(asIScriptEngine* engine)
  4123. {
  4124. // explicit EventProfiler::EventProfiler(Context* context)
  4125. engine->RegisterObjectBehaviour("EventProfiler", asBEHAVE_FACTORY, "EventProfiler@+ f()", AS_FUNCTION(EventProfiler__EventProfiler_Contextstar) , AS_CALL_CDECL);
  4126. RegisterSubclass<Profiler, EventProfiler>(engine, "Profiler", "EventProfiler");
  4127. RegisterSubclass<Object, EventProfiler>(engine, "Object", "EventProfiler");
  4128. RegisterSubclass<RefCounted, EventProfiler>(engine, "RefCounted", "EventProfiler");
  4129. RegisterMembers_EventProfiler<EventProfiler>(engine, "EventProfiler");
  4130. #ifdef REGISTER_CLASS_MANUAL_PART_EventProfiler
  4131. REGISTER_CLASS_MANUAL_PART_EventProfiler();
  4132. #endif
  4133. }
  4134. // explicit Font::Font(Context* context)
  4135. static Font* Font__Font_Contextstar()
  4136. {
  4137. Context* context = GetScriptContext();
  4138. return new Font(context);
  4139. }
  4140. // class Font | File: ../UI/Font.h
  4141. static void Register_Font(asIScriptEngine* engine)
  4142. {
  4143. // explicit Font::Font(Context* context)
  4144. engine->RegisterObjectBehaviour("Font", asBEHAVE_FACTORY, "Font@+ f()", AS_FUNCTION(Font__Font_Contextstar) , AS_CALL_CDECL);
  4145. RegisterSubclass<Resource, Font>(engine, "Resource", "Font");
  4146. RegisterSubclass<Object, Font>(engine, "Object", "Font");
  4147. RegisterSubclass<RefCounted, Font>(engine, "RefCounted", "Font");
  4148. RegisterMembers_Font<Font>(engine, "Font");
  4149. #ifdef REGISTER_CLASS_MANUAL_PART_Font
  4150. REGISTER_CLASS_MANUAL_PART_Font();
  4151. #endif
  4152. }
  4153. // explicit Image::Image(Context* context)
  4154. static Image* Image__Image_Contextstar()
  4155. {
  4156. Context* context = GetScriptContext();
  4157. return new Image(context);
  4158. }
  4159. // class Image | File: ../Resource/Image.h
  4160. static void Register_Image(asIScriptEngine* engine)
  4161. {
  4162. // explicit Image::Image(Context* context)
  4163. engine->RegisterObjectBehaviour("Image", asBEHAVE_FACTORY, "Image@+ f()", AS_FUNCTION(Image__Image_Contextstar) , AS_CALL_CDECL);
  4164. RegisterSubclass<Resource, Image>(engine, "Resource", "Image");
  4165. RegisterSubclass<Object, Image>(engine, "Object", "Image");
  4166. RegisterSubclass<RefCounted, Image>(engine, "RefCounted", "Image");
  4167. RegisterMembers_Image<Image>(engine, "Image");
  4168. #ifdef REGISTER_CLASS_MANUAL_PART_Image
  4169. REGISTER_CLASS_MANUAL_PART_Image();
  4170. #endif
  4171. }
  4172. // explicit JSONFile::JSONFile(Context* context)
  4173. static JSONFile* JSONFile__JSONFile_Contextstar()
  4174. {
  4175. Context* context = GetScriptContext();
  4176. return new JSONFile(context);
  4177. }
  4178. // class JSONFile | File: ../Resource/JSONFile.h
  4179. static void Register_JSONFile(asIScriptEngine* engine)
  4180. {
  4181. // explicit JSONFile::JSONFile(Context* context)
  4182. engine->RegisterObjectBehaviour("JSONFile", asBEHAVE_FACTORY, "JSONFile@+ f()", AS_FUNCTION(JSONFile__JSONFile_Contextstar) , AS_CALL_CDECL);
  4183. RegisterSubclass<Resource, JSONFile>(engine, "Resource", "JSONFile");
  4184. RegisterSubclass<Object, JSONFile>(engine, "Object", "JSONFile");
  4185. RegisterSubclass<RefCounted, JSONFile>(engine, "RefCounted", "JSONFile");
  4186. RegisterMembers_JSONFile<JSONFile>(engine, "JSONFile");
  4187. #ifdef REGISTER_CLASS_MANUAL_PART_JSONFile
  4188. REGISTER_CLASS_MANUAL_PART_JSONFile();
  4189. #endif
  4190. }
  4191. // explicit Material::Material(Context* context)
  4192. static Material* Material__Material_Contextstar()
  4193. {
  4194. Context* context = GetScriptContext();
  4195. return new Material(context);
  4196. }
  4197. // class Material | File: ../Graphics/Material.h
  4198. static void Register_Material(asIScriptEngine* engine)
  4199. {
  4200. // explicit Material::Material(Context* context)
  4201. engine->RegisterObjectBehaviour("Material", asBEHAVE_FACTORY, "Material@+ f()", AS_FUNCTION(Material__Material_Contextstar) , AS_CALL_CDECL);
  4202. RegisterSubclass<Resource, Material>(engine, "Resource", "Material");
  4203. RegisterSubclass<Object, Material>(engine, "Object", "Material");
  4204. RegisterSubclass<RefCounted, Material>(engine, "RefCounted", "Material");
  4205. RegisterMembers_Material<Material>(engine, "Material");
  4206. #ifdef REGISTER_CLASS_MANUAL_PART_Material
  4207. REGISTER_CLASS_MANUAL_PART_Material();
  4208. #endif
  4209. }
  4210. // explicit ObjectAnimation::ObjectAnimation(Context* context)
  4211. static ObjectAnimation* ObjectAnimation__ObjectAnimation_Contextstar()
  4212. {
  4213. Context* context = GetScriptContext();
  4214. return new ObjectAnimation(context);
  4215. }
  4216. // class ObjectAnimation | File: ../Scene/ObjectAnimation.h
  4217. static void Register_ObjectAnimation(asIScriptEngine* engine)
  4218. {
  4219. // explicit ObjectAnimation::ObjectAnimation(Context* context)
  4220. engine->RegisterObjectBehaviour("ObjectAnimation", asBEHAVE_FACTORY, "ObjectAnimation@+ f()", AS_FUNCTION(ObjectAnimation__ObjectAnimation_Contextstar) , AS_CALL_CDECL);
  4221. RegisterSubclass<Resource, ObjectAnimation>(engine, "Resource", "ObjectAnimation");
  4222. RegisterSubclass<Object, ObjectAnimation>(engine, "Object", "ObjectAnimation");
  4223. RegisterSubclass<RefCounted, ObjectAnimation>(engine, "RefCounted", "ObjectAnimation");
  4224. RegisterMembers_ObjectAnimation<ObjectAnimation>(engine, "ObjectAnimation");
  4225. #ifdef REGISTER_CLASS_MANUAL_PART_ObjectAnimation
  4226. REGISTER_CLASS_MANUAL_PART_ObjectAnimation();
  4227. #endif
  4228. }
  4229. // explicit ParticleEffect::ParticleEffect(Context* context)
  4230. static ParticleEffect* ParticleEffect__ParticleEffect_Contextstar()
  4231. {
  4232. Context* context = GetScriptContext();
  4233. return new ParticleEffect(context);
  4234. }
  4235. // class ParticleEffect | File: ../Graphics/ParticleEffect.h
  4236. static void Register_ParticleEffect(asIScriptEngine* engine)
  4237. {
  4238. // explicit ParticleEffect::ParticleEffect(Context* context)
  4239. engine->RegisterObjectBehaviour("ParticleEffect", asBEHAVE_FACTORY, "ParticleEffect@+ f()", AS_FUNCTION(ParticleEffect__ParticleEffect_Contextstar) , AS_CALL_CDECL);
  4240. RegisterSubclass<Resource, ParticleEffect>(engine, "Resource", "ParticleEffect");
  4241. RegisterSubclass<Object, ParticleEffect>(engine, "Object", "ParticleEffect");
  4242. RegisterSubclass<RefCounted, ParticleEffect>(engine, "RefCounted", "ParticleEffect");
  4243. RegisterMembers_ParticleEffect<ParticleEffect>(engine, "ParticleEffect");
  4244. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEffect
  4245. REGISTER_CLASS_MANUAL_PART_ParticleEffect();
  4246. #endif
  4247. }
  4248. // explicit ResourceWithMetadata::ResourceWithMetadata(Context* context)
  4249. static ResourceWithMetadata* ResourceWithMetadata__ResourceWithMetadata_Contextstar()
  4250. {
  4251. Context* context = GetScriptContext();
  4252. return new ResourceWithMetadata(context);
  4253. }
  4254. // class ResourceWithMetadata | File: ../Resource/Resource.h
  4255. static void Register_ResourceWithMetadata(asIScriptEngine* engine)
  4256. {
  4257. // explicit ResourceWithMetadata::ResourceWithMetadata(Context* context)
  4258. engine->RegisterObjectBehaviour("ResourceWithMetadata", asBEHAVE_FACTORY, "ResourceWithMetadata@+ f()", AS_FUNCTION(ResourceWithMetadata__ResourceWithMetadata_Contextstar) , AS_CALL_CDECL);
  4259. RegisterSubclass<Resource, ResourceWithMetadata>(engine, "Resource", "ResourceWithMetadata");
  4260. RegisterSubclass<Object, ResourceWithMetadata>(engine, "Object", "ResourceWithMetadata");
  4261. RegisterSubclass<RefCounted, ResourceWithMetadata>(engine, "RefCounted", "ResourceWithMetadata");
  4262. RegisterMembers_ResourceWithMetadata<ResourceWithMetadata>(engine, "ResourceWithMetadata");
  4263. #ifdef REGISTER_CLASS_MANUAL_PART_ResourceWithMetadata
  4264. REGISTER_CLASS_MANUAL_PART_ResourceWithMetadata();
  4265. #endif
  4266. }
  4267. // explicit Shader::Shader(Context* context)
  4268. static Shader* Shader__Shader_Contextstar()
  4269. {
  4270. Context* context = GetScriptContext();
  4271. return new Shader(context);
  4272. }
  4273. // class Shader | File: ../GraphicsAPI/Shader.h
  4274. static void Register_Shader(asIScriptEngine* engine)
  4275. {
  4276. // explicit Shader::Shader(Context* context)
  4277. engine->RegisterObjectBehaviour("Shader", asBEHAVE_FACTORY, "Shader@+ f()", AS_FUNCTION(Shader__Shader_Contextstar) , AS_CALL_CDECL);
  4278. RegisterSubclass<Resource, Shader>(engine, "Resource", "Shader");
  4279. RegisterSubclass<Object, Shader>(engine, "Object", "Shader");
  4280. RegisterSubclass<RefCounted, Shader>(engine, "RefCounted", "Shader");
  4281. RegisterMembers_Shader<Shader>(engine, "Shader");
  4282. #ifdef REGISTER_CLASS_MANUAL_PART_Shader
  4283. REGISTER_CLASS_MANUAL_PART_Shader();
  4284. #endif
  4285. }
  4286. // explicit Technique::Technique(Context* context)
  4287. static Technique* Technique__Technique_Contextstar()
  4288. {
  4289. Context* context = GetScriptContext();
  4290. return new Technique(context);
  4291. }
  4292. // class Technique | File: ../Graphics/Technique.h
  4293. static void Register_Technique(asIScriptEngine* engine)
  4294. {
  4295. // explicit Technique::Technique(Context* context)
  4296. engine->RegisterObjectBehaviour("Technique", asBEHAVE_FACTORY, "Technique@+ f()", AS_FUNCTION(Technique__Technique_Contextstar) , AS_CALL_CDECL);
  4297. RegisterSubclass<Resource, Technique>(engine, "Resource", "Technique");
  4298. RegisterSubclass<Object, Technique>(engine, "Object", "Technique");
  4299. RegisterSubclass<RefCounted, Technique>(engine, "RefCounted", "Technique");
  4300. RegisterMembers_Technique<Technique>(engine, "Technique");
  4301. #ifdef REGISTER_CLASS_MANUAL_PART_Technique
  4302. REGISTER_CLASS_MANUAL_PART_Technique();
  4303. #endif
  4304. }
  4305. // explicit ValueAnimation::ValueAnimation(Context* context)
  4306. static ValueAnimation* ValueAnimation__ValueAnimation_Contextstar()
  4307. {
  4308. Context* context = GetScriptContext();
  4309. return new ValueAnimation(context);
  4310. }
  4311. // class ValueAnimation | File: ../Scene/ValueAnimation.h
  4312. static void Register_ValueAnimation(asIScriptEngine* engine)
  4313. {
  4314. // explicit ValueAnimation::ValueAnimation(Context* context)
  4315. engine->RegisterObjectBehaviour("ValueAnimation", asBEHAVE_FACTORY, "ValueAnimation@+ f()", AS_FUNCTION(ValueAnimation__ValueAnimation_Contextstar) , AS_CALL_CDECL);
  4316. RegisterSubclass<Resource, ValueAnimation>(engine, "Resource", "ValueAnimation");
  4317. RegisterSubclass<Object, ValueAnimation>(engine, "Object", "ValueAnimation");
  4318. RegisterSubclass<RefCounted, ValueAnimation>(engine, "RefCounted", "ValueAnimation");
  4319. RegisterMembers_ValueAnimation<ValueAnimation>(engine, "ValueAnimation");
  4320. #ifdef REGISTER_CLASS_MANUAL_PART_ValueAnimation
  4321. REGISTER_CLASS_MANUAL_PART_ValueAnimation();
  4322. #endif
  4323. }
  4324. // explicit XMLFile::XMLFile(Context* context)
  4325. static XMLFile* XMLFile__XMLFile_Contextstar()
  4326. {
  4327. Context* context = GetScriptContext();
  4328. return new XMLFile(context);
  4329. }
  4330. // class XMLFile | File: ../Resource/XMLFile.h
  4331. static void Register_XMLFile(asIScriptEngine* engine)
  4332. {
  4333. // explicit XMLFile::XMLFile(Context* context)
  4334. engine->RegisterObjectBehaviour("XMLFile", asBEHAVE_FACTORY, "XMLFile@+ f()", AS_FUNCTION(XMLFile__XMLFile_Contextstar) , AS_CALL_CDECL);
  4335. RegisterSubclass<Resource, XMLFile>(engine, "Resource", "XMLFile");
  4336. RegisterSubclass<Object, XMLFile>(engine, "Object", "XMLFile");
  4337. RegisterSubclass<RefCounted, XMLFile>(engine, "RefCounted", "XMLFile");
  4338. RegisterMembers_XMLFile<XMLFile>(engine, "XMLFile");
  4339. #ifdef REGISTER_CLASS_MANUAL_PART_XMLFile
  4340. REGISTER_CLASS_MANUAL_PART_XMLFile();
  4341. #endif
  4342. }
  4343. #ifdef URHO3D_URHO2D
  4344. // explicit AnimationSet2D::AnimationSet2D(Context* context)
  4345. static AnimationSet2D* AnimationSet2D__AnimationSet2D_Contextstar()
  4346. {
  4347. Context* context = GetScriptContext();
  4348. return new AnimationSet2D(context);
  4349. }
  4350. // class AnimationSet2D | File: ../Urho2D/AnimationSet2D.h
  4351. static void Register_AnimationSet2D(asIScriptEngine* engine)
  4352. {
  4353. // explicit AnimationSet2D::AnimationSet2D(Context* context)
  4354. engine->RegisterObjectBehaviour("AnimationSet2D", asBEHAVE_FACTORY, "AnimationSet2D@+ f()", AS_FUNCTION(AnimationSet2D__AnimationSet2D_Contextstar) , AS_CALL_CDECL);
  4355. RegisterSubclass<Resource, AnimationSet2D>(engine, "Resource", "AnimationSet2D");
  4356. RegisterSubclass<Object, AnimationSet2D>(engine, "Object", "AnimationSet2D");
  4357. RegisterSubclass<RefCounted, AnimationSet2D>(engine, "RefCounted", "AnimationSet2D");
  4358. RegisterMembers_AnimationSet2D<AnimationSet2D>(engine, "AnimationSet2D");
  4359. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationSet2D
  4360. REGISTER_CLASS_MANUAL_PART_AnimationSet2D();
  4361. #endif
  4362. }
  4363. // explicit ParticleEffect2D::ParticleEffect2D(Context* context)
  4364. static ParticleEffect2D* ParticleEffect2D__ParticleEffect2D_Contextstar()
  4365. {
  4366. Context* context = GetScriptContext();
  4367. return new ParticleEffect2D(context);
  4368. }
  4369. // class ParticleEffect2D | File: ../Urho2D/ParticleEffect2D.h
  4370. static void Register_ParticleEffect2D(asIScriptEngine* engine)
  4371. {
  4372. // explicit ParticleEffect2D::ParticleEffect2D(Context* context)
  4373. engine->RegisterObjectBehaviour("ParticleEffect2D", asBEHAVE_FACTORY, "ParticleEffect2D@+ f()", AS_FUNCTION(ParticleEffect2D__ParticleEffect2D_Contextstar) , AS_CALL_CDECL);
  4374. RegisterSubclass<Resource, ParticleEffect2D>(engine, "Resource", "ParticleEffect2D");
  4375. RegisterSubclass<Object, ParticleEffect2D>(engine, "Object", "ParticleEffect2D");
  4376. RegisterSubclass<RefCounted, ParticleEffect2D>(engine, "RefCounted", "ParticleEffect2D");
  4377. RegisterMembers_ParticleEffect2D<ParticleEffect2D>(engine, "ParticleEffect2D");
  4378. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEffect2D
  4379. REGISTER_CLASS_MANUAL_PART_ParticleEffect2D();
  4380. #endif
  4381. }
  4382. // explicit Sprite2D::Sprite2D(Context* context)
  4383. static Sprite2D* Sprite2D__Sprite2D_Contextstar()
  4384. {
  4385. Context* context = GetScriptContext();
  4386. return new Sprite2D(context);
  4387. }
  4388. // class Sprite2D | File: ../Urho2D/Sprite2D.h
  4389. static void Register_Sprite2D(asIScriptEngine* engine)
  4390. {
  4391. // explicit Sprite2D::Sprite2D(Context* context)
  4392. engine->RegisterObjectBehaviour("Sprite2D", asBEHAVE_FACTORY, "Sprite2D@+ f()", AS_FUNCTION(Sprite2D__Sprite2D_Contextstar) , AS_CALL_CDECL);
  4393. RegisterSubclass<Resource, Sprite2D>(engine, "Resource", "Sprite2D");
  4394. RegisterSubclass<Object, Sprite2D>(engine, "Object", "Sprite2D");
  4395. RegisterSubclass<RefCounted, Sprite2D>(engine, "RefCounted", "Sprite2D");
  4396. RegisterMembers_Sprite2D<Sprite2D>(engine, "Sprite2D");
  4397. #ifdef REGISTER_CLASS_MANUAL_PART_Sprite2D
  4398. REGISTER_CLASS_MANUAL_PART_Sprite2D();
  4399. #endif
  4400. }
  4401. // explicit SpriteSheet2D::SpriteSheet2D(Context* context)
  4402. static SpriteSheet2D* SpriteSheet2D__SpriteSheet2D_Contextstar()
  4403. {
  4404. Context* context = GetScriptContext();
  4405. return new SpriteSheet2D(context);
  4406. }
  4407. // class SpriteSheet2D | File: ../Urho2D/SpriteSheet2D.h
  4408. static void Register_SpriteSheet2D(asIScriptEngine* engine)
  4409. {
  4410. // explicit SpriteSheet2D::SpriteSheet2D(Context* context)
  4411. engine->RegisterObjectBehaviour("SpriteSheet2D", asBEHAVE_FACTORY, "SpriteSheet2D@+ f()", AS_FUNCTION(SpriteSheet2D__SpriteSheet2D_Contextstar) , AS_CALL_CDECL);
  4412. RegisterSubclass<Resource, SpriteSheet2D>(engine, "Resource", "SpriteSheet2D");
  4413. RegisterSubclass<Object, SpriteSheet2D>(engine, "Object", "SpriteSheet2D");
  4414. RegisterSubclass<RefCounted, SpriteSheet2D>(engine, "RefCounted", "SpriteSheet2D");
  4415. RegisterMembers_SpriteSheet2D<SpriteSheet2D>(engine, "SpriteSheet2D");
  4416. #ifdef REGISTER_CLASS_MANUAL_PART_SpriteSheet2D
  4417. REGISTER_CLASS_MANUAL_PART_SpriteSheet2D();
  4418. #endif
  4419. }
  4420. // explicit TmxFile2D::TmxFile2D(Context* context)
  4421. static TmxFile2D* TmxFile2D__TmxFile2D_Contextstar()
  4422. {
  4423. Context* context = GetScriptContext();
  4424. return new TmxFile2D(context);
  4425. }
  4426. // class TmxFile2D | File: ../Urho2D/TmxFile2D.h
  4427. static void Register_TmxFile2D(asIScriptEngine* engine)
  4428. {
  4429. // explicit TmxFile2D::TmxFile2D(Context* context)
  4430. engine->RegisterObjectBehaviour("TmxFile2D", asBEHAVE_FACTORY, "TmxFile2D@+ f()", AS_FUNCTION(TmxFile2D__TmxFile2D_Contextstar) , AS_CALL_CDECL);
  4431. RegisterSubclass<Resource, TmxFile2D>(engine, "Resource", "TmxFile2D");
  4432. RegisterSubclass<Object, TmxFile2D>(engine, "Object", "TmxFile2D");
  4433. RegisterSubclass<RefCounted, TmxFile2D>(engine, "RefCounted", "TmxFile2D");
  4434. RegisterMembers_TmxFile2D<TmxFile2D>(engine, "TmxFile2D");
  4435. #ifdef REGISTER_CLASS_MANUAL_PART_TmxFile2D
  4436. REGISTER_CLASS_MANUAL_PART_TmxFile2D();
  4437. #endif
  4438. }
  4439. #endif // def URHO3D_URHO2D
  4440. // explicit Animation::Animation(Context* context)
  4441. static Animation* Animation__Animation_Contextstar()
  4442. {
  4443. Context* context = GetScriptContext();
  4444. return new Animation(context);
  4445. }
  4446. // class Animation | File: ../Graphics/Animation.h
  4447. static void Register_Animation(asIScriptEngine* engine)
  4448. {
  4449. // explicit Animation::Animation(Context* context)
  4450. engine->RegisterObjectBehaviour("Animation", asBEHAVE_FACTORY, "Animation@+ f()", AS_FUNCTION(Animation__Animation_Contextstar) , AS_CALL_CDECL);
  4451. RegisterSubclass<ResourceWithMetadata, Animation>(engine, "ResourceWithMetadata", "Animation");
  4452. RegisterSubclass<Resource, Animation>(engine, "Resource", "Animation");
  4453. RegisterSubclass<Object, Animation>(engine, "Object", "Animation");
  4454. RegisterSubclass<RefCounted, Animation>(engine, "RefCounted", "Animation");
  4455. RegisterMembers_Animation<Animation>(engine, "Animation");
  4456. #ifdef REGISTER_CLASS_MANUAL_PART_Animation
  4457. REGISTER_CLASS_MANUAL_PART_Animation();
  4458. #endif
  4459. }
  4460. // explicit Component::Component(Context* context)
  4461. static Component* Component__Component_Contextstar()
  4462. {
  4463. Context* context = GetScriptContext();
  4464. return new Component(context);
  4465. }
  4466. // class Component | File: ../Scene/Component.h
  4467. static void Register_Component(asIScriptEngine* engine)
  4468. {
  4469. // explicit Component::Component(Context* context)
  4470. engine->RegisterObjectBehaviour("Component", asBEHAVE_FACTORY, "Component@+ f()", AS_FUNCTION(Component__Component_Contextstar) , AS_CALL_CDECL);
  4471. RegisterSubclass<Animatable, Component>(engine, "Animatable", "Component");
  4472. RegisterSubclass<Serializable, Component>(engine, "Serializable", "Component");
  4473. RegisterSubclass<Object, Component>(engine, "Object", "Component");
  4474. RegisterSubclass<RefCounted, Component>(engine, "RefCounted", "Component");
  4475. RegisterMembers_Component<Component>(engine, "Component");
  4476. #ifdef REGISTER_CLASS_MANUAL_PART_Component
  4477. REGISTER_CLASS_MANUAL_PART_Component();
  4478. #endif
  4479. // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest)
  4480. engine->RegisterObjectMethod("Component", "void DrawDebugGeometry(DebugRenderer@+, bool)", AS_METHODPR(Component, DrawDebugGeometry, (DebugRenderer*, bool), void), AS_CALL_THISCALL);
  4481. }
  4482. // explicit Model::Model(Context* context)
  4483. static Model* Model__Model_Contextstar()
  4484. {
  4485. Context* context = GetScriptContext();
  4486. return new Model(context);
  4487. }
  4488. // class Model | File: ../Graphics/Model.h
  4489. static void Register_Model(asIScriptEngine* engine)
  4490. {
  4491. // explicit Model::Model(Context* context)
  4492. engine->RegisterObjectBehaviour("Model", asBEHAVE_FACTORY, "Model@+ f()", AS_FUNCTION(Model__Model_Contextstar) , AS_CALL_CDECL);
  4493. RegisterSubclass<ResourceWithMetadata, Model>(engine, "ResourceWithMetadata", "Model");
  4494. RegisterSubclass<Resource, Model>(engine, "Resource", "Model");
  4495. RegisterSubclass<Object, Model>(engine, "Object", "Model");
  4496. RegisterSubclass<RefCounted, Model>(engine, "RefCounted", "Model");
  4497. RegisterMembers_Model<Model>(engine, "Model");
  4498. #ifdef REGISTER_CLASS_MANUAL_PART_Model
  4499. REGISTER_CLASS_MANUAL_PART_Model();
  4500. #endif
  4501. }
  4502. // explicit Node::Node(Context* context)
  4503. static Node* Node__Node_Contextstar()
  4504. {
  4505. Context* context = GetScriptContext();
  4506. return new Node(context);
  4507. }
  4508. // class Node | File: ../Scene/Node.h
  4509. static void Register_Node(asIScriptEngine* engine)
  4510. {
  4511. // explicit Node::Node(Context* context)
  4512. engine->RegisterObjectBehaviour("Node", asBEHAVE_FACTORY, "Node@+ f()", AS_FUNCTION(Node__Node_Contextstar) , AS_CALL_CDECL);
  4513. RegisterSubclass<Animatable, Node>(engine, "Animatable", "Node");
  4514. RegisterSubclass<Serializable, Node>(engine, "Serializable", "Node");
  4515. RegisterSubclass<Object, Node>(engine, "Object", "Node");
  4516. RegisterSubclass<RefCounted, Node>(engine, "RefCounted", "Node");
  4517. RegisterMembers_Node<Node>(engine, "Node");
  4518. #ifdef REGISTER_CLASS_MANUAL_PART_Node
  4519. REGISTER_CLASS_MANUAL_PART_Node();
  4520. #endif
  4521. // bool Node::Load(Deserializer& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  4522. 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);
  4523. // bool Node::LoadJSON(const JSONValue& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  4524. 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);
  4525. // bool Node::LoadXML(const XMLElement& source, SceneResolver& resolver, bool loadChildren = true, bool rewriteIDs = false, CreateMode mode = REPLICATED)
  4526. 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);
  4527. // void Node::MarkReplicationDirty()
  4528. engine->RegisterObjectMethod("Node", "void MarkReplicationDirty()", AS_METHODPR(Node, MarkReplicationDirty, (), void), AS_CALL_THISCALL);
  4529. }
  4530. // explicit Sound::Sound(Context* context)
  4531. static Sound* Sound__Sound_Contextstar()
  4532. {
  4533. Context* context = GetScriptContext();
  4534. return new Sound(context);
  4535. }
  4536. // class Sound | File: ../Audio/Sound.h
  4537. static void Register_Sound(asIScriptEngine* engine)
  4538. {
  4539. // explicit Sound::Sound(Context* context)
  4540. engine->RegisterObjectBehaviour("Sound", asBEHAVE_FACTORY, "Sound@+ f()", AS_FUNCTION(Sound__Sound_Contextstar) , AS_CALL_CDECL);
  4541. RegisterSubclass<ResourceWithMetadata, Sound>(engine, "ResourceWithMetadata", "Sound");
  4542. RegisterSubclass<Resource, Sound>(engine, "Resource", "Sound");
  4543. RegisterSubclass<Object, Sound>(engine, "Object", "Sound");
  4544. RegisterSubclass<RefCounted, Sound>(engine, "RefCounted", "Sound");
  4545. RegisterMembers_Sound<Sound>(engine, "Sound");
  4546. #ifdef REGISTER_CLASS_MANUAL_PART_Sound
  4547. REGISTER_CLASS_MANUAL_PART_Sound();
  4548. #endif
  4549. }
  4550. // explicit Texture::Texture(Context* context)
  4551. static Texture* Texture__Texture_Contextstar()
  4552. {
  4553. Context* context = GetScriptContext();
  4554. return new Texture(context);
  4555. }
  4556. // class Texture | File: ../GraphicsAPI/Texture.h
  4557. static void Register_Texture(asIScriptEngine* engine)
  4558. {
  4559. // explicit Texture::Texture(Context* context)
  4560. engine->RegisterObjectBehaviour("Texture", asBEHAVE_FACTORY, "Texture@+ f()", AS_FUNCTION(Texture__Texture_Contextstar) , AS_CALL_CDECL);
  4561. RegisterSubclass<ResourceWithMetadata, Texture>(engine, "ResourceWithMetadata", "Texture");
  4562. RegisterSubclass<Resource, Texture>(engine, "Resource", "Texture");
  4563. RegisterSubclass<Object, Texture>(engine, "Object", "Texture");
  4564. RegisterSubclass<RefCounted, Texture>(engine, "RefCounted", "Texture");
  4565. RegisterMembers_Texture<Texture>(engine, "Texture");
  4566. #ifdef REGISTER_CLASS_MANUAL_PART_Texture
  4567. REGISTER_CLASS_MANUAL_PART_Texture();
  4568. #endif
  4569. }
  4570. // explicit UIElement::UIElement(Context* context)
  4571. static UIElement* UIElement__UIElement_Contextstar()
  4572. {
  4573. Context* context = GetScriptContext();
  4574. return new UIElement(context);
  4575. }
  4576. // class UIElement | File: ../UI/UIElement.h
  4577. static void Register_UIElement(asIScriptEngine* engine)
  4578. {
  4579. // explicit UIElement::UIElement(Context* context)
  4580. engine->RegisterObjectBehaviour("UIElement", asBEHAVE_FACTORY, "UIElement@+ f()", AS_FUNCTION(UIElement__UIElement_Contextstar) , AS_CALL_CDECL);
  4581. RegisterSubclass<Animatable, UIElement>(engine, "Animatable", "UIElement");
  4582. RegisterSubclass<Serializable, UIElement>(engine, "Serializable", "UIElement");
  4583. RegisterSubclass<Object, UIElement>(engine, "Object", "UIElement");
  4584. RegisterSubclass<RefCounted, UIElement>(engine, "RefCounted", "UIElement");
  4585. RegisterMembers_UIElement<UIElement>(engine, "UIElement");
  4586. #ifdef REGISTER_CLASS_MANUAL_PART_UIElement
  4587. REGISTER_CLASS_MANUAL_PART_UIElement();
  4588. #endif
  4589. // const IntVector2& UIElement::GetPosition() const
  4590. engine->RegisterObjectMethod("UIElement", "const IntVector2& GetPosition() const", AS_METHODPR(UIElement, GetPosition, () const, const IntVector2&), AS_CALL_THISCALL);
  4591. engine->RegisterObjectMethod("UIElement", "const IntVector2& get_position() const", AS_METHODPR(UIElement, GetPosition, () const, const IntVector2&), AS_CALL_THISCALL);
  4592. // bool UIElement::IsSelected() const
  4593. engine->RegisterObjectMethod("UIElement", "bool IsSelected() const", AS_METHODPR(UIElement, IsSelected, () const, bool), AS_CALL_THISCALL);
  4594. engine->RegisterObjectMethod("UIElement", "bool get_selected() const", AS_METHODPR(UIElement, IsSelected, () const, bool), AS_CALL_THISCALL);
  4595. // void UIElement::SetPosition(const IntVector2& position)
  4596. engine->RegisterObjectMethod("UIElement", "void SetPosition(const IntVector2&in)", AS_METHODPR(UIElement, SetPosition, (const IntVector2&), void), AS_CALL_THISCALL);
  4597. engine->RegisterObjectMethod("UIElement", "void set_position(const IntVector2&in)", AS_METHODPR(UIElement, SetPosition, (const IntVector2&), void), AS_CALL_THISCALL);
  4598. // void UIElement::SetPosition(int x, int y)
  4599. engine->RegisterObjectMethod("UIElement", "void SetPosition(int, int)", AS_METHODPR(UIElement, SetPosition, (int, int), void), AS_CALL_THISCALL);
  4600. }
  4601. // explicit AnimationController::AnimationController(Context* context)
  4602. static AnimationController* AnimationController__AnimationController_Contextstar()
  4603. {
  4604. Context* context = GetScriptContext();
  4605. return new AnimationController(context);
  4606. }
  4607. // class AnimationController | File: ../Graphics/AnimationController.h
  4608. static void Register_AnimationController(asIScriptEngine* engine)
  4609. {
  4610. // explicit AnimationController::AnimationController(Context* context)
  4611. engine->RegisterObjectBehaviour("AnimationController", asBEHAVE_FACTORY, "AnimationController@+ f()", AS_FUNCTION(AnimationController__AnimationController_Contextstar) , AS_CALL_CDECL);
  4612. RegisterSubclass<Component, AnimationController>(engine, "Component", "AnimationController");
  4613. RegisterSubclass<Animatable, AnimationController>(engine, "Animatable", "AnimationController");
  4614. RegisterSubclass<Serializable, AnimationController>(engine, "Serializable", "AnimationController");
  4615. RegisterSubclass<Object, AnimationController>(engine, "Object", "AnimationController");
  4616. RegisterSubclass<RefCounted, AnimationController>(engine, "RefCounted", "AnimationController");
  4617. RegisterMembers_AnimationController<AnimationController>(engine, "AnimationController");
  4618. #ifdef REGISTER_CLASS_MANUAL_PART_AnimationController
  4619. REGISTER_CLASS_MANUAL_PART_AnimationController();
  4620. #endif
  4621. }
  4622. // explicit BorderImage::BorderImage(Context* context)
  4623. static BorderImage* BorderImage__BorderImage_Contextstar()
  4624. {
  4625. Context* context = GetScriptContext();
  4626. return new BorderImage(context);
  4627. }
  4628. // class BorderImage | File: ../UI/BorderImage.h
  4629. static void Register_BorderImage(asIScriptEngine* engine)
  4630. {
  4631. // explicit BorderImage::BorderImage(Context* context)
  4632. engine->RegisterObjectBehaviour("BorderImage", asBEHAVE_FACTORY, "BorderImage@+ f()", AS_FUNCTION(BorderImage__BorderImage_Contextstar) , AS_CALL_CDECL);
  4633. RegisterSubclass<UIElement, BorderImage>(engine, "UIElement", "BorderImage");
  4634. RegisterSubclass<Animatable, BorderImage>(engine, "Animatable", "BorderImage");
  4635. RegisterSubclass<Serializable, BorderImage>(engine, "Serializable", "BorderImage");
  4636. RegisterSubclass<Object, BorderImage>(engine, "Object", "BorderImage");
  4637. RegisterSubclass<RefCounted, BorderImage>(engine, "RefCounted", "BorderImage");
  4638. RegisterMembers_BorderImage<BorderImage>(engine, "BorderImage");
  4639. #ifdef REGISTER_CLASS_MANUAL_PART_BorderImage
  4640. REGISTER_CLASS_MANUAL_PART_BorderImage();
  4641. #endif
  4642. }
  4643. // explicit Camera::Camera(Context* context)
  4644. static Camera* Camera__Camera_Contextstar()
  4645. {
  4646. Context* context = GetScriptContext();
  4647. return new Camera(context);
  4648. }
  4649. // class Camera | File: ../Graphics/Camera.h
  4650. static void Register_Camera(asIScriptEngine* engine)
  4651. {
  4652. // explicit Camera::Camera(Context* context)
  4653. engine->RegisterObjectBehaviour("Camera", asBEHAVE_FACTORY, "Camera@+ f()", AS_FUNCTION(Camera__Camera_Contextstar) , AS_CALL_CDECL);
  4654. RegisterSubclass<Component, Camera>(engine, "Component", "Camera");
  4655. RegisterSubclass<Animatable, Camera>(engine, "Animatable", "Camera");
  4656. RegisterSubclass<Serializable, Camera>(engine, "Serializable", "Camera");
  4657. RegisterSubclass<Object, Camera>(engine, "Object", "Camera");
  4658. RegisterSubclass<RefCounted, Camera>(engine, "RefCounted", "Camera");
  4659. RegisterMembers_Camera<Camera>(engine, "Camera");
  4660. #ifdef REGISTER_CLASS_MANUAL_PART_Camera
  4661. REGISTER_CLASS_MANUAL_PART_Camera();
  4662. #endif
  4663. }
  4664. // explicit DebugRenderer::DebugRenderer(Context* context)
  4665. static DebugRenderer* DebugRenderer__DebugRenderer_Contextstar()
  4666. {
  4667. Context* context = GetScriptContext();
  4668. return new DebugRenderer(context);
  4669. }
  4670. // class DebugRenderer | File: ../Graphics/DebugRenderer.h
  4671. static void Register_DebugRenderer(asIScriptEngine* engine)
  4672. {
  4673. // explicit DebugRenderer::DebugRenderer(Context* context)
  4674. engine->RegisterObjectBehaviour("DebugRenderer", asBEHAVE_FACTORY, "DebugRenderer@+ f()", AS_FUNCTION(DebugRenderer__DebugRenderer_Contextstar) , AS_CALL_CDECL);
  4675. RegisterSubclass<Component, DebugRenderer>(engine, "Component", "DebugRenderer");
  4676. RegisterSubclass<Animatable, DebugRenderer>(engine, "Animatable", "DebugRenderer");
  4677. RegisterSubclass<Serializable, DebugRenderer>(engine, "Serializable", "DebugRenderer");
  4678. RegisterSubclass<Object, DebugRenderer>(engine, "Object", "DebugRenderer");
  4679. RegisterSubclass<RefCounted, DebugRenderer>(engine, "RefCounted", "DebugRenderer");
  4680. RegisterMembers_DebugRenderer<DebugRenderer>(engine, "DebugRenderer");
  4681. #ifdef REGISTER_CLASS_MANUAL_PART_DebugRenderer
  4682. REGISTER_CLASS_MANUAL_PART_DebugRenderer();
  4683. #endif
  4684. }
  4685. // class Drawable | File: ../Graphics/Drawable.h
  4686. static void Register_Drawable(asIScriptEngine* engine)
  4687. {
  4688. RegisterSubclass<Component, Drawable>(engine, "Component", "Drawable");
  4689. RegisterSubclass<Animatable, Drawable>(engine, "Animatable", "Drawable");
  4690. RegisterSubclass<Serializable, Drawable>(engine, "Serializable", "Drawable");
  4691. RegisterSubclass<Object, Drawable>(engine, "Object", "Drawable");
  4692. RegisterSubclass<RefCounted, Drawable>(engine, "RefCounted", "Drawable");
  4693. RegisterMembers_Drawable<Drawable>(engine, "Drawable");
  4694. #ifdef REGISTER_CLASS_MANUAL_PART_Drawable
  4695. REGISTER_CLASS_MANUAL_PART_Drawable();
  4696. #endif
  4697. // virtual void Drawable::Update(const FrameInfo& frame)
  4698. engine->RegisterObjectMethod("Drawable", "void Update(const FrameInfo&in)", AS_METHODPR(Drawable, Update, (const FrameInfo&), void), AS_CALL_THISCALL);
  4699. }
  4700. // explicit LogicComponent::LogicComponent(Context* context)
  4701. static LogicComponent* LogicComponent__LogicComponent_Contextstar()
  4702. {
  4703. Context* context = GetScriptContext();
  4704. return new LogicComponent(context);
  4705. }
  4706. // class LogicComponent | File: ../Scene/LogicComponent.h
  4707. static void Register_LogicComponent(asIScriptEngine* engine)
  4708. {
  4709. // explicit LogicComponent::LogicComponent(Context* context)
  4710. engine->RegisterObjectBehaviour("LogicComponent", asBEHAVE_FACTORY, "LogicComponent@+ f()", AS_FUNCTION(LogicComponent__LogicComponent_Contextstar) , AS_CALL_CDECL);
  4711. RegisterSubclass<Component, LogicComponent>(engine, "Component", "LogicComponent");
  4712. RegisterSubclass<Animatable, LogicComponent>(engine, "Animatable", "LogicComponent");
  4713. RegisterSubclass<Serializable, LogicComponent>(engine, "Serializable", "LogicComponent");
  4714. RegisterSubclass<Object, LogicComponent>(engine, "Object", "LogicComponent");
  4715. RegisterSubclass<RefCounted, LogicComponent>(engine, "RefCounted", "LogicComponent");
  4716. RegisterMembers_LogicComponent<LogicComponent>(engine, "LogicComponent");
  4717. #ifdef REGISTER_CLASS_MANUAL_PART_LogicComponent
  4718. REGISTER_CLASS_MANUAL_PART_LogicComponent();
  4719. #endif
  4720. }
  4721. // explicit Octree::Octree(Context* context)
  4722. static Octree* Octree__Octree_Contextstar()
  4723. {
  4724. Context* context = GetScriptContext();
  4725. return new Octree(context);
  4726. }
  4727. // class Octree | File: ../Graphics/Octree.h
  4728. static void Register_Octree(asIScriptEngine* engine)
  4729. {
  4730. // explicit Octree::Octree(Context* context)
  4731. engine->RegisterObjectBehaviour("Octree", asBEHAVE_FACTORY, "Octree@+ f()", AS_FUNCTION(Octree__Octree_Contextstar) , AS_CALL_CDECL);
  4732. RegisterSubclass<Component, Octree>(engine, "Component", "Octree");
  4733. RegisterSubclass<Animatable, Octree>(engine, "Animatable", "Octree");
  4734. RegisterSubclass<Serializable, Octree>(engine, "Serializable", "Octree");
  4735. RegisterSubclass<Object, Octree>(engine, "Object", "Octree");
  4736. RegisterSubclass<RefCounted, Octree>(engine, "RefCounted", "Octree");
  4737. RegisterMembers_Octree<Octree>(engine, "Octree");
  4738. #ifdef REGISTER_CLASS_MANUAL_PART_Octree
  4739. REGISTER_CLASS_MANUAL_PART_Octree();
  4740. #endif
  4741. }
  4742. // explicit Scene::Scene(Context* context)
  4743. static Scene* Scene__Scene_Contextstar()
  4744. {
  4745. Context* context = GetScriptContext();
  4746. return new Scene(context);
  4747. }
  4748. // class Scene | File: ../Scene/Scene.h
  4749. static void Register_Scene(asIScriptEngine* engine)
  4750. {
  4751. // explicit Scene::Scene(Context* context)
  4752. engine->RegisterObjectBehaviour("Scene", asBEHAVE_FACTORY, "Scene@+ f()", AS_FUNCTION(Scene__Scene_Contextstar) , AS_CALL_CDECL);
  4753. RegisterSubclass<Node, Scene>(engine, "Node", "Scene");
  4754. RegisterSubclass<Animatable, Scene>(engine, "Animatable", "Scene");
  4755. RegisterSubclass<Serializable, Scene>(engine, "Serializable", "Scene");
  4756. RegisterSubclass<Object, Scene>(engine, "Object", "Scene");
  4757. RegisterSubclass<RefCounted, Scene>(engine, "RefCounted", "Scene");
  4758. RegisterMembers_Scene<Scene>(engine, "Scene");
  4759. #ifdef REGISTER_CLASS_MANUAL_PART_Scene
  4760. REGISTER_CLASS_MANUAL_PART_Scene();
  4761. #endif
  4762. }
  4763. // explicit ScrollView::ScrollView(Context* context)
  4764. static ScrollView* ScrollView__ScrollView_Contextstar()
  4765. {
  4766. Context* context = GetScriptContext();
  4767. return new ScrollView(context);
  4768. }
  4769. // class ScrollView | File: ../UI/ScrollView.h
  4770. static void Register_ScrollView(asIScriptEngine* engine)
  4771. {
  4772. // explicit ScrollView::ScrollView(Context* context)
  4773. engine->RegisterObjectBehaviour("ScrollView", asBEHAVE_FACTORY, "ScrollView@+ f()", AS_FUNCTION(ScrollView__ScrollView_Contextstar) , AS_CALL_CDECL);
  4774. RegisterSubclass<UIElement, ScrollView>(engine, "UIElement", "ScrollView");
  4775. RegisterSubclass<Animatable, ScrollView>(engine, "Animatable", "ScrollView");
  4776. RegisterSubclass<Serializable, ScrollView>(engine, "Serializable", "ScrollView");
  4777. RegisterSubclass<Object, ScrollView>(engine, "Object", "ScrollView");
  4778. RegisterSubclass<RefCounted, ScrollView>(engine, "RefCounted", "ScrollView");
  4779. RegisterMembers_ScrollView<ScrollView>(engine, "ScrollView");
  4780. #ifdef REGISTER_CLASS_MANUAL_PART_ScrollView
  4781. REGISTER_CLASS_MANUAL_PART_ScrollView();
  4782. #endif
  4783. // bool UIElement::IsSelected() const
  4784. engine->RegisterObjectMethod("ScrollView", "bool IsSelected() const", AS_METHODPR(ScrollView, IsSelected, () const, bool), AS_CALL_THISCALL);
  4785. engine->RegisterObjectMethod("ScrollView", "bool get_selected() const", AS_METHODPR(ScrollView, IsSelected, () const, bool), AS_CALL_THISCALL);
  4786. }
  4787. // explicit SmoothedTransform::SmoothedTransform(Context* context)
  4788. static SmoothedTransform* SmoothedTransform__SmoothedTransform_Contextstar()
  4789. {
  4790. Context* context = GetScriptContext();
  4791. return new SmoothedTransform(context);
  4792. }
  4793. // class SmoothedTransform | File: ../Scene/SmoothedTransform.h
  4794. static void Register_SmoothedTransform(asIScriptEngine* engine)
  4795. {
  4796. // explicit SmoothedTransform::SmoothedTransform(Context* context)
  4797. engine->RegisterObjectBehaviour("SmoothedTransform", asBEHAVE_FACTORY, "SmoothedTransform@+ f()", AS_FUNCTION(SmoothedTransform__SmoothedTransform_Contextstar) , AS_CALL_CDECL);
  4798. RegisterSubclass<Component, SmoothedTransform>(engine, "Component", "SmoothedTransform");
  4799. RegisterSubclass<Animatable, SmoothedTransform>(engine, "Animatable", "SmoothedTransform");
  4800. RegisterSubclass<Serializable, SmoothedTransform>(engine, "Serializable", "SmoothedTransform");
  4801. RegisterSubclass<Object, SmoothedTransform>(engine, "Object", "SmoothedTransform");
  4802. RegisterSubclass<RefCounted, SmoothedTransform>(engine, "RefCounted", "SmoothedTransform");
  4803. RegisterMembers_SmoothedTransform<SmoothedTransform>(engine, "SmoothedTransform");
  4804. #ifdef REGISTER_CLASS_MANUAL_PART_SmoothedTransform
  4805. REGISTER_CLASS_MANUAL_PART_SmoothedTransform();
  4806. #endif
  4807. }
  4808. // explicit SoundListener::SoundListener(Context* context)
  4809. static SoundListener* SoundListener__SoundListener_Contextstar()
  4810. {
  4811. Context* context = GetScriptContext();
  4812. return new SoundListener(context);
  4813. }
  4814. // class SoundListener | File: ../Audio/SoundListener.h
  4815. static void Register_SoundListener(asIScriptEngine* engine)
  4816. {
  4817. // explicit SoundListener::SoundListener(Context* context)
  4818. engine->RegisterObjectBehaviour("SoundListener", asBEHAVE_FACTORY, "SoundListener@+ f()", AS_FUNCTION(SoundListener__SoundListener_Contextstar) , AS_CALL_CDECL);
  4819. RegisterSubclass<Component, SoundListener>(engine, "Component", "SoundListener");
  4820. RegisterSubclass<Animatable, SoundListener>(engine, "Animatable", "SoundListener");
  4821. RegisterSubclass<Serializable, SoundListener>(engine, "Serializable", "SoundListener");
  4822. RegisterSubclass<Object, SoundListener>(engine, "Object", "SoundListener");
  4823. RegisterSubclass<RefCounted, SoundListener>(engine, "RefCounted", "SoundListener");
  4824. RegisterMembers_SoundListener<SoundListener>(engine, "SoundListener");
  4825. #ifdef REGISTER_CLASS_MANUAL_PART_SoundListener
  4826. REGISTER_CLASS_MANUAL_PART_SoundListener();
  4827. #endif
  4828. }
  4829. // explicit SoundSource::SoundSource(Context* context)
  4830. static SoundSource* SoundSource__SoundSource_Contextstar()
  4831. {
  4832. Context* context = GetScriptContext();
  4833. return new SoundSource(context);
  4834. }
  4835. // class SoundSource | File: ../Audio/SoundSource.h
  4836. static void Register_SoundSource(asIScriptEngine* engine)
  4837. {
  4838. // explicit SoundSource::SoundSource(Context* context)
  4839. engine->RegisterObjectBehaviour("SoundSource", asBEHAVE_FACTORY, "SoundSource@+ f()", AS_FUNCTION(SoundSource__SoundSource_Contextstar) , AS_CALL_CDECL);
  4840. RegisterSubclass<Component, SoundSource>(engine, "Component", "SoundSource");
  4841. RegisterSubclass<Animatable, SoundSource>(engine, "Animatable", "SoundSource");
  4842. RegisterSubclass<Serializable, SoundSource>(engine, "Serializable", "SoundSource");
  4843. RegisterSubclass<Object, SoundSource>(engine, "Object", "SoundSource");
  4844. RegisterSubclass<RefCounted, SoundSource>(engine, "RefCounted", "SoundSource");
  4845. RegisterMembers_SoundSource<SoundSource>(engine, "SoundSource");
  4846. #ifdef REGISTER_CLASS_MANUAL_PART_SoundSource
  4847. REGISTER_CLASS_MANUAL_PART_SoundSource();
  4848. #endif
  4849. }
  4850. // explicit SplinePath::SplinePath(Context* context)
  4851. static SplinePath* SplinePath__SplinePath_Contextstar()
  4852. {
  4853. Context* context = GetScriptContext();
  4854. return new SplinePath(context);
  4855. }
  4856. // class SplinePath | File: ../Scene/SplinePath.h
  4857. static void Register_SplinePath(asIScriptEngine* engine)
  4858. {
  4859. // explicit SplinePath::SplinePath(Context* context)
  4860. engine->RegisterObjectBehaviour("SplinePath", asBEHAVE_FACTORY, "SplinePath@+ f()", AS_FUNCTION(SplinePath__SplinePath_Contextstar) , AS_CALL_CDECL);
  4861. RegisterSubclass<Component, SplinePath>(engine, "Component", "SplinePath");
  4862. RegisterSubclass<Animatable, SplinePath>(engine, "Animatable", "SplinePath");
  4863. RegisterSubclass<Serializable, SplinePath>(engine, "Serializable", "SplinePath");
  4864. RegisterSubclass<Object, SplinePath>(engine, "Object", "SplinePath");
  4865. RegisterSubclass<RefCounted, SplinePath>(engine, "RefCounted", "SplinePath");
  4866. RegisterMembers_SplinePath<SplinePath>(engine, "SplinePath");
  4867. #ifdef REGISTER_CLASS_MANUAL_PART_SplinePath
  4868. REGISTER_CLASS_MANUAL_PART_SplinePath();
  4869. #endif
  4870. }
  4871. // explicit Sprite::Sprite(Context* context)
  4872. static Sprite* Sprite__Sprite_Contextstar()
  4873. {
  4874. Context* context = GetScriptContext();
  4875. return new Sprite(context);
  4876. }
  4877. // class Sprite | File: ../UI/Sprite.h
  4878. static void Register_Sprite(asIScriptEngine* engine)
  4879. {
  4880. // explicit Sprite::Sprite(Context* context)
  4881. engine->RegisterObjectBehaviour("Sprite", asBEHAVE_FACTORY, "Sprite@+ f()", AS_FUNCTION(Sprite__Sprite_Contextstar) , AS_CALL_CDECL);
  4882. RegisterSubclass<UIElement, Sprite>(engine, "UIElement", "Sprite");
  4883. RegisterSubclass<Animatable, Sprite>(engine, "Animatable", "Sprite");
  4884. RegisterSubclass<Serializable, Sprite>(engine, "Serializable", "Sprite");
  4885. RegisterSubclass<Object, Sprite>(engine, "Object", "Sprite");
  4886. RegisterSubclass<RefCounted, Sprite>(engine, "RefCounted", "Sprite");
  4887. RegisterMembers_Sprite<Sprite>(engine, "Sprite");
  4888. #ifdef REGISTER_CLASS_MANUAL_PART_Sprite
  4889. REGISTER_CLASS_MANUAL_PART_Sprite();
  4890. #endif
  4891. }
  4892. // explicit Terrain::Terrain(Context* context)
  4893. static Terrain* Terrain__Terrain_Contextstar()
  4894. {
  4895. Context* context = GetScriptContext();
  4896. return new Terrain(context);
  4897. }
  4898. // class Terrain | File: ../Graphics/Terrain.h
  4899. static void Register_Terrain(asIScriptEngine* engine)
  4900. {
  4901. // explicit Terrain::Terrain(Context* context)
  4902. engine->RegisterObjectBehaviour("Terrain", asBEHAVE_FACTORY, "Terrain@+ f()", AS_FUNCTION(Terrain__Terrain_Contextstar) , AS_CALL_CDECL);
  4903. RegisterSubclass<Component, Terrain>(engine, "Component", "Terrain");
  4904. RegisterSubclass<Animatable, Terrain>(engine, "Animatable", "Terrain");
  4905. RegisterSubclass<Serializable, Terrain>(engine, "Serializable", "Terrain");
  4906. RegisterSubclass<Object, Terrain>(engine, "Object", "Terrain");
  4907. RegisterSubclass<RefCounted, Terrain>(engine, "RefCounted", "Terrain");
  4908. RegisterMembers_Terrain<Terrain>(engine, "Terrain");
  4909. #ifdef REGISTER_CLASS_MANUAL_PART_Terrain
  4910. REGISTER_CLASS_MANUAL_PART_Terrain();
  4911. #endif
  4912. }
  4913. // explicit Texture2D::Texture2D(Context* context)
  4914. static Texture2D* Texture2D__Texture2D_Contextstar()
  4915. {
  4916. Context* context = GetScriptContext();
  4917. return new Texture2D(context);
  4918. }
  4919. // class Texture2D | File: ../GraphicsAPI/Texture2D.h
  4920. static void Register_Texture2D(asIScriptEngine* engine)
  4921. {
  4922. // explicit Texture2D::Texture2D(Context* context)
  4923. engine->RegisterObjectBehaviour("Texture2D", asBEHAVE_FACTORY, "Texture2D@+ f()", AS_FUNCTION(Texture2D__Texture2D_Contextstar) , AS_CALL_CDECL);
  4924. RegisterSubclass<Texture, Texture2D>(engine, "Texture", "Texture2D");
  4925. RegisterSubclass<ResourceWithMetadata, Texture2D>(engine, "ResourceWithMetadata", "Texture2D");
  4926. RegisterSubclass<Resource, Texture2D>(engine, "Resource", "Texture2D");
  4927. RegisterSubclass<Object, Texture2D>(engine, "Object", "Texture2D");
  4928. RegisterSubclass<RefCounted, Texture2D>(engine, "RefCounted", "Texture2D");
  4929. RegisterMembers_Texture2D<Texture2D>(engine, "Texture2D");
  4930. #ifdef REGISTER_CLASS_MANUAL_PART_Texture2D
  4931. REGISTER_CLASS_MANUAL_PART_Texture2D();
  4932. #endif
  4933. }
  4934. // explicit Texture2DArray::Texture2DArray(Context* context)
  4935. static Texture2DArray* Texture2DArray__Texture2DArray_Contextstar()
  4936. {
  4937. Context* context = GetScriptContext();
  4938. return new Texture2DArray(context);
  4939. }
  4940. // class Texture2DArray | File: ../GraphicsAPI/Texture2DArray.h
  4941. static void Register_Texture2DArray(asIScriptEngine* engine)
  4942. {
  4943. // explicit Texture2DArray::Texture2DArray(Context* context)
  4944. engine->RegisterObjectBehaviour("Texture2DArray", asBEHAVE_FACTORY, "Texture2DArray@+ f()", AS_FUNCTION(Texture2DArray__Texture2DArray_Contextstar) , AS_CALL_CDECL);
  4945. RegisterSubclass<Texture, Texture2DArray>(engine, "Texture", "Texture2DArray");
  4946. RegisterSubclass<ResourceWithMetadata, Texture2DArray>(engine, "ResourceWithMetadata", "Texture2DArray");
  4947. RegisterSubclass<Resource, Texture2DArray>(engine, "Resource", "Texture2DArray");
  4948. RegisterSubclass<Object, Texture2DArray>(engine, "Object", "Texture2DArray");
  4949. RegisterSubclass<RefCounted, Texture2DArray>(engine, "RefCounted", "Texture2DArray");
  4950. RegisterMembers_Texture2DArray<Texture2DArray>(engine, "Texture2DArray");
  4951. #ifdef REGISTER_CLASS_MANUAL_PART_Texture2DArray
  4952. REGISTER_CLASS_MANUAL_PART_Texture2DArray();
  4953. #endif
  4954. }
  4955. // explicit Texture3D::Texture3D(Context* context)
  4956. static Texture3D* Texture3D__Texture3D_Contextstar()
  4957. {
  4958. Context* context = GetScriptContext();
  4959. return new Texture3D(context);
  4960. }
  4961. // class Texture3D | File: ../GraphicsAPI/Texture3D.h
  4962. static void Register_Texture3D(asIScriptEngine* engine)
  4963. {
  4964. // explicit Texture3D::Texture3D(Context* context)
  4965. engine->RegisterObjectBehaviour("Texture3D", asBEHAVE_FACTORY, "Texture3D@+ f()", AS_FUNCTION(Texture3D__Texture3D_Contextstar) , AS_CALL_CDECL);
  4966. RegisterSubclass<Texture, Texture3D>(engine, "Texture", "Texture3D");
  4967. RegisterSubclass<ResourceWithMetadata, Texture3D>(engine, "ResourceWithMetadata", "Texture3D");
  4968. RegisterSubclass<Resource, Texture3D>(engine, "Resource", "Texture3D");
  4969. RegisterSubclass<Object, Texture3D>(engine, "Object", "Texture3D");
  4970. RegisterSubclass<RefCounted, Texture3D>(engine, "RefCounted", "Texture3D");
  4971. RegisterMembers_Texture3D<Texture3D>(engine, "Texture3D");
  4972. #ifdef REGISTER_CLASS_MANUAL_PART_Texture3D
  4973. REGISTER_CLASS_MANUAL_PART_Texture3D();
  4974. #endif
  4975. }
  4976. // explicit TextureCube::TextureCube(Context* context)
  4977. static TextureCube* TextureCube__TextureCube_Contextstar()
  4978. {
  4979. Context* context = GetScriptContext();
  4980. return new TextureCube(context);
  4981. }
  4982. // class TextureCube | File: ../GraphicsAPI/TextureCube.h
  4983. static void Register_TextureCube(asIScriptEngine* engine)
  4984. {
  4985. // explicit TextureCube::TextureCube(Context* context)
  4986. engine->RegisterObjectBehaviour("TextureCube", asBEHAVE_FACTORY, "TextureCube@+ f()", AS_FUNCTION(TextureCube__TextureCube_Contextstar) , AS_CALL_CDECL);
  4987. RegisterSubclass<Texture, TextureCube>(engine, "Texture", "TextureCube");
  4988. RegisterSubclass<ResourceWithMetadata, TextureCube>(engine, "ResourceWithMetadata", "TextureCube");
  4989. RegisterSubclass<Resource, TextureCube>(engine, "Resource", "TextureCube");
  4990. RegisterSubclass<Object, TextureCube>(engine, "Object", "TextureCube");
  4991. RegisterSubclass<RefCounted, TextureCube>(engine, "RefCounted", "TextureCube");
  4992. RegisterMembers_TextureCube<TextureCube>(engine, "TextureCube");
  4993. #ifdef REGISTER_CLASS_MANUAL_PART_TextureCube
  4994. REGISTER_CLASS_MANUAL_PART_TextureCube();
  4995. #endif
  4996. }
  4997. // explicit ToolTip::ToolTip(Context* context)
  4998. static ToolTip* ToolTip__ToolTip_Contextstar()
  4999. {
  5000. Context* context = GetScriptContext();
  5001. return new ToolTip(context);
  5002. }
  5003. // class ToolTip | File: ../UI/ToolTip.h
  5004. static void Register_ToolTip(asIScriptEngine* engine)
  5005. {
  5006. // explicit ToolTip::ToolTip(Context* context)
  5007. engine->RegisterObjectBehaviour("ToolTip", asBEHAVE_FACTORY, "ToolTip@+ f()", AS_FUNCTION(ToolTip__ToolTip_Contextstar) , AS_CALL_CDECL);
  5008. RegisterSubclass<UIElement, ToolTip>(engine, "UIElement", "ToolTip");
  5009. RegisterSubclass<Animatable, ToolTip>(engine, "Animatable", "ToolTip");
  5010. RegisterSubclass<Serializable, ToolTip>(engine, "Serializable", "ToolTip");
  5011. RegisterSubclass<Object, ToolTip>(engine, "Object", "ToolTip");
  5012. RegisterSubclass<RefCounted, ToolTip>(engine, "RefCounted", "ToolTip");
  5013. RegisterMembers_ToolTip<ToolTip>(engine, "ToolTip");
  5014. #ifdef REGISTER_CLASS_MANUAL_PART_ToolTip
  5015. REGISTER_CLASS_MANUAL_PART_ToolTip();
  5016. #endif
  5017. }
  5018. // explicit UIComponent::UIComponent(Context* context)
  5019. static UIComponent* UIComponent__UIComponent_Contextstar()
  5020. {
  5021. Context* context = GetScriptContext();
  5022. return new UIComponent(context);
  5023. }
  5024. // class UIComponent | File: ../UI/UIComponent.h
  5025. static void Register_UIComponent(asIScriptEngine* engine)
  5026. {
  5027. // explicit UIComponent::UIComponent(Context* context)
  5028. engine->RegisterObjectBehaviour("UIComponent", asBEHAVE_FACTORY, "UIComponent@+ f()", AS_FUNCTION(UIComponent__UIComponent_Contextstar) , AS_CALL_CDECL);
  5029. RegisterSubclass<Component, UIComponent>(engine, "Component", "UIComponent");
  5030. RegisterSubclass<Animatable, UIComponent>(engine, "Animatable", "UIComponent");
  5031. RegisterSubclass<Serializable, UIComponent>(engine, "Serializable", "UIComponent");
  5032. RegisterSubclass<Object, UIComponent>(engine, "Object", "UIComponent");
  5033. RegisterSubclass<RefCounted, UIComponent>(engine, "RefCounted", "UIComponent");
  5034. RegisterMembers_UIComponent<UIComponent>(engine, "UIComponent");
  5035. #ifdef REGISTER_CLASS_MANUAL_PART_UIComponent
  5036. REGISTER_CLASS_MANUAL_PART_UIComponent();
  5037. #endif
  5038. }
  5039. // class UISelectable | File: ../UI/UISelectable.h
  5040. static void Register_UISelectable(asIScriptEngine* engine)
  5041. {
  5042. RegisterSubclass<UIElement, UISelectable>(engine, "UIElement", "UISelectable");
  5043. RegisterSubclass<Animatable, UISelectable>(engine, "Animatable", "UISelectable");
  5044. RegisterSubclass<Serializable, UISelectable>(engine, "Serializable", "UISelectable");
  5045. RegisterSubclass<Object, UISelectable>(engine, "Object", "UISelectable");
  5046. RegisterSubclass<RefCounted, UISelectable>(engine, "RefCounted", "UISelectable");
  5047. RegisterMembers_UISelectable<UISelectable>(engine, "UISelectable");
  5048. #ifdef REGISTER_CLASS_MANUAL_PART_UISelectable
  5049. REGISTER_CLASS_MANUAL_PART_UISelectable();
  5050. #endif
  5051. }
  5052. // class UnknownComponent | File: ../Scene/UnknownComponent.h
  5053. static void Register_UnknownComponent(asIScriptEngine* engine)
  5054. {
  5055. RegisterSubclass<Component, UnknownComponent>(engine, "Component", "UnknownComponent");
  5056. RegisterSubclass<Animatable, UnknownComponent>(engine, "Animatable", "UnknownComponent");
  5057. RegisterSubclass<Serializable, UnknownComponent>(engine, "Serializable", "UnknownComponent");
  5058. RegisterSubclass<Object, UnknownComponent>(engine, "Object", "UnknownComponent");
  5059. RegisterSubclass<RefCounted, UnknownComponent>(engine, "RefCounted", "UnknownComponent");
  5060. RegisterMembers_UnknownComponent<UnknownComponent>(engine, "UnknownComponent");
  5061. #ifdef REGISTER_CLASS_MANUAL_PART_UnknownComponent
  5062. REGISTER_CLASS_MANUAL_PART_UnknownComponent();
  5063. #endif
  5064. }
  5065. #ifdef URHO3D_IK
  5066. // explicit IKConstraint::IKConstraint(Context* context)
  5067. static IKConstraint* IKConstraint__IKConstraint_Contextstar()
  5068. {
  5069. Context* context = GetScriptContext();
  5070. return new IKConstraint(context);
  5071. }
  5072. // class IKConstraint | File: ../IK/IKConstraint.h
  5073. static void Register_IKConstraint(asIScriptEngine* engine)
  5074. {
  5075. // explicit IKConstraint::IKConstraint(Context* context)
  5076. engine->RegisterObjectBehaviour("IKConstraint", asBEHAVE_FACTORY, "IKConstraint@+ f()", AS_FUNCTION(IKConstraint__IKConstraint_Contextstar) , AS_CALL_CDECL);
  5077. RegisterSubclass<Component, IKConstraint>(engine, "Component", "IKConstraint");
  5078. RegisterSubclass<Animatable, IKConstraint>(engine, "Animatable", "IKConstraint");
  5079. RegisterSubclass<Serializable, IKConstraint>(engine, "Serializable", "IKConstraint");
  5080. RegisterSubclass<Object, IKConstraint>(engine, "Object", "IKConstraint");
  5081. RegisterSubclass<RefCounted, IKConstraint>(engine, "RefCounted", "IKConstraint");
  5082. RegisterMembers_IKConstraint<IKConstraint>(engine, "IKConstraint");
  5083. #ifdef REGISTER_CLASS_MANUAL_PART_IKConstraint
  5084. REGISTER_CLASS_MANUAL_PART_IKConstraint();
  5085. #endif
  5086. }
  5087. // explicit IKEffector::IKEffector(Context* context)
  5088. static IKEffector* IKEffector__IKEffector_Contextstar()
  5089. {
  5090. Context* context = GetScriptContext();
  5091. return new IKEffector(context);
  5092. }
  5093. // class IKEffector | File: ../IK/IKEffector.h
  5094. static void Register_IKEffector(asIScriptEngine* engine)
  5095. {
  5096. // explicit IKEffector::IKEffector(Context* context)
  5097. engine->RegisterObjectBehaviour("IKEffector", asBEHAVE_FACTORY, "IKEffector@+ f()", AS_FUNCTION(IKEffector__IKEffector_Contextstar) , AS_CALL_CDECL);
  5098. RegisterSubclass<Component, IKEffector>(engine, "Component", "IKEffector");
  5099. RegisterSubclass<Animatable, IKEffector>(engine, "Animatable", "IKEffector");
  5100. RegisterSubclass<Serializable, IKEffector>(engine, "Serializable", "IKEffector");
  5101. RegisterSubclass<Object, IKEffector>(engine, "Object", "IKEffector");
  5102. RegisterSubclass<RefCounted, IKEffector>(engine, "RefCounted", "IKEffector");
  5103. RegisterMembers_IKEffector<IKEffector>(engine, "IKEffector");
  5104. #ifdef REGISTER_CLASS_MANUAL_PART_IKEffector
  5105. REGISTER_CLASS_MANUAL_PART_IKEffector();
  5106. #endif
  5107. }
  5108. // explicit IKSolver::IKSolver(Context* context)
  5109. static IKSolver* IKSolver__IKSolver_Contextstar()
  5110. {
  5111. Context* context = GetScriptContext();
  5112. return new IKSolver(context);
  5113. }
  5114. // class IKSolver | File: ../IK/IKSolver.h
  5115. static void Register_IKSolver(asIScriptEngine* engine)
  5116. {
  5117. // explicit IKSolver::IKSolver(Context* context)
  5118. engine->RegisterObjectBehaviour("IKSolver", asBEHAVE_FACTORY, "IKSolver@+ f()", AS_FUNCTION(IKSolver__IKSolver_Contextstar) , AS_CALL_CDECL);
  5119. RegisterSubclass<Component, IKSolver>(engine, "Component", "IKSolver");
  5120. RegisterSubclass<Animatable, IKSolver>(engine, "Animatable", "IKSolver");
  5121. RegisterSubclass<Serializable, IKSolver>(engine, "Serializable", "IKSolver");
  5122. RegisterSubclass<Object, IKSolver>(engine, "Object", "IKSolver");
  5123. RegisterSubclass<RefCounted, IKSolver>(engine, "RefCounted", "IKSolver");
  5124. RegisterMembers_IKSolver<IKSolver>(engine, "IKSolver");
  5125. #ifdef REGISTER_CLASS_MANUAL_PART_IKSolver
  5126. REGISTER_CLASS_MANUAL_PART_IKSolver();
  5127. #endif
  5128. }
  5129. #endif // def URHO3D_IK
  5130. #ifdef URHO3D_NAVIGATION
  5131. // explicit CrowdAgent::CrowdAgent(Context* context)
  5132. static CrowdAgent* CrowdAgent__CrowdAgent_Contextstar()
  5133. {
  5134. Context* context = GetScriptContext();
  5135. return new CrowdAgent(context);
  5136. }
  5137. // class CrowdAgent | File: ../Navigation/CrowdAgent.h
  5138. static void Register_CrowdAgent(asIScriptEngine* engine)
  5139. {
  5140. // explicit CrowdAgent::CrowdAgent(Context* context)
  5141. engine->RegisterObjectBehaviour("CrowdAgent", asBEHAVE_FACTORY, "CrowdAgent@+ f()", AS_FUNCTION(CrowdAgent__CrowdAgent_Contextstar) , AS_CALL_CDECL);
  5142. RegisterSubclass<Component, CrowdAgent>(engine, "Component", "CrowdAgent");
  5143. RegisterSubclass<Animatable, CrowdAgent>(engine, "Animatable", "CrowdAgent");
  5144. RegisterSubclass<Serializable, CrowdAgent>(engine, "Serializable", "CrowdAgent");
  5145. RegisterSubclass<Object, CrowdAgent>(engine, "Object", "CrowdAgent");
  5146. RegisterSubclass<RefCounted, CrowdAgent>(engine, "RefCounted", "CrowdAgent");
  5147. RegisterMembers_CrowdAgent<CrowdAgent>(engine, "CrowdAgent");
  5148. #ifdef REGISTER_CLASS_MANUAL_PART_CrowdAgent
  5149. REGISTER_CLASS_MANUAL_PART_CrowdAgent();
  5150. #endif
  5151. }
  5152. // explicit CrowdManager::CrowdManager(Context* context)
  5153. static CrowdManager* CrowdManager__CrowdManager_Contextstar()
  5154. {
  5155. Context* context = GetScriptContext();
  5156. return new CrowdManager(context);
  5157. }
  5158. // class CrowdManager | File: ../Navigation/CrowdManager.h
  5159. static void Register_CrowdManager(asIScriptEngine* engine)
  5160. {
  5161. // explicit CrowdManager::CrowdManager(Context* context)
  5162. engine->RegisterObjectBehaviour("CrowdManager", asBEHAVE_FACTORY, "CrowdManager@+ f()", AS_FUNCTION(CrowdManager__CrowdManager_Contextstar) , AS_CALL_CDECL);
  5163. RegisterSubclass<Component, CrowdManager>(engine, "Component", "CrowdManager");
  5164. RegisterSubclass<Animatable, CrowdManager>(engine, "Animatable", "CrowdManager");
  5165. RegisterSubclass<Serializable, CrowdManager>(engine, "Serializable", "CrowdManager");
  5166. RegisterSubclass<Object, CrowdManager>(engine, "Object", "CrowdManager");
  5167. RegisterSubclass<RefCounted, CrowdManager>(engine, "RefCounted", "CrowdManager");
  5168. RegisterMembers_CrowdManager<CrowdManager>(engine, "CrowdManager");
  5169. #ifdef REGISTER_CLASS_MANUAL_PART_CrowdManager
  5170. REGISTER_CLASS_MANUAL_PART_CrowdManager();
  5171. #endif
  5172. }
  5173. // explicit NavArea::NavArea(Context* context)
  5174. static NavArea* NavArea__NavArea_Contextstar()
  5175. {
  5176. Context* context = GetScriptContext();
  5177. return new NavArea(context);
  5178. }
  5179. // class NavArea | File: ../Navigation/NavArea.h
  5180. static void Register_NavArea(asIScriptEngine* engine)
  5181. {
  5182. // explicit NavArea::NavArea(Context* context)
  5183. engine->RegisterObjectBehaviour("NavArea", asBEHAVE_FACTORY, "NavArea@+ f()", AS_FUNCTION(NavArea__NavArea_Contextstar) , AS_CALL_CDECL);
  5184. RegisterSubclass<Component, NavArea>(engine, "Component", "NavArea");
  5185. RegisterSubclass<Animatable, NavArea>(engine, "Animatable", "NavArea");
  5186. RegisterSubclass<Serializable, NavArea>(engine, "Serializable", "NavArea");
  5187. RegisterSubclass<Object, NavArea>(engine, "Object", "NavArea");
  5188. RegisterSubclass<RefCounted, NavArea>(engine, "RefCounted", "NavArea");
  5189. RegisterMembers_NavArea<NavArea>(engine, "NavArea");
  5190. #ifdef REGISTER_CLASS_MANUAL_PART_NavArea
  5191. REGISTER_CLASS_MANUAL_PART_NavArea();
  5192. #endif
  5193. }
  5194. // explicit Navigable::Navigable(Context* context)
  5195. static Navigable* Navigable__Navigable_Contextstar()
  5196. {
  5197. Context* context = GetScriptContext();
  5198. return new Navigable(context);
  5199. }
  5200. // class Navigable | File: ../Navigation/Navigable.h
  5201. static void Register_Navigable(asIScriptEngine* engine)
  5202. {
  5203. // explicit Navigable::Navigable(Context* context)
  5204. engine->RegisterObjectBehaviour("Navigable", asBEHAVE_FACTORY, "Navigable@+ f()", AS_FUNCTION(Navigable__Navigable_Contextstar) , AS_CALL_CDECL);
  5205. RegisterSubclass<Component, Navigable>(engine, "Component", "Navigable");
  5206. RegisterSubclass<Animatable, Navigable>(engine, "Animatable", "Navigable");
  5207. RegisterSubclass<Serializable, Navigable>(engine, "Serializable", "Navigable");
  5208. RegisterSubclass<Object, Navigable>(engine, "Object", "Navigable");
  5209. RegisterSubclass<RefCounted, Navigable>(engine, "RefCounted", "Navigable");
  5210. RegisterMembers_Navigable<Navigable>(engine, "Navigable");
  5211. #ifdef REGISTER_CLASS_MANUAL_PART_Navigable
  5212. REGISTER_CLASS_MANUAL_PART_Navigable();
  5213. #endif
  5214. }
  5215. // explicit NavigationMesh::NavigationMesh(Context* context)
  5216. static NavigationMesh* NavigationMesh__NavigationMesh_Contextstar()
  5217. {
  5218. Context* context = GetScriptContext();
  5219. return new NavigationMesh(context);
  5220. }
  5221. // class NavigationMesh | File: ../Navigation/NavigationMesh.h
  5222. static void Register_NavigationMesh(asIScriptEngine* engine)
  5223. {
  5224. // explicit NavigationMesh::NavigationMesh(Context* context)
  5225. engine->RegisterObjectBehaviour("NavigationMesh", asBEHAVE_FACTORY, "NavigationMesh@+ f()", AS_FUNCTION(NavigationMesh__NavigationMesh_Contextstar) , AS_CALL_CDECL);
  5226. RegisterSubclass<Component, NavigationMesh>(engine, "Component", "NavigationMesh");
  5227. RegisterSubclass<Animatable, NavigationMesh>(engine, "Animatable", "NavigationMesh");
  5228. RegisterSubclass<Serializable, NavigationMesh>(engine, "Serializable", "NavigationMesh");
  5229. RegisterSubclass<Object, NavigationMesh>(engine, "Object", "NavigationMesh");
  5230. RegisterSubclass<RefCounted, NavigationMesh>(engine, "RefCounted", "NavigationMesh");
  5231. RegisterMembers_NavigationMesh<NavigationMesh>(engine, "NavigationMesh");
  5232. #ifdef REGISTER_CLASS_MANUAL_PART_NavigationMesh
  5233. REGISTER_CLASS_MANUAL_PART_NavigationMesh();
  5234. #endif
  5235. }
  5236. // explicit Obstacle::Obstacle(Context* context)
  5237. static Obstacle* Obstacle__Obstacle_Contextstar()
  5238. {
  5239. Context* context = GetScriptContext();
  5240. return new Obstacle(context);
  5241. }
  5242. // class Obstacle | File: ../Navigation/Obstacle.h
  5243. static void Register_Obstacle(asIScriptEngine* engine)
  5244. {
  5245. // explicit Obstacle::Obstacle(Context* context)
  5246. engine->RegisterObjectBehaviour("Obstacle", asBEHAVE_FACTORY, "Obstacle@+ f()", AS_FUNCTION(Obstacle__Obstacle_Contextstar) , AS_CALL_CDECL);
  5247. RegisterSubclass<Component, Obstacle>(engine, "Component", "Obstacle");
  5248. RegisterSubclass<Animatable, Obstacle>(engine, "Animatable", "Obstacle");
  5249. RegisterSubclass<Serializable, Obstacle>(engine, "Serializable", "Obstacle");
  5250. RegisterSubclass<Object, Obstacle>(engine, "Object", "Obstacle");
  5251. RegisterSubclass<RefCounted, Obstacle>(engine, "RefCounted", "Obstacle");
  5252. RegisterMembers_Obstacle<Obstacle>(engine, "Obstacle");
  5253. #ifdef REGISTER_CLASS_MANUAL_PART_Obstacle
  5254. REGISTER_CLASS_MANUAL_PART_Obstacle();
  5255. #endif
  5256. }
  5257. // explicit OffMeshConnection::OffMeshConnection(Context* context)
  5258. static OffMeshConnection* OffMeshConnection__OffMeshConnection_Contextstar()
  5259. {
  5260. Context* context = GetScriptContext();
  5261. return new OffMeshConnection(context);
  5262. }
  5263. // class OffMeshConnection | File: ../Navigation/OffMeshConnection.h
  5264. static void Register_OffMeshConnection(asIScriptEngine* engine)
  5265. {
  5266. // explicit OffMeshConnection::OffMeshConnection(Context* context)
  5267. engine->RegisterObjectBehaviour("OffMeshConnection", asBEHAVE_FACTORY, "OffMeshConnection@+ f()", AS_FUNCTION(OffMeshConnection__OffMeshConnection_Contextstar) , AS_CALL_CDECL);
  5268. RegisterSubclass<Component, OffMeshConnection>(engine, "Component", "OffMeshConnection");
  5269. RegisterSubclass<Animatable, OffMeshConnection>(engine, "Animatable", "OffMeshConnection");
  5270. RegisterSubclass<Serializable, OffMeshConnection>(engine, "Serializable", "OffMeshConnection");
  5271. RegisterSubclass<Object, OffMeshConnection>(engine, "Object", "OffMeshConnection");
  5272. RegisterSubclass<RefCounted, OffMeshConnection>(engine, "RefCounted", "OffMeshConnection");
  5273. RegisterMembers_OffMeshConnection<OffMeshConnection>(engine, "OffMeshConnection");
  5274. #ifdef REGISTER_CLASS_MANUAL_PART_OffMeshConnection
  5275. REGISTER_CLASS_MANUAL_PART_OffMeshConnection();
  5276. #endif
  5277. }
  5278. #endif // def URHO3D_NAVIGATION
  5279. #ifdef URHO3D_NETWORK
  5280. // explicit NetworkPriority::NetworkPriority(Context* context)
  5281. static NetworkPriority* NetworkPriority__NetworkPriority_Contextstar()
  5282. {
  5283. Context* context = GetScriptContext();
  5284. return new NetworkPriority(context);
  5285. }
  5286. // class NetworkPriority | File: ../Network/NetworkPriority.h
  5287. static void Register_NetworkPriority(asIScriptEngine* engine)
  5288. {
  5289. // explicit NetworkPriority::NetworkPriority(Context* context)
  5290. engine->RegisterObjectBehaviour("NetworkPriority", asBEHAVE_FACTORY, "NetworkPriority@+ f()", AS_FUNCTION(NetworkPriority__NetworkPriority_Contextstar) , AS_CALL_CDECL);
  5291. RegisterSubclass<Component, NetworkPriority>(engine, "Component", "NetworkPriority");
  5292. RegisterSubclass<Animatable, NetworkPriority>(engine, "Animatable", "NetworkPriority");
  5293. RegisterSubclass<Serializable, NetworkPriority>(engine, "Serializable", "NetworkPriority");
  5294. RegisterSubclass<Object, NetworkPriority>(engine, "Object", "NetworkPriority");
  5295. RegisterSubclass<RefCounted, NetworkPriority>(engine, "RefCounted", "NetworkPriority");
  5296. RegisterMembers_NetworkPriority<NetworkPriority>(engine, "NetworkPriority");
  5297. #ifdef REGISTER_CLASS_MANUAL_PART_NetworkPriority
  5298. REGISTER_CLASS_MANUAL_PART_NetworkPriority();
  5299. #endif
  5300. }
  5301. #endif // def URHO3D_NETWORK
  5302. #ifdef URHO3D_PHYSICS
  5303. // explicit CollisionShape::CollisionShape(Context* context)
  5304. static CollisionShape* CollisionShape__CollisionShape_Contextstar()
  5305. {
  5306. Context* context = GetScriptContext();
  5307. return new CollisionShape(context);
  5308. }
  5309. // class CollisionShape | File: ../Physics/CollisionShape.h
  5310. static void Register_CollisionShape(asIScriptEngine* engine)
  5311. {
  5312. // explicit CollisionShape::CollisionShape(Context* context)
  5313. engine->RegisterObjectBehaviour("CollisionShape", asBEHAVE_FACTORY, "CollisionShape@+ f()", AS_FUNCTION(CollisionShape__CollisionShape_Contextstar) , AS_CALL_CDECL);
  5314. RegisterSubclass<Component, CollisionShape>(engine, "Component", "CollisionShape");
  5315. RegisterSubclass<Animatable, CollisionShape>(engine, "Animatable", "CollisionShape");
  5316. RegisterSubclass<Serializable, CollisionShape>(engine, "Serializable", "CollisionShape");
  5317. RegisterSubclass<Object, CollisionShape>(engine, "Object", "CollisionShape");
  5318. RegisterSubclass<RefCounted, CollisionShape>(engine, "RefCounted", "CollisionShape");
  5319. RegisterMembers_CollisionShape<CollisionShape>(engine, "CollisionShape");
  5320. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionShape
  5321. REGISTER_CLASS_MANUAL_PART_CollisionShape();
  5322. #endif
  5323. }
  5324. // explicit Constraint::Constraint(Context* context)
  5325. static Constraint* Constraint__Constraint_Contextstar()
  5326. {
  5327. Context* context = GetScriptContext();
  5328. return new Constraint(context);
  5329. }
  5330. // class Constraint | File: ../Physics/Constraint.h
  5331. static void Register_Constraint(asIScriptEngine* engine)
  5332. {
  5333. // explicit Constraint::Constraint(Context* context)
  5334. engine->RegisterObjectBehaviour("Constraint", asBEHAVE_FACTORY, "Constraint@+ f()", AS_FUNCTION(Constraint__Constraint_Contextstar) , AS_CALL_CDECL);
  5335. RegisterSubclass<Component, Constraint>(engine, "Component", "Constraint");
  5336. RegisterSubclass<Animatable, Constraint>(engine, "Animatable", "Constraint");
  5337. RegisterSubclass<Serializable, Constraint>(engine, "Serializable", "Constraint");
  5338. RegisterSubclass<Object, Constraint>(engine, "Object", "Constraint");
  5339. RegisterSubclass<RefCounted, Constraint>(engine, "RefCounted", "Constraint");
  5340. RegisterMembers_Constraint<Constraint>(engine, "Constraint");
  5341. #ifdef REGISTER_CLASS_MANUAL_PART_Constraint
  5342. REGISTER_CLASS_MANUAL_PART_Constraint();
  5343. #endif
  5344. }
  5345. // explicit PhysicsWorld::PhysicsWorld(Context* context)
  5346. static PhysicsWorld* PhysicsWorld__PhysicsWorld_Contextstar()
  5347. {
  5348. Context* context = GetScriptContext();
  5349. return new PhysicsWorld(context);
  5350. }
  5351. // class PhysicsWorld | File: ../Physics/PhysicsWorld.h
  5352. static void Register_PhysicsWorld(asIScriptEngine* engine)
  5353. {
  5354. // explicit PhysicsWorld::PhysicsWorld(Context* context)
  5355. engine->RegisterObjectBehaviour("PhysicsWorld", asBEHAVE_FACTORY, "PhysicsWorld@+ f()", AS_FUNCTION(PhysicsWorld__PhysicsWorld_Contextstar) , AS_CALL_CDECL);
  5356. RegisterSubclass<Component, PhysicsWorld>(engine, "Component", "PhysicsWorld");
  5357. RegisterSubclass<Animatable, PhysicsWorld>(engine, "Animatable", "PhysicsWorld");
  5358. RegisterSubclass<Serializable, PhysicsWorld>(engine, "Serializable", "PhysicsWorld");
  5359. RegisterSubclass<Object, PhysicsWorld>(engine, "Object", "PhysicsWorld");
  5360. RegisterSubclass<RefCounted, PhysicsWorld>(engine, "RefCounted", "PhysicsWorld");
  5361. RegisterMembers_PhysicsWorld<PhysicsWorld>(engine, "PhysicsWorld");
  5362. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsWorld
  5363. REGISTER_CLASS_MANUAL_PART_PhysicsWorld();
  5364. #endif
  5365. }
  5366. // explicit RigidBody::RigidBody(Context* context)
  5367. static RigidBody* RigidBody__RigidBody_Contextstar()
  5368. {
  5369. Context* context = GetScriptContext();
  5370. return new RigidBody(context);
  5371. }
  5372. // class RigidBody | File: ../Physics/RigidBody.h
  5373. static void Register_RigidBody(asIScriptEngine* engine)
  5374. {
  5375. // explicit RigidBody::RigidBody(Context* context)
  5376. engine->RegisterObjectBehaviour("RigidBody", asBEHAVE_FACTORY, "RigidBody@+ f()", AS_FUNCTION(RigidBody__RigidBody_Contextstar) , AS_CALL_CDECL);
  5377. RegisterSubclass<Component, RigidBody>(engine, "Component", "RigidBody");
  5378. RegisterSubclass<Animatable, RigidBody>(engine, "Animatable", "RigidBody");
  5379. RegisterSubclass<Serializable, RigidBody>(engine, "Serializable", "RigidBody");
  5380. RegisterSubclass<Object, RigidBody>(engine, "Object", "RigidBody");
  5381. RegisterSubclass<RefCounted, RigidBody>(engine, "RefCounted", "RigidBody");
  5382. RegisterMembers_RigidBody<RigidBody>(engine, "RigidBody");
  5383. #ifdef REGISTER_CLASS_MANUAL_PART_RigidBody
  5384. REGISTER_CLASS_MANUAL_PART_RigidBody();
  5385. #endif
  5386. }
  5387. #endif // def URHO3D_PHYSICS
  5388. #ifdef URHO3D_PHYSICS2D
  5389. // class CollisionShape2D | File: ../Physics2D/CollisionShape2D.h
  5390. static void Register_CollisionShape2D(asIScriptEngine* engine)
  5391. {
  5392. RegisterSubclass<Component, CollisionShape2D>(engine, "Component", "CollisionShape2D");
  5393. RegisterSubclass<Animatable, CollisionShape2D>(engine, "Animatable", "CollisionShape2D");
  5394. RegisterSubclass<Serializable, CollisionShape2D>(engine, "Serializable", "CollisionShape2D");
  5395. RegisterSubclass<Object, CollisionShape2D>(engine, "Object", "CollisionShape2D");
  5396. RegisterSubclass<RefCounted, CollisionShape2D>(engine, "RefCounted", "CollisionShape2D");
  5397. RegisterMembers_CollisionShape2D<CollisionShape2D>(engine, "CollisionShape2D");
  5398. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionShape2D
  5399. REGISTER_CLASS_MANUAL_PART_CollisionShape2D();
  5400. #endif
  5401. }
  5402. // explicit Constraint2D::Constraint2D(Context* context)
  5403. static Constraint2D* Constraint2D__Constraint2D_Contextstar()
  5404. {
  5405. Context* context = GetScriptContext();
  5406. return new Constraint2D(context);
  5407. }
  5408. // class Constraint2D | File: ../Physics2D/Constraint2D.h
  5409. static void Register_Constraint2D(asIScriptEngine* engine)
  5410. {
  5411. // explicit Constraint2D::Constraint2D(Context* context)
  5412. engine->RegisterObjectBehaviour("Constraint2D", asBEHAVE_FACTORY, "Constraint2D@+ f()", AS_FUNCTION(Constraint2D__Constraint2D_Contextstar) , AS_CALL_CDECL);
  5413. RegisterSubclass<Component, Constraint2D>(engine, "Component", "Constraint2D");
  5414. RegisterSubclass<Animatable, Constraint2D>(engine, "Animatable", "Constraint2D");
  5415. RegisterSubclass<Serializable, Constraint2D>(engine, "Serializable", "Constraint2D");
  5416. RegisterSubclass<Object, Constraint2D>(engine, "Object", "Constraint2D");
  5417. RegisterSubclass<RefCounted, Constraint2D>(engine, "RefCounted", "Constraint2D");
  5418. RegisterMembers_Constraint2D<Constraint2D>(engine, "Constraint2D");
  5419. #ifdef REGISTER_CLASS_MANUAL_PART_Constraint2D
  5420. REGISTER_CLASS_MANUAL_PART_Constraint2D();
  5421. #endif
  5422. }
  5423. // explicit PhysicsWorld2D::PhysicsWorld2D(Context* context)
  5424. static PhysicsWorld2D* PhysicsWorld2D__PhysicsWorld2D_Contextstar()
  5425. {
  5426. Context* context = GetScriptContext();
  5427. return new PhysicsWorld2D(context);
  5428. }
  5429. // class PhysicsWorld2D | File: ../Physics2D/PhysicsWorld2D.h
  5430. static void Register_PhysicsWorld2D(asIScriptEngine* engine)
  5431. {
  5432. // explicit PhysicsWorld2D::PhysicsWorld2D(Context* context)
  5433. engine->RegisterObjectBehaviour("PhysicsWorld2D", asBEHAVE_FACTORY, "PhysicsWorld2D@+ f()", AS_FUNCTION(PhysicsWorld2D__PhysicsWorld2D_Contextstar) , AS_CALL_CDECL);
  5434. RegisterSubclass<Component, PhysicsWorld2D>(engine, "Component", "PhysicsWorld2D");
  5435. RegisterSubclass<Animatable, PhysicsWorld2D>(engine, "Animatable", "PhysicsWorld2D");
  5436. RegisterSubclass<Serializable, PhysicsWorld2D>(engine, "Serializable", "PhysicsWorld2D");
  5437. RegisterSubclass<Object, PhysicsWorld2D>(engine, "Object", "PhysicsWorld2D");
  5438. RegisterSubclass<RefCounted, PhysicsWorld2D>(engine, "RefCounted", "PhysicsWorld2D");
  5439. RegisterMembers_PhysicsWorld2D<PhysicsWorld2D>(engine, "PhysicsWorld2D");
  5440. #ifdef REGISTER_CLASS_MANUAL_PART_PhysicsWorld2D
  5441. REGISTER_CLASS_MANUAL_PART_PhysicsWorld2D();
  5442. #endif
  5443. }
  5444. // explicit RigidBody2D::RigidBody2D(Context* context)
  5445. static RigidBody2D* RigidBody2D__RigidBody2D_Contextstar()
  5446. {
  5447. Context* context = GetScriptContext();
  5448. return new RigidBody2D(context);
  5449. }
  5450. // class RigidBody2D | File: ../Physics2D/RigidBody2D.h
  5451. static void Register_RigidBody2D(asIScriptEngine* engine)
  5452. {
  5453. // explicit RigidBody2D::RigidBody2D(Context* context)
  5454. engine->RegisterObjectBehaviour("RigidBody2D", asBEHAVE_FACTORY, "RigidBody2D@+ f()", AS_FUNCTION(RigidBody2D__RigidBody2D_Contextstar) , AS_CALL_CDECL);
  5455. RegisterSubclass<Component, RigidBody2D>(engine, "Component", "RigidBody2D");
  5456. RegisterSubclass<Animatable, RigidBody2D>(engine, "Animatable", "RigidBody2D");
  5457. RegisterSubclass<Serializable, RigidBody2D>(engine, "Serializable", "RigidBody2D");
  5458. RegisterSubclass<Object, RigidBody2D>(engine, "Object", "RigidBody2D");
  5459. RegisterSubclass<RefCounted, RigidBody2D>(engine, "RefCounted", "RigidBody2D");
  5460. RegisterMembers_RigidBody2D<RigidBody2D>(engine, "RigidBody2D");
  5461. #ifdef REGISTER_CLASS_MANUAL_PART_RigidBody2D
  5462. REGISTER_CLASS_MANUAL_PART_RigidBody2D();
  5463. #endif
  5464. }
  5465. #endif // def URHO3D_PHYSICS2D
  5466. #ifdef URHO3D_URHO2D
  5467. // explicit TileMap2D::TileMap2D(Context* context)
  5468. static TileMap2D* TileMap2D__TileMap2D_Contextstar()
  5469. {
  5470. Context* context = GetScriptContext();
  5471. return new TileMap2D(context);
  5472. }
  5473. // class TileMap2D | File: ../Urho2D/TileMap2D.h
  5474. static void Register_TileMap2D(asIScriptEngine* engine)
  5475. {
  5476. // explicit TileMap2D::TileMap2D(Context* context)
  5477. engine->RegisterObjectBehaviour("TileMap2D", asBEHAVE_FACTORY, "TileMap2D@+ f()", AS_FUNCTION(TileMap2D__TileMap2D_Contextstar) , AS_CALL_CDECL);
  5478. RegisterSubclass<Component, TileMap2D>(engine, "Component", "TileMap2D");
  5479. RegisterSubclass<Animatable, TileMap2D>(engine, "Animatable", "TileMap2D");
  5480. RegisterSubclass<Serializable, TileMap2D>(engine, "Serializable", "TileMap2D");
  5481. RegisterSubclass<Object, TileMap2D>(engine, "Object", "TileMap2D");
  5482. RegisterSubclass<RefCounted, TileMap2D>(engine, "RefCounted", "TileMap2D");
  5483. RegisterMembers_TileMap2D<TileMap2D>(engine, "TileMap2D");
  5484. #ifdef REGISTER_CLASS_MANUAL_PART_TileMap2D
  5485. REGISTER_CLASS_MANUAL_PART_TileMap2D();
  5486. #endif
  5487. }
  5488. // explicit TileMapLayer2D::TileMapLayer2D(Context* context)
  5489. static TileMapLayer2D* TileMapLayer2D__TileMapLayer2D_Contextstar()
  5490. {
  5491. Context* context = GetScriptContext();
  5492. return new TileMapLayer2D(context);
  5493. }
  5494. // class TileMapLayer2D | File: ../Urho2D/TileMapLayer2D.h
  5495. static void Register_TileMapLayer2D(asIScriptEngine* engine)
  5496. {
  5497. // explicit TileMapLayer2D::TileMapLayer2D(Context* context)
  5498. engine->RegisterObjectBehaviour("TileMapLayer2D", asBEHAVE_FACTORY, "TileMapLayer2D@+ f()", AS_FUNCTION(TileMapLayer2D__TileMapLayer2D_Contextstar) , AS_CALL_CDECL);
  5499. RegisterSubclass<Component, TileMapLayer2D>(engine, "Component", "TileMapLayer2D");
  5500. RegisterSubclass<Animatable, TileMapLayer2D>(engine, "Animatable", "TileMapLayer2D");
  5501. RegisterSubclass<Serializable, TileMapLayer2D>(engine, "Serializable", "TileMapLayer2D");
  5502. RegisterSubclass<Object, TileMapLayer2D>(engine, "Object", "TileMapLayer2D");
  5503. RegisterSubclass<RefCounted, TileMapLayer2D>(engine, "RefCounted", "TileMapLayer2D");
  5504. RegisterMembers_TileMapLayer2D<TileMapLayer2D>(engine, "TileMapLayer2D");
  5505. #ifdef REGISTER_CLASS_MANUAL_PART_TileMapLayer2D
  5506. REGISTER_CLASS_MANUAL_PART_TileMapLayer2D();
  5507. #endif
  5508. }
  5509. #endif // def URHO3D_URHO2D
  5510. // explicit BillboardSet::BillboardSet(Context* context)
  5511. static BillboardSet* BillboardSet__BillboardSet_Contextstar()
  5512. {
  5513. Context* context = GetScriptContext();
  5514. return new BillboardSet(context);
  5515. }
  5516. // class BillboardSet | File: ../Graphics/BillboardSet.h
  5517. static void Register_BillboardSet(asIScriptEngine* engine)
  5518. {
  5519. // explicit BillboardSet::BillboardSet(Context* context)
  5520. engine->RegisterObjectBehaviour("BillboardSet", asBEHAVE_FACTORY, "BillboardSet@+ f()", AS_FUNCTION(BillboardSet__BillboardSet_Contextstar) , AS_CALL_CDECL);
  5521. RegisterSubclass<Drawable, BillboardSet>(engine, "Drawable", "BillboardSet");
  5522. RegisterSubclass<Component, BillboardSet>(engine, "Component", "BillboardSet");
  5523. RegisterSubclass<Animatable, BillboardSet>(engine, "Animatable", "BillboardSet");
  5524. RegisterSubclass<Serializable, BillboardSet>(engine, "Serializable", "BillboardSet");
  5525. RegisterSubclass<Object, BillboardSet>(engine, "Object", "BillboardSet");
  5526. RegisterSubclass<RefCounted, BillboardSet>(engine, "RefCounted", "BillboardSet");
  5527. RegisterMembers_BillboardSet<BillboardSet>(engine, "BillboardSet");
  5528. #ifdef REGISTER_CLASS_MANUAL_PART_BillboardSet
  5529. REGISTER_CLASS_MANUAL_PART_BillboardSet();
  5530. #endif
  5531. }
  5532. // explicit Button::Button(Context* context)
  5533. static Button* Button__Button_Contextstar()
  5534. {
  5535. Context* context = GetScriptContext();
  5536. return new Button(context);
  5537. }
  5538. // class Button | File: ../UI/Button.h
  5539. static void Register_Button(asIScriptEngine* engine)
  5540. {
  5541. // explicit Button::Button(Context* context)
  5542. engine->RegisterObjectBehaviour("Button", asBEHAVE_FACTORY, "Button@+ f()", AS_FUNCTION(Button__Button_Contextstar) , AS_CALL_CDECL);
  5543. RegisterSubclass<BorderImage, Button>(engine, "BorderImage", "Button");
  5544. RegisterSubclass<UIElement, Button>(engine, "UIElement", "Button");
  5545. RegisterSubclass<Animatable, Button>(engine, "Animatable", "Button");
  5546. RegisterSubclass<Serializable, Button>(engine, "Serializable", "Button");
  5547. RegisterSubclass<Object, Button>(engine, "Object", "Button");
  5548. RegisterSubclass<RefCounted, Button>(engine, "RefCounted", "Button");
  5549. RegisterMembers_Button<Button>(engine, "Button");
  5550. #ifdef REGISTER_CLASS_MANUAL_PART_Button
  5551. REGISTER_CLASS_MANUAL_PART_Button();
  5552. #endif
  5553. }
  5554. // explicit CheckBox::CheckBox(Context* context)
  5555. static CheckBox* CheckBox__CheckBox_Contextstar()
  5556. {
  5557. Context* context = GetScriptContext();
  5558. return new CheckBox(context);
  5559. }
  5560. // class CheckBox | File: ../UI/CheckBox.h
  5561. static void Register_CheckBox(asIScriptEngine* engine)
  5562. {
  5563. // explicit CheckBox::CheckBox(Context* context)
  5564. engine->RegisterObjectBehaviour("CheckBox", asBEHAVE_FACTORY, "CheckBox@+ f()", AS_FUNCTION(CheckBox__CheckBox_Contextstar) , AS_CALL_CDECL);
  5565. RegisterSubclass<BorderImage, CheckBox>(engine, "BorderImage", "CheckBox");
  5566. RegisterSubclass<UIElement, CheckBox>(engine, "UIElement", "CheckBox");
  5567. RegisterSubclass<Animatable, CheckBox>(engine, "Animatable", "CheckBox");
  5568. RegisterSubclass<Serializable, CheckBox>(engine, "Serializable", "CheckBox");
  5569. RegisterSubclass<Object, CheckBox>(engine, "Object", "CheckBox");
  5570. RegisterSubclass<RefCounted, CheckBox>(engine, "RefCounted", "CheckBox");
  5571. RegisterMembers_CheckBox<CheckBox>(engine, "CheckBox");
  5572. #ifdef REGISTER_CLASS_MANUAL_PART_CheckBox
  5573. REGISTER_CLASS_MANUAL_PART_CheckBox();
  5574. #endif
  5575. }
  5576. // explicit Cursor::Cursor(Context* context)
  5577. static Cursor* Cursor__Cursor_Contextstar()
  5578. {
  5579. Context* context = GetScriptContext();
  5580. return new Cursor(context);
  5581. }
  5582. // class Cursor | File: ../UI/Cursor.h
  5583. static void Register_Cursor(asIScriptEngine* engine)
  5584. {
  5585. // explicit Cursor::Cursor(Context* context)
  5586. engine->RegisterObjectBehaviour("Cursor", asBEHAVE_FACTORY, "Cursor@+ f()", AS_FUNCTION(Cursor__Cursor_Contextstar) , AS_CALL_CDECL);
  5587. RegisterSubclass<BorderImage, Cursor>(engine, "BorderImage", "Cursor");
  5588. RegisterSubclass<UIElement, Cursor>(engine, "UIElement", "Cursor");
  5589. RegisterSubclass<Animatable, Cursor>(engine, "Animatable", "Cursor");
  5590. RegisterSubclass<Serializable, Cursor>(engine, "Serializable", "Cursor");
  5591. RegisterSubclass<Object, Cursor>(engine, "Object", "Cursor");
  5592. RegisterSubclass<RefCounted, Cursor>(engine, "RefCounted", "Cursor");
  5593. RegisterMembers_Cursor<Cursor>(engine, "Cursor");
  5594. #ifdef REGISTER_CLASS_MANUAL_PART_Cursor
  5595. REGISTER_CLASS_MANUAL_PART_Cursor();
  5596. #endif
  5597. }
  5598. // explicit CustomGeometry::CustomGeometry(Context* context)
  5599. static CustomGeometry* CustomGeometry__CustomGeometry_Contextstar()
  5600. {
  5601. Context* context = GetScriptContext();
  5602. return new CustomGeometry(context);
  5603. }
  5604. // class CustomGeometry | File: ../Graphics/CustomGeometry.h
  5605. static void Register_CustomGeometry(asIScriptEngine* engine)
  5606. {
  5607. // explicit CustomGeometry::CustomGeometry(Context* context)
  5608. engine->RegisterObjectBehaviour("CustomGeometry", asBEHAVE_FACTORY, "CustomGeometry@+ f()", AS_FUNCTION(CustomGeometry__CustomGeometry_Contextstar) , AS_CALL_CDECL);
  5609. RegisterSubclass<Drawable, CustomGeometry>(engine, "Drawable", "CustomGeometry");
  5610. RegisterSubclass<Component, CustomGeometry>(engine, "Component", "CustomGeometry");
  5611. RegisterSubclass<Animatable, CustomGeometry>(engine, "Animatable", "CustomGeometry");
  5612. RegisterSubclass<Serializable, CustomGeometry>(engine, "Serializable", "CustomGeometry");
  5613. RegisterSubclass<Object, CustomGeometry>(engine, "Object", "CustomGeometry");
  5614. RegisterSubclass<RefCounted, CustomGeometry>(engine, "RefCounted", "CustomGeometry");
  5615. RegisterMembers_CustomGeometry<CustomGeometry>(engine, "CustomGeometry");
  5616. #ifdef REGISTER_CLASS_MANUAL_PART_CustomGeometry
  5617. REGISTER_CLASS_MANUAL_PART_CustomGeometry();
  5618. #endif
  5619. }
  5620. // explicit DecalSet::DecalSet(Context* context)
  5621. static DecalSet* DecalSet__DecalSet_Contextstar()
  5622. {
  5623. Context* context = GetScriptContext();
  5624. return new DecalSet(context);
  5625. }
  5626. // class DecalSet | File: ../Graphics/DecalSet.h
  5627. static void Register_DecalSet(asIScriptEngine* engine)
  5628. {
  5629. // explicit DecalSet::DecalSet(Context* context)
  5630. engine->RegisterObjectBehaviour("DecalSet", asBEHAVE_FACTORY, "DecalSet@+ f()", AS_FUNCTION(DecalSet__DecalSet_Contextstar) , AS_CALL_CDECL);
  5631. RegisterSubclass<Drawable, DecalSet>(engine, "Drawable", "DecalSet");
  5632. RegisterSubclass<Component, DecalSet>(engine, "Component", "DecalSet");
  5633. RegisterSubclass<Animatable, DecalSet>(engine, "Animatable", "DecalSet");
  5634. RegisterSubclass<Serializable, DecalSet>(engine, "Serializable", "DecalSet");
  5635. RegisterSubclass<Object, DecalSet>(engine, "Object", "DecalSet");
  5636. RegisterSubclass<RefCounted, DecalSet>(engine, "RefCounted", "DecalSet");
  5637. RegisterMembers_DecalSet<DecalSet>(engine, "DecalSet");
  5638. #ifdef REGISTER_CLASS_MANUAL_PART_DecalSet
  5639. REGISTER_CLASS_MANUAL_PART_DecalSet();
  5640. #endif
  5641. }
  5642. // explicit Light::Light(Context* context)
  5643. static Light* Light__Light_Contextstar()
  5644. {
  5645. Context* context = GetScriptContext();
  5646. return new Light(context);
  5647. }
  5648. // class Light | File: ../Graphics/Light.h
  5649. static void Register_Light(asIScriptEngine* engine)
  5650. {
  5651. // explicit Light::Light(Context* context)
  5652. engine->RegisterObjectBehaviour("Light", asBEHAVE_FACTORY, "Light@+ f()", AS_FUNCTION(Light__Light_Contextstar) , AS_CALL_CDECL);
  5653. RegisterSubclass<Drawable, Light>(engine, "Drawable", "Light");
  5654. RegisterSubclass<Component, Light>(engine, "Component", "Light");
  5655. RegisterSubclass<Animatable, Light>(engine, "Animatable", "Light");
  5656. RegisterSubclass<Serializable, Light>(engine, "Serializable", "Light");
  5657. RegisterSubclass<Object, Light>(engine, "Object", "Light");
  5658. RegisterSubclass<RefCounted, Light>(engine, "RefCounted", "Light");
  5659. RegisterMembers_Light<Light>(engine, "Light");
  5660. #ifdef REGISTER_CLASS_MANUAL_PART_Light
  5661. REGISTER_CLASS_MANUAL_PART_Light();
  5662. #endif
  5663. }
  5664. // explicit LineEdit::LineEdit(Context* context)
  5665. static LineEdit* LineEdit__LineEdit_Contextstar()
  5666. {
  5667. Context* context = GetScriptContext();
  5668. return new LineEdit(context);
  5669. }
  5670. // class LineEdit | File: ../UI/LineEdit.h
  5671. static void Register_LineEdit(asIScriptEngine* engine)
  5672. {
  5673. // explicit LineEdit::LineEdit(Context* context)
  5674. engine->RegisterObjectBehaviour("LineEdit", asBEHAVE_FACTORY, "LineEdit@+ f()", AS_FUNCTION(LineEdit__LineEdit_Contextstar) , AS_CALL_CDECL);
  5675. RegisterSubclass<BorderImage, LineEdit>(engine, "BorderImage", "LineEdit");
  5676. RegisterSubclass<UIElement, LineEdit>(engine, "UIElement", "LineEdit");
  5677. RegisterSubclass<Animatable, LineEdit>(engine, "Animatable", "LineEdit");
  5678. RegisterSubclass<Serializable, LineEdit>(engine, "Serializable", "LineEdit");
  5679. RegisterSubclass<Object, LineEdit>(engine, "Object", "LineEdit");
  5680. RegisterSubclass<RefCounted, LineEdit>(engine, "RefCounted", "LineEdit");
  5681. RegisterMembers_LineEdit<LineEdit>(engine, "LineEdit");
  5682. #ifdef REGISTER_CLASS_MANUAL_PART_LineEdit
  5683. REGISTER_CLASS_MANUAL_PART_LineEdit();
  5684. #endif
  5685. }
  5686. // explicit ListView::ListView(Context* context)
  5687. static ListView* ListView__ListView_Contextstar()
  5688. {
  5689. Context* context = GetScriptContext();
  5690. return new ListView(context);
  5691. }
  5692. // class ListView | File: ../UI/ListView.h
  5693. static void Register_ListView(asIScriptEngine* engine)
  5694. {
  5695. // explicit ListView::ListView(Context* context)
  5696. engine->RegisterObjectBehaviour("ListView", asBEHAVE_FACTORY, "ListView@+ f()", AS_FUNCTION(ListView__ListView_Contextstar) , AS_CALL_CDECL);
  5697. RegisterSubclass<ScrollView, ListView>(engine, "ScrollView", "ListView");
  5698. RegisterSubclass<UIElement, ListView>(engine, "UIElement", "ListView");
  5699. RegisterSubclass<Animatable, ListView>(engine, "Animatable", "ListView");
  5700. RegisterSubclass<Serializable, ListView>(engine, "Serializable", "ListView");
  5701. RegisterSubclass<Object, ListView>(engine, "Object", "ListView");
  5702. RegisterSubclass<RefCounted, ListView>(engine, "RefCounted", "ListView");
  5703. RegisterMembers_ListView<ListView>(engine, "ListView");
  5704. #ifdef REGISTER_CLASS_MANUAL_PART_ListView
  5705. REGISTER_CLASS_MANUAL_PART_ListView();
  5706. #endif
  5707. }
  5708. // explicit ProgressBar::ProgressBar(Context* context)
  5709. static ProgressBar* ProgressBar__ProgressBar_Contextstar()
  5710. {
  5711. Context* context = GetScriptContext();
  5712. return new ProgressBar(context);
  5713. }
  5714. // class ProgressBar | File: ../UI/ProgressBar.h
  5715. static void Register_ProgressBar(asIScriptEngine* engine)
  5716. {
  5717. // explicit ProgressBar::ProgressBar(Context* context)
  5718. engine->RegisterObjectBehaviour("ProgressBar", asBEHAVE_FACTORY, "ProgressBar@+ f()", AS_FUNCTION(ProgressBar__ProgressBar_Contextstar) , AS_CALL_CDECL);
  5719. RegisterSubclass<BorderImage, ProgressBar>(engine, "BorderImage", "ProgressBar");
  5720. RegisterSubclass<UIElement, ProgressBar>(engine, "UIElement", "ProgressBar");
  5721. RegisterSubclass<Animatable, ProgressBar>(engine, "Animatable", "ProgressBar");
  5722. RegisterSubclass<Serializable, ProgressBar>(engine, "Serializable", "ProgressBar");
  5723. RegisterSubclass<Object, ProgressBar>(engine, "Object", "ProgressBar");
  5724. RegisterSubclass<RefCounted, ProgressBar>(engine, "RefCounted", "ProgressBar");
  5725. RegisterMembers_ProgressBar<ProgressBar>(engine, "ProgressBar");
  5726. #ifdef REGISTER_CLASS_MANUAL_PART_ProgressBar
  5727. REGISTER_CLASS_MANUAL_PART_ProgressBar();
  5728. #endif
  5729. }
  5730. // explicit RibbonTrail::RibbonTrail(Context* context)
  5731. static RibbonTrail* RibbonTrail__RibbonTrail_Contextstar()
  5732. {
  5733. Context* context = GetScriptContext();
  5734. return new RibbonTrail(context);
  5735. }
  5736. // class RibbonTrail | File: ../Graphics/RibbonTrail.h
  5737. static void Register_RibbonTrail(asIScriptEngine* engine)
  5738. {
  5739. // explicit RibbonTrail::RibbonTrail(Context* context)
  5740. engine->RegisterObjectBehaviour("RibbonTrail", asBEHAVE_FACTORY, "RibbonTrail@+ f()", AS_FUNCTION(RibbonTrail__RibbonTrail_Contextstar) , AS_CALL_CDECL);
  5741. RegisterSubclass<Drawable, RibbonTrail>(engine, "Drawable", "RibbonTrail");
  5742. RegisterSubclass<Component, RibbonTrail>(engine, "Component", "RibbonTrail");
  5743. RegisterSubclass<Animatable, RibbonTrail>(engine, "Animatable", "RibbonTrail");
  5744. RegisterSubclass<Serializable, RibbonTrail>(engine, "Serializable", "RibbonTrail");
  5745. RegisterSubclass<Object, RibbonTrail>(engine, "Object", "RibbonTrail");
  5746. RegisterSubclass<RefCounted, RibbonTrail>(engine, "RefCounted", "RibbonTrail");
  5747. RegisterMembers_RibbonTrail<RibbonTrail>(engine, "RibbonTrail");
  5748. #ifdef REGISTER_CLASS_MANUAL_PART_RibbonTrail
  5749. REGISTER_CLASS_MANUAL_PART_RibbonTrail();
  5750. #endif
  5751. }
  5752. // explicit ScrollBar::ScrollBar(Context* context)
  5753. static ScrollBar* ScrollBar__ScrollBar_Contextstar()
  5754. {
  5755. Context* context = GetScriptContext();
  5756. return new ScrollBar(context);
  5757. }
  5758. // class ScrollBar | File: ../UI/ScrollBar.h
  5759. static void Register_ScrollBar(asIScriptEngine* engine)
  5760. {
  5761. // explicit ScrollBar::ScrollBar(Context* context)
  5762. engine->RegisterObjectBehaviour("ScrollBar", asBEHAVE_FACTORY, "ScrollBar@+ f()", AS_FUNCTION(ScrollBar__ScrollBar_Contextstar) , AS_CALL_CDECL);
  5763. RegisterSubclass<BorderImage, ScrollBar>(engine, "BorderImage", "ScrollBar");
  5764. RegisterSubclass<UIElement, ScrollBar>(engine, "UIElement", "ScrollBar");
  5765. RegisterSubclass<Animatable, ScrollBar>(engine, "Animatable", "ScrollBar");
  5766. RegisterSubclass<Serializable, ScrollBar>(engine, "Serializable", "ScrollBar");
  5767. RegisterSubclass<Object, ScrollBar>(engine, "Object", "ScrollBar");
  5768. RegisterSubclass<RefCounted, ScrollBar>(engine, "RefCounted", "ScrollBar");
  5769. RegisterMembers_ScrollBar<ScrollBar>(engine, "ScrollBar");
  5770. #ifdef REGISTER_CLASS_MANUAL_PART_ScrollBar
  5771. REGISTER_CLASS_MANUAL_PART_ScrollBar();
  5772. #endif
  5773. }
  5774. // explicit Slider::Slider(Context* context)
  5775. static Slider* Slider__Slider_Contextstar()
  5776. {
  5777. Context* context = GetScriptContext();
  5778. return new Slider(context);
  5779. }
  5780. // class Slider | File: ../UI/Slider.h
  5781. static void Register_Slider(asIScriptEngine* engine)
  5782. {
  5783. // explicit Slider::Slider(Context* context)
  5784. engine->RegisterObjectBehaviour("Slider", asBEHAVE_FACTORY, "Slider@+ f()", AS_FUNCTION(Slider__Slider_Contextstar) , AS_CALL_CDECL);
  5785. RegisterSubclass<BorderImage, Slider>(engine, "BorderImage", "Slider");
  5786. RegisterSubclass<UIElement, Slider>(engine, "UIElement", "Slider");
  5787. RegisterSubclass<Animatable, Slider>(engine, "Animatable", "Slider");
  5788. RegisterSubclass<Serializable, Slider>(engine, "Serializable", "Slider");
  5789. RegisterSubclass<Object, Slider>(engine, "Object", "Slider");
  5790. RegisterSubclass<RefCounted, Slider>(engine, "RefCounted", "Slider");
  5791. RegisterMembers_Slider<Slider>(engine, "Slider");
  5792. #ifdef REGISTER_CLASS_MANUAL_PART_Slider
  5793. REGISTER_CLASS_MANUAL_PART_Slider();
  5794. #endif
  5795. }
  5796. // explicit SoundSource3D::SoundSource3D(Context* context)
  5797. static SoundSource3D* SoundSource3D__SoundSource3D_Contextstar()
  5798. {
  5799. Context* context = GetScriptContext();
  5800. return new SoundSource3D(context);
  5801. }
  5802. // class SoundSource3D | File: ../Audio/SoundSource3D.h
  5803. static void Register_SoundSource3D(asIScriptEngine* engine)
  5804. {
  5805. // explicit SoundSource3D::SoundSource3D(Context* context)
  5806. engine->RegisterObjectBehaviour("SoundSource3D", asBEHAVE_FACTORY, "SoundSource3D@+ f()", AS_FUNCTION(SoundSource3D__SoundSource3D_Contextstar) , AS_CALL_CDECL);
  5807. RegisterSubclass<SoundSource, SoundSource3D>(engine, "SoundSource", "SoundSource3D");
  5808. RegisterSubclass<Component, SoundSource3D>(engine, "Component", "SoundSource3D");
  5809. RegisterSubclass<Animatable, SoundSource3D>(engine, "Animatable", "SoundSource3D");
  5810. RegisterSubclass<Serializable, SoundSource3D>(engine, "Serializable", "SoundSource3D");
  5811. RegisterSubclass<Object, SoundSource3D>(engine, "Object", "SoundSource3D");
  5812. RegisterSubclass<RefCounted, SoundSource3D>(engine, "RefCounted", "SoundSource3D");
  5813. RegisterMembers_SoundSource3D<SoundSource3D>(engine, "SoundSource3D");
  5814. #ifdef REGISTER_CLASS_MANUAL_PART_SoundSource3D
  5815. REGISTER_CLASS_MANUAL_PART_SoundSource3D();
  5816. #endif
  5817. }
  5818. // explicit StaticModel::StaticModel(Context* context)
  5819. static StaticModel* StaticModel__StaticModel_Contextstar()
  5820. {
  5821. Context* context = GetScriptContext();
  5822. return new StaticModel(context);
  5823. }
  5824. // class StaticModel | File: ../Graphics/StaticModel.h
  5825. static void Register_StaticModel(asIScriptEngine* engine)
  5826. {
  5827. // explicit StaticModel::StaticModel(Context* context)
  5828. engine->RegisterObjectBehaviour("StaticModel", asBEHAVE_FACTORY, "StaticModel@+ f()", AS_FUNCTION(StaticModel__StaticModel_Contextstar) , AS_CALL_CDECL);
  5829. RegisterSubclass<Drawable, StaticModel>(engine, "Drawable", "StaticModel");
  5830. RegisterSubclass<Component, StaticModel>(engine, "Component", "StaticModel");
  5831. RegisterSubclass<Animatable, StaticModel>(engine, "Animatable", "StaticModel");
  5832. RegisterSubclass<Serializable, StaticModel>(engine, "Serializable", "StaticModel");
  5833. RegisterSubclass<Object, StaticModel>(engine, "Object", "StaticModel");
  5834. RegisterSubclass<RefCounted, StaticModel>(engine, "RefCounted", "StaticModel");
  5835. RegisterMembers_StaticModel<StaticModel>(engine, "StaticModel");
  5836. #ifdef REGISTER_CLASS_MANUAL_PART_StaticModel
  5837. REGISTER_CLASS_MANUAL_PART_StaticModel();
  5838. #endif
  5839. // virtual void StaticModel::SetModel(Model* model)
  5840. // Not registered because have @manualbind mark
  5841. }
  5842. // explicit TerrainPatch::TerrainPatch(Context* context)
  5843. static TerrainPatch* TerrainPatch__TerrainPatch_Contextstar()
  5844. {
  5845. Context* context = GetScriptContext();
  5846. return new TerrainPatch(context);
  5847. }
  5848. // class TerrainPatch | File: ../Graphics/TerrainPatch.h
  5849. static void Register_TerrainPatch(asIScriptEngine* engine)
  5850. {
  5851. // explicit TerrainPatch::TerrainPatch(Context* context)
  5852. engine->RegisterObjectBehaviour("TerrainPatch", asBEHAVE_FACTORY, "TerrainPatch@+ f()", AS_FUNCTION(TerrainPatch__TerrainPatch_Contextstar) , AS_CALL_CDECL);
  5853. RegisterSubclass<Drawable, TerrainPatch>(engine, "Drawable", "TerrainPatch");
  5854. RegisterSubclass<Component, TerrainPatch>(engine, "Component", "TerrainPatch");
  5855. RegisterSubclass<Animatable, TerrainPatch>(engine, "Animatable", "TerrainPatch");
  5856. RegisterSubclass<Serializable, TerrainPatch>(engine, "Serializable", "TerrainPatch");
  5857. RegisterSubclass<Object, TerrainPatch>(engine, "Object", "TerrainPatch");
  5858. RegisterSubclass<RefCounted, TerrainPatch>(engine, "RefCounted", "TerrainPatch");
  5859. RegisterMembers_TerrainPatch<TerrainPatch>(engine, "TerrainPatch");
  5860. #ifdef REGISTER_CLASS_MANUAL_PART_TerrainPatch
  5861. REGISTER_CLASS_MANUAL_PART_TerrainPatch();
  5862. #endif
  5863. }
  5864. // explicit Text::Text(Context* context)
  5865. static Text* Text__Text_Contextstar()
  5866. {
  5867. Context* context = GetScriptContext();
  5868. return new Text(context);
  5869. }
  5870. // class Text | File: ../UI/Text.h
  5871. static void Register_Text(asIScriptEngine* engine)
  5872. {
  5873. // explicit Text::Text(Context* context)
  5874. engine->RegisterObjectBehaviour("Text", asBEHAVE_FACTORY, "Text@+ f()", AS_FUNCTION(Text__Text_Contextstar) , AS_CALL_CDECL);
  5875. RegisterSubclass<UISelectable, Text>(engine, "UISelectable", "Text");
  5876. RegisterSubclass<UIElement, Text>(engine, "UIElement", "Text");
  5877. RegisterSubclass<Animatable, Text>(engine, "Animatable", "Text");
  5878. RegisterSubclass<Serializable, Text>(engine, "Serializable", "Text");
  5879. RegisterSubclass<Object, Text>(engine, "Object", "Text");
  5880. RegisterSubclass<RefCounted, Text>(engine, "RefCounted", "Text");
  5881. RegisterMembers_Text<Text>(engine, "Text");
  5882. #ifdef REGISTER_CLASS_MANUAL_PART_Text
  5883. REGISTER_CLASS_MANUAL_PART_Text();
  5884. #endif
  5885. }
  5886. // explicit Text3D::Text3D(Context* context)
  5887. static Text3D* Text3D__Text3D_Contextstar()
  5888. {
  5889. Context* context = GetScriptContext();
  5890. return new Text3D(context);
  5891. }
  5892. // class Text3D | File: ../UI/Text3D.h
  5893. static void Register_Text3D(asIScriptEngine* engine)
  5894. {
  5895. // explicit Text3D::Text3D(Context* context)
  5896. engine->RegisterObjectBehaviour("Text3D", asBEHAVE_FACTORY, "Text3D@+ f()", AS_FUNCTION(Text3D__Text3D_Contextstar) , AS_CALL_CDECL);
  5897. RegisterSubclass<Drawable, Text3D>(engine, "Drawable", "Text3D");
  5898. RegisterSubclass<Component, Text3D>(engine, "Component", "Text3D");
  5899. RegisterSubclass<Animatable, Text3D>(engine, "Animatable", "Text3D");
  5900. RegisterSubclass<Serializable, Text3D>(engine, "Serializable", "Text3D");
  5901. RegisterSubclass<Object, Text3D>(engine, "Object", "Text3D");
  5902. RegisterSubclass<RefCounted, Text3D>(engine, "RefCounted", "Text3D");
  5903. RegisterMembers_Text3D<Text3D>(engine, "Text3D");
  5904. #ifdef REGISTER_CLASS_MANUAL_PART_Text3D
  5905. REGISTER_CLASS_MANUAL_PART_Text3D();
  5906. #endif
  5907. }
  5908. // explicit Window::Window(Context* context)
  5909. static Window* Window__Window_Contextstar()
  5910. {
  5911. Context* context = GetScriptContext();
  5912. return new Window(context);
  5913. }
  5914. // class Window | File: ../UI/Window.h
  5915. static void Register_Window(asIScriptEngine* engine)
  5916. {
  5917. // explicit Window::Window(Context* context)
  5918. engine->RegisterObjectBehaviour("Window", asBEHAVE_FACTORY, "Window@+ f()", AS_FUNCTION(Window__Window_Contextstar) , AS_CALL_CDECL);
  5919. RegisterSubclass<BorderImage, Window>(engine, "BorderImage", "Window");
  5920. RegisterSubclass<UIElement, Window>(engine, "UIElement", "Window");
  5921. RegisterSubclass<Animatable, Window>(engine, "Animatable", "Window");
  5922. RegisterSubclass<Serializable, Window>(engine, "Serializable", "Window");
  5923. RegisterSubclass<Object, Window>(engine, "Object", "Window");
  5924. RegisterSubclass<RefCounted, Window>(engine, "RefCounted", "Window");
  5925. RegisterMembers_Window<Window>(engine, "Window");
  5926. #ifdef REGISTER_CLASS_MANUAL_PART_Window
  5927. REGISTER_CLASS_MANUAL_PART_Window();
  5928. #endif
  5929. }
  5930. // explicit Zone::Zone(Context* context)
  5931. static Zone* Zone__Zone_Contextstar()
  5932. {
  5933. Context* context = GetScriptContext();
  5934. return new Zone(context);
  5935. }
  5936. // class Zone | File: ../Graphics/Zone.h
  5937. static void Register_Zone(asIScriptEngine* engine)
  5938. {
  5939. // explicit Zone::Zone(Context* context)
  5940. engine->RegisterObjectBehaviour("Zone", asBEHAVE_FACTORY, "Zone@+ f()", AS_FUNCTION(Zone__Zone_Contextstar) , AS_CALL_CDECL);
  5941. RegisterSubclass<Drawable, Zone>(engine, "Drawable", "Zone");
  5942. RegisterSubclass<Component, Zone>(engine, "Component", "Zone");
  5943. RegisterSubclass<Animatable, Zone>(engine, "Animatable", "Zone");
  5944. RegisterSubclass<Serializable, Zone>(engine, "Serializable", "Zone");
  5945. RegisterSubclass<Object, Zone>(engine, "Object", "Zone");
  5946. RegisterSubclass<RefCounted, Zone>(engine, "RefCounted", "Zone");
  5947. RegisterMembers_Zone<Zone>(engine, "Zone");
  5948. #ifdef REGISTER_CLASS_MANUAL_PART_Zone
  5949. REGISTER_CLASS_MANUAL_PART_Zone();
  5950. #endif
  5951. }
  5952. #ifdef URHO3D_NAVIGATION
  5953. // explicit DynamicNavigationMesh::DynamicNavigationMesh(Context* context)
  5954. static DynamicNavigationMesh* DynamicNavigationMesh__DynamicNavigationMesh_Contextstar()
  5955. {
  5956. Context* context = GetScriptContext();
  5957. return new DynamicNavigationMesh(context);
  5958. }
  5959. // class DynamicNavigationMesh | File: ../Navigation/DynamicNavigationMesh.h
  5960. static void Register_DynamicNavigationMesh(asIScriptEngine* engine)
  5961. {
  5962. // explicit DynamicNavigationMesh::DynamicNavigationMesh(Context* context)
  5963. engine->RegisterObjectBehaviour("DynamicNavigationMesh", asBEHAVE_FACTORY, "DynamicNavigationMesh@+ f()", AS_FUNCTION(DynamicNavigationMesh__DynamicNavigationMesh_Contextstar) , AS_CALL_CDECL);
  5964. RegisterSubclass<NavigationMesh, DynamicNavigationMesh>(engine, "NavigationMesh", "DynamicNavigationMesh");
  5965. RegisterSubclass<Component, DynamicNavigationMesh>(engine, "Component", "DynamicNavigationMesh");
  5966. RegisterSubclass<Animatable, DynamicNavigationMesh>(engine, "Animatable", "DynamicNavigationMesh");
  5967. RegisterSubclass<Serializable, DynamicNavigationMesh>(engine, "Serializable", "DynamicNavigationMesh");
  5968. RegisterSubclass<Object, DynamicNavigationMesh>(engine, "Object", "DynamicNavigationMesh");
  5969. RegisterSubclass<RefCounted, DynamicNavigationMesh>(engine, "RefCounted", "DynamicNavigationMesh");
  5970. RegisterMembers_DynamicNavigationMesh<DynamicNavigationMesh>(engine, "DynamicNavigationMesh");
  5971. #ifdef REGISTER_CLASS_MANUAL_PART_DynamicNavigationMesh
  5972. REGISTER_CLASS_MANUAL_PART_DynamicNavigationMesh();
  5973. #endif
  5974. }
  5975. #endif // def URHO3D_NAVIGATION
  5976. #ifdef URHO3D_PHYSICS
  5977. // class RaycastVehicle | File: ../Physics/RaycastVehicle.h
  5978. static void Register_RaycastVehicle(asIScriptEngine* engine)
  5979. {
  5980. // explicit RaycastVehicle::RaycastVehicle(Urho3D::Context* context)
  5981. // Error: type "Urho3D::Context*" can not automatically bind
  5982. RegisterSubclass<LogicComponent, RaycastVehicle>(engine, "LogicComponent", "RaycastVehicle");
  5983. RegisterSubclass<Component, RaycastVehicle>(engine, "Component", "RaycastVehicle");
  5984. RegisterSubclass<Animatable, RaycastVehicle>(engine, "Animatable", "RaycastVehicle");
  5985. RegisterSubclass<Serializable, RaycastVehicle>(engine, "Serializable", "RaycastVehicle");
  5986. RegisterSubclass<Object, RaycastVehicle>(engine, "Object", "RaycastVehicle");
  5987. RegisterSubclass<RefCounted, RaycastVehicle>(engine, "RefCounted", "RaycastVehicle");
  5988. RegisterMembers_RaycastVehicle<RaycastVehicle>(engine, "RaycastVehicle");
  5989. #ifdef REGISTER_CLASS_MANUAL_PART_RaycastVehicle
  5990. REGISTER_CLASS_MANUAL_PART_RaycastVehicle();
  5991. #endif
  5992. }
  5993. #endif // def URHO3D_PHYSICS
  5994. #ifdef URHO3D_PHYSICS2D
  5995. // explicit CollisionBox2D::CollisionBox2D(Context* context)
  5996. static CollisionBox2D* CollisionBox2D__CollisionBox2D_Contextstar()
  5997. {
  5998. Context* context = GetScriptContext();
  5999. return new CollisionBox2D(context);
  6000. }
  6001. // class CollisionBox2D | File: ../Physics2D/CollisionBox2D.h
  6002. static void Register_CollisionBox2D(asIScriptEngine* engine)
  6003. {
  6004. // explicit CollisionBox2D::CollisionBox2D(Context* context)
  6005. engine->RegisterObjectBehaviour("CollisionBox2D", asBEHAVE_FACTORY, "CollisionBox2D@+ f()", AS_FUNCTION(CollisionBox2D__CollisionBox2D_Contextstar) , AS_CALL_CDECL);
  6006. RegisterSubclass<CollisionShape2D, CollisionBox2D>(engine, "CollisionShape2D", "CollisionBox2D");
  6007. RegisterSubclass<Component, CollisionBox2D>(engine, "Component", "CollisionBox2D");
  6008. RegisterSubclass<Animatable, CollisionBox2D>(engine, "Animatable", "CollisionBox2D");
  6009. RegisterSubclass<Serializable, CollisionBox2D>(engine, "Serializable", "CollisionBox2D");
  6010. RegisterSubclass<Object, CollisionBox2D>(engine, "Object", "CollisionBox2D");
  6011. RegisterSubclass<RefCounted, CollisionBox2D>(engine, "RefCounted", "CollisionBox2D");
  6012. RegisterMembers_CollisionBox2D<CollisionBox2D>(engine, "CollisionBox2D");
  6013. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionBox2D
  6014. REGISTER_CLASS_MANUAL_PART_CollisionBox2D();
  6015. #endif
  6016. }
  6017. // explicit CollisionChain2D::CollisionChain2D(Context* context)
  6018. static CollisionChain2D* CollisionChain2D__CollisionChain2D_Contextstar()
  6019. {
  6020. Context* context = GetScriptContext();
  6021. return new CollisionChain2D(context);
  6022. }
  6023. // class CollisionChain2D | File: ../Physics2D/CollisionChain2D.h
  6024. static void Register_CollisionChain2D(asIScriptEngine* engine)
  6025. {
  6026. // explicit CollisionChain2D::CollisionChain2D(Context* context)
  6027. engine->RegisterObjectBehaviour("CollisionChain2D", asBEHAVE_FACTORY, "CollisionChain2D@+ f()", AS_FUNCTION(CollisionChain2D__CollisionChain2D_Contextstar) , AS_CALL_CDECL);
  6028. RegisterSubclass<CollisionShape2D, CollisionChain2D>(engine, "CollisionShape2D", "CollisionChain2D");
  6029. RegisterSubclass<Component, CollisionChain2D>(engine, "Component", "CollisionChain2D");
  6030. RegisterSubclass<Animatable, CollisionChain2D>(engine, "Animatable", "CollisionChain2D");
  6031. RegisterSubclass<Serializable, CollisionChain2D>(engine, "Serializable", "CollisionChain2D");
  6032. RegisterSubclass<Object, CollisionChain2D>(engine, "Object", "CollisionChain2D");
  6033. RegisterSubclass<RefCounted, CollisionChain2D>(engine, "RefCounted", "CollisionChain2D");
  6034. RegisterMembers_CollisionChain2D<CollisionChain2D>(engine, "CollisionChain2D");
  6035. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionChain2D
  6036. REGISTER_CLASS_MANUAL_PART_CollisionChain2D();
  6037. #endif
  6038. }
  6039. // explicit CollisionCircle2D::CollisionCircle2D(Context* context)
  6040. static CollisionCircle2D* CollisionCircle2D__CollisionCircle2D_Contextstar()
  6041. {
  6042. Context* context = GetScriptContext();
  6043. return new CollisionCircle2D(context);
  6044. }
  6045. // class CollisionCircle2D | File: ../Physics2D/CollisionCircle2D.h
  6046. static void Register_CollisionCircle2D(asIScriptEngine* engine)
  6047. {
  6048. // explicit CollisionCircle2D::CollisionCircle2D(Context* context)
  6049. engine->RegisterObjectBehaviour("CollisionCircle2D", asBEHAVE_FACTORY, "CollisionCircle2D@+ f()", AS_FUNCTION(CollisionCircle2D__CollisionCircle2D_Contextstar) , AS_CALL_CDECL);
  6050. RegisterSubclass<CollisionShape2D, CollisionCircle2D>(engine, "CollisionShape2D", "CollisionCircle2D");
  6051. RegisterSubclass<Component, CollisionCircle2D>(engine, "Component", "CollisionCircle2D");
  6052. RegisterSubclass<Animatable, CollisionCircle2D>(engine, "Animatable", "CollisionCircle2D");
  6053. RegisterSubclass<Serializable, CollisionCircle2D>(engine, "Serializable", "CollisionCircle2D");
  6054. RegisterSubclass<Object, CollisionCircle2D>(engine, "Object", "CollisionCircle2D");
  6055. RegisterSubclass<RefCounted, CollisionCircle2D>(engine, "RefCounted", "CollisionCircle2D");
  6056. RegisterMembers_CollisionCircle2D<CollisionCircle2D>(engine, "CollisionCircle2D");
  6057. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionCircle2D
  6058. REGISTER_CLASS_MANUAL_PART_CollisionCircle2D();
  6059. #endif
  6060. }
  6061. // explicit CollisionEdge2D::CollisionEdge2D(Context* context)
  6062. static CollisionEdge2D* CollisionEdge2D__CollisionEdge2D_Contextstar()
  6063. {
  6064. Context* context = GetScriptContext();
  6065. return new CollisionEdge2D(context);
  6066. }
  6067. // class CollisionEdge2D | File: ../Physics2D/CollisionEdge2D.h
  6068. static void Register_CollisionEdge2D(asIScriptEngine* engine)
  6069. {
  6070. // explicit CollisionEdge2D::CollisionEdge2D(Context* context)
  6071. engine->RegisterObjectBehaviour("CollisionEdge2D", asBEHAVE_FACTORY, "CollisionEdge2D@+ f()", AS_FUNCTION(CollisionEdge2D__CollisionEdge2D_Contextstar) , AS_CALL_CDECL);
  6072. RegisterSubclass<CollisionShape2D, CollisionEdge2D>(engine, "CollisionShape2D", "CollisionEdge2D");
  6073. RegisterSubclass<Component, CollisionEdge2D>(engine, "Component", "CollisionEdge2D");
  6074. RegisterSubclass<Animatable, CollisionEdge2D>(engine, "Animatable", "CollisionEdge2D");
  6075. RegisterSubclass<Serializable, CollisionEdge2D>(engine, "Serializable", "CollisionEdge2D");
  6076. RegisterSubclass<Object, CollisionEdge2D>(engine, "Object", "CollisionEdge2D");
  6077. RegisterSubclass<RefCounted, CollisionEdge2D>(engine, "RefCounted", "CollisionEdge2D");
  6078. RegisterMembers_CollisionEdge2D<CollisionEdge2D>(engine, "CollisionEdge2D");
  6079. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionEdge2D
  6080. REGISTER_CLASS_MANUAL_PART_CollisionEdge2D();
  6081. #endif
  6082. }
  6083. // explicit CollisionPolygon2D::CollisionPolygon2D(Context* context)
  6084. static CollisionPolygon2D* CollisionPolygon2D__CollisionPolygon2D_Contextstar()
  6085. {
  6086. Context* context = GetScriptContext();
  6087. return new CollisionPolygon2D(context);
  6088. }
  6089. // class CollisionPolygon2D | File: ../Physics2D/CollisionPolygon2D.h
  6090. static void Register_CollisionPolygon2D(asIScriptEngine* engine)
  6091. {
  6092. // explicit CollisionPolygon2D::CollisionPolygon2D(Context* context)
  6093. engine->RegisterObjectBehaviour("CollisionPolygon2D", asBEHAVE_FACTORY, "CollisionPolygon2D@+ f()", AS_FUNCTION(CollisionPolygon2D__CollisionPolygon2D_Contextstar) , AS_CALL_CDECL);
  6094. RegisterSubclass<CollisionShape2D, CollisionPolygon2D>(engine, "CollisionShape2D", "CollisionPolygon2D");
  6095. RegisterSubclass<Component, CollisionPolygon2D>(engine, "Component", "CollisionPolygon2D");
  6096. RegisterSubclass<Animatable, CollisionPolygon2D>(engine, "Animatable", "CollisionPolygon2D");
  6097. RegisterSubclass<Serializable, CollisionPolygon2D>(engine, "Serializable", "CollisionPolygon2D");
  6098. RegisterSubclass<Object, CollisionPolygon2D>(engine, "Object", "CollisionPolygon2D");
  6099. RegisterSubclass<RefCounted, CollisionPolygon2D>(engine, "RefCounted", "CollisionPolygon2D");
  6100. RegisterMembers_CollisionPolygon2D<CollisionPolygon2D>(engine, "CollisionPolygon2D");
  6101. #ifdef REGISTER_CLASS_MANUAL_PART_CollisionPolygon2D
  6102. REGISTER_CLASS_MANUAL_PART_CollisionPolygon2D();
  6103. #endif
  6104. }
  6105. // explicit ConstraintDistance2D::ConstraintDistance2D(Context* context)
  6106. static ConstraintDistance2D* ConstraintDistance2D__ConstraintDistance2D_Contextstar()
  6107. {
  6108. Context* context = GetScriptContext();
  6109. return new ConstraintDistance2D(context);
  6110. }
  6111. // class ConstraintDistance2D | File: ../Physics2D/ConstraintDistance2D.h
  6112. static void Register_ConstraintDistance2D(asIScriptEngine* engine)
  6113. {
  6114. // explicit ConstraintDistance2D::ConstraintDistance2D(Context* context)
  6115. engine->RegisterObjectBehaviour("ConstraintDistance2D", asBEHAVE_FACTORY, "ConstraintDistance2D@+ f()", AS_FUNCTION(ConstraintDistance2D__ConstraintDistance2D_Contextstar) , AS_CALL_CDECL);
  6116. RegisterSubclass<Constraint2D, ConstraintDistance2D>(engine, "Constraint2D", "ConstraintDistance2D");
  6117. RegisterSubclass<Component, ConstraintDistance2D>(engine, "Component", "ConstraintDistance2D");
  6118. RegisterSubclass<Animatable, ConstraintDistance2D>(engine, "Animatable", "ConstraintDistance2D");
  6119. RegisterSubclass<Serializable, ConstraintDistance2D>(engine, "Serializable", "ConstraintDistance2D");
  6120. RegisterSubclass<Object, ConstraintDistance2D>(engine, "Object", "ConstraintDistance2D");
  6121. RegisterSubclass<RefCounted, ConstraintDistance2D>(engine, "RefCounted", "ConstraintDistance2D");
  6122. RegisterMembers_ConstraintDistance2D<ConstraintDistance2D>(engine, "ConstraintDistance2D");
  6123. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintDistance2D
  6124. REGISTER_CLASS_MANUAL_PART_ConstraintDistance2D();
  6125. #endif
  6126. }
  6127. // explicit ConstraintFriction2D::ConstraintFriction2D(Context* context)
  6128. static ConstraintFriction2D* ConstraintFriction2D__ConstraintFriction2D_Contextstar()
  6129. {
  6130. Context* context = GetScriptContext();
  6131. return new ConstraintFriction2D(context);
  6132. }
  6133. // class ConstraintFriction2D | File: ../Physics2D/ConstraintFriction2D.h
  6134. static void Register_ConstraintFriction2D(asIScriptEngine* engine)
  6135. {
  6136. // explicit ConstraintFriction2D::ConstraintFriction2D(Context* context)
  6137. engine->RegisterObjectBehaviour("ConstraintFriction2D", asBEHAVE_FACTORY, "ConstraintFriction2D@+ f()", AS_FUNCTION(ConstraintFriction2D__ConstraintFriction2D_Contextstar) , AS_CALL_CDECL);
  6138. RegisterSubclass<Constraint2D, ConstraintFriction2D>(engine, "Constraint2D", "ConstraintFriction2D");
  6139. RegisterSubclass<Component, ConstraintFriction2D>(engine, "Component", "ConstraintFriction2D");
  6140. RegisterSubclass<Animatable, ConstraintFriction2D>(engine, "Animatable", "ConstraintFriction2D");
  6141. RegisterSubclass<Serializable, ConstraintFriction2D>(engine, "Serializable", "ConstraintFriction2D");
  6142. RegisterSubclass<Object, ConstraintFriction2D>(engine, "Object", "ConstraintFriction2D");
  6143. RegisterSubclass<RefCounted, ConstraintFriction2D>(engine, "RefCounted", "ConstraintFriction2D");
  6144. RegisterMembers_ConstraintFriction2D<ConstraintFriction2D>(engine, "ConstraintFriction2D");
  6145. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintFriction2D
  6146. REGISTER_CLASS_MANUAL_PART_ConstraintFriction2D();
  6147. #endif
  6148. }
  6149. // explicit ConstraintGear2D::ConstraintGear2D(Context* context)
  6150. static ConstraintGear2D* ConstraintGear2D__ConstraintGear2D_Contextstar()
  6151. {
  6152. Context* context = GetScriptContext();
  6153. return new ConstraintGear2D(context);
  6154. }
  6155. // class ConstraintGear2D | File: ../Physics2D/ConstraintGear2D.h
  6156. static void Register_ConstraintGear2D(asIScriptEngine* engine)
  6157. {
  6158. // explicit ConstraintGear2D::ConstraintGear2D(Context* context)
  6159. engine->RegisterObjectBehaviour("ConstraintGear2D", asBEHAVE_FACTORY, "ConstraintGear2D@+ f()", AS_FUNCTION(ConstraintGear2D__ConstraintGear2D_Contextstar) , AS_CALL_CDECL);
  6160. RegisterSubclass<Constraint2D, ConstraintGear2D>(engine, "Constraint2D", "ConstraintGear2D");
  6161. RegisterSubclass<Component, ConstraintGear2D>(engine, "Component", "ConstraintGear2D");
  6162. RegisterSubclass<Animatable, ConstraintGear2D>(engine, "Animatable", "ConstraintGear2D");
  6163. RegisterSubclass<Serializable, ConstraintGear2D>(engine, "Serializable", "ConstraintGear2D");
  6164. RegisterSubclass<Object, ConstraintGear2D>(engine, "Object", "ConstraintGear2D");
  6165. RegisterSubclass<RefCounted, ConstraintGear2D>(engine, "RefCounted", "ConstraintGear2D");
  6166. RegisterMembers_ConstraintGear2D<ConstraintGear2D>(engine, "ConstraintGear2D");
  6167. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintGear2D
  6168. REGISTER_CLASS_MANUAL_PART_ConstraintGear2D();
  6169. #endif
  6170. }
  6171. // explicit ConstraintMotor2D::ConstraintMotor2D(Context* context)
  6172. static ConstraintMotor2D* ConstraintMotor2D__ConstraintMotor2D_Contextstar()
  6173. {
  6174. Context* context = GetScriptContext();
  6175. return new ConstraintMotor2D(context);
  6176. }
  6177. // class ConstraintMotor2D | File: ../Physics2D/ConstraintMotor2D.h
  6178. static void Register_ConstraintMotor2D(asIScriptEngine* engine)
  6179. {
  6180. // explicit ConstraintMotor2D::ConstraintMotor2D(Context* context)
  6181. engine->RegisterObjectBehaviour("ConstraintMotor2D", asBEHAVE_FACTORY, "ConstraintMotor2D@+ f()", AS_FUNCTION(ConstraintMotor2D__ConstraintMotor2D_Contextstar) , AS_CALL_CDECL);
  6182. RegisterSubclass<Constraint2D, ConstraintMotor2D>(engine, "Constraint2D", "ConstraintMotor2D");
  6183. RegisterSubclass<Component, ConstraintMotor2D>(engine, "Component", "ConstraintMotor2D");
  6184. RegisterSubclass<Animatable, ConstraintMotor2D>(engine, "Animatable", "ConstraintMotor2D");
  6185. RegisterSubclass<Serializable, ConstraintMotor2D>(engine, "Serializable", "ConstraintMotor2D");
  6186. RegisterSubclass<Object, ConstraintMotor2D>(engine, "Object", "ConstraintMotor2D");
  6187. RegisterSubclass<RefCounted, ConstraintMotor2D>(engine, "RefCounted", "ConstraintMotor2D");
  6188. RegisterMembers_ConstraintMotor2D<ConstraintMotor2D>(engine, "ConstraintMotor2D");
  6189. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintMotor2D
  6190. REGISTER_CLASS_MANUAL_PART_ConstraintMotor2D();
  6191. #endif
  6192. }
  6193. // explicit ConstraintMouse2D::ConstraintMouse2D(Context* context)
  6194. static ConstraintMouse2D* ConstraintMouse2D__ConstraintMouse2D_Contextstar()
  6195. {
  6196. Context* context = GetScriptContext();
  6197. return new ConstraintMouse2D(context);
  6198. }
  6199. // class ConstraintMouse2D | File: ../Physics2D/ConstraintMouse2D.h
  6200. static void Register_ConstraintMouse2D(asIScriptEngine* engine)
  6201. {
  6202. // explicit ConstraintMouse2D::ConstraintMouse2D(Context* context)
  6203. engine->RegisterObjectBehaviour("ConstraintMouse2D", asBEHAVE_FACTORY, "ConstraintMouse2D@+ f()", AS_FUNCTION(ConstraintMouse2D__ConstraintMouse2D_Contextstar) , AS_CALL_CDECL);
  6204. RegisterSubclass<Constraint2D, ConstraintMouse2D>(engine, "Constraint2D", "ConstraintMouse2D");
  6205. RegisterSubclass<Component, ConstraintMouse2D>(engine, "Component", "ConstraintMouse2D");
  6206. RegisterSubclass<Animatable, ConstraintMouse2D>(engine, "Animatable", "ConstraintMouse2D");
  6207. RegisterSubclass<Serializable, ConstraintMouse2D>(engine, "Serializable", "ConstraintMouse2D");
  6208. RegisterSubclass<Object, ConstraintMouse2D>(engine, "Object", "ConstraintMouse2D");
  6209. RegisterSubclass<RefCounted, ConstraintMouse2D>(engine, "RefCounted", "ConstraintMouse2D");
  6210. RegisterMembers_ConstraintMouse2D<ConstraintMouse2D>(engine, "ConstraintMouse2D");
  6211. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintMouse2D
  6212. REGISTER_CLASS_MANUAL_PART_ConstraintMouse2D();
  6213. #endif
  6214. }
  6215. // explicit ConstraintPrismatic2D::ConstraintPrismatic2D(Context* context)
  6216. static ConstraintPrismatic2D* ConstraintPrismatic2D__ConstraintPrismatic2D_Contextstar()
  6217. {
  6218. Context* context = GetScriptContext();
  6219. return new ConstraintPrismatic2D(context);
  6220. }
  6221. // class ConstraintPrismatic2D | File: ../Physics2D/ConstraintPrismatic2D.h
  6222. static void Register_ConstraintPrismatic2D(asIScriptEngine* engine)
  6223. {
  6224. // explicit ConstraintPrismatic2D::ConstraintPrismatic2D(Context* context)
  6225. engine->RegisterObjectBehaviour("ConstraintPrismatic2D", asBEHAVE_FACTORY, "ConstraintPrismatic2D@+ f()", AS_FUNCTION(ConstraintPrismatic2D__ConstraintPrismatic2D_Contextstar) , AS_CALL_CDECL);
  6226. RegisterSubclass<Constraint2D, ConstraintPrismatic2D>(engine, "Constraint2D", "ConstraintPrismatic2D");
  6227. RegisterSubclass<Component, ConstraintPrismatic2D>(engine, "Component", "ConstraintPrismatic2D");
  6228. RegisterSubclass<Animatable, ConstraintPrismatic2D>(engine, "Animatable", "ConstraintPrismatic2D");
  6229. RegisterSubclass<Serializable, ConstraintPrismatic2D>(engine, "Serializable", "ConstraintPrismatic2D");
  6230. RegisterSubclass<Object, ConstraintPrismatic2D>(engine, "Object", "ConstraintPrismatic2D");
  6231. RegisterSubclass<RefCounted, ConstraintPrismatic2D>(engine, "RefCounted", "ConstraintPrismatic2D");
  6232. RegisterMembers_ConstraintPrismatic2D<ConstraintPrismatic2D>(engine, "ConstraintPrismatic2D");
  6233. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintPrismatic2D
  6234. REGISTER_CLASS_MANUAL_PART_ConstraintPrismatic2D();
  6235. #endif
  6236. }
  6237. // explicit ConstraintPulley2D::ConstraintPulley2D(Context* context)
  6238. static ConstraintPulley2D* ConstraintPulley2D__ConstraintPulley2D_Contextstar()
  6239. {
  6240. Context* context = GetScriptContext();
  6241. return new ConstraintPulley2D(context);
  6242. }
  6243. // class ConstraintPulley2D | File: ../Physics2D/ConstraintPulley2D.h
  6244. static void Register_ConstraintPulley2D(asIScriptEngine* engine)
  6245. {
  6246. // explicit ConstraintPulley2D::ConstraintPulley2D(Context* context)
  6247. engine->RegisterObjectBehaviour("ConstraintPulley2D", asBEHAVE_FACTORY, "ConstraintPulley2D@+ f()", AS_FUNCTION(ConstraintPulley2D__ConstraintPulley2D_Contextstar) , AS_CALL_CDECL);
  6248. RegisterSubclass<Constraint2D, ConstraintPulley2D>(engine, "Constraint2D", "ConstraintPulley2D");
  6249. RegisterSubclass<Component, ConstraintPulley2D>(engine, "Component", "ConstraintPulley2D");
  6250. RegisterSubclass<Animatable, ConstraintPulley2D>(engine, "Animatable", "ConstraintPulley2D");
  6251. RegisterSubclass<Serializable, ConstraintPulley2D>(engine, "Serializable", "ConstraintPulley2D");
  6252. RegisterSubclass<Object, ConstraintPulley2D>(engine, "Object", "ConstraintPulley2D");
  6253. RegisterSubclass<RefCounted, ConstraintPulley2D>(engine, "RefCounted", "ConstraintPulley2D");
  6254. RegisterMembers_ConstraintPulley2D<ConstraintPulley2D>(engine, "ConstraintPulley2D");
  6255. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintPulley2D
  6256. REGISTER_CLASS_MANUAL_PART_ConstraintPulley2D();
  6257. #endif
  6258. }
  6259. // explicit ConstraintRevolute2D::ConstraintRevolute2D(Context* context)
  6260. static ConstraintRevolute2D* ConstraintRevolute2D__ConstraintRevolute2D_Contextstar()
  6261. {
  6262. Context* context = GetScriptContext();
  6263. return new ConstraintRevolute2D(context);
  6264. }
  6265. // class ConstraintRevolute2D | File: ../Physics2D/ConstraintRevolute2D.h
  6266. static void Register_ConstraintRevolute2D(asIScriptEngine* engine)
  6267. {
  6268. // explicit ConstraintRevolute2D::ConstraintRevolute2D(Context* context)
  6269. engine->RegisterObjectBehaviour("ConstraintRevolute2D", asBEHAVE_FACTORY, "ConstraintRevolute2D@+ f()", AS_FUNCTION(ConstraintRevolute2D__ConstraintRevolute2D_Contextstar) , AS_CALL_CDECL);
  6270. RegisterSubclass<Constraint2D, ConstraintRevolute2D>(engine, "Constraint2D", "ConstraintRevolute2D");
  6271. RegisterSubclass<Component, ConstraintRevolute2D>(engine, "Component", "ConstraintRevolute2D");
  6272. RegisterSubclass<Animatable, ConstraintRevolute2D>(engine, "Animatable", "ConstraintRevolute2D");
  6273. RegisterSubclass<Serializable, ConstraintRevolute2D>(engine, "Serializable", "ConstraintRevolute2D");
  6274. RegisterSubclass<Object, ConstraintRevolute2D>(engine, "Object", "ConstraintRevolute2D");
  6275. RegisterSubclass<RefCounted, ConstraintRevolute2D>(engine, "RefCounted", "ConstraintRevolute2D");
  6276. RegisterMembers_ConstraintRevolute2D<ConstraintRevolute2D>(engine, "ConstraintRevolute2D");
  6277. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintRevolute2D
  6278. REGISTER_CLASS_MANUAL_PART_ConstraintRevolute2D();
  6279. #endif
  6280. }
  6281. // explicit ConstraintWeld2D::ConstraintWeld2D(Context* context)
  6282. static ConstraintWeld2D* ConstraintWeld2D__ConstraintWeld2D_Contextstar()
  6283. {
  6284. Context* context = GetScriptContext();
  6285. return new ConstraintWeld2D(context);
  6286. }
  6287. // class ConstraintWeld2D | File: ../Physics2D/ConstraintWeld2D.h
  6288. static void Register_ConstraintWeld2D(asIScriptEngine* engine)
  6289. {
  6290. // explicit ConstraintWeld2D::ConstraintWeld2D(Context* context)
  6291. engine->RegisterObjectBehaviour("ConstraintWeld2D", asBEHAVE_FACTORY, "ConstraintWeld2D@+ f()", AS_FUNCTION(ConstraintWeld2D__ConstraintWeld2D_Contextstar) , AS_CALL_CDECL);
  6292. RegisterSubclass<Constraint2D, ConstraintWeld2D>(engine, "Constraint2D", "ConstraintWeld2D");
  6293. RegisterSubclass<Component, ConstraintWeld2D>(engine, "Component", "ConstraintWeld2D");
  6294. RegisterSubclass<Animatable, ConstraintWeld2D>(engine, "Animatable", "ConstraintWeld2D");
  6295. RegisterSubclass<Serializable, ConstraintWeld2D>(engine, "Serializable", "ConstraintWeld2D");
  6296. RegisterSubclass<Object, ConstraintWeld2D>(engine, "Object", "ConstraintWeld2D");
  6297. RegisterSubclass<RefCounted, ConstraintWeld2D>(engine, "RefCounted", "ConstraintWeld2D");
  6298. RegisterMembers_ConstraintWeld2D<ConstraintWeld2D>(engine, "ConstraintWeld2D");
  6299. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintWeld2D
  6300. REGISTER_CLASS_MANUAL_PART_ConstraintWeld2D();
  6301. #endif
  6302. }
  6303. // explicit ConstraintWheel2D::ConstraintWheel2D(Context* context)
  6304. static ConstraintWheel2D* ConstraintWheel2D__ConstraintWheel2D_Contextstar()
  6305. {
  6306. Context* context = GetScriptContext();
  6307. return new ConstraintWheel2D(context);
  6308. }
  6309. // class ConstraintWheel2D | File: ../Physics2D/ConstraintWheel2D.h
  6310. static void Register_ConstraintWheel2D(asIScriptEngine* engine)
  6311. {
  6312. // explicit ConstraintWheel2D::ConstraintWheel2D(Context* context)
  6313. engine->RegisterObjectBehaviour("ConstraintWheel2D", asBEHAVE_FACTORY, "ConstraintWheel2D@+ f()", AS_FUNCTION(ConstraintWheel2D__ConstraintWheel2D_Contextstar) , AS_CALL_CDECL);
  6314. RegisterSubclass<Constraint2D, ConstraintWheel2D>(engine, "Constraint2D", "ConstraintWheel2D");
  6315. RegisterSubclass<Component, ConstraintWheel2D>(engine, "Component", "ConstraintWheel2D");
  6316. RegisterSubclass<Animatable, ConstraintWheel2D>(engine, "Animatable", "ConstraintWheel2D");
  6317. RegisterSubclass<Serializable, ConstraintWheel2D>(engine, "Serializable", "ConstraintWheel2D");
  6318. RegisterSubclass<Object, ConstraintWheel2D>(engine, "Object", "ConstraintWheel2D");
  6319. RegisterSubclass<RefCounted, ConstraintWheel2D>(engine, "RefCounted", "ConstraintWheel2D");
  6320. RegisterMembers_ConstraintWheel2D<ConstraintWheel2D>(engine, "ConstraintWheel2D");
  6321. #ifdef REGISTER_CLASS_MANUAL_PART_ConstraintWheel2D
  6322. REGISTER_CLASS_MANUAL_PART_ConstraintWheel2D();
  6323. #endif
  6324. }
  6325. #endif // def URHO3D_PHYSICS2D
  6326. #ifdef URHO3D_URHO2D
  6327. // class Drawable2D | File: ../Urho2D/Drawable2D.h
  6328. static void Register_Drawable2D(asIScriptEngine* engine)
  6329. {
  6330. RegisterSubclass<Drawable, Drawable2D>(engine, "Drawable", "Drawable2D");
  6331. RegisterSubclass<Component, Drawable2D>(engine, "Component", "Drawable2D");
  6332. RegisterSubclass<Animatable, Drawable2D>(engine, "Animatable", "Drawable2D");
  6333. RegisterSubclass<Serializable, Drawable2D>(engine, "Serializable", "Drawable2D");
  6334. RegisterSubclass<Object, Drawable2D>(engine, "Object", "Drawable2D");
  6335. RegisterSubclass<RefCounted, Drawable2D>(engine, "RefCounted", "Drawable2D");
  6336. RegisterMembers_Drawable2D<Drawable2D>(engine, "Drawable2D");
  6337. #ifdef REGISTER_CLASS_MANUAL_PART_Drawable2D
  6338. REGISTER_CLASS_MANUAL_PART_Drawable2D();
  6339. #endif
  6340. // virtual void Drawable::Update(const FrameInfo& frame)
  6341. engine->RegisterObjectMethod("Drawable2D", "void Update(const FrameInfo&in)", AS_METHODPR(Drawable2D, Update, (const FrameInfo&), void), AS_CALL_THISCALL);
  6342. }
  6343. // explicit Renderer2D::Renderer2D(Context* context)
  6344. static Renderer2D* Renderer2D__Renderer2D_Contextstar()
  6345. {
  6346. Context* context = GetScriptContext();
  6347. return new Renderer2D(context);
  6348. }
  6349. // class Renderer2D | File: ../Urho2D/Renderer2D.h
  6350. static void Register_Renderer2D(asIScriptEngine* engine)
  6351. {
  6352. // explicit Renderer2D::Renderer2D(Context* context)
  6353. engine->RegisterObjectBehaviour("Renderer2D", asBEHAVE_FACTORY, "Renderer2D@+ f()", AS_FUNCTION(Renderer2D__Renderer2D_Contextstar) , AS_CALL_CDECL);
  6354. RegisterSubclass<Drawable, Renderer2D>(engine, "Drawable", "Renderer2D");
  6355. RegisterSubclass<Component, Renderer2D>(engine, "Component", "Renderer2D");
  6356. RegisterSubclass<Animatable, Renderer2D>(engine, "Animatable", "Renderer2D");
  6357. RegisterSubclass<Serializable, Renderer2D>(engine, "Serializable", "Renderer2D");
  6358. RegisterSubclass<Object, Renderer2D>(engine, "Object", "Renderer2D");
  6359. RegisterSubclass<RefCounted, Renderer2D>(engine, "RefCounted", "Renderer2D");
  6360. RegisterMembers_Renderer2D<Renderer2D>(engine, "Renderer2D");
  6361. #ifdef REGISTER_CLASS_MANUAL_PART_Renderer2D
  6362. REGISTER_CLASS_MANUAL_PART_Renderer2D();
  6363. #endif
  6364. }
  6365. #endif // def URHO3D_URHO2D
  6366. // explicit AnimatedModel::AnimatedModel(Context* context)
  6367. static AnimatedModel* AnimatedModel__AnimatedModel_Contextstar()
  6368. {
  6369. Context* context = GetScriptContext();
  6370. return new AnimatedModel(context);
  6371. }
  6372. // class AnimatedModel | File: ../Graphics/AnimatedModel.h
  6373. static void Register_AnimatedModel(asIScriptEngine* engine)
  6374. {
  6375. // explicit AnimatedModel::AnimatedModel(Context* context)
  6376. engine->RegisterObjectBehaviour("AnimatedModel", asBEHAVE_FACTORY, "AnimatedModel@+ f()", AS_FUNCTION(AnimatedModel__AnimatedModel_Contextstar) , AS_CALL_CDECL);
  6377. RegisterSubclass<StaticModel, AnimatedModel>(engine, "StaticModel", "AnimatedModel");
  6378. RegisterSubclass<Drawable, AnimatedModel>(engine, "Drawable", "AnimatedModel");
  6379. RegisterSubclass<Component, AnimatedModel>(engine, "Component", "AnimatedModel");
  6380. RegisterSubclass<Animatable, AnimatedModel>(engine, "Animatable", "AnimatedModel");
  6381. RegisterSubclass<Serializable, AnimatedModel>(engine, "Serializable", "AnimatedModel");
  6382. RegisterSubclass<Object, AnimatedModel>(engine, "Object", "AnimatedModel");
  6383. RegisterSubclass<RefCounted, AnimatedModel>(engine, "RefCounted", "AnimatedModel");
  6384. RegisterMembers_AnimatedModel<AnimatedModel>(engine, "AnimatedModel");
  6385. #ifdef REGISTER_CLASS_MANUAL_PART_AnimatedModel
  6386. REGISTER_CLASS_MANUAL_PART_AnimatedModel();
  6387. #endif
  6388. }
  6389. // explicit Menu::Menu(Context* context)
  6390. static Menu* Menu__Menu_Contextstar()
  6391. {
  6392. Context* context = GetScriptContext();
  6393. return new Menu(context);
  6394. }
  6395. // class Menu | File: ../UI/Menu.h
  6396. static void Register_Menu(asIScriptEngine* engine)
  6397. {
  6398. // explicit Menu::Menu(Context* context)
  6399. engine->RegisterObjectBehaviour("Menu", asBEHAVE_FACTORY, "Menu@+ f()", AS_FUNCTION(Menu__Menu_Contextstar) , AS_CALL_CDECL);
  6400. RegisterSubclass<Button, Menu>(engine, "Button", "Menu");
  6401. RegisterSubclass<BorderImage, Menu>(engine, "BorderImage", "Menu");
  6402. RegisterSubclass<UIElement, Menu>(engine, "UIElement", "Menu");
  6403. RegisterSubclass<Animatable, Menu>(engine, "Animatable", "Menu");
  6404. RegisterSubclass<Serializable, Menu>(engine, "Serializable", "Menu");
  6405. RegisterSubclass<Object, Menu>(engine, "Object", "Menu");
  6406. RegisterSubclass<RefCounted, Menu>(engine, "RefCounted", "Menu");
  6407. RegisterMembers_Menu<Menu>(engine, "Menu");
  6408. #ifdef REGISTER_CLASS_MANUAL_PART_Menu
  6409. REGISTER_CLASS_MANUAL_PART_Menu();
  6410. #endif
  6411. }
  6412. // explicit ParticleEmitter::ParticleEmitter(Context* context)
  6413. static ParticleEmitter* ParticleEmitter__ParticleEmitter_Contextstar()
  6414. {
  6415. Context* context = GetScriptContext();
  6416. return new ParticleEmitter(context);
  6417. }
  6418. // class ParticleEmitter | File: ../Graphics/ParticleEmitter.h
  6419. static void Register_ParticleEmitter(asIScriptEngine* engine)
  6420. {
  6421. // explicit ParticleEmitter::ParticleEmitter(Context* context)
  6422. engine->RegisterObjectBehaviour("ParticleEmitter", asBEHAVE_FACTORY, "ParticleEmitter@+ f()", AS_FUNCTION(ParticleEmitter__ParticleEmitter_Contextstar) , AS_CALL_CDECL);
  6423. RegisterSubclass<BillboardSet, ParticleEmitter>(engine, "BillboardSet", "ParticleEmitter");
  6424. RegisterSubclass<Drawable, ParticleEmitter>(engine, "Drawable", "ParticleEmitter");
  6425. RegisterSubclass<Component, ParticleEmitter>(engine, "Component", "ParticleEmitter");
  6426. RegisterSubclass<Animatable, ParticleEmitter>(engine, "Animatable", "ParticleEmitter");
  6427. RegisterSubclass<Serializable, ParticleEmitter>(engine, "Serializable", "ParticleEmitter");
  6428. RegisterSubclass<Object, ParticleEmitter>(engine, "Object", "ParticleEmitter");
  6429. RegisterSubclass<RefCounted, ParticleEmitter>(engine, "RefCounted", "ParticleEmitter");
  6430. RegisterMembers_ParticleEmitter<ParticleEmitter>(engine, "ParticleEmitter");
  6431. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEmitter
  6432. REGISTER_CLASS_MANUAL_PART_ParticleEmitter();
  6433. #endif
  6434. }
  6435. // explicit Skybox::Skybox(Context* context)
  6436. static Skybox* Skybox__Skybox_Contextstar()
  6437. {
  6438. Context* context = GetScriptContext();
  6439. return new Skybox(context);
  6440. }
  6441. // class Skybox | File: ../Graphics/Skybox.h
  6442. static void Register_Skybox(asIScriptEngine* engine)
  6443. {
  6444. // explicit Skybox::Skybox(Context* context)
  6445. engine->RegisterObjectBehaviour("Skybox", asBEHAVE_FACTORY, "Skybox@+ f()", AS_FUNCTION(Skybox__Skybox_Contextstar) , AS_CALL_CDECL);
  6446. RegisterSubclass<StaticModel, Skybox>(engine, "StaticModel", "Skybox");
  6447. RegisterSubclass<Drawable, Skybox>(engine, "Drawable", "Skybox");
  6448. RegisterSubclass<Component, Skybox>(engine, "Component", "Skybox");
  6449. RegisterSubclass<Animatable, Skybox>(engine, "Animatable", "Skybox");
  6450. RegisterSubclass<Serializable, Skybox>(engine, "Serializable", "Skybox");
  6451. RegisterSubclass<Object, Skybox>(engine, "Object", "Skybox");
  6452. RegisterSubclass<RefCounted, Skybox>(engine, "RefCounted", "Skybox");
  6453. RegisterMembers_Skybox<Skybox>(engine, "Skybox");
  6454. #ifdef REGISTER_CLASS_MANUAL_PART_Skybox
  6455. REGISTER_CLASS_MANUAL_PART_Skybox();
  6456. #endif
  6457. }
  6458. // explicit StaticModelGroup::StaticModelGroup(Context* context)
  6459. static StaticModelGroup* StaticModelGroup__StaticModelGroup_Contextstar()
  6460. {
  6461. Context* context = GetScriptContext();
  6462. return new StaticModelGroup(context);
  6463. }
  6464. // class StaticModelGroup | File: ../Graphics/StaticModelGroup.h
  6465. static void Register_StaticModelGroup(asIScriptEngine* engine)
  6466. {
  6467. // explicit StaticModelGroup::StaticModelGroup(Context* context)
  6468. engine->RegisterObjectBehaviour("StaticModelGroup", asBEHAVE_FACTORY, "StaticModelGroup@+ f()", AS_FUNCTION(StaticModelGroup__StaticModelGroup_Contextstar) , AS_CALL_CDECL);
  6469. RegisterSubclass<StaticModel, StaticModelGroup>(engine, "StaticModel", "StaticModelGroup");
  6470. RegisterSubclass<Drawable, StaticModelGroup>(engine, "Drawable", "StaticModelGroup");
  6471. RegisterSubclass<Component, StaticModelGroup>(engine, "Component", "StaticModelGroup");
  6472. RegisterSubclass<Animatable, StaticModelGroup>(engine, "Animatable", "StaticModelGroup");
  6473. RegisterSubclass<Serializable, StaticModelGroup>(engine, "Serializable", "StaticModelGroup");
  6474. RegisterSubclass<Object, StaticModelGroup>(engine, "Object", "StaticModelGroup");
  6475. RegisterSubclass<RefCounted, StaticModelGroup>(engine, "RefCounted", "StaticModelGroup");
  6476. RegisterMembers_StaticModelGroup<StaticModelGroup>(engine, "StaticModelGroup");
  6477. #ifdef REGISTER_CLASS_MANUAL_PART_StaticModelGroup
  6478. REGISTER_CLASS_MANUAL_PART_StaticModelGroup();
  6479. #endif
  6480. }
  6481. // explicit View3D::View3D(Context* context)
  6482. static View3D* View3D__View3D_Contextstar()
  6483. {
  6484. Context* context = GetScriptContext();
  6485. return new View3D(context);
  6486. }
  6487. // class View3D | File: ../UI/View3D.h
  6488. static void Register_View3D(asIScriptEngine* engine)
  6489. {
  6490. // explicit View3D::View3D(Context* context)
  6491. engine->RegisterObjectBehaviour("View3D", asBEHAVE_FACTORY, "View3D@+ f()", AS_FUNCTION(View3D__View3D_Contextstar) , AS_CALL_CDECL);
  6492. RegisterSubclass<Window, View3D>(engine, "Window", "View3D");
  6493. RegisterSubclass<BorderImage, View3D>(engine, "BorderImage", "View3D");
  6494. RegisterSubclass<UIElement, View3D>(engine, "UIElement", "View3D");
  6495. RegisterSubclass<Animatable, View3D>(engine, "Animatable", "View3D");
  6496. RegisterSubclass<Serializable, View3D>(engine, "Serializable", "View3D");
  6497. RegisterSubclass<Object, View3D>(engine, "Object", "View3D");
  6498. RegisterSubclass<RefCounted, View3D>(engine, "RefCounted", "View3D");
  6499. RegisterMembers_View3D<View3D>(engine, "View3D");
  6500. #ifdef REGISTER_CLASS_MANUAL_PART_View3D
  6501. REGISTER_CLASS_MANUAL_PART_View3D();
  6502. #endif
  6503. }
  6504. #ifdef URHO3D_URHO2D
  6505. // explicit ParticleEmitter2D::ParticleEmitter2D(Context* context)
  6506. static ParticleEmitter2D* ParticleEmitter2D__ParticleEmitter2D_Contextstar()
  6507. {
  6508. Context* context = GetScriptContext();
  6509. return new ParticleEmitter2D(context);
  6510. }
  6511. // class ParticleEmitter2D | File: ../Urho2D/ParticleEmitter2D.h
  6512. static void Register_ParticleEmitter2D(asIScriptEngine* engine)
  6513. {
  6514. // explicit ParticleEmitter2D::ParticleEmitter2D(Context* context)
  6515. engine->RegisterObjectBehaviour("ParticleEmitter2D", asBEHAVE_FACTORY, "ParticleEmitter2D@+ f()", AS_FUNCTION(ParticleEmitter2D__ParticleEmitter2D_Contextstar) , AS_CALL_CDECL);
  6516. RegisterSubclass<Drawable2D, ParticleEmitter2D>(engine, "Drawable2D", "ParticleEmitter2D");
  6517. RegisterSubclass<Drawable, ParticleEmitter2D>(engine, "Drawable", "ParticleEmitter2D");
  6518. RegisterSubclass<Component, ParticleEmitter2D>(engine, "Component", "ParticleEmitter2D");
  6519. RegisterSubclass<Animatable, ParticleEmitter2D>(engine, "Animatable", "ParticleEmitter2D");
  6520. RegisterSubclass<Serializable, ParticleEmitter2D>(engine, "Serializable", "ParticleEmitter2D");
  6521. RegisterSubclass<Object, ParticleEmitter2D>(engine, "Object", "ParticleEmitter2D");
  6522. RegisterSubclass<RefCounted, ParticleEmitter2D>(engine, "RefCounted", "ParticleEmitter2D");
  6523. RegisterMembers_ParticleEmitter2D<ParticleEmitter2D>(engine, "ParticleEmitter2D");
  6524. #ifdef REGISTER_CLASS_MANUAL_PART_ParticleEmitter2D
  6525. REGISTER_CLASS_MANUAL_PART_ParticleEmitter2D();
  6526. #endif
  6527. }
  6528. // explicit StaticSprite2D::StaticSprite2D(Context* context)
  6529. static StaticSprite2D* StaticSprite2D__StaticSprite2D_Contextstar()
  6530. {
  6531. Context* context = GetScriptContext();
  6532. return new StaticSprite2D(context);
  6533. }
  6534. // class StaticSprite2D | File: ../Urho2D/StaticSprite2D.h
  6535. static void Register_StaticSprite2D(asIScriptEngine* engine)
  6536. {
  6537. // explicit StaticSprite2D::StaticSprite2D(Context* context)
  6538. engine->RegisterObjectBehaviour("StaticSprite2D", asBEHAVE_FACTORY, "StaticSprite2D@+ f()", AS_FUNCTION(StaticSprite2D__StaticSprite2D_Contextstar) , AS_CALL_CDECL);
  6539. RegisterSubclass<Drawable2D, StaticSprite2D>(engine, "Drawable2D", "StaticSprite2D");
  6540. RegisterSubclass<Drawable, StaticSprite2D>(engine, "Drawable", "StaticSprite2D");
  6541. RegisterSubclass<Component, StaticSprite2D>(engine, "Component", "StaticSprite2D");
  6542. RegisterSubclass<Animatable, StaticSprite2D>(engine, "Animatable", "StaticSprite2D");
  6543. RegisterSubclass<Serializable, StaticSprite2D>(engine, "Serializable", "StaticSprite2D");
  6544. RegisterSubclass<Object, StaticSprite2D>(engine, "Object", "StaticSprite2D");
  6545. RegisterSubclass<RefCounted, StaticSprite2D>(engine, "RefCounted", "StaticSprite2D");
  6546. RegisterMembers_StaticSprite2D<StaticSprite2D>(engine, "StaticSprite2D");
  6547. #ifdef REGISTER_CLASS_MANUAL_PART_StaticSprite2D
  6548. REGISTER_CLASS_MANUAL_PART_StaticSprite2D();
  6549. #endif
  6550. }
  6551. #endif // def URHO3D_URHO2D
  6552. // explicit DropDownList::DropDownList(Context* context)
  6553. static DropDownList* DropDownList__DropDownList_Contextstar()
  6554. {
  6555. Context* context = GetScriptContext();
  6556. return new DropDownList(context);
  6557. }
  6558. // class DropDownList | File: ../UI/DropDownList.h
  6559. static void Register_DropDownList(asIScriptEngine* engine)
  6560. {
  6561. // explicit DropDownList::DropDownList(Context* context)
  6562. engine->RegisterObjectBehaviour("DropDownList", asBEHAVE_FACTORY, "DropDownList@+ f()", AS_FUNCTION(DropDownList__DropDownList_Contextstar) , AS_CALL_CDECL);
  6563. RegisterSubclass<Menu, DropDownList>(engine, "Menu", "DropDownList");
  6564. RegisterSubclass<Button, DropDownList>(engine, "Button", "DropDownList");
  6565. RegisterSubclass<BorderImage, DropDownList>(engine, "BorderImage", "DropDownList");
  6566. RegisterSubclass<UIElement, DropDownList>(engine, "UIElement", "DropDownList");
  6567. RegisterSubclass<Animatable, DropDownList>(engine, "Animatable", "DropDownList");
  6568. RegisterSubclass<Serializable, DropDownList>(engine, "Serializable", "DropDownList");
  6569. RegisterSubclass<Object, DropDownList>(engine, "Object", "DropDownList");
  6570. RegisterSubclass<RefCounted, DropDownList>(engine, "RefCounted", "DropDownList");
  6571. RegisterMembers_DropDownList<DropDownList>(engine, "DropDownList");
  6572. #ifdef REGISTER_CLASS_MANUAL_PART_DropDownList
  6573. REGISTER_CLASS_MANUAL_PART_DropDownList();
  6574. #endif
  6575. }
  6576. #ifdef URHO3D_URHO2D
  6577. // explicit AnimatedSprite2D::AnimatedSprite2D(Context* context)
  6578. static AnimatedSprite2D* AnimatedSprite2D__AnimatedSprite2D_Contextstar()
  6579. {
  6580. Context* context = GetScriptContext();
  6581. return new AnimatedSprite2D(context);
  6582. }
  6583. // class AnimatedSprite2D | File: ../Urho2D/AnimatedSprite2D.h
  6584. static void Register_AnimatedSprite2D(asIScriptEngine* engine)
  6585. {
  6586. // explicit AnimatedSprite2D::AnimatedSprite2D(Context* context)
  6587. engine->RegisterObjectBehaviour("AnimatedSprite2D", asBEHAVE_FACTORY, "AnimatedSprite2D@+ f()", AS_FUNCTION(AnimatedSprite2D__AnimatedSprite2D_Contextstar) , AS_CALL_CDECL);
  6588. RegisterSubclass<StaticSprite2D, AnimatedSprite2D>(engine, "StaticSprite2D", "AnimatedSprite2D");
  6589. RegisterSubclass<Drawable2D, AnimatedSprite2D>(engine, "Drawable2D", "AnimatedSprite2D");
  6590. RegisterSubclass<Drawable, AnimatedSprite2D>(engine, "Drawable", "AnimatedSprite2D");
  6591. RegisterSubclass<Component, AnimatedSprite2D>(engine, "Component", "AnimatedSprite2D");
  6592. RegisterSubclass<Animatable, AnimatedSprite2D>(engine, "Animatable", "AnimatedSprite2D");
  6593. RegisterSubclass<Serializable, AnimatedSprite2D>(engine, "Serializable", "AnimatedSprite2D");
  6594. RegisterSubclass<Object, AnimatedSprite2D>(engine, "Object", "AnimatedSprite2D");
  6595. RegisterSubclass<RefCounted, AnimatedSprite2D>(engine, "RefCounted", "AnimatedSprite2D");
  6596. RegisterMembers_AnimatedSprite2D<AnimatedSprite2D>(engine, "AnimatedSprite2D");
  6597. #ifdef REGISTER_CLASS_MANUAL_PART_AnimatedSprite2D
  6598. REGISTER_CLASS_MANUAL_PART_AnimatedSprite2D();
  6599. #endif
  6600. }
  6601. // explicit StretchableSprite2D::StretchableSprite2D(Context* context)
  6602. static StretchableSprite2D* StretchableSprite2D__StretchableSprite2D_Contextstar()
  6603. {
  6604. Context* context = GetScriptContext();
  6605. return new StretchableSprite2D(context);
  6606. }
  6607. // class StretchableSprite2D | File: ../Urho2D/StretchableSprite2D.h
  6608. static void Register_StretchableSprite2D(asIScriptEngine* engine)
  6609. {
  6610. // explicit StretchableSprite2D::StretchableSprite2D(Context* context)
  6611. engine->RegisterObjectBehaviour("StretchableSprite2D", asBEHAVE_FACTORY, "StretchableSprite2D@+ f()", AS_FUNCTION(StretchableSprite2D__StretchableSprite2D_Contextstar) , AS_CALL_CDECL);
  6612. RegisterSubclass<StaticSprite2D, StretchableSprite2D>(engine, "StaticSprite2D", "StretchableSprite2D");
  6613. RegisterSubclass<Drawable2D, StretchableSprite2D>(engine, "Drawable2D", "StretchableSprite2D");
  6614. RegisterSubclass<Drawable, StretchableSprite2D>(engine, "Drawable", "StretchableSprite2D");
  6615. RegisterSubclass<Component, StretchableSprite2D>(engine, "Component", "StretchableSprite2D");
  6616. RegisterSubclass<Animatable, StretchableSprite2D>(engine, "Animatable", "StretchableSprite2D");
  6617. RegisterSubclass<Serializable, StretchableSprite2D>(engine, "Serializable", "StretchableSprite2D");
  6618. RegisterSubclass<Object, StretchableSprite2D>(engine, "Object", "StretchableSprite2D");
  6619. RegisterSubclass<RefCounted, StretchableSprite2D>(engine, "RefCounted", "StretchableSprite2D");
  6620. RegisterMembers_StretchableSprite2D<StretchableSprite2D>(engine, "StretchableSprite2D");
  6621. #ifdef REGISTER_CLASS_MANUAL_PART_StretchableSprite2D
  6622. REGISTER_CLASS_MANUAL_PART_StretchableSprite2D();
  6623. #endif
  6624. }
  6625. #endif // def URHO3D_URHO2D
  6626. void ASRegisterGeneratedClasses(asIScriptEngine* engine)
  6627. {
  6628. Register_AnimationControl(engine);
  6629. Register_AnimationKeyFrame(engine);
  6630. Register_AnimationStateTrack(engine);
  6631. Register_AnimationTrack(engine);
  6632. Register_AnimationTriggerPoint(engine);
  6633. Register_AreaAllocator(engine);
  6634. Register_AsyncProgress(engine);
  6635. Register_AttributeInfo(engine);
  6636. Register_BackgroundLoadItem(engine);
  6637. Register_Batch(engine);
  6638. Register_BatchGroupKey(engine);
  6639. Register_BatchQueue(engine);
  6640. Register_BiasParameters(engine);
  6641. Register_BigInt(engine);
  6642. Register_Billboard(engine);
  6643. Register_Bone(engine);
  6644. Register_BoundingBox(engine);
  6645. Register_CascadeParameters(engine);
  6646. Register_CharLocation(engine);
  6647. Register_Color(engine);
  6648. Register_ColorFrame(engine);
  6649. Register_CompressedLevel(engine);
  6650. Register_Condition(engine);
  6651. Register_Controls(engine);
  6652. Register_CursorShapeInfo(engine);
  6653. Register_CustomGeometryVertex(engine);
  6654. Register_DebugLine(engine);
  6655. Register_DebugTriangle(engine);
  6656. Register_Decal(engine);
  6657. Register_DecalVertex(engine);
  6658. Register_DepthValue(engine);
  6659. Register_Deserializer(engine);
  6660. Register_DirtyBits(engine);
  6661. Register_FileSelectorEntry(engine);
  6662. Register_FocusParameters(engine);
  6663. Register_FontGlyph(engine);
  6664. Register_FrameInfo(engine);
  6665. Register_Frustum(engine);
  6666. Register_GPUObject(engine);
  6667. Register_GeometryDesc(engine);
  6668. Register_HashBase(engine);
  6669. Register_HashIteratorBase(engine);
  6670. Register_HashNodeBase(engine);
  6671. Register_HiresTimer(engine);
  6672. Register_IndexBufferDesc(engine);
  6673. Register_InstanceData(engine);
  6674. Register_IntRect(engine);
  6675. Register_IntVector2(engine);
  6676. Register_IntVector3(engine);
  6677. Register_JSONValue(engine);
  6678. Register_JoystickState(engine);
  6679. Register_LightBatchQueue(engine);
  6680. Register_LightQueryResult(engine);
  6681. Register_LinkedListNode(engine);
  6682. Register_ListBase(engine);
  6683. Register_ListIteratorBase(engine);
  6684. Register_ListNodeBase(engine);
  6685. Register_MaterialShaderParameter(engine);
  6686. Register_Matrix2(engine);
  6687. Register_Matrix3(engine);
  6688. Register_Matrix3x4(engine);
  6689. Register_Matrix4(engine);
  6690. Register_ModelMorph(engine);
  6691. Register_Mutex(engine);
  6692. Register_MutexLock(engine);
  6693. Register_NetworkState(engine);
  6694. Register_NodeImpl(engine);
  6695. Register_OcclusionBatch(engine);
  6696. Register_OcclusionBufferData(engine);
  6697. Register_OctreeQueryResult(engine);
  6698. Register_PackageEntry(engine);
  6699. Register_Particle(engine);
  6700. Register_PerThreadSceneResult(engine);
  6701. Register_Plane(engine);
  6702. Register_Polyhedron(engine);
  6703. Register_Quaternion(engine);
  6704. Register_Ray(engine);
  6705. Register_RayQueryResult(engine);
  6706. Register_Rect(engine);
  6707. Register_RefCount(engine);
  6708. Register_RefCounted(engine);
  6709. Register_RenderPathCommand(engine);
  6710. Register_RenderTargetInfo(engine);
  6711. Register_ReplicationState(engine);
  6712. Register_ResourceGroup(engine);
  6713. Register_ResourceRef(engine);
  6714. Register_ResourceRefList(engine);
  6715. Register_ScenePassInfo(engine);
  6716. Register_SceneResolver(engine);
  6717. Register_ScratchBuffer(engine);
  6718. Register_ScreenModeParams(engine);
  6719. Register_Serializer(engine);
  6720. Register_ShaderParameter(engine);
  6721. Register_ShadowBatchQueue(engine);
  6722. Register_Skeleton(engine);
  6723. Register_SourceBatch(engine);
  6724. Register_Sphere(engine);
  6725. Register_Spline(engine);
  6726. Register_StaticModelGeometryData(engine);
  6727. Register_StoredLogMessage(engine);
  6728. Register_String(engine);
  6729. Register_StringHash(engine);
  6730. Register_StringHashRegister(engine);
  6731. Register_TechniqueEntry(engine);
  6732. Register_TextureFrame(engine);
  6733. Register_Timer(engine);
  6734. Register_TouchState(engine);
  6735. Register_TrailPoint(engine);
  6736. Register_UIBatch(engine);
  6737. Register_VAnimEventFrame(engine);
  6738. Register_VAnimKeyFrame(engine);
  6739. Register_Variant(engine);
  6740. Register_Vector2(engine);
  6741. Register_Vector3(engine);
  6742. Register_Vector4(engine);
  6743. Register_VectorBase(engine);
  6744. Register_VertexBufferDesc(engine);
  6745. Register_VertexBufferMorph(engine);
  6746. Register_VertexElement(engine);
  6747. Register_WindowModeParams(engine);
  6748. Register_XMLElement(engine);
  6749. Register_XPathQuery(engine);
  6750. Register_XPathResultSet(engine);
  6751. #ifdef URHO3D_NAVIGATION
  6752. Register_CrowdObstacleAvoidanceParams(engine);
  6753. Register_NavAreaStub(engine);
  6754. Register_NavBuildData(engine);
  6755. Register_NavigationGeometryInfo(engine);
  6756. Register_NavigationPathPoint(engine);
  6757. #endif
  6758. #ifdef URHO3D_NETWORK
  6759. Register_PackageDownload(engine);
  6760. Register_PackageUpload(engine);
  6761. Register_RemoteEvent(engine);
  6762. #endif
  6763. #ifdef URHO3D_PHYSICS
  6764. Register_DelayedWorldTransform(engine);
  6765. Register_ManifoldPair(engine);
  6766. Register_PhysicsRaycastResult(engine);
  6767. Register_PhysicsWorldConfig(engine);
  6768. #endif
  6769. #ifdef URHO3D_PHYSICS2D
  6770. Register_DelayedWorldTransform2D(engine);
  6771. Register_PhysicsRaycastResult2D(engine);
  6772. #endif
  6773. #ifdef URHO3D_URHO2D
  6774. Register_Particle2D(engine);
  6775. Register_SourceBatch2D(engine);
  6776. Register_TileMapInfo2D(engine);
  6777. Register_Vertex2D(engine);
  6778. #endif
  6779. Register_AnimationState(engine);
  6780. Register_AttributeAccessor(engine);
  6781. Register_BatchGroup(engine);
  6782. Register_ComponentReplicationState(engine);
  6783. Register_Context(engine);
  6784. Register_EventReceiverGroup(engine);
  6785. Register_FontFace(engine);
  6786. Register_NodeReplicationState(engine);
  6787. Register_Object(engine);
  6788. Register_ObjectFactory(engine);
  6789. Register_Pass(engine);
  6790. Register_RenderPath(engine);
  6791. Register_RenderSurface(engine);
  6792. Register_SceneReplicationState(engine);
  6793. Register_ShaderVariation(engine);
  6794. Register_SoundStream(engine);
  6795. Register_ValueAnimationInfo(engine);
  6796. #ifdef URHO3D_NAVIGATION
  6797. Register_SimpleNavBuildData(engine);
  6798. #endif
  6799. #ifdef URHO3D_NETWORK
  6800. Register_HttpRequest(engine);
  6801. #endif
  6802. #ifdef URHO3D_PHYSICS
  6803. Register_CollisionGeometryData(engine);
  6804. #endif
  6805. #ifdef URHO3D_URHO2D
  6806. Register_PropertySet2D(engine);
  6807. Register_Tile2D(engine);
  6808. Register_TileMapObject2D(engine);
  6809. Register_TmxLayer2D(engine);
  6810. #endif
  6811. Register_AttributeAnimationInfo(engine);
  6812. Register_Audio(engine);
  6813. Register_BufferedSoundStream(engine);
  6814. Register_Console(engine);
  6815. Register_ConstantBuffer(engine);
  6816. Register_DebugHud(engine);
  6817. Register_Engine(engine);
  6818. Register_File(engine);
  6819. Register_FileSelector(engine);
  6820. Register_FileSystem(engine);
  6821. Register_FileWatcher(engine);
  6822. Register_FontFaceBitmap(engine);
  6823. Register_FontFaceFreeType(engine);
  6824. Register_Geometry(engine);
  6825. Register_Graphics(engine);
  6826. Register_IndexBuffer(engine);
  6827. Register_Input(engine);
  6828. Register_Localization(engine);
  6829. Register_Log(engine);
  6830. Register_MessageBox(engine);
  6831. Register_NamedPipe(engine);
  6832. Register_OcclusionBuffer(engine);
  6833. Register_OggVorbisSoundStream(engine);
  6834. Register_PackageFile(engine);
  6835. Register_Profiler(engine);
  6836. Register_Renderer(engine);
  6837. Register_Resource(engine);
  6838. Register_ResourceCache(engine);
  6839. Register_Serializable(engine);
  6840. Register_ShaderParameterAnimationInfo(engine);
  6841. Register_ShaderPrecache(engine);
  6842. Register_Time(engine);
  6843. Register_UI(engine);
  6844. Register_VectorBuffer(engine);
  6845. Register_VertexBuffer(engine);
  6846. Register_View(engine);
  6847. Register_Viewport(engine);
  6848. Register_WorkQueue(engine);
  6849. #ifdef URHO3D_DATABASE
  6850. Register_Database(engine);
  6851. #endif
  6852. #ifdef URHO3D_NETWORK
  6853. Register_Connection(engine);
  6854. Register_Network(engine);
  6855. #endif
  6856. #ifdef URHO3D_PHYSICS
  6857. Register_ConvexData(engine);
  6858. Register_GImpactMeshData(engine);
  6859. Register_HeightfieldData(engine);
  6860. Register_TriangleMeshData(engine);
  6861. #endif
  6862. #ifdef URHO3D_URHO2D
  6863. Register_TmxImageLayer2D(engine);
  6864. Register_TmxObjectGroup2D(engine);
  6865. Register_TmxTileLayer2D(engine);
  6866. #endif
  6867. Register_Animatable(engine);
  6868. Register_EventProfiler(engine);
  6869. Register_Font(engine);
  6870. Register_Image(engine);
  6871. Register_JSONFile(engine);
  6872. Register_Material(engine);
  6873. Register_ObjectAnimation(engine);
  6874. Register_ParticleEffect(engine);
  6875. Register_ResourceWithMetadata(engine);
  6876. Register_Shader(engine);
  6877. Register_Technique(engine);
  6878. Register_ValueAnimation(engine);
  6879. Register_XMLFile(engine);
  6880. #ifdef URHO3D_URHO2D
  6881. Register_AnimationSet2D(engine);
  6882. Register_ParticleEffect2D(engine);
  6883. Register_Sprite2D(engine);
  6884. Register_SpriteSheet2D(engine);
  6885. Register_TmxFile2D(engine);
  6886. #endif
  6887. Register_Animation(engine);
  6888. Register_Component(engine);
  6889. Register_Model(engine);
  6890. Register_Node(engine);
  6891. Register_Sound(engine);
  6892. Register_Texture(engine);
  6893. Register_UIElement(engine);
  6894. Register_AnimationController(engine);
  6895. Register_BorderImage(engine);
  6896. Register_Camera(engine);
  6897. Register_DebugRenderer(engine);
  6898. Register_Drawable(engine);
  6899. Register_LogicComponent(engine);
  6900. Register_Octree(engine);
  6901. Register_Scene(engine);
  6902. Register_ScrollView(engine);
  6903. Register_SmoothedTransform(engine);
  6904. Register_SoundListener(engine);
  6905. Register_SoundSource(engine);
  6906. Register_SplinePath(engine);
  6907. Register_Sprite(engine);
  6908. Register_Terrain(engine);
  6909. Register_Texture2D(engine);
  6910. Register_Texture2DArray(engine);
  6911. Register_Texture3D(engine);
  6912. Register_TextureCube(engine);
  6913. Register_ToolTip(engine);
  6914. Register_UIComponent(engine);
  6915. Register_UISelectable(engine);
  6916. Register_UnknownComponent(engine);
  6917. #ifdef URHO3D_IK
  6918. Register_IKConstraint(engine);
  6919. Register_IKEffector(engine);
  6920. Register_IKSolver(engine);
  6921. #endif
  6922. #ifdef URHO3D_NAVIGATION
  6923. Register_CrowdAgent(engine);
  6924. Register_CrowdManager(engine);
  6925. Register_NavArea(engine);
  6926. Register_Navigable(engine);
  6927. Register_NavigationMesh(engine);
  6928. Register_Obstacle(engine);
  6929. Register_OffMeshConnection(engine);
  6930. #endif
  6931. #ifdef URHO3D_NETWORK
  6932. Register_NetworkPriority(engine);
  6933. #endif
  6934. #ifdef URHO3D_PHYSICS
  6935. Register_CollisionShape(engine);
  6936. Register_Constraint(engine);
  6937. Register_PhysicsWorld(engine);
  6938. Register_RigidBody(engine);
  6939. #endif
  6940. #ifdef URHO3D_PHYSICS2D
  6941. Register_CollisionShape2D(engine);
  6942. Register_Constraint2D(engine);
  6943. Register_PhysicsWorld2D(engine);
  6944. Register_RigidBody2D(engine);
  6945. #endif
  6946. #ifdef URHO3D_URHO2D
  6947. Register_TileMap2D(engine);
  6948. Register_TileMapLayer2D(engine);
  6949. #endif
  6950. Register_BillboardSet(engine);
  6951. Register_Button(engine);
  6952. Register_CheckBox(engine);
  6953. Register_Cursor(engine);
  6954. Register_CustomGeometry(engine);
  6955. Register_DecalSet(engine);
  6956. Register_Light(engine);
  6957. Register_LineEdit(engine);
  6958. Register_ListView(engine);
  6959. Register_ProgressBar(engine);
  6960. Register_RibbonTrail(engine);
  6961. Register_ScrollBar(engine);
  6962. Register_Slider(engine);
  6963. Register_SoundSource3D(engine);
  6964. Register_StaticModel(engine);
  6965. Register_TerrainPatch(engine);
  6966. Register_Text(engine);
  6967. Register_Text3D(engine);
  6968. Register_Window(engine);
  6969. Register_Zone(engine);
  6970. #ifdef URHO3D_NAVIGATION
  6971. Register_DynamicNavigationMesh(engine);
  6972. #endif
  6973. #ifdef URHO3D_PHYSICS
  6974. Register_RaycastVehicle(engine);
  6975. #endif
  6976. #ifdef URHO3D_PHYSICS2D
  6977. Register_CollisionBox2D(engine);
  6978. Register_CollisionChain2D(engine);
  6979. Register_CollisionCircle2D(engine);
  6980. Register_CollisionEdge2D(engine);
  6981. Register_CollisionPolygon2D(engine);
  6982. Register_ConstraintDistance2D(engine);
  6983. Register_ConstraintFriction2D(engine);
  6984. Register_ConstraintGear2D(engine);
  6985. Register_ConstraintMotor2D(engine);
  6986. Register_ConstraintMouse2D(engine);
  6987. Register_ConstraintPrismatic2D(engine);
  6988. Register_ConstraintPulley2D(engine);
  6989. Register_ConstraintRevolute2D(engine);
  6990. Register_ConstraintWeld2D(engine);
  6991. Register_ConstraintWheel2D(engine);
  6992. #endif
  6993. #ifdef URHO3D_URHO2D
  6994. Register_Drawable2D(engine);
  6995. Register_Renderer2D(engine);
  6996. #endif
  6997. Register_AnimatedModel(engine);
  6998. Register_Menu(engine);
  6999. Register_ParticleEmitter(engine);
  7000. Register_Skybox(engine);
  7001. Register_StaticModelGroup(engine);
  7002. Register_View3D(engine);
  7003. #ifdef URHO3D_URHO2D
  7004. Register_ParticleEmitter2D(engine);
  7005. Register_StaticSprite2D(engine);
  7006. #endif
  7007. Register_DropDownList(engine);
  7008. #ifdef URHO3D_URHO2D
  7009. Register_AnimatedSprite2D(engine);
  7010. Register_StretchableSprite2D(engine);
  7011. #endif
  7012. }
  7013. }