PlayerCommandModule.InventoryModule
A static class in TavernLib, TavernLib.ModulePorts.
The player inventory submodule: view an online player's inventory, and save or load it. Server only; its commands are private.
- Listed in TavernLib.ModulePorts
- Nested in
PlayerCommandModule - Attributes
ServerOnly,Module
Methods
3 private and internal methods
| Member | What it is |
|---|---|
private static IEnumerable<Inventory> Inventory(PlayerList players) (iterator) | player inventory: server only, shows online players' inventories. |
private static async Task Load(UserInfoAccess user, string save) | player inventory load: server only, writes inventory data into an offline player's save. |
private static async Task<string> Save(UserInfoAccess user) | player inventory save: server only, returns a player's inventory data as text, from the live player or from their save file. |