source:
binary-improvements/7dtd-server-fixes/src/PersistentData/KnownPlayers.cs@
143
Last change on this file since 143 was 143, checked in by , 10 years ago | |
---|---|
File size: 389 bytes |
Line | |
---|---|
1 | using System; |
2 | using System.Runtime.Serialization; |
3 | |
4 | namespace AllocsFixes.PersistentData |
5 | { |
6 | [Serializable] |
7 | public class KnownPlayers |
8 | { |
9 | private int entityId; |
10 | private string name; |
11 | |
12 | public KnownPlayers () |
13 | { |
14 | } |
15 | |
16 | public KnownPlayers (SerializationInfo info, StreamingContext ctxt) |
17 | { |
18 | this.entityId = info.GetInt32 ("entityId"); |
19 | this.name = info.GetString ("name"); |
20 | } |
21 | } |
22 | } |
23 |
Note:
See TracBrowser
for help on using the repository browser.