Use managed typed inventory documents
This commit is contained in:
parent
63c396be42
commit
14a4680c5f
4 changed files with 97 additions and 36 deletions
|
|
@ -461,6 +461,16 @@ namespace GameCult.Aetheria.State.Verse
|
|||
{
|
||||
return _inventory(entityIndex);
|
||||
}
|
||||
|
||||
public Task<AetheriaRuntimeInventoryDocument> LatestInventoryAsync(int entityIndex)
|
||||
{
|
||||
return Inventory(entityIndex).LatestAsync();
|
||||
}
|
||||
|
||||
public AetheriaRuntimeInventoryDocument LatestInventory(int entityIndex)
|
||||
{
|
||||
return LatestInventoryAsync(entityIndex).ConfigureAwait(false).GetAwaiter().GetResult();
|
||||
}
|
||||
}
|
||||
|
||||
public sealed class AetheriaClientStarbridgeState
|
||||
|
|
|
|||
Loading…
Reference in a new issue