ethanmoffat / EndlessClient

An open source client for Endless Online written in C#
MIT License
34 stars 16 forks source link

Replace manually written immutable types with [Record] attribute #184

Closed ethanmoffat closed 2 years ago

ethanmoffat commented 2 years ago

There are a ton of manually written boilerplate data types for immutable objects. Amadevus.RecordGenerator nuget dependency is added as of Skillmaster dialog implementation, which makes writing these record types as simple as defining the properties on them and marking them with the [Record] attribute.

All other immutable types need to be updated to use this pattern