Changeset 233 for binary-improvements/AllocsCommands/Commands
- Timestamp:
- Apr 30, 2015, 1:55:16 AM (10 years ago)
- Location:
- binary-improvements/AllocsCommands/Commands
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/AllocsCommands/Commands/ListKnownPlayers.cs
r230 r233 38 38 int num = 0; 39 39 foreach (string sid in PersistentContainer.Instance.Players.SteamIDs) { 40 Player p = PersistentContainer.Instance.Players [sid ];40 Player p = PersistentContainer.Instance.Players [sid, false]; 41 41 42 42 if ( -
binary-improvements/AllocsCommands/Commands/ListLandProtection.cs
r230 r233 86 86 foreach (KeyValuePair<PersistentPlayerData, List<Vector3i>> kvp in owners) { 87 87 if (steamIdFilter.Length == 0 || kvp.Key.PlayerId.Equals (steamIdFilter)) { 88 string name = PersistentData.PersistentContainer.Instance.Players [kvp.Key.PlayerId].Name; 88 PersistentData.Player p = PersistentData.PersistentContainer.Instance.Players [kvp.Key.PlayerId, false]; 89 string name = string.Empty; 90 if (p != null) { 91 name = p.Name; 92 } 89 93 name += " (" + kvp.Key.PlayerId + ")"; 90 94 -
binary-improvements/AllocsCommands/Commands/Reply.cs
r230 r233 26 26 27 27 ClientInfo receiver = PrivateMassageConnections.GetLastPMSenderForPlayer (_sender); 28 if (receiver != null && receiver.clientId >= 0) {28 if (receiver != null) { 29 29 Chat.SendMessage (receiver, _sender, message); 30 30 } else { -
binary-improvements/AllocsCommands/Commands/ShowInventory.cs
r230 r233 31 31 } 32 32 33 Player p = PersistentContainer.Instance.Players [steamid ];33 Player p = PersistentContainer.Instance.Players [steamid, false]; 34 34 PersistentData.Inventory inv = p.Inventory; 35 35
Note:
See TracChangeset
for help on using the changeset viewer.