jahu00 / SamllHax.MapleSyrup

An attempt at implementing a single player Maple Story client
0 stars 0 forks source link

Rethink data classes #14

Open jahu00 opened 1 year ago

jahu00 commented 1 year ago

I might not need Interfaces for data classes (beyond interfaces for data providers). The idea is to have the game use more sane data classes than the original ones and for them to be easily serializable\deserializable. Its good for data classes to be dumb ones.

jahu00 commented 1 year ago

The sane data classes should be as sane as possible and make do with as much quirks of the original ones as possible. Abstracting the translation of Wz data into the sane classes might be a good idea as well, since it would help quickly allow another data source to be added.

jahu00 commented 1 year ago

Interfaces for data classes are cool, but they introduce extra annoying work. I think I'll make do with them for now and reintroduce them once data classes become more mature.