Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReLogic.Reflection.IdDictionary Class Reference

Public Member Functions

bool TryGetName (int id, out string name)
 
bool TryGetId (string name, out int id)
 
bool ContainsName (string name)
 
bool ContainsId (int id)
 
string GetName (int id)
 
int GetId (string name)
 
void Add (string name, int id)
 
void Remove (string name)
 
void Remove (int id)
 

Static Public Member Functions

static IdDictionary Create (Type idClass, Type idType)
 
static IdDictionary Create< IdClass, IdType > ()
 

Public Attributes

readonly int Count
 

Properties

IEnumerable< stringNames [get]
 

Private Member Functions

 IdDictionary (int count)
 

Private Attributes

readonly Dictionary< string, int > _nameToId = new Dictionary<string, int>()
 
Dictionary< int, string_idToName
 

Detailed Description

Definition at line 8 of file IdDictionary.cs.


The documentation for this class was generated from the following file: