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.Factions
|
|||
Invalidate();
|
||||
}
|
||||
|
||||
public PlayerState(GenericReader reader, Faction faction, List<PlayerState> owner)
|
||||
public PlayerState(IGenericReader reader, Faction faction, List<PlayerState> owner)
|
||||
{
|
||||
Faction = faction;
|
||||
Owner = owner;
|
||||
|
|
@ -277,7 +277,7 @@ namespace Server.Factions
|
|||
mobile.FactionPlayerState = this;
|
||||
}
|
||||
|
||||
public void Serialize(GenericWriter writer)
|
||||
public void Serialize(IGenericWriter writer)
|
||||
{
|
||||
writer.WriteEncodedInt(1); // version
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue