eris  1.4.0
A WorldForge client library.
Eris::SpawnPoint Struct Reference

Represents a possible spawn point as described by the server. When a new character is created on the server the user can select which "spawn point" the new character should spawn in. Each spawn point in turn will present a list of possible character types to select. More...

#include <SpawnPoint.h>

Collaboration diagram for Eris::SpawnPoint:

Public Attributes

std::string id
 
const std::string name
 The name of this spawn point. More...
 
const std::string description
 A description of this spawn point. More...
 
std::vector< SpawnPropertyproperties
 

Detailed Description

Represents a possible spawn point as described by the server. When a new character is created on the server the user can select which "spawn point" the new character should spawn in. Each spawn point in turn will present a list of possible character types to select.

Author
Erik Hjortsberg erik..nosp@m.hjor.nosp@m.tsber.nosp@m.g@gm.nosp@m.ail.c.nosp@m.om

It's up to the client to determine how this will be presented. Either the client can first show a list of all available character types, as an aggregate of all spawn points, and then let the user select between different spawn points in the case that the character type is represented in multiple spawn points. Or the client can let the user initially select the spawn point to spawn in, and then present the available character. Or any other method.

Definition at line 56 of file SpawnPoint.h.

Member Data Documentation

◆ description

const std::string Eris::SpawnPoint::description

A description of this spawn point.

Definition at line 68 of file SpawnPoint.h.

◆ name

const std::string Eris::SpawnPoint::name

The name of this spawn point.

Definition at line 63 of file SpawnPoint.h.


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