- Timestamp:
- Nov 9, 2021, 6:28:33 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/LandClaimList.cs
r351 r369 4 4 5 5 namespace AllocsFixes { 6 public class LandClaimList {6 public static class LandClaimList { 7 7 public delegate bool OwnerFilter (Player _owner); 8 8 … … 41 41 42 42 foreach (KeyValuePair<PersistentPlayerData, List<Vector3i>> kvp in owners) { 43 Player p = PersistentContainer.Instance.Players [kvp.Key. PlayerId, false];43 Player p = PersistentContainer.Instance.Players [kvp.Key.UserIdentifier, false]; 44 44 if (p == null) { 45 p = new Player (kvp.Key. PlayerId);45 p = new Player (kvp.Key.UserIdentifier); 46 46 } 47 47 … … 67 67 } 68 68 69 public static OwnerFilter SteamIdFilter (string _steamId) {70 return _p => _p. SteamID.Equals (_steamId);69 public static OwnerFilter UserIdFilter (PlatformUserIdentifierAbs _userId) { 70 return _p => _p.PlatformId.Equals (_userId); 71 71 } 72 72
Note:
See TracChangeset
for help on using the changeset viewer.