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

#include <quests.h>

Public Types

enum class  Kind { kHunt , kTake , kTurnIn , kSwear }

Public Attributes

Kind kind = Kind::kHunt
float x = 0.0f
float z = 0.0f
uint32_t monster = 0
protocol::Quest quest
 Who to, and which quest, for a quest.
uint32_t herald = 0

Detailed Description

A trip a bot makes for its quests: to a monster a quest asks for, to hit it, or to an NPC, to take a quest or turn one in. Or to a herald, to swear to their faction.

Definition at line 15 of file quests.h.

Member Enumeration Documentation

◆ Kind

enum class nanommo::Errand::Kind
strong
Enumerator
kHunt 
kTake 
kTurnIn 
kSwear 

Definition at line 16 of file quests.h.

Member Data Documentation

◆ herald

uint32_t nanommo::Errand::herald = 0

The herald to swear at, by the NPC's id, for an oath, or 0 on the way to where they stand, before the bot sees them.

Definition at line 27 of file quests.h.

◆ kind

Kind nanommo::Errand::kind = Kind::kHunt

Definition at line 17 of file quests.h.

◆ monster

uint32_t nanommo::Errand::monster = 0

The monster a hunt goes after, by its id, so that the bot can tell once it's dead.

Definition at line 22 of file quests.h.

◆ quest

protocol::Quest nanommo::Errand::quest

Who to, and which quest, for a quest.

Definition at line 24 of file quests.h.

◆ x

float nanommo::Errand::x = 0.0f

Definition at line 18 of file quests.h.

◆ z

float nanommo::Errand::z = 0.0f

Definition at line 19 of file quests.h.


The documentation for this struct was generated from the following file: