Generated_Classes.cpp 381 KB

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