|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <guild_window.h>
Public Member Functions | |
| bool * | mutable_visible () |
| bool | visible () const |
| void | Toggle () |
| void | Invited (protocol::GuildInvite invite) |
| std::optional< protocol::GuildAction > | Build (const protocol::Guild &yours, uint32_t you) |
Your guild, in a window of its own, which G opens and closes: a name to found one with while you're in none, and its name and your rank once you are, its war while it's in one, and a name to ask someone in by, for an officer or the leader.
Definition at line 23 of file guild_window.h.
| std::optional< protocol::GuildAction > nanommo::GuildWindow::Build | ( | const protocol::Guild & | yours, |
| uint32_t | you ) |
Draws the question, if a guild asked, and the window, while it's open, for you, by your character's id. A right-click on someone in the roster opens a menu of what your rank lets you do to theirs. Returns what the player asks for, which the server does, or says in the chat why not.
Definition at line 48 of file guild_window.cc.
| void nanommo::GuildWindow::Invited | ( | protocol::GuildInvite | invite | ) |
A guild asked you to join, which the window asks you about, open or not, until you answer or the invitation runs out.
Definition at line 43 of file guild_window.cc.
|
inline |
Definition at line 25 of file guild_window.h.
|
inline |
Definition at line 27 of file guild_window.h.
|
inline |
Definition at line 26 of file guild_window.h.