LiveSplit / livesplit-core

livesplit-core is a library that provides a lot of functionality for creating a speedrun timer.

Home Page:https://livesplit.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an Event System

CryZe opened this issue · comments

For features like saving on reset, the server synchronization protocol, and asking whether to save the best segments when resetting, we need an event system. I locally already have a small prototype where the hotkey system and the auto splitting runtime just forward their events to a trait instead of the timer directly. The timer implements the trait, but the UI usually would implement it by itself to decide on how to handle / forward them.