Skip to content

LXGaming/OverwolfGameEvents

Repository files navigation

OverwolfGameEvents

License

Natives

overwolf/game-events-sdk

API

Repository: mavenCentral()
Dependency: io.github.lxgaming:overwolfgameevents:1.0.0

Usage

// Create a key.
Key usernameKey = Key.of("username", 1024);

// Create a category and register keys.
Category playerCategory = Category.of("player", usernameKey);

// Create an overwolf instance and register categories.
Overwolf overwolf = Overwolf.of(1234, playerCategory);

// Connect to the Overwolf SDK.
overwolf.connect();

// Set the value of the key.
overwolf.set(usernameKey, "LX_Gaming");

// Trigger an event.
overwolf.triggerEvent(Event.of("event-name", "event-data"));

// Close the connection.
overwolf.disconnect();

License

OverwolfGameEvents is licensed under the Apache 2.0 license.

About

Unofficial Overwolf Game Events SDK Bindings for Java

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages