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::pub
 Client pub files: items (eolib::protocol::pub::Eif), NPCs (eolib::protocol::pub::Enf), spells (eolib::protocol::pub::Esf) and classes (eolib::protocol::pub::Ecf), and the records and enums they use.

Enumerations

enum class  eolib::protocol::pub::Element : int {
  eolib::protocol::pub::None = 0 , eolib::protocol::pub::Light = 1 , eolib::protocol::pub::Dark = 2 , eolib::protocol::pub::Earth = 3 ,
  eolib::protocol::pub::Wind = 4 , eolib::protocol::pub::Water = 5 , eolib::protocol::pub::Fire = 6
}
enum class  eolib::protocol::pub::ItemType : int {
  eolib::protocol::pub::General = 0 , eolib::protocol::pub::Reserved1 = 1 , eolib::protocol::pub::Currency = 2 , eolib::protocol::pub::Heal = 3 ,
  eolib::protocol::pub::Teleport = 4 , eolib::protocol::pub::Reserved5 = 5 , eolib::protocol::pub::ExpReward = 6 , eolib::protocol::pub::Reserved7 = 7 ,
  eolib::protocol::pub::Reserved8 = 8 , eolib::protocol::pub::Key = 9 , eolib::protocol::pub::Weapon = 10 , eolib::protocol::pub::Shield = 11 ,
  eolib::protocol::pub::Armor = 12 , eolib::protocol::pub::Hat = 13 , eolib::protocol::pub::Boots = 14 , eolib::protocol::pub::Gloves = 15 ,
  eolib::protocol::pub::Accessory = 16 , eolib::protocol::pub::Belt = 17 , eolib::protocol::pub::Necklace = 18 , eolib::protocol::pub::Ring = 19 ,
  eolib::protocol::pub::Armlet = 20 , eolib::protocol::pub::Bracer = 21 , eolib::protocol::pub::Alcohol = 22 , eolib::protocol::pub::EffectPotion = 23 ,
  eolib::protocol::pub::HairDye = 24 , eolib::protocol::pub::CureCurse = 25 , eolib::protocol::pub::Reserved26 = 26 , eolib::protocol::pub::Reserved27 = 27 ,
  eolib::protocol::pub::Reserved28 = 28 , eolib::protocol::pub::Reserved29 = 29
}
enum class  eolib::protocol::pub::ItemSubtype : int {
  eolib::protocol::pub::None = 0 , eolib::protocol::pub::Ranged = 1 , eolib::protocol::pub::Arrows = 2 , eolib::protocol::pub::Wings = 3 ,
  eolib::protocol::pub::Reserved4 = 4
}
enum class  eolib::protocol::pub::ItemSpecial : int {
  eolib::protocol::pub::Normal = 0 , eolib::protocol::pub::Rare = 1 , eolib::protocol::pub::Legendary = 2 , eolib::protocol::pub::Unique = 3 ,
  eolib::protocol::pub::Lore = 4 , eolib::protocol::pub::Cursed = 5
}
enum class  eolib::protocol::pub::ItemSize : int {
  eolib::protocol::pub::Size1x1 = 0 , eolib::protocol::pub::Size1x2 = 1 , eolib::protocol::pub::Size1x3 = 2 , eolib::protocol::pub::Size1x4 = 3 ,
  eolib::protocol::pub::Size2x1 = 4 , eolib::protocol::pub::Size2x2 = 5 , eolib::protocol::pub::Size2x3 = 6 , eolib::protocol::pub::Size2x4 = 7
}
 Size of an item in the inventory. More...
