Skip to content

Logical sides, events and tasks.

KosmX edited this page Aug 14, 2021 · 3 revisions

This is just a list of the mod events.

Common on any platform

  1. Implement EmoteInstance interface
  2. Register JSON serializer.
  3. Create a new Config and load saved data.
  4. Load emotes client and server-side

Server-side

on load:

misc:

  • open emote channel for new players

Client-side

on load:

  • Bind emotes to keys from the config
  • Register mod config screen
  • Register mod keybindings:
  • Register network:
    • Register packet receiver
    • When server opens the channel, send config packet
    • Close INetworkInstance on server disconnect
  • Register commands //TODO

And a lot more in emotesMain. Luckily that is a common module