Changeset 233 for binary-improvements/AllocsCommands
- Timestamp:
- Apr 30, 2015, 1:55:16 AM (10 years ago)
- Location:
- binary-improvements/AllocsCommands
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/AllocsCommands/AllocsCommands.csproj
r230 r233 42 42 <Compile Include="AssemblyInfo.cs" /> 43 43 <Compile Include="Commands\Give.cs" /> 44 <Compile Include="Commands\ListItems.cs" />45 44 <Compile Include="Commands\ListKnownPlayers.cs" /> 46 45 <Compile Include="Commands\ListLandProtection.cs" /> … … 52 51 <Compile Include="PrivateMassageConnections.cs" /> 53 52 <Compile Include="Chat.cs" /> 53 <Compile Include="Commands\ListItems.cs" /> 54 <Compile Include="Commands\GenerateItemIcons.cs" /> 54 55 </ItemGroup> 55 56 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> -
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.