Right now my inventory system DNDLoot can't be generic because the status_ui is using get_theinventory::Model but loot_ui is using a model in the world. To make it generic I just have to put the model in the world keyed off the player's entity id and then I can just pass the ids for the inventory to generic functions that know how to do all the operations.
Right now my inventory system DNDLoot can't be generic because the status_ui is using get_the<inventory::Model> but loot_ui is using a model in the world. To make it generic I just have to put the model in the world keyed off the player's entity id and then I can just pass the ids for the inventory to generic functions that know how to do all the operations.
Right now my inventory system DNDLoot can't be generic because the status_ui is using get_theinventory::Model but loot_ui is using a model in the world. To make it generic I just have to put the model in the world keyed off the player's entity id and then I can just pass the ids for the inventory to generic functions that know how to do all the operations.