|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <world.h>
Public Attributes | |
| std::string | name |
| uint32_t | kind = 0 |
| By its id in the NPCs file. | |
| float | x = 0.0f |
| float | z = 0.0f |
| float | yaw = 0.0f |
| bool | talks = false |
| Whether players can talk to it. | |
| std::set< uint32_t > | teaches |
| The skills it teaches, by their ids in the skills file. | |
Someone who stands in one place, such as a guard. NPCs don't move or fight, so they have none of a monster's health or of what it thinks with.
| bool nanommo::Npc::talks = false |
| std::set<uint32_t> nanommo::Npc::teaches |