fix: Fixes serialization threading, moves world save to end of loop, and eliminates Parallel.ForEach. (#1530)
This commit is contained in:
parent
e18115dd94
commit
1f0acddc46
12 changed files with 228 additions and 58 deletions
|
|
@ -43,11 +43,11 @@ public class Entity : IEntity
|
|||
|
||||
public Entity(Serial serial) => Serial = serial;
|
||||
|
||||
DateTime ISerializable.Created { get; set; } = Core.Now;
|
||||
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 => -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue