Overwolf

Overwolf

  • Getting Started
  • Docs
  • API
  • Status
  • Download
  • Changelog
  • Blog
  • Q&A
  • Support

›overwolf.extensions

API Reference

  • Overview
  • Changelog
  • manifest.json

Available Game Events

  • Games IDs
  • Apex Legends
  • CS:GO
  • Dota 2
  • Dota Underlords
  • Fortnite
  • Heartstone
  • Heroes of the Storm
  • Legends of Runeterra
  • League of Legends
  • MTG Arena
  • PUBG
  • Rainbow Six Siege
  • Rocket League
  • Splitgate: Arena Warfare
  • Teamfight Tactics
  • World of Tanks
  • World of Warships
  • Various External APIs

Launcher IDs

  • Launchers IDs
  • LOL Launcher

overwolf.benchmarking

  • overwolf.benchmarking

overwolf.extensions

  • overwolf.extensions
  • overwolf.extensions.current
  • overwolf.extensions.sharedData

overwolf.games

  • overwolf.games
  • overwolf.games.events
  • overwolf.games.inputTracking
  • overwolf.games.launchers
  • overwolf.games.launchers.events

overwolf.io

  • overwolf.io
  • overwolf.io.paths

overwolf.log

  • overwolf.log

overwolf.logitech

  • overwolf.logitech
  • overwolf.logitech.arx
  • overwolf.logitech.led

overwolf.media

  • overwolf.media
  • overwolf.media.audio
  • overwolf.media.replays
  • overwolf.media.videos

overwolf.os

  • overwolf.os
  • overwolf.os.tray

overwolf.profile

  • overwolf.profile
  • overwolf.profile.subscriptions

overwolf.settings

  • overwolf.settings
  • overwolf.settings.games

overwolf.social

  • overwolf.social
  • overwolf.social.reddit
  • overwolf.social.youtube
  • overwolf.social.discord
  • overwolf.social.gfycat
  • overwolf.social.twitter

overwolf.streaming

  • overwolf.streaming

overwolf.tobii

  • overwolf.tobii

overwolf.utils

  • overwolf.utils

overwolf.web

  • overwolf.web
  • overwolf.web.webserver
  • overwolf.web.websocket

overwolf.windows

  • overwolf.windows
  • overwolf.windows.mediaPlayerElement
Edit

overwolf.extensions.sharedData API

A set of APIs to allow independent extensions to communicate with each other.

Methods Reference

  • overwolf.extensions.sharedData.set()
  • overwolf.extensions.sharedData.get()

Events Reference

  • overwolf.extensionss.sharedData.OnChanged

Types Reference

  • overwolf.extensions.sharedData.SharedDataParams Object
  • GetResult Object
  • onChangedEvent Object

set(string appId, object value, callback)

Version added: 0.137

Used by the owner app to set data for the consumer app, by appId.

This function is one part of the service providing app to communicate with the consumer apps. for instance, Game Summary hosts GPO app in a tab. Game Summary is the owner, GPO is the cosumer.

ParameterTypeDescription
appIdstringThe requested app id
valueobject
callback(Result: GetResult) => voida status indicating success or failure

get(SharedDataParams param, callback)

Version added: 0.137

Used by the consumer app to get data set by the owner app.

This function is one part of the service providing app to communicate with the consumer apps. for instance, Game Summary hosts GPO app in a tab. Game Summary is the owner, GPO is the cosumer.

ParameterTypeDescription
paramSharedDataParams object
callback(Result: GetResult) => voida status indicating success or failure

Usage examples

overwolf.extensions.sharedData.get(
    {origin:"nafihghfcpikebhfhdhljejkcifgbdahdhngepfb"},
    data => {
        // Process game enable state
        // See result callback format below
    }
);

overwolf.extensions.shareddata.get({},console.log) //retrun all data set to my self


overwolf.extensions.shareddata.get({origin:"*"},console.log) //return all data was set to my self


overwolf.extensions.shareddata.get({target:"fiekjlgoffmlmgfmggnoeoljkmfkcapcdmcgcfgm"},console.info) //retrun data i set to "fiekjlgoffmlmgfmggnoeoljkmfkcapcdmcgcfgm" (extension id)

onChanged

Version added: 0.137

Fired when the hosting app state changes, with the following structure: onChangedEvent Object

SharedDataParams Object

Version added: 0.137

Container that represent a shared data parameters.

ParameterTypeDescription
originstring
targetstring

GetResult Object

ParameterTypeDescription
successbooleanInherited from the "Result" Object
errorstringInherited from the "Result" Object
data<Dictionary> stringDictionary: An object that maps strings to values of type "T"

onChangedEvent Object

ParameterTypeDescription
originstring
targetstring
datastring

Event Data Example: Success

{
    "origin": string (uid),
    "target": string (uid),
    "data": string
}
Last updated on 2019-12-2 by eransharv
← overwolf.extensions.currentoverwolf.games →
  • Methods Reference
  • Events Reference
  • Types Reference
  • set(string appId, object value, callback)
  • get(SharedDataParams param, callback)
  • onChanged
  • SharedDataParams Object
  • GetResult Object
  • onChangedEvent Object
  • Legal
  • Terms overview
  • Developer's terms
  • App terms
  • Overwolf terms
  • Overwolf Privacy policy
  • Support
  • Questions and Answers
  • Discord
  • Slack
  • Facebook
  • Twitter
  • Documentation
  • Changelog
  • API
  • App Creation Process
  • Best Practices
  • Game Events status
  • Information
  • Careers
  • Fund
  • Developers Blog
  • Overwolf Appstore