Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Key

object System.Resources.ResourceReader.ResourceEnumerator.Key
get

Implements System.Collections.IDictionaryEnumerator.

Definition at line 24 of file ResourceReader.cs.

25 {
26 get
27 {
28 if (_currentName == int.MinValue)
29 {
30 throw new InvalidOperationException(SR.InvalidOperation_EnumEnded);
31 }
32 if (!_currentIsValid)
33 {
34 throw new InvalidOperationException(SR.InvalidOperation_EnumNotStarted);
35 }
36 if (_reader._resCache == null)
37 {
38 throw new InvalidOperationException(SR.ResourceReaderIsClosed);
39 }
41 }
42 }
unsafe string AllocateStringForNameIndex(int index, out int dataOffset)
Dictionary< string, ResourceLocator > _resCache