Serialization interfaces (#62)
This commit is contained in:
parent
5e2be2d7b6
commit
5c8821b11c
2406 changed files with 10100 additions and 9350 deletions
|
|
@ -26,7 +26,7 @@ namespace Server.Items
|
|||
Amount = amount;
|
||||
}
|
||||
|
||||
public TalismanAttribute(GenericReader reader)
|
||||
public TalismanAttribute(IGenericReader reader)
|
||||
{
|
||||
int version = reader.ReadInt();
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ namespace Server.Items
|
|||
|
||||
private static bool GetSaveFlag(SaveFlag flags, SaveFlag toGet) => (flags & toGet) != 0;
|
||||
|
||||
public virtual void Serialize(GenericWriter writer)
|
||||
public virtual void Serialize(IGenericWriter writer)
|
||||
{
|
||||
writer.Write(0); // version
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue