Serialization interfaces (#62)
This commit is contained in:
parent
5e2be2d7b6
commit
5c8821b11c
2406 changed files with 10100 additions and 9350 deletions
|
|
@ -9,7 +9,7 @@ namespace Server.Factions
|
|||
|
||||
public TownState(Town town) => Town = town;
|
||||
|
||||
public TownState(GenericReader reader)
|
||||
public TownState(IGenericReader reader)
|
||||
{
|
||||
int version = reader.ReadEncodedInt();
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ namespace Server.Factions
|
|||
|
||||
public DateTime LastIncome{ get; set; }
|
||||
|
||||
public void Serialize(GenericWriter writer)
|
||||
public void Serialize(IGenericWriter writer)
|
||||
{
|
||||
writer.WriteEncodedInt(3); // version
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue