// ĠTHIS ĠFILE ĠIS ĠGENERATED ! ĠDO ĠNOT ĠEDIT ĠIT ĠMAN U ALLY ! Ċ @ file : Suppress (" Package Directory Mismatch ", Ġ" unused ", Ġ" FunctionName ", Ġ" Red undant Modal ity Modifier ", ĊĠĠĠ Ġ" UN CHECK ED _ CAST ", Ġ" Join Declaration And Assignment ", Ġ" USE LESS _ CAST ", ĊĠĠĠ Ġ" Remove Red undant Qualifier Name ") Ċ Ċ package Ġgod ot Ċ Ċ import Ġgod ot . annotation . God ot BaseType Ċ import Ġgod ot . core . RID Ċ import Ġgod ot . core . Transfer Context Ċ import Ġgod ot . core . Variant Type . BOOL Ċ import Ġgod ot . core . Variant Type . NIL Ċ import Ġgod ot . core . Variant Type . OBJECT Ċ import Ġgod ot . core . Variant Type . STRING Ċ import Ġgod ot . core . Variant Type ._ RID Ċ import Ġgod ot . signals . Signal 0 Ċ import Ġgod ot . signals . signal Ċ import Ġgod ot . util . Void Ptr Ċ import Ġkotlin . Boolean Ċ import Ġkotlin . String Ċ import Ġkotlin . Suppress Ċ Ċ @ God ot BaseType Ċ open Ġclass ĠResource Ġ: ĠReference () Ġ{ ĊĠ Ġval Ġchanged : ĠSignal 0 Ġby Ġsignal () ĊĊĠ Ġopen Ġvar Ġresource Local To Scene : ĠBoolean ĊĠĠĠ Ġget () Ġ{ ĊĠĠĠĠĠ ĠTransfer Context . write Arguments () ĊĠĠĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĊĠĠĠĠĠĠĠĠĠ ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE _ GET _ RESOURCE _ LOCAL _ TO _ SC ENE , ĠBOOL ) ĊĠĠĠĠĠ Ġreturn ĠTransfer Context . read ReturnValue ( BOOL , Ġfalse ) Ġas ĠBoolean ĊĠĠĠ Ġ} ĊĠĠĠ Ġset ( value ) Ġ{ ĊĠĠĠĠĠ ĠTransfer Context . write Arguments ( BOOL Ġto Ġvalue ) ĊĠĠĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĊĠĠĠĠĠĠĠĠĠ ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE _ SET _ RESOURCE _ LOCAL _ TO _ SC ENE , ĠNIL ) ĊĠĠĠ Ġ} ĊĊĠ Ġopen Ġvar Ġresource Name : ĠString ĊĠĠĠ Ġget () Ġ{ ĊĠĠĠĠĠ ĠTransfer Context . write Arguments () ĊĠĠĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE _ GET _ RESOURCE _ NAME , ĊĠĠĠĠĠĠĠĠĠ ĠSTRING ) ĊĠĠĠĠĠ Ġreturn ĠTransfer Context . read ReturnValue ( STRING , Ġfalse ) Ġas ĠString ĊĠĠĠ Ġ} ĊĠĠĠ Ġset ( value ) Ġ{ ĊĠĠĠĠĠ ĠTransfer Context . write Arguments ( STRING Ġto Ġvalue ) ĊĠĠĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE _ SET _ RESOURCE _ NAME , ĠNIL ) ĊĠĠĠ Ġ} ĊĊĠ Ġopen Ġvar Ġresource Path : ĠString ĊĠĠĠ Ġget () Ġ{ ĊĠĠĠĠĠ ĠTransfer Context . write Arguments () ĊĠĠĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE _ GET _ RESOURCE _ PATH , ĊĠĠĠĠĠĠĠĠĠ ĠSTRING ) ĊĠĠĠĠĠ Ġreturn ĠTransfer Context . read ReturnValue ( STRING , Ġfalse ) Ġas ĠString ĊĠĠĠ Ġ} ĊĠĠĠ Ġset ( value ) Ġ{ ĊĠĠĠĠĠ ĠTransfer Context . write Arguments ( STRING Ġto Ġvalue ) ĊĠĠĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE _ SET _ RESOURCE _ PATH , ĠNIL ) ĊĠĠĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġ__ new (): ĠVoid Ptr Ġ= ĠTransfer Context . invoke Constructor ( ENGINE CLASS _ RESOURCE ) ĊĊĠ Ġopen Ġfun Ġ_ setup Local To Scene () Ġ{ ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġduplicate ( sub resources : ĠBoolean Ġ= Ġfalse ): ĠResource ? Ġ{ ĊĠĠĠ ĠTransfer Context . write Arguments ( BOOL Ġto Ġsub resources ) ĊĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE _ DUPLIC ATE , ĠOBJECT ) ĊĠĠĠ Ġreturn ĠTransfer Context . read ReturnValue ( OBJECT , Ġtrue ) Ġas ĠResource ? ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġget Local Scene (): ĠNode ? Ġ{ ĊĠĠĠ ĠTransfer Context . write Arguments () ĊĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE _ GET _ LOCAL _ SC ENE , ĠOBJECT ) ĊĠĠĠ Ġreturn ĠTransfer Context . read ReturnValue ( OBJECT , Ġtrue ) Ġas ĠNode ? ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġget R id (): ĠRID Ġ{ ĊĠĠĠ ĠTransfer Context . write Arguments () ĊĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE _ GET _ RID , Ġ_ RID ) ĊĠĠĠ Ġreturn ĠTransfer Context . read ReturnValue (_ RID , Ġfalse ) Ġas ĠRID ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġsetup Local To Scene () Ġ{ ĊĠĠĠ ĠTransfer Context . write Arguments () ĊĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE _ SETUP _ LOCAL _ TO _ SC ENE , ĠNIL ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġtake Over Path ( path : ĠString ) Ġ{ ĊĠĠĠ ĠTransfer Context . write Arguments ( STRING Ġto Ġpath ) ĊĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE _ TA KE _ OVER _ PATH , ĠNIL ) ĊĠ Ġ} Ċ } Ċ