Serialization interfaces (#62)

This commit is contained in:
Leath Cooper 2019-12-30 15:16:35 -05:00 • committed by Kamron Batman
parent 5e2be2d7b6
commit 5c8821b11c
2406 changed files with 10100 additions and 9350 deletions

View file

@ -89,7 +89,7 @@ namespace Server.Engines.Quests.Ambitious
System.AddObjective(new GetRewardObjective(m_BagOfSending, m_PowderOfTranslocation, m_Gold));
}
public override void ChildDeserialize(GenericReader reader)
public override void ChildDeserialize(IGenericReader reader)
{
int version = reader.ReadEncodedInt();
@ -98,7 +98,7 @@ namespace Server.Engines.Quests.Ambitious
m_Gold = reader.ReadBool();
}
public override void ChildSerialize(GenericWriter writer)
public override void ChildSerialize(IGenericWriter writer)
{
writer.WriteEncodedInt(0); // version