Calculados los items totales del mapeado

This commit is contained in:
2022-11-06 14:04:59 +01:00
parent 3d0400fe88
commit ec5da9ae3e
4 changed files with 33 additions and 9 deletions

View File

@@ -285,4 +285,10 @@ room_t *Resource::getRoom(std::string name)
std::cout << "NOT FOUND ON CACHE: " << name << std::endl;
}
return nullptr;
}
// Obtiene todas las habitaciones
std::vector<res_room_t> *Resource::getAllRooms()
{
return &rooms;
}