Skip to main content

overwolf.extensions.current.getExtraObject

Overwolf APIs / overwolf / overwolf / extensions / current / getExtraObject

function getExtraObject(
name: string,
callback: CallbackFunction<GetExtraObjectResult>,
): void;

Retrieves an extra object (providing external APIs) registered in the extension's manifest.

Parameters

ParameterTypeDescription
namestringThe name of the object as appears in the manifest.
callbackCallbackFunction<GetExtraObjectResult>A function called with the extra object, if found, and a status indicating success or failure.

Returns

void