REDNODE / GAME API

inkIGameController

abstract classnative name inkIWidgetControllernative

extends IScriptable › ISerializable

Extended by 1 type

worlduiIGameController

Properties 1

NameTypeFlags
audioMetadataNameCNameoverriding

Methods 43

native func AsyncSpawnFromExternal(spawnData: ref<inkAsyncSpawnData>, opt callbackObject: ref<IScriptable>, opt callbackFunctionName: CName) -> wref<inkAsyncSpawnRequest>
public final func AsyncSpawnFromExternal(parentWidget: wref<inkWidget>, resourcePath: ResRef, libraryID: CName, opt callbackObject: ref<IScriptable>, opt callbackFunctionName: CName, opt userData: ref<IScriptable>) -> wref<inkAsyncSpawnRequest>scripted
native func AsyncSpawnFromLocal(spawnData: ref<inkAsyncSpawnData>, opt callbackObject: ref<IScriptable>, opt callbackFunctionName: CName) -> wref<inkAsyncSpawnRequest>
public final func AsyncSpawnFromLocal(parentWidget: wref<inkWidget>, libraryID: CName, opt callbackObject: ref<IScriptable>, opt callbackFunctionName: CName, opt userData: ref<IScriptable>) -> wref<inkAsyncSpawnRequest>scripted
native func CallCustomCallback(eventName: CName)
protected final func CreateWidget(parentWidget: wref<inkWidget>, id: CName, path: ResRef) -> wref<inkWidget>scripted
protected final func CreateWidgetAsync(parentWidget: wref<inkWidget>, id: CName, opt path: ResRef, spawnData: ref<AsyncSpawnData>) -> wref<inkAsyncSpawnRequest>scripted
public final func FindLibraryID(widgetRecord: ref<WidgetDefinition_Record>, opt screenTypeRecord: ref<DeviceScreenType_Record>, opt styleRecord: ref<WidgetStyle_Record>, opt id: CName, opt path: ResRef) -> CNamescripted
public final func FindWidgetDataInLibrary(parentWidget: wref<inkWidget>, widgetRecord: ref<WidgetDefinition_Record>, opt screenTypeRecord: ref<DeviceScreenType_Record>, opt styleRecord: ref<WidgetStyle_Record>, opt id: CName, opt path: ResRef) -> SWidgetPackageBasescripted
public final func FindWidgetInLibrary(parentWidget: wref<inkWidget>, widgetRecord: ref<WidgetDefinition_Record>, opt screenTypeRecord: ref<DeviceScreenType_Record>, opt styleRecord: ref<WidgetStyle_Record>, opt id: CName, opt path: ResRef) -> wref<inkWidget>scripted
native func GetChildControllerByPath(widgetNamePath: CName) -> wref<inkLogicController>
native func GetChildWidgetByPath(widgetNamePath: CName) -> wref<inkWidget>
native func GetController(opt path: inkWidgetPath) -> wref<inkLogicController>
public final func GetController(widgetNamePath: CName) -> wref<inkLogicController>scripted
native func GetControllerByType(controllerType: CName, opt path: inkWidgetPath) -> wref<inkLogicController>
native func GetControllers(opt path: inkWidgetPath) -> array<wref<inkLogicController>>
native func GetControllersByType(controllerType: CName, opt path: inkWidgetPath) -> array<wref<inkLogicController>>
native func GetNumControllers(opt path: inkWidgetPath) -> Int32
native func GetNumControllersOfType(controllerType: CName, opt path: inkWidgetPath) -> Int32
native func GetRootCompoundWidget() -> wref<inkCompoundWidget>
native func GetRootWidget() -> wref<inkWidget>
native func GetSystemRequestsHandler() -> wref<inkISystemRequestsHandler>
native func GetWidget(path: inkWidgetPath) -> wref<inkWidget>
public final func GetWidget(widgetNamePath: CName) -> wref<inkWidget>scripted
native func HasExternalLibrary(resourcePath: ResRef, opt libraryID: CName) -> Bool
native func HasLocalLibrary(libraryID: CName) -> Bool
native func IsKeyboardConnected() -> Bool
native func PlayLibraryAnimation(animationName: CName, opt playbackOptions: inkAnimOptions) -> ref<inkAnimProxy>
native func PlayLibraryAnimationOnAutoSelectedTargets(animationName: CName, target: ref<inkWidget>, opt playbackOptions: inkAnimOptions) -> ref<inkAnimProxy>
native func PlayLibraryAnimationOnTargets(animationName: CName, targets: ref<inkWidgetsSet>, opt playbackOptions: inkAnimOptions) -> ref<inkAnimProxy>
native func QueueEvent(evt: ref<Event>)
private func ReadUICondition(condition: gamedataUICondition) -> Boolscripted
native func RegisterToCallback(eventName: CName, object: ref<IScriptable>, functionName: CName)
native func RegisterToGlobalInputCallback(eventName: CName, object: ref<IScriptable>, functionName: CName)
native func RequestProcessFitToViewport()
native func RequestSetFocus(widget: wref<inkWidget>)
public final func RequestWidgetFromLibrary(parentWidget: wref<inkWidget>, widgetRecord: ref<WidgetDefinition_Record>, opt screenTypeRecord: ref<DeviceScreenType_Record>, opt styleRecord: ref<WidgetStyle_Record>, opt id: CName, opt path: ResRef, spawnData: ref<AsyncSpawnData>) -> CNamescripted
public final func RequestWidgetFromLibraryById(parentWidget: wref<inkWidget>, id: CName, opt path: ResRef, spawnData: ref<AsyncSpawnData>, out asyncSpawnRequest: wref<inkAsyncSpawnRequest>) -> CNamescripted
public final func RequestWidgetFromLibraryByRecord(parentWidget: wref<inkWidget>, widgetRecord: ref<WidgetDefinition_Record>, opt screenTypeRecord: ref<DeviceScreenType_Record>, opt styleRecord: ref<WidgetStyle_Record>, spawnData: ref<AsyncSpawnData>, out asyncSpawnRequest: wref<inkAsyncSpawnRequest>) -> CNamescripted
native func SpawnFromExternal(parentWidget: wref<inkWidget>, resourcePath: ResRef, libraryID: CName) -> wref<inkWidget>
native func SpawnFromLocal(parentWidget: wref<inkWidget>, libraryID: CName) -> wref<inkWidget>
native func UnregisterFromCallback(eventName: CName, object: ref<IScriptable>, functionName: CName)
native func UnregisterFromGlobalInputCallback(eventName: CName, object: ref<IScriptable>, functionName: CName)