News for hackers. Stuff that matters.
Re:Serialization for C# Games by Madmallard on Tuesday June 18, 2024 @08:31PM (#40723512)
RunUO has an implementation of this and it's like 25 years old but still worked really well
Re:Serialization for C# Games by sanex on Tuesday June 18, 2024 @11:40PM (#40724550)
Ultima online solved all our problems 25 years ago.
Re:Serialization for C# Games by mentos on Tuesday June 18, 2024 @09:21PM (#40723823)
Wow 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.
Re:Serialization for C# Games by w-ll on Tuesday June 18, 2024 @11:00PM (#40724331)
As 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/Serializat...

Re:Serialization for C# Games by jolexxa on Wednesday June 19, 2024 @01:17PM (#40730255)
I 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.