eolib-cpp 0.1.0-beta.7
Core C++ library for writing Endless Online applications
Loading...
Searching...
No Matches
enums.hpp File Reference
#include "eolib/export.hpp"
#include <iosfwd>
#include <string>

Namespaces

namespace  eolib
 Core library for writing Endless Online applications.
namespace  eolib::protocol
 Types generated from the eo-protocol specification.

Enumerations

enum class  eolib::protocol::AdminLevel : int {
  eolib::protocol::Player = 0 , eolib::protocol::Spy = 1 , eolib::protocol::LightGuide = 2 , eolib::protocol::Guardian = 3 ,
  eolib::protocol::GameMaster = 4 , eolib::protocol::HighGameMaster = 5
}
 The admin level of a player. More...
enum class  eolib::protocol::Direction : int { eolib::protocol::Down = 0 , eolib::protocol::Left = 1 , eolib::protocol::Up = 2 , eolib::protocol::Right = 3 }
 The direction a player or NPC is facing. More...
enum class  eolib::protocol::Emote : int {
  eolib::protocol::Happy = 1 , eolib::protocol::Depressed = 2 , eolib::protocol::Sad = 3 , eolib::protocol::Angry = 4 ,
  eolib::protocol::Confused = 5 , eolib::protocol::Surprised = 6 , eolib::protocol::Hearts = 7 , eolib::protocol::Moon = 8 ,
  eolib::protocol::Suicidal = 9 , eolib::protocol::Embarrassed = 10 , eolib::protocol::Drunk = 11 , eolib::protocol::Trade = 12 ,
  eolib::protocol::LevelUp = 13 , eolib::protocol::Playful = 14 , eolib::protocol::Bard = 15
}
 Emote that can be played over a player's head. More...
enum class  eolib::protocol::Gender : int { eolib::protocol::Female = 0 , eolib::protocol::Male = 1 }
 The gender of a player. More...

Functions

std::string eolib::protocol::ToString (AdminLevel value)
 Gets the name of a AdminLevel value.
std::ostream & eolib::protocol::operator<< (std::ostream &stream, AdminLevel value)
 Writes the name of a AdminLevel value to a stream.
std::string eolib::protocol::ToString (Direction value)
 Gets the name of a Direction value.
std::ostream & eolib::protocol::operator<< (std::ostream &stream, Direction value)
 Writes the name of a Direction value to a stream.
std::string eolib::protocol::ToString (Emote value)
 Gets the name of a Emote value.
std::ostream & eolib::protocol::operator<< (std::ostream &stream, Emote value)
 Writes the name of a Emote value to a stream.
std::string eolib::protocol::ToString (Gender value)
 Gets the name of a Gender value.
std::ostream & eolib::protocol::operator<< (std::ostream &stream, Gender value)
 Writes the name of a Gender value to a stream.