// Ġ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 . Pool String Array Ċ import Ġgod ot . core . Transfer Context Ċ import Ġgod ot . core . Variant Array Ċ 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 . POOL _ STRING _ ARRAY Ċ import Ġgod ot . core . Variant Type . STRING Ċ import Ġgod ot . util . Void Ptr Ċ import Ġkotlin . Any Ċ import Ġkotlin . Boolean Ċ import Ġkotlin . NotImplemented Error Ċ import Ġkotlin . String Ċ import Ġkotlin . Suppress Ċ Ċ @ God ot BaseType Ċ open Ġclass ĠResource Pre loader Ġ: ĠNode () Ġ{ ĊĠ Ġoverride Ġfun Ġ__ new (): ĠVoid Ptr Ġ= ĠTransfer Context . invoke Constructor ( ENGINE CLASS _ RESOURCE PRE LOAD ER ) ĊĊĠ Ġopen Ġfun Ġ_ getResources (): ĠVariant Array < Any ?> Ġ{ ĊĠĠĠ Ġthrow ĠNotImplementedError ("_ get _ resources Ġis Ġnot Ġimplemented Ġfor ĠResource Pre loader ") ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġ_ set Resources ( arg 0 : ĠVariant Array < Any ?> ) Ġ{ ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġadd Resource ( name : ĠString , Ġresource : ĠResource ) Ġ{ ĊĠĠĠ ĠTransfer Context . write Arguments ( STRING Ġto Ġname , ĠOBJECT Ġto Ġresource ) ĊĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE PRE LOAD ER _ ADD _ RESOURCE , ĠNIL ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun ĠgetResource ( name : ĠString ): ĠResource ? Ġ{ ĊĠĠĠ ĠTransfer Context . write Arguments ( STRING Ġto Ġname ) ĊĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE PRE LOAD ER _ GET _ RESOURCE , ĊĠĠĠĠĠĠĠ ĠOBJECT ) ĊĠĠĠ Ġreturn ĠTransfer Context . read ReturnValue ( OBJECT , Ġtrue ) Ġas ĠResource ? ĊĠ Ġ} ĊĊĠ Ġopen Ġfun ĠgetResource List (): ĠPool String Array Ġ{ ĊĠĠĠ ĠTransfer Context . write Arguments () ĊĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE PRE LOAD ER _ GET _ RESOURCE _ LIST , ĊĠĠĠĠĠĠĠ ĠPO OL _ STRING _ ARRAY ) ĊĠĠĠ Ġreturn ĠTransfer Context . read ReturnValue ( POOL _ STRING _ ARRAY , Ġfalse ) Ġas ĠPool String Array ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġhas Resource ( name : ĠString ): ĠBoolean Ġ{ ĊĠĠĠ ĠTransfer Context . write Arguments ( STRING Ġto Ġname ) ĊĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE PRE LOAD ER _ HAS _ RESOURCE , ĊĠĠĠĠĠĠĠ ĠBOOL ) ĊĠĠĠ Ġreturn ĠTransfer Context . read ReturnValue ( BOOL , Ġfalse ) Ġas ĠBoolean ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġremove Resource ( name : ĠString ) Ġ{ ĊĠĠĠ ĠTransfer Context . write Arguments ( STRING Ġto Ġname ) ĊĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE PRE LOAD ER _ REMOVE _ RESOURCE , ĊĠĠĠĠĠĠĠ ĠNIL ) ĊĠ Ġ} ĊĊĠ Ġopen Ġfun Ġrename Resource ( name : ĠString , Ġnew name : ĠString ) Ġ{ ĊĠĠĠ ĠTransfer Context . write Arguments ( STRING Ġto Ġname , ĠSTRING Ġto Ġnew name ) ĊĠĠĠ ĠTransfer Context . call Method ( raw Ptr , ĠENGINE METHOD _ ENGINE CLASS _ RESOURCE PRE LOAD ER _ RE NAME _ RESOURCE , ĊĠĠĠĠĠĠĠ ĠNIL ) ĊĠ Ġ} Ċ } Ċ