Changeset 383 for binary-improvements2/AllocsCommands
- Timestamp:
- Aug 1, 2022, 1:16:11 PM (2 years ago)
- Location:
- binary-improvements2/AllocsCommands
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/AllocsCommands/Commands/Give.cs
r359 r383 1 using System;2 1 using System.Collections.Generic; 3 2 using UnityEngine; -
binary-improvements2/AllocsCommands/Commands/SayToPlayer.cs
r359 r383 1 using System;2 1 using System.Collections.Generic; 3 2 -
binary-improvements2/AllocsCommands/Commands/ShowInventory.cs
r369 r383 1 using System;2 1 using System.Collections.Generic; 3 2 using AllocsFixes.PersistentData; … … 127 126 // no Tag defined -> readable output 128 127 if (item.quality < 0) { 129 SdtdConsole.Instance.Output (string.Format (" Slot {0:8}: {1:000}", _slotname, 130 item.itemName)); 128 SdtdConsole.Instance.Output ($" Slot {_slotname:8}: {item.itemName:000}"); 131 129 } else { 132 SdtdConsole.Instance.Output (string.Format (" Slot {0:8}: {1:000} - quality: {2}", 133 _slotname, item.itemName, item.quality)); 130 SdtdConsole.Instance.Output ($" Slot {_slotname:8}: {item.itemName:000} - quality: {item.quality}"); 134 131 } 135 132 … … 157 154 // no currentMessage given -> readable output 158 155 if (_parts [i].quality < 0) { 159 SdtdConsole.Instance.Output (string.Format ("{0} - {1}", indenter, 160 _parts [i].itemName)); 156 SdtdConsole.Instance.Output ($"{indenter} - {_parts [i].itemName}"); 161 157 } else { 162 SdtdConsole.Instance.Output (string.Format ("{0} - {1} - quality: {2}", 163 indenter, _parts [i].itemName, _parts [i].quality)); 158 SdtdConsole.Instance.Output ($"{indenter} - {_parts [i].itemName} - quality: {_parts [i].quality}"); 164 159 } 165 160 -
binary-improvements2/AllocsCommands/PrivateMessageConnections.cs
r369 r383 1 1 using System.Collections.Generic; 2 using Steamworks;3 2 4 3 namespace AllocsFixes.CustomCommands {
Note:
See TracChangeset
for help on using the changeset viewer.