nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
nanommo::QuestLog Class Reference

#include <quest_window.h>

Public Member Functions

 QuestLog (const Content &content)
bool visible () const
bool * mutable_visible ()
void Toggle ()
std::optional< protocol::Input > Build (const protocol::Quests &yours)

Detailed Description

The player's quests, on T: those they're on, and those they've done, each with who gave it, what it asks for, how far they've got, and what it gives, and a way to give one up, wherever they are.

Definition at line 43 of file quest_window.h.

Constructor & Destructor Documentation

◆ QuestLog()

nanommo::QuestLog::QuestLog ( const Content & content)
inlineexplicit

Definition at line 45 of file quest_window.h.

Member Function Documentation

◆ Build()

std::optional< protocol::Input > nanommo::QuestLog::Build ( const protocol::Quests & yours)

Draws the window, while it's open. Returns the input that gives up the quest picked, once the player says they're sure.

Definition at line 123 of file quest_window.cc.

◆ mutable_visible()

bool * nanommo::QuestLog::mutable_visible ( )
inline

Definition at line 48 of file quest_window.h.

◆ Toggle()

void nanommo::QuestLog::Toggle ( )
inline

Definition at line 49 of file quest_window.h.

◆ visible()

bool nanommo::QuestLog::visible ( ) const
inline

Definition at line 47 of file quest_window.h.


The documentation for this class was generated from the following files: