Changeset 447 for binary-improvements/7dtd-server-fixes
- Timestamp:
- Jun 12, 2023, 6:11:06 PM (17 months ago)
- Location:
- binary-improvements/7dtd-server-fixes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/ModInfo.xml
r446 r447 5 5 <Description value="Common functions" /> 6 6 <Author value="Christian 'Alloc' Illy" /> 7 <Version value="2 7" />7 <Version value="28" /> 8 8 <Website value="http://7dtd.illy.bz" /> 9 9 </ModInfo> -
binary-improvements/7dtd-server-fixes/src/PersistentData/Player.cs
r446 r447 5 5 [Serializable] 6 6 public class Player { 7 private readonly PlatformUserIdentifierAbs internalId; 8 private readonly PlatformUserIdentifierAbs platformId; 9 private readonly PlatformUserIdentifierAbs crossPlatformId; 10 7 11 private int entityId; 8 12 private string name; … … 25 29 [NonSerialized] private ClientInfo clientInfo; 26 30 27 public PlatformUserIdentifierAbs InternalId { get; }28 public PlatformUserIdentifierAbs PlatformId { get; }29 public PlatformUserIdentifierAbs CrossPlatformId { get; }31 public PlatformUserIdentifierAbs InternalId => internalId; 32 public PlatformUserIdentifierAbs PlatformId => platformId; 33 public PlatformUserIdentifierAbs CrossPlatformId => crossPlatformId; 30 34 31 35 public int EntityID => entityId; … … 109 113 110 114 public Player (PlatformUserIdentifierAbs _internalId, PlatformUserIdentifierAbs _platformId, PlatformUserIdentifierAbs _crossPlatformId) { 111 InternalId = _internalId;112 PlatformId = _platformId;113 CrossPlatformId = _crossPlatformId;115 internalId = _internalId; 116 platformId = _platformId; 117 crossPlatformId = _crossPlatformId; 114 118 inventory = new Inventory (); 115 119 }
Note:
See TracChangeset
for help on using the changeset viewer.