4 ms·
RunUO has an implementation of this and it's like 25 years old but still worked really well
by Madmallard 2y ago
RunUO has an implementation of this and it's like 25 years old but still worked really well
- mentos 2y agoWow clicked into the thread to see if anyone might mention RunUO :) it’s the only exposure I’ve had to serialization in C# I always wondered how it ranked compared to other approaches.
- w-ll 2y agoAs someone that also fell in love with C# with RunUO. I never actually looked at the Serialization at the time. Need to spend some time in RunUO or the fork soon. https://github.com/runuo/runuo/blob/master/Server/Serialization.cs https://github.com/runuo/runuo/blob/master/Server/Serializat...
- sanex 2y agoUltima online solved all our problems 25 years ago.
- jolexxa 2y agoI really like this implementation, but it's probably worth mentioning here that RunUO and other tools like it are solving the problem at a layer of abstraction beneath what I was introducing here. The serialization system I am providing here actually leverages System.Text.Json for reading and writing data — it's more concerned with helping you represent version-able, upgrade-able data models that are also compatible with the hierarchical state machine implementation I use for managing game state.