fix: Fixes serialization threading, moves world save to end of loop, and eliminates Parallel.ForEach. (#1530)

This commit is contained in:
Kamron Batman 2023-10-03 00:42:49 -07:00 • committed by GitHub
parent e18115dd94
commit 1f0acddc46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 228 additions and 58 deletions

View file

@ -50,9 +50,9 @@ public abstract class BaseGuild : ISerializable
[CommandProperty(AccessLevel.GameMaster, readOnly: true)]
public DateTime Created { get; set; } = Core.Now;
long ISerializable.SavePosition { get; set; } = -1;
public long SavePosition { get; set; } = -1;
BufferWriter ISerializable.SaveBuffer { get; set; }
public BufferWriter SaveBuffer { get; set; }
public int TypeRef { get; private set; }