|
eolib-cpp 0.1.0-beta.7
Core C++ library for writing Endless Online applications
|
Types shared by client and server packets. More...
Namespaces | |
| namespace | client |
| Packets sent by the client, and the structs and enums they use. | |
| namespace | server |
| Packets sent by the server, and the structs and enums they use. | |
Classes | |
| class | CharItem |
| An item reference with a 1-byte amount. Used for craft ingredients. More... | |
| class | Item |
| An item reference with a 4-byte amount. More... | |
| class | Packet |
| An object representing a packet in the EO network protocol. More... | |
| class | Spell |
| A spell known by the player. More... | |
| class | ThreeItem |
| An item reference with a 3-byte amount. Used for shops, lockers, and various item transfers. More... | |
| class | Version |
| Client version. More... | |
| class | Weight |
| Current carry weight and maximum carry capacity of a player. More... | |
Enumerations | |
| enum class | PacketFamily : int { Connection = 1 , Account = 2 , Character = 3 , Login = 4 , Welcome = 5 , Walk = 6 , Face = 7 , Chair = 8 , Emote = 9 , Attack = 11 , Spell = 12 , Shop = 13 , Item = 14 , StatSkill = 16 , Global = 17 , Talk = 18 , Warp = 19 , Jukebox = 21 , Players = 22 , Avatar = 23 , Party = 24 , Refresh = 25 , Npc = 26 , PlayerRange = 27 , NpcRange = 28 , Range = 29 , Paperdoll = 30 , Effect = 31 , Trade = 32 , Chest = 33 , Door = 34 , Message = 35 , Bank = 36 , Locker = 37 , Barber = 38 , Guild = 39 , Music = 40 , Sit = 41 , Recover = 42 , Board = 43 , Cast = 44 , Arena = 45 , Priest = 46 , Marriage = 47 , AdminInteract = 48 , Citizen = 49 , Quest = 50 , Book = 51 , Error = 250 , Init = 255 } |
| The type of operation that a packet performs. Part of the unique packet ID. More... | |
| enum class | PacketAction : int { Request = 1 , Accept = 2 , Reply = 3 , Remove = 4 , Agree = 5 , Create = 6 , Add = 7 , Player = 8 , Take = 9 , Use = 10 , Buy = 11 , Sell = 12 , Open = 13 , Close = 14 , Msg = 15 , Spec = 16 , Admin = 17 , List = 18 , Tell = 20 , Report = 21 , Announce = 22 , Server = 23 , Drop = 24 , Junk = 25 , Obtain = 26 , Get = 27 , Kick = 28 , Rank = 29 , TargetSelf = 30 , TargetOther = 31 , TargetGroup = 33 , Dialog = 34 , Ping = 240 , Pong = 241 , Net242 = 242 , Net243 = 243 , Net244 = 244 , Error = 250 , Init = 255 } |
| The specific action that a packet performs. Part of the unique packet ID. More... | |
| enum class | QuestPage : int { Progress = 1 , History = 2 } |
| A page in the Quest menu. More... | |
| enum class | PartyRequestType : int { Join = 0 , Invite = 1 } |
| Whether a player is requesting to join a party, or inviting someone to join theirs. More... | |
Functions | |
| std::string | ToString (PacketFamily value) |
| Gets the name of a PacketFamily value. | |
| std::ostream & | operator<< (std::ostream &stream, PacketFamily value) |
| Writes the name of a PacketFamily value to a stream. | |
| std::string | ToString (PacketAction value) |
| Gets the name of a PacketAction value. | |
| std::ostream & | operator<< (std::ostream &stream, PacketAction value) |
| Writes the name of a PacketAction value to a stream. | |
| std::string | ToString (QuestPage value) |
| Gets the name of a QuestPage value. | |
| std::ostream & | operator<< (std::ostream &stream, QuestPage value) |
| Writes the name of a QuestPage value to a stream. | |
| std::string | ToString (PartyRequestType value) |
| Gets the name of a PartyRequestType value. | |
| std::ostream & | operator<< (std::ostream &stream, PartyRequestType value) |
| Writes the name of a PartyRequestType value to a stream. | |
Types shared by client and server packets.
Holds the eolib::protocol::net::Packet interface, the eolib::protocol::net::PacketFamily and eolib::protocol::net::PacketAction enums that identify a packet, and the structs and enums used by both client and server packets.
|
strong |
The type of operation that a packet performs. Part of the unique packet ID.
|
strong |
The specific action that a packet performs. Part of the unique packet ID.
|
strong |
|
strong |
| std::string eolib::protocol::net::ToString | ( | PacketFamily | value | ) |
Gets the name of a PacketFamily value.
| value | the value to get the name of. |
| std::ostream & eolib::protocol::net::operator<< | ( | std::ostream & | stream, |
| PacketFamily | value ) |
Writes the name of a PacketFamily value to a stream.
| stream | the stream to write to. |
| value | the value to write the name of. |
| std::string eolib::protocol::net::ToString | ( | PacketAction | value | ) |
Gets the name of a PacketAction value.
| value | the value to get the name of. |
| std::ostream & eolib::protocol::net::operator<< | ( | std::ostream & | stream, |
| PacketAction | value ) |
Writes the name of a PacketAction value to a stream.
| stream | the stream to write to. |
| value | the value to write the name of. |
| std::string eolib::protocol::net::ToString | ( | QuestPage | value | ) |
Gets the name of a QuestPage value.
| value | the value to get the name of. |
| std::ostream & eolib::protocol::net::operator<< | ( | std::ostream & | stream, |
| QuestPage | value ) |
Writes the name of a QuestPage value to a stream.
| stream | the stream to write to. |
| value | the value to write the name of. |
| std::string eolib::protocol::net::ToString | ( | PartyRequestType | value | ) |
Gets the name of a PartyRequestType value.
| value | the value to get the name of. |
| std::ostream & eolib::protocol::net::operator<< | ( | std::ostream & | stream, |
| PartyRequestType | value ) |
Writes the name of a PartyRequestType value to a stream.
| stream | the stream to write to. |
| value | the value to write the name of. |