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.
namespace  eolib::protocol::net
 Types shared by client and server packets.
namespace  eolib::protocol::net::client
 Packets sent by the client, and the structs and enums they use.

Enumerations

enum class  eolib::protocol::net::client::SitAction : int { eolib::protocol::net::client::Sit = 1 , eolib::protocol::net::client::Stand = 2 }
 Whether the player wants to sit or stand. More...
enum class  eolib::protocol::net::client::GuildInfoType : int { eolib::protocol::net::client::Description = 1 , eolib::protocol::net::client::Ranks = 2 , eolib::protocol::net::client::Bank = 3 }
 The type of guild info being interacted with. More...
enum class  eolib::protocol::net::client::TrainType : int { eolib::protocol::net::client::Stat = 1 , eolib::protocol::net::client::Skill = 2 }
 Whether the player is spending a stat point or a skill point. More...
enum class  eolib::protocol::net::client::DialogReply : int { eolib::protocol::net::client::Ok = 1 , eolib::protocol::net::client::Link = 2 }
 Whether the player has clicked the OK button or a link in a quest dialog. More...
enum class  eolib::protocol::net::client::FileType : int {
  eolib::protocol::net::client::Emf = 1 , eolib::protocol::net::client::Eif = 2 , eolib::protocol::net::client::Enf = 3 , eolib::protocol::net::client::Esf = 4 ,
  eolib::protocol::net::client::Ecf = 5
}
 Data file type. More...
enum class  eolib::protocol::net::client::StatId : int {
  eolib::protocol::net::client::Str = 1 , eolib::protocol::net::client::Int = 2 , eolib::protocol::net::client::Wis = 3 , eolib::protocol::net::client::Agi = 4 ,
  eolib::protocol::net::client::Con = 5 , eolib::protocol::net::client::Cha = 6
}
 Base character stat. More...
enum class  eolib::protocol::net::client::SpellTargetType : int { eolib::protocol::net::client::Player = 1 , eolib::protocol::net::client::Npc = 2 }
 Target type of a spell cast. More...
enum class  eolib::protocol::net::client::MarriageRequestType : int { eolib::protocol::net::client::MarriageApproval = 1 , eolib::protocol::net::client::Divorce = 2 }
 Request type sent with MARRIAGE_REQUEST packet. More...

Functions

std::string eolib::protocol::net::client::ToString (SitAction value)
 Gets the name of a SitAction value.
std::ostream & eolib::protocol::net::client::operator<< (std::ostream &stream, SitAction value)
 Writes the name of a SitAction value to a stream.
std::string eolib::protocol::net::client::ToString (GuildInfoType value)
 Gets the name of a GuildInfoType value.
std::ostream & eolib::protocol::net::client::operator<< (std::ostream &stream, GuildInfoType value)
 Writes the name of a GuildInfoType value to a stream.
std::string eolib::protocol::net::client::ToString (TrainType value)
 Gets the name of a TrainType value.
std::ostream & eolib::protocol::net::client::operator<< (std::ostream &stream, TrainType value)
 Writes the name of a TrainType value to a stream.
std::string eolib::protocol::net::client::ToString (DialogReply value)
 Gets the name of a DialogReply value.
std::ostream & eolib::protocol::net::client::operator<< (std::ostream &stream, DialogReply value)
 Writes the name of a DialogReply value to a stream.
std::string eolib::protocol::net::client::ToString (FileType value)
 Gets the name of a FileType value.
std::ostream & eolib::protocol::net::client::operator<< (std::ostream &stream, FileType value)
 Writes the name of a FileType value to a stream.
std::string eolib::protocol::net::client::ToString (StatId value)
 Gets the name of a StatId value.
std::ostream & eolib::protocol::net::client::operator<< (std::ostream &stream, StatId value)
 Writes the name of a StatId value to a stream.
std::string eolib::protocol::net::client::ToString (SpellTargetType value)
 Gets the name of a SpellTargetType value.
std::ostream & eolib::protocol::net::client::operator<< (std::ostream &stream, SpellTargetType value)
 Writes the name of a SpellTargetType value to a stream.
std::string eolib::protocol::net::client::ToString (MarriageRequestType value)
 Gets the name of a MarriageRequestType value.
std::ostream & eolib::protocol::net::client::operator<< (std::ostream &stream, MarriageRequestType value)
 Writes the name of a MarriageRequestType value to a stream.