|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include "content/items.h"#include <algorithm>#include <cstdint>#include <map>#include <string>#include <string_view>#include <utility>#include "absl/strings/str_cat.h"#include "content/checks.h"#include "content/figures.h"#include "content/text.h"Go to the source code of this file.
Namespaces | |
| namespace | nanommo |
Functions | |
| 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". | |