#include <cstdint>
#include <map>
#include <string_view>
#include <vector>
#include "absl/status/statusor.h"
#include "content/items.pb.h"
Go to the source code of this file.
|
| absl::StatusOr< ItemTable > | nanommo::ParseItems (std::string_view text) |
| uint32_t | nanommo::StackSize (const items::Item &item) |
| | How many of the item go in one slot of a bag.
|
| uint32_t | nanommo::CountOf (const items::Stack &stack) |
| | How many are in the stack, which is one when it doesn't say.
|
| std::string_view | nanommo::SlotName (items::Slot slot) |
| | The slot's name, as a player would say it, such as "main hand".
|