enum class  eolib::protocol::pub::NpcType : int {
  eolib::protocol::pub::Friendly = 0 , eolib::protocol::pub::Passive = 1 , eolib::protocol::pub::Aggressive = 2 , eolib::protocol::pub::Reserved3 = 3 ,
  eolib::protocol::pub::Reserved4 = 4 , eolib::protocol::pub::Reserved5 = 5 , eolib::protocol::pub::Shop = 6 , eolib::protocol::pub::Inn = 7 ,
  eolib::protocol::pub::Reserved8 = 8 , eolib::protocol::pub::Bank = 9 , eolib::protocol::pub::Barber = 10 , eolib::protocol::pub::Guild = 11 ,
  eolib::protocol::pub::Priest = 12 , eolib::protocol::pub::Lawyer = 13 , eolib::protocol::pub::Trainer = 14 , eolib::protocol::pub::Quest = 15
}
enum class  eolib::protocol::pub::SkillNature : int { eolib::protocol::pub::Spell = 0 , eolib::protocol::pub::Skill = 1 }
enum class  eolib::protocol::pub::SkillType : int { eolib::protocol::pub::Heal = 0 , eolib::protocol::pub::Attack = 1 , eolib::protocol::pub::Bard = 2 }
enum class  eolib::protocol::pub::SkillTargetRestrict : int { eolib::protocol::pub::Npc = 0 , eolib::protocol::pub::Friendly = 1 , eolib::protocol::pub::Opponent = 2 }
enum class  eolib::protocol::pub::SkillTargetType : int { eolib::protocol::pub::Normal = 0 , eolib::protocol::pub::Self = 1 , eolib::protocol::pub::Reserved2 = 2 , eolib::protocol::pub::Group = 3 }

Functions

std::string eolib::protocol::pub::ToString (Element value)
 Gets the name of a Element value.
std::ostream & eolib::protocol::pub::operator<< (std::ostream &stream, Element value)
 Writes the name of a Element value to a stream.
std::string eolib::protocol::pub::ToString (ItemType value)
 Gets the name of a ItemType value.
std::ostream & eolib::protocol::pub::operator<< (std::ostream &stream, ItemType value)
 Writes the name of a ItemType value to a stream.
std::string eolib::protocol::pub::ToString (ItemSubtype value)
 Gets the name of a ItemSubtype value.
std::ostream & eolib::protocol::pub::operator<< (std::ostream &stream, ItemSubtype value)
 Writes the name of a ItemSubtype value to a stream.
std::string eolib::protocol::pub::ToString (ItemSpecial value)
 Gets the name of a ItemSpecial value.
std::ostream & eolib::protocol::pub::operator<< (std::ostream &stream, ItemSpecial value)
 Writes the name of a ItemSpecial value to a stream.
std::string eolib::protocol::pub::ToString (ItemSize value)
 Gets the name of a ItemSize value.
std::ostream & eolib::protocol::pub::operator<< (std::ostream &stream, ItemSize value)
 Writes the name of a ItemSize value to a stream.
std::string eolib::protocol::pub::ToString (NpcType value)
 Gets the name of a NpcType value.
std::ostream & eolib::protocol::pub::operator<< (std::ostream &stream, NpcType value)
 Writes the name of a NpcType value to a stream.
std::string eolib::protocol::pub::ToString (SkillNature value)
 Gets the name of a SkillNature value.
std::ostream & eolib::protocol::pub::operator<< (std::ostream &stream, SkillNature value)
 Writes the name of a SkillNature value to a stream.
std::string eolib::protocol::pub::ToString (SkillType value)
 Gets the name of a SkillType value.
std::ostream & eolib::protocol::pub::operator<< (std::ostream &stream, SkillType value)
 Writes the name of a SkillType value to a stream.
std::string eolib::protocol::pub::ToString (SkillTargetRestrict value)
 Gets the name of a SkillTargetRestrict value.
std::ostream & eolib::protocol::pub::operator<< (std::ostream &stream, SkillTargetRestrict value)
 Writes the name of a SkillTargetRestrict value to a stream.
std::string eolib::protocol::pub::ToString (SkillTargetType value)
 Gets the name of a SkillTargetType value.
std::ostream & eolib::protocol::pub::operator<< (std::ostream &stream, SkillTargetType value)
 Writes the name of a SkillTargetType value to a stream.