IstalriSkolir / Lakea-Stream-Assistant

A project to build a stream assistant 'Lakea' for handling events and improving Twitch streams for Materies Coil and his community
0 stars 0 forks source link

Replace Event Models with Standardised Class #268

Open IstalriSkolir opened 1 month ago

IstalriSkolir commented 1 month ago

Currently Lakea has a different class for every event type that can be processed. This is awkward and difficult to maintain. Since many of the outputs process using string dictionaries, all this input classes can be replaced with a single payload class that carries all required data in a Dictionary<string, string>. This class should have a constructor for each event type that will compile all the data into the args dictionary

Image

Acceptance Criteria:

IstalriSkolir commented 1 month ago

This issue is going to get more difficult to address the longer it is put off, it should be done before any more event types are added to avoid adding to the already significant workload this issue addresses