Serialization interfaces (#62)
This commit is contained in:
parent
5e2be2d7b6
commit
5c8821b11c
2406 changed files with 10100 additions and 9350 deletions
|
|
@ -27,7 +27,7 @@ namespace Server
|
|||
{
|
||||
}
|
||||
|
||||
public VirtueInfo(GenericReader reader)
|
||||
public VirtueInfo(IGenericReader reader)
|
||||
{
|
||||
int version = reader.ReadByte();
|
||||
|
||||
|
|
@ -138,7 +138,7 @@ namespace Server
|
|||
|
||||
public override string ToString() => "...";
|
||||
|
||||
public static void Serialize(GenericWriter writer, VirtueInfo info)
|
||||
public static void Serialize(IGenericWriter writer, VirtueInfo info)
|
||||
{
|
||||
writer.Write((byte)1); // version
|
||||
|
||||
|
|
@ -162,4 +162,4 @@ namespace Server
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue