This repository has been archived on 2026-05-30. You can view files and clone it, but cannot push or open issues or pull requests.
Files
undead-universal-patch-il2cpp/SERVERS.md
2025-08-12 22:54:54 -04:00

28 lines
756 B
Markdown

# Server Developers
[<-- Back to README.md](./README.md)
Requests are sent after the game client authenticates with the server.
## Endpoints
### `API: GET "/api/undead/v1/emotes"`
Expects: `List<EmoteConfigDTO>`
[EmoteConfigDTO](#emoteconfigdto)
Replace existing emotes in the game with these, keyed by `UniqueName`.
See [the source](./Core/CustomRecNet/CustomEmotes/RecNetEmotes.cs) for more information.
## DTOs
### `EmoteConfigDTO`
```c#
public class EmoteConfigDTO
{
public string UniqueName { get; set; }
public string NewText { get; set; }
public string RoomChatText { get; set; }
public string FacialExpression { get; set; }
public bool ForceEmoteBubble { get; set; }
public bool OnlyBroadcastToTeam { get; set; }
}
```