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

A world, as it registers with Consul. More...

#include <consul.h>

Public Attributes

std::string name
std::string public_host
uint16_t port = 0
uint16_t metrics_port = 0
int players = 0
uint64_t content = 0
 The ClientHash of the world's content.
int64_t started = 0
 When the instance started, in seconds since the epoch.

Detailed Description

A world, as it registers with Consul.

Definition at line 16 of file consul.h.

Member Data Documentation

◆ content

uint64_t nanommo::WorldRegistration::content = 0

The ClientHash of the world's content.

Definition at line 23 of file consul.h.

◆ metrics_port

uint16_t nanommo::WorldRegistration::metrics_port = 0

Definition at line 20 of file consul.h.

◆ name

std::string nanommo::WorldRegistration::name

Definition at line 17 of file consul.h.

◆ players

int nanommo::WorldRegistration::players = 0

Definition at line 21 of file consul.h.

◆ port

uint16_t nanommo::WorldRegistration::port = 0

Definition at line 19 of file consul.h.

◆ public_host

std::string nanommo::WorldRegistration::public_host

Definition at line 18 of file consul.h.

◆ started

int64_t nanommo::WorldRegistration::started = 0

When the instance started, in seconds since the epoch.

Definition at line 25 of file consul.h.


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