using System; using System.Runtime.Serialization; namespace AllocsFixes.PersistentData { [Serializable] public class KnownPlayers { private int entityId; private string name; public KnownPlayers () { } public KnownPlayers (SerializationInfo info, StreamingContext ctxt) { this.entityId = info.GetInt32 ("entityId"); this.name = info.GetString ("name"); } } }