- Timestamp:
 - Aug 30, 2014, 3:47:59 PM (11 years ago)
 - File:
 - 
      
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
binary-improvements/7dtd-server-fixes/src/PersistentData/PersistentContainer.cs
r142 r143 7 7 namespace AllocsFixes.PersistentData 8 8 { 9 [Serializable ()]10 public class PersistentContainer : ISerializable9 [Serializable] 10 public class PersistentContainer 11 11 { 12 12 public Dictionary<string, KnownPlayers> players = new Dictionary<string, KnownPlayers> (); … … 49 49 } 50 50 51 public PersistentContainer (SerializationInfo info, StreamingContext ctxt)52 {53 this.players = (Dictionary<string, KnownPlayers>)info.GetValue ("players", typeof(Dictionary<string, KnownPlayers>));54 }55 56 public void GetObjectData (SerializationInfo info, StreamingContext context)57 {58 info.AddValue ("players", this.players);59 }60 61 51 } 62 52 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)