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

A land, running: a World of it, with its NPCs in their cells. More...

#include <copies.h>

Public Attributes

int land = 0
 By its place in kLands.
World world
Cells npc_cells
uint32_t owner = 0
std::chrono::nanoseconds empty {0}
 How long it's had nobody in it.

Detailed Description

A land, running: a World of it, with its NPCs in their cells.

Definition at line 20 of file copies.h.

Member Data Documentation

◆ empty

std::chrono::nanoseconds nanommo::Copy::empty {0}

How long it's had nobody in it.

Definition at line 29 of file copies.h.

◆ land

int nanommo::Copy::land = 0

By its place in kLands.

Definition at line 22 of file copies.h.

◆ npc_cells

Cells nanommo::Copy::npc_cells

Definition at line 24 of file copies.h.

◆ owner

uint32_t nanommo::Copy::owner = 0

Whose copy of a dungeon it is, by their id. Nobody owns an open land's copy, which everyone in the world shares.

Definition at line 27 of file copies.h.

◆ world

World nanommo::Copy::world

Definition at line 23 of file copies.h.


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