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

◆ TryGetName()

bool ReLogic.Reflection.IdDictionary.TryGetName ( int id,
out string name )
inline

Definition at line 23 of file IdDictionary.cs.

24 {
25 return _idToName.TryGetValue(id, out name);
26 }
Dictionary< int, string > _idToName
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)

References ReLogic.Reflection.IdDictionary._idToName, and System.Collections.Generic.Dictionary< TKey, TValue >.TryGetValue().