|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include "protocol/messages.h"#include <cstddef>#include <cstdint>#include <optional>#include <span>#include <string>#include <string_view>#include <utility>#include <vector>#include "absl/status/status.h"#include "absl/strings/ascii.h"#include "absl/strings/cord.h"#include "absl/strings/str_cat.h"Go to the source code of this file.
Namespaces | |
| namespace | nanommo |
Functions | |
| std::string | nanommo::Fill (std::string_view text, std::span< const std::string > args) |
| Part | nanommo::Number (uint64_t number) |
| A number, as it is. | |
| Part | nanommo::Name (std::string_view name) |
| std::pair< std::string, std::string > | nanommo::Counted (const items::Item &item) |
| std::pair< std::string, std::string > | nanommo::Counted (const monsters::Kind &kind) |
| Part | nanommo::Of (const items::Item &item, uint32_t count) |
| Part | nanommo::Of (const ItemTable &items, uint32_t item, uint32_t count) |
| Part | nanommo::Of (const monsters::Kind &kind, uint32_t count) |
| Part | nanommo::Of (const npcs::Kind &kind) |
| Part | nanommo::Of (const quests::Quest &quest) |
| Part | nanommo::Of (const skills::Skill &skill) |
| Part | nanommo::Of (const factions::Faction &faction) |
| Part | nanommo::Of (items::Slot slot) |
| Part | nanommo::Of (Sentence phrase) |
| A sentence inside another, which is translated on its own. | |
| Sentence | nanommo::messages_internal::Make (std::string_view one, std::string_view many, uint64_t count, std::vector< Part > parts) |
| absl::Status | nanommo::Refusal (absl::StatusCode code, const Sentence &why) |
| Sentence | nanommo::SentenceOf (const absl::Status &status) |
| std::string | nanommo::English (const protocol::Message &message, const Content &content) |