Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
Add new game Wuthering Waves
Browse files Browse the repository at this point in the history
  • Loading branch information
adircoh committed Jul 2, 2024
1 parent ab9ec90 commit ddde884
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/api/live-game-data/supported-games/hades2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,5 @@ Data Example:
Data Example:

```json
{"events":[{"name":"death","data":null}]}
{"events":[{"name":"death","data":null}]}
```
118 changes: 118 additions & 0 deletions pages/api/live-game-data/supported-games/wuthering_waves.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
---
id: wuthering_waves
image: "/img/embed/games/wuthering_waves.jpg"
title: Wuthering Waves Game events
hide_title: true
sidebar_label: Wuthering Waves
sidebar_position: 0
sidebar_custom_props:
tags:
overwolf_platform: true
electron_platform: true
---

<!-- GENERATED USING /scripts/generate.js -->

<head>
<meta name="keywords" content="API for Wuthering Waves, Wuthering Waves API, SDK for Wuthering Waves, Wuthering Waves SDK"/>
</head>

<GameInfo gameId={24300} page="docs" />

Please read the [overwolf.games.events](/api/live-game-data) documentation page to learn how to use Overwolf game events.

## Sample Apps
* [Wuthering Waves game events sample app](https://github.com/overwolf/events-sample-app)

## Available Features

* [gep_internal](#gep_internal)
* [game_info](#game_info)
* [match_info](#match_info)

## Game event status

It is highly recommended to communicate errors and warnings to app users.

Check the current game event status [here](/status/). Alternatively, you can easily check that status from your app itself, [using our API](/topics/using-events/how-to-check-events-status-from-app).

## `gep_internal`

### Info Updates

key | Category | Values | Notes | Since GEP Ver. |
------------ | ------------| ------------------------- | --------------------- | ------------- |
gep_internal | gep_internal| Local + Public version number|See [notes](#gep_internal-note)| 253.0 |

#### *gep_internal* note

Data Example:

```json
{"info":{"gep_internal":{"version_info":"{"local_version":"244.0.0","public_version":"244.0.0","is_updated":true}"}},"feature":"gep_internal"}
```

## `game_info`

### Info Updates

key | Category | Values | Notes | Since GEP Ver. |
------------ | ------------| ------------------------- | --------------------- | ------------- |
scene | game_info | The current scene-state |See [notes](#scene-note)| 256.0 |

#### *scene* note

Possible Scene values:

* lobby
* ingame
* death

Data Example:

```json
{"feature": "game_info", "category": "game_info", "key": "scene", "data": "lobby"}
```

## `match_info`

### Events

Event | Event Data | Fired When | Notes | Since GEP Ver. |
------------| -------------| --------------| -------------------------------------- | ---------------|
match_start | nulll | In the beginning of each match| See [notes](#match_start-note) |256.0|
match_end | nulll | At the end of each match| See [notes](#match_end-note) |256.0|
death | nulll | The local player died | See [notes](#death-note) | 256.0
respawn | nulll | The local player respawn| See [notes](#death-note) |256.0|

#### *match_start* note

Data Example:

```json
{"events":[{"name":"match_start","data":null}]}
```

#### *match_end* note

Data Example:

```json
{"events":[{"name":"match_end","data":null}]}
```

#### *death* note

Data Example:

```json
{"events":[{"name":"death","data":null}]}
```

#### *respawn* note

Data Example:

```json
{"events":[{"name":"respawn","data":null}]}
```
5 changes: 5 additions & 0 deletions src/config/games-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@ const metaData: GameMetaData[] = [
path: 'lethal-company',
name: 'Lethal Company',
},
{
id: 24300,
path: 'wuthering_waves',
name: 'Wuthering Waves',
},
{
id: 24110,
path: 'content-warning',
Expand Down
Binary file added static/img/embed/games/wuthering-waves.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/game-logos/large/wuthering-waves.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/game-logos/wuthering-waves.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ddde884

Please sign in to comment.