mirror of
https://github.com/LazyDuchess/OpenTS2.git
synced 2025-01-23 00:31:47 -05:00
ContentProvider: GetFromResourceMap -> GetEntry
This commit is contained in:
parent
c44b8139cf
commit
c359d7e7bc
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue