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::server
 Packets sent by the server, and the structs and enums they use.

Enumerations

enum class  eolib::protocol::net::server::InitReply : int {
  eolib::protocol::net::server::OutOfDate = 1 , eolib::protocol::net::server::Ok = 2 , eolib::protocol::net::server::Banned = 3 , eolib::protocol::net::server::WarpMap = 4 ,
  eolib::protocol::net::server::FileEmf = 5 , eolib::protocol::net::server::FileEif = 6 , eolib::protocol::net::server::FileEnf = 7 , eolib::protocol::net::server::FileEsf = 8 ,
  eolib::protocol::net::server::PlayersList = 9 , eolib::protocol::net::server::MapMutation = 10 , eolib::protocol::net::server::PlayersListFriends = 11 , eolib::protocol::net::server::FileEcf = 12
}
 Reply code sent with INIT_INIT packet. More...
enum class  eolib::protocol::net::server::InitBanType : int { eolib::protocol::net::server::Temporary = 1 , eolib::protocol::net::server::Permanent = 2 }
 Ban type sent with INIT_INIT packet. The official client treats a value >= 2 as Permanent. Otherwise, it's Temporary. More...
enum class  eolib::protocol::net::server::CharacterIcon : int {
  eolib::protocol::net::server::Player = 1 , eolib::protocol::net::server::Gm = 4 , eolib::protocol::net::server::Hgm = 5 , eolib::protocol::net::server::Party = 6 ,
  eolib::protocol::net::server::GmParty = 9 , eolib::protocol::net::server::HgmParty = 10
}
 Icon displayed in paperdolls, books, and the online list. More...
enum class  eolib::protocol::net::server::AvatarChangeType : int { eolib::protocol::net::server::Equipment = 1 , eolib::protocol::net::server::Hair = 2 , eolib::protocol::net::server::HairColor = 3 }
 How a player's appearance is changing. More...
enum class  eolib::protocol::net::server::TalkReply : int { eolib::protocol::net::server::NotFound = 1 }
 Reply code sent with TALK_REPLY packet. More...
enum class  eolib::protocol::net::server::SitState : int { eolib::protocol::net::server::Stand = 0 , eolib::protocol::net::server::Chair = 1 , eolib::protocol::net::server::Floor = 2 }
 Indicates how a player is sitting (or not sitting). More...
enum class  eolib::protocol::net::server::MapEffect : int { eolib::protocol::net::server::Quake = 1 }
 An effect that occurs for all players on a map. More...
enum class  eolib::protocol::net::server::GuildReply : int {
  eolib::protocol::net::server::Busy = 1 , eolib::protocol::net::server::NotApproved = 2 , eolib::protocol::net::server::AlreadyMember = 3 , eolib::protocol::net::server::NoCandidates = 4 ,
  eolib::protocol::net::server::Exists = 5 , eolib::protocol::net::server::CreateBegin = 6 , eolib::protocol::net::server::CreateAddConfirm = 7 , eolib::protocol::net::server::CreateAdd = 8 ,
  eolib::protocol::net::server::RecruiterOffline = 9 , eolib::protocol::net::server::RecruiterNotHere = 10 , eolib::protocol::net::server::RecruiterWrongGuild = 11 , eolib::protocol::net::server::NotRecruiter = 12 ,
  eolib::protocol::net::server::JoinRequest = 13 , eolib::protocol::net::server::NotPresent = 14 , eolib::protocol::net::server::AccountLow = 15 , eolib::protocol::net::server::Accepted = 16 ,
  eolib::protocol::net::server::NotFound = 17 , eolib::protocol::net::server::Updated = 18 , eolib::protocol::net::server::RanksUpdated = 19 , eolib::protocol::net::server::RemoveLeader = 20 ,
  eolib::protocol::net::server::RemoveNotMember = 21 , eolib::protocol::net::server::Removed = 22 , eolib::protocol::net::server::RankingLeader = 23 , eolib::protocol::net::server::RankingNotMember = 24
}
 Reply code sent with GUILD_REPLY packet. More...
enum class  eolib::protocol::net::server::InnUnsubscribeReply : int { eolib::protocol::net::server::NotCitizen = 0 , eolib::protocol::net::server::Unsubscribed = 1 }
 Reply code sent with CITIZEN_REMOVE packet. Indicates the result of trying to give up citizenship to a town. More...
enum class  eolib::protocol::net::server::CharacterReply : int {
  eolib::protocol::net::server::Exists = 1 , eolib::protocol::net::server::Full = 2 , eolib::protocol::net::server::Full3 = 3 , eolib::protocol::net::server::NotApproved = 4 ,
  eolib::protocol::net::server::Ok = 5 , eolib::protocol::net::server::Deleted = 6
}
 Reply code sent with CHARACTER_REPLY packet. More...
enum class  eolib::protocol::net::server::SkillMasterReply : int { eolib::protocol::net::server::RemoveItems = 1 , eolib::protocol::net::server::WrongClass = 2 }
 Reply code sent with STATSKILL_REPLY packet. Indicates why an action was unsuccessful. More...
enum class  eolib::protocol::net::server::AccountReply : int {
  eolib::protocol::net::server::Exists = 1 , eolib::protocol::net::server::NotApproved = 2 , eolib::protocol::net::server::Created = 3 , eolib::protocol::net::server::ChangeFailed = 5 ,
  eolib::protocol::net::server::Changed = 6 , eolib::protocol::net::server::RequestDenied = 7
}
 Reply code sent with ACCOUNT_REPLY packet. More...
enum class  eolib::protocol::net::server::LoginReply : int {
  eolib::protocol::net::server::WrongUser = 1 , eolib::protocol::net::server::WrongUserPassword = 2 , eolib::protocol::net::server::Ok = 3 , eolib::protocol::net::server::Banned = 4 ,
  eolib::protocol::net::server::LoggedIn = 5 , eolib::protocol::net::server::Busy = 6
}
 Reply code sent with LOGIN_REPLY packet. Indicates the result of a login attempt. More...
enum class  eolib::protocol::net::server::DialogEntryType : int { eolib::protocol::net::server::Text = 1 , eolib::protocol::net::server::Link = 2 }
 The type of an entry in a quest dialog. More...
enum class  eolib::protocol::net::server::QuestRequirementIcon : int { eolib::protocol::net::server::Item = 3 , eolib::protocol::net::server::Talk = 5 , eolib::protocol::net::server::Kill = 8 , eolib::protocol::net::server::Step = 10 }
 Icon displayed for each quest in the Quest Progress window. More...
enum class  eolib::protocol::net::server::WarpEffect : int { eolib::protocol::net::server::None = 0 , eolib::protocol::net::server::Scroll = 1 , eolib::protocol::net::server::Admin = 2 }
 An effect that accompanies a player warp. More...
enum class  eolib::protocol::net::server::WarpType : int { eolib::protocol::net::server::Local = 1 , eolib::protocol::net::server::MapSwitch = 2 }
 Indicates whether a warp is within the current map, or switching to another map. More...
enum class  eolib::protocol::net::server::WelcomeCode : int { eolib::protocol::net::server::SelectCharacter = 1 , eolib::protocol::net::server::EnterGame = 2 , eolib::protocol::net::server::ServerBusy = 3 , eolib::protocol::net::server::LoggedIn = 4 }
 Reply code sent with WELCOME_REPLY packet. More...
enum class  eolib::protocol::net::server::LoginMessageCode : int { eolib::protocol::net::server::No = 0 , eolib::protocol::net::server::Yes = 250 }
 Whether a warning message should be displayed upon entering the game. More...
enum class  eolib::protocol::net::server::AdminMessageType : int { eolib::protocol::net::server::Message = 1 , eolib::protocol::net::server::Report = 2 }
 Type of message sent to admins via the Help menu. More...
enum class  eolib::protocol::net::server::PlayerKilledState : int { eolib::protocol::net::server::Alive = 1 , eolib::protocol::net::server::Killed = 2 }
 Flag to indicate that a player has been killed. More...
enum class  eolib::protocol::net::server::NpcKillStealProtectionState : int { eolib::protocol::net::server::Unprotected = 1 , eolib::protocol::net::server::Protected = 2 }
 Flag to indicate whether you are able to attack an NPC. More...
enum class  eolib::protocol::net::server::MapDamageType : int { eolib::protocol::net::server::TpDrain = 1 , eolib::protocol::net::server::Spikes = 2 }
 Type of damage being caused by the environment. More...
enum class  eolib::protocol::net::server::MarriageReply : int {
  eolib::protocol::net::server::AlreadyMarried = 1 , eolib::protocol::net::server::NotMarried = 2 , eolib::protocol::net::server::Success = 3 , eolib::protocol::net::server::NotEnoughGold = 4 ,
  eolib::protocol::net::server::WrongName = 5 , eolib::protocol::net::server::ServiceBusy = 6 , eolib::protocol::net::server::DivorceNotification = 7
}
 Reply code sent with MARRIAGE_REPLY packet. More...
enum class  eolib::protocol::net::server::PriestReply : int {
  eolib::protocol::net::server::NotDressed = 1 , eolib::protocol::net::server::LowLevel = 2 , eolib::protocol::net::server::PartnerNotPresent = 3 , eolib::protocol::net::server::PartnerNotDressed = 4 ,
  eolib::protocol::net::server::Busy = 5 , eolib::protocol::net::server::DoYou = 6 , eolib::protocol::net::server::PartnerAlreadyMarried = 7 , eolib::protocol::net::server::NoPermission = 8
}
 Reply code sent with PRIEST_REPLY packet. More...
enum class  eolib::protocol::net::server::PartyReplyCode : int { eolib::protocol::net::server::AlreadyInAnotherParty = 0 , eolib::protocol::net::server::AlreadyInYourParty = 1 , eolib::protocol::net::server::PartyIsFull = 2 }
 Reply code sent with PARTY_REPLY packet. Indicates why an invite or join request failed. More...

Functions

std::string eolib::protocol::net::server::ToString (InitReply value)
 Gets the name of a InitReply value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, InitReply value)
 Writes the name of a InitReply value to a stream.
std::string eolib::protocol::net::server::ToString (InitBanType value)
 Gets the name of a InitBanType value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, InitBanType value)
 Writes the name of a InitBanType value to a stream.
std::string eolib::protocol::net::server::ToString (CharacterIcon value)
 Gets the name of a CharacterIcon value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, CharacterIcon value)
 Writes the name of a CharacterIcon value to a stream.
std::string eolib::protocol::net::server::ToString (AvatarChangeType value)
 Gets the name of a AvatarChangeType value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, AvatarChangeType value)
 Writes the name of a AvatarChangeType value to a stream.
std::string eolib::protocol::net::server::ToString (TalkReply value)
 Gets the name of a TalkReply value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, TalkReply value)
 Writes the name of a TalkReply value to a stream.
std::string eolib::protocol::net::server::ToString (SitState value)
 Gets the name of a SitState value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, SitState value)
 Writes the name of a SitState value to a stream.
std::string eolib::protocol::net::server::ToString (MapEffect value)
 Gets the name of a MapEffect value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, MapEffect value)
 Writes the name of a MapEffect value to a stream.
std::string eolib::protocol::net::server::ToString (GuildReply value)
 Gets the name of a GuildReply value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, GuildReply value)
 Writes the name of a GuildReply value to a stream.
std::string eolib::protocol::net::server::ToString (InnUnsubscribeReply value)
 Gets the name of a InnUnsubscribeReply value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, InnUnsubscribeReply value)
 Writes the name of a InnUnsubscribeReply value to a stream.
std::string eolib::protocol::net::server::ToString (CharacterReply value)
 Gets the name of a CharacterReply value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, CharacterReply value)
 Writes the name of a CharacterReply value to a stream.
std::string eolib::protocol::net::server::ToString (SkillMasterReply value)
 Gets the name of a SkillMasterReply value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, SkillMasterReply value)
 Writes the name of a SkillMasterReply value to a stream.
std::string eolib::protocol::net::server::ToString (AccountReply value)
 Gets the name of a AccountReply value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, AccountReply value)
 Writes the name of a AccountReply value to a stream.
std::string eolib::protocol::net::server::ToString (LoginReply value)
 Gets the name of a LoginReply value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, LoginReply value)
 Writes the name of a LoginReply value to a stream.
std::string eolib::protocol::net::server::ToString (DialogEntryType value)
 Gets the name of a DialogEntryType value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, DialogEntryType value)
 Writes the name of a DialogEntryType value to a stream.
std::string eolib::protocol::net::server::ToString (QuestRequirementIcon value)
 Gets the name of a QuestRequirementIcon value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, QuestRequirementIcon value)
 Writes the name of a QuestRequirementIcon value to a stream.
std::string eolib::protocol::net::server::ToString (WarpEffect value)
 Gets the name of a WarpEffect value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, WarpEffect value)
 Writes the name of a WarpEffect value to a stream.
std::string eolib::protocol::net::server::ToString (WarpType value)
 Gets the name of a WarpType value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, WarpType value)
 Writes the name of a WarpType value to a stream.
std::string eolib::protocol::net::server::ToString (WelcomeCode value)
 Gets the name of a WelcomeCode value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, WelcomeCode value)
 Writes the name of a WelcomeCode value to a stream.
std::string eolib::protocol::net::server::ToString (LoginMessageCode value)
 Gets the name of a LoginMessageCode value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, LoginMessageCode value)
 Writes the name of a LoginMessageCode value to a stream.
std::string eolib::protocol::net::server::ToString (AdminMessageType value)
 Gets the name of a AdminMessageType value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, AdminMessageType value)
 Writes the name of a AdminMessageType value to a stream.
std::string eolib::protocol::net::server::ToString (PlayerKilledState value)
 Gets the name of a PlayerKilledState value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, PlayerKilledState value)
 Writes the name of a PlayerKilledState value to a stream.
std::string eolib::protocol::net::server::ToString (NpcKillStealProtectionState value)
 Gets the name of a NpcKillStealProtectionState value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, NpcKillStealProtectionState value)
 Writes the name of a NpcKillStealProtectionState value to a stream.
std::string eolib::protocol::net::server::ToString (MapDamageType value)
 Gets the name of a MapDamageType value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, MapDamageType value)
 Writes the name of a MapDamageType value to a stream.
std::string eolib::protocol::net::server::ToString (MarriageReply value)
 Gets the name of a MarriageReply value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, MarriageReply value)
 Writes the name of a MarriageReply value to a stream.
std::string eolib::protocol::net::server::ToString (PriestReply value)
 Gets the name of a PriestReply value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, PriestReply value)
 Writes the name of a PriestReply value to a stream.
std::string eolib::protocol::net::server::ToString (PartyReplyCode value)
 Gets the name of a PartyReplyCode value.
std::ostream & eolib::protocol::net::server::operator<< (std::ostream &stream, PartyReplyCode value)
 Writes the name of a PartyReplyCode value to a stream.