src/main/resources/win32-x86/libowgameevents.dll
from libowgameevents.dllsrc/main/resources/win32-x86-64/libowgameevents.dll
from libowgameevents.dll
Repository: mavenCentral()
Dependency: io.github.lxgaming:overwolfgameevents:1.0.0
// 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();
OverwolfGameEvents is licensed under the Apache 2.0 license.