Rev | Line | |
---|
[142] | 1 | using System;
|
---|
| 2 | using System.Runtime.Serialization;
|
---|
| 3 |
|
---|
| 4 | namespace AllocsFixes.PersistentData
|
---|
| 5 | {
|
---|
[143] | 6 | [Serializable]
|
---|
| 7 | public class KnownPlayers
|
---|
[142] | 8 | {
|
---|
| 9 | private int entityId;
|
---|
| 10 | private string name;
|
---|
| 11 |
|
---|
| 12 | public KnownPlayers ()
|
---|
| 13 | {
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | public KnownPlayers (SerializationInfo info, StreamingContext ctxt)
|
---|
| 17 | {
|
---|
[143] | 18 | this.entityId = info.GetInt32 ("entityId");
|
---|
| 19 | this.name = info.GetString ("name");
|
---|
[142] | 20 | }
|
---|
[143] | 21 | }
|
---|
[142] | 22 | }
|
---|
| 23 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.