File tree Expand file tree Collapse file tree
CathodeLib/Scripts/CATHODE/CommandsPAK/Helpers Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change @@ -95,12 +95,14 @@ private static void LoadCustomNames(string filepath)
9595 {
9696 _custom = (EntityNameTable)CustomTable.ReadTable(filepath, CustomEndTables.ENTITY_NAMES);
9797 if (_custom == null) _custom = new EntityNameTable();
98+ Console.WriteLine("Loaded " + _custom.names.Count + " custom entity names!");
9899 }
99100
100101 /* Write non-vanilla entity names to the CommandsPAK */
101102 private static void SaveCustomNames(string filepath)
102103 {
103104 CustomTable.WriteTable(filepath, CustomEndTables.ENTITY_NAMES, _custom);
105+ Console.WriteLine("Saved " + _custom.names.Count + " custom entity names!");
104106 }
105107
106108 /* Applies all default parameter data to a Function entity (DESTRUCTIVE!) */
Original file line number Diff line number Diff line change 11using CATHODE . Scripting . Internal ;
22using CathodeLib ;
33using System ;
4+ using System . Diagnostics ;
45using System . IO ;
56using System . Security . Cryptography ;
67using System . Text ;
@@ -118,12 +119,14 @@ private static void LoadCustomNames(string filepath)
118119 {
119120 _custom = ( GuidNameTable ) CustomTable . ReadTable ( filepath , CustomEndTables . SHORT_GUIDS ) ;
120121 if ( _custom == null ) _custom = new GuidNameTable ( ) ;
122+ Console . WriteLine ( "Loaded " + _custom . cache . Count + " custom ShortGuids!" ) ;
121123 }
122124
123125 /* Write non-vanilla entity names to the CommandsPAK */
124126 private static void SaveCustomNames ( string filepath )
125127 {
126128 CustomTable . WriteTable ( filepath , CustomEndTables . SHORT_GUIDS , _custom ) ;
129+ Console . WriteLine ( "Saved " + _custom . cache . Count + " custom ShortGuids!" ) ;
127130 }
128131 }
129132}
You can’t perform that action at this time.
0 commit comments