ContentProvider: GetFromResourceMap -> GetEntry

This commit is contained in:
LazyDuchess 2022-12-15 04:29:04 -03:00
parent c44b8139cf
commit c359d7e7bc
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ namespace OpenTS2.Content
this._contentProvider = provider;
if (package == null && this._contentProvider != null)
{
this.File = this._contentProvider.GetFromResourceMap(this.TGI)?.Package;
this.File = this._contentProvider.GetEntry(this.TGI)?.Package;
}
if (this.File != null)
{

View file

@ -219,7 +219,7 @@ namespace OpenTS2.Content
_entryByFile[package] = package;
}
public DBPFEntry GetFromResourceMap(ResourceKey key)
public DBPFEntry GetEntry(ResourceKey key)
{
if (_resourceMap.TryGetValue(key, out DBPFEntry output))
return output;