|
eolib-cpp 0.1.0-beta.7
Core C++ library for writing Endless Online applications
|
Reply to connection initialization and requests for unencrypted data. This packet is unencrypted. More...
#include <eolib/protocol/net/server/packets.hpp>
Inherits eolib::protocol::net::Packet.
Classes | |
| class | ReplyCodeDataOutOfDate |
| Data associated with reply_code value OutOfDate. More... | |
| class | ReplyCodeDataOk |
| Data associated with reply_code value Ok. More... | |
| class | ReplyCodeDataBanned |
| Data associated with reply_code value Banned. More... | |
| class | ReplyCodeDataWarpMap |
| Data associated with reply_code value WarpMap. More... | |
| class | ReplyCodeDataFileEmf |
| Data associated with reply_code value FileEmf. More... | |
| class | ReplyCodeDataFileEif |
| Data associated with reply_code value FileEif. More... | |
| class | ReplyCodeDataFileEnf |
| Data associated with reply_code value FileEnf. More... | |
| class | ReplyCodeDataFileEsf |
| Data associated with reply_code value FileEsf. More... | |
| class | ReplyCodeDataFileEcf |
| Data associated with reply_code value FileEcf. More... | |
| class | ReplyCodeDataMapMutation |
| Data associated with reply_code value MapMutation. More... | |
| class | ReplyCodeDataPlayersList |
| Data associated with reply_code value PlayersList. More... | |
| class | ReplyCodeDataPlayersListFriends |
| Data associated with reply_code value PlayersListFriends. More... | |
Public Types | |
| using | ReplyCodeData = std::variant<std::monostate, ReplyCodeDataOutOfDate, ReplyCodeDataOk, ReplyCodeDataBanned, ReplyCodeDataWarpMap, ReplyCodeDataFileEmf, ReplyCodeDataFileEif, ReplyCodeDataFileEnf, ReplyCodeDataFileEsf, ReplyCodeDataFileEcf, ReplyCodeDataMapMutation, ReplyCodeDataPlayersList, ReplyCodeDataPlayersListFriends> |
| Data associated with different values of the reply_code field. | |
Public Member Functions | |
| const ReplyCodeDataOutOfDate * | AsOutOfDate () const noexcept |
| Gets the data associated with reply_code value OutOfDate. | |
| ReplyCodeDataOutOfDate * | AsOutOfDate () noexcept |
| Gets the data associated with reply_code value OutOfDate. | |
| const ReplyCodeDataOk * | AsOk () const noexcept |
| Gets the data associated with reply_code value Ok. | |
| ReplyCodeDataOk * | AsOk () noexcept |
| Gets the data associated with reply_code value Ok. | |
| const ReplyCodeDataBanned * | AsBanned () const noexcept |
| Gets the data associated with reply_code value Banned. | |
| ReplyCodeDataBanned * | AsBanned () noexcept |
| Gets the data associated with reply_code value Banned. | |
| const ReplyCodeDataWarpMap * | AsWarpMap () const noexcept |
| Gets the data associated with reply_code value WarpMap. | |
| ReplyCodeDataWarpMap * | AsWarpMap () noexcept |
| Gets the data associated with reply_code value WarpMap. | |
| const ReplyCodeDataFileEmf * | AsFileEmf () const noexcept |
| Gets the data associated with reply_code value FileEmf. | |
| ReplyCodeDataFileEmf * | AsFileEmf () noexcept |
| Gets the data associated with reply_code value FileEmf. | |
| const ReplyCodeDataFileEif * | AsFileEif () const noexcept |
| Gets the data associated with reply_code value FileEif. | |
| ReplyCodeDataFileEif * | AsFileEif () noexcept |
| Gets the data associated with reply_code value FileEif. | |
| const ReplyCodeDataFileEnf * | AsFileEnf () const noexcept |
| Gets the data associated with reply_code value FileEnf. | |
| ReplyCodeDataFileEnf * | AsFileEnf () noexcept |
| Gets the data associated with reply_code value FileEnf. | |
| const ReplyCodeDataFileEsf * | AsFileEsf () const noexcept |
| Gets the data associated with reply_code value FileEsf. | |
| ReplyCodeDataFileEsf * | AsFileEsf () noexcept |
| Gets the data associated with reply_code value FileEsf. | |
| const ReplyCodeDataFileEcf * | AsFileEcf () const noexcept |
| Gets the data associated with reply_code value FileEcf. | |
| ReplyCodeDataFileEcf * | AsFileEcf () noexcept |
| Gets the data associated with reply_code value FileEcf. | |
| const ReplyCodeDataMapMutation * | AsMapMutation () const noexcept |
| Gets the data associated with reply_code value MapMutation. | |
| ReplyCodeDataMapMutation * | AsMapMutation () noexcept |
| Gets the data associated with reply_code value MapMutation. | |
| const ReplyCodeDataPlayersList * | AsPlayersList () const noexcept |
| Gets the data associated with reply_code value PlayersList. | |
| ReplyCodeDataPlayersList * | AsPlayersList () noexcept |
| Gets the data associated with reply_code value PlayersList. | |
| const ReplyCodeDataPlayersListFriends * | AsPlayersListFriends () const noexcept |
| Gets the data associated with reply_code value PlayersListFriends. | |
| ReplyCodeDataPlayersListFriends * | AsPlayersListFriends () noexcept |
| Gets the data associated with reply_code value PlayersListFriends. | |
| PacketFamily | Family () const noexcept override |
| Gets the packet family associated with this packet. | |
| PacketAction | Action () const noexcept override |
| Gets the packet action associated with this packet. | |
| int | ByteSize () const noexcept override |
| Gets the size of the data that this object was deserialized from. | |
| void | Serialize (data::EoWriter &writer) const override |
| Serializes this object to the provided writer. | |
| void | Deserialize (data::EoReader &reader) override |
| Deserializes this object from the provided reader, replacing its current data. | |
| std::string | ToString () const override |
| Gets a human-readable representation of this object, for debugging purposes. | |
| bool | operator== (const InitInitServerPacket &other) const |
| Compares this object with another for equality. | |
| bool | operator!= (const InitInitServerPacket &other) const |
| Compares this object with another for inequality. | |
| Public Member Functions inherited from eolib::protocol::Serializable | |
| virtual | ~Serializable ()=default |
Public Attributes | |
| InitReply | reply_code {} |
| ReplyCodeData | reply_code_data {} |
| Data associated with the reply_code field. | |
Static Public Attributes | |
| static constexpr PacketFamily | FAMILY = PacketFamily::Init |
| The packet family associated with this packet. | |
| static constexpr PacketAction | ACTION = PacketAction::Init |
| The packet action associated with this packet. | |
Additional Inherited Members | |
| Protected Member Functions inherited from eolib::protocol::Serializable | |
| Serializable ()=default | |
| Serializable (const Serializable &)=default | |
| Serializable (Serializable &&)=default | |
| Serializable & | operator= (const Serializable &)=default |
| Serializable & | operator= (Serializable &&)=default |
Reply to connection initialization and requests for unencrypted data. This packet is unencrypted.
Data associated with different values of the reply_code field.
|
inlinenoexcept |
Gets the data associated with reply_code value OutOfDate.
|
inlinenoexcept |
Gets the data associated with reply_code value OutOfDate.
|
inlinenoexcept |
Gets the data associated with reply_code value Ok.
|
inlinenoexcept |
Gets the data associated with reply_code value Ok.
|
inlinenoexcept |
Gets the data associated with reply_code value Banned.
|
inlinenoexcept |
Gets the data associated with reply_code value Banned.
|
inlinenoexcept |
Gets the data associated with reply_code value WarpMap.
|
inlinenoexcept |
Gets the data associated with reply_code value WarpMap.
|
inlinenoexcept |
Gets the data associated with reply_code value FileEmf.
|
inlinenoexcept |
Gets the data associated with reply_code value FileEmf.
|
inlinenoexcept |
Gets the data associated with reply_code value FileEif.
|
inlinenoexcept |
Gets the data associated with reply_code value FileEif.
|
inlinenoexcept |
Gets the data associated with reply_code value FileEnf.
|
inlinenoexcept |
Gets the data associated with reply_code value FileEnf.
|
inlinenoexcept |
Gets the data associated with reply_code value FileEsf.
|
inlinenoexcept |
Gets the data associated with reply_code value FileEsf.
|
inlinenoexcept |
Gets the data associated with reply_code value FileEcf.
|
inlinenoexcept |
Gets the data associated with reply_code value FileEcf.
|
inlinenoexcept |
Gets the data associated with reply_code value MapMutation.
|
inlinenoexcept |
Gets the data associated with reply_code value MapMutation.
|
inlinenoexcept |
Gets the data associated with reply_code value PlayersList.
|
inlinenoexcept |
Gets the data associated with reply_code value PlayersList.
|
inlinenoexcept |
Gets the data associated with reply_code value PlayersListFriends.
|
inlinenoexcept |
Gets the data associated with reply_code value PlayersListFriends.
|
static |
Creates a new InitInitServerPacket with reply_code set to OutOfDate.
| data | the data associated with reply_code OutOfDate. |
|
static |
Creates a new InitInitServerPacket with reply_code set to Ok.
| data | the data associated with reply_code Ok. |
|
static |
Creates a new InitInitServerPacket with reply_code set to Banned and ban_type set to Temporary.
| data | the data associated with ban_type Temporary. |
|
static |
Creates a new InitInitServerPacket with reply_code set to Banned and ban_type set to Permanent.
|
static |
Creates a new InitInitServerPacket with reply_code set to Banned and ban_type set to 0.
| data | the data associated with ban_type 0. |
|
static |
Creates a new InitInitServerPacket with reply_code set to WarpMap.
| data | the data associated with reply_code WarpMap. |
|
static |
Creates a new InitInitServerPacket with reply_code set to FileEmf.
| data | the data associated with reply_code FileEmf. |
|
static |
Creates a new InitInitServerPacket with reply_code set to FileEif.
| data | the data associated with reply_code FileEif. |
|
static |
Creates a new InitInitServerPacket with reply_code set to FileEnf.
| data | the data associated with reply_code FileEnf. |
|
static |
Creates a new InitInitServerPacket with reply_code set to FileEsf.
| data | the data associated with reply_code FileEsf. |
|
static |
Creates a new InitInitServerPacket with reply_code set to PlayersList.
| data | the data associated with reply_code PlayersList. |
|
static |
Creates a new InitInitServerPacket with reply_code set to MapMutation.
| data | the data associated with reply_code MapMutation. |
|
static |
Creates a new InitInitServerPacket with reply_code set to PlayersListFriends.
| data | the data associated with reply_code PlayersListFriends. |
|
static |
Creates a new InitInitServerPacket with reply_code set to FileEcf.
| data | the data associated with reply_code FileEcf. |
|
inlineoverridevirtualnoexcept |
Gets the packet family associated with this packet.
Implements eolib::protocol::net::Packet.
|
inlineoverridevirtualnoexcept |
Gets the packet action associated with this packet.
Implements eolib::protocol::net::Packet.
|
overridevirtualnoexcept |
Gets the size of the data that this object was deserialized from.
Implements eolib::protocol::Serializable.
|
overridevirtual |
Serializes this object to the provided writer.
| writer | the writer that the data will be written to. |
| SerializationError | if the object's data is invalid for serialization. |
Implements eolib::protocol::Serializable.
|
overridevirtual |
Deserializes this object from the provided reader, replacing its current data.
| reader | the reader that the data will be read from. |
Implements eolib::protocol::Serializable.
|
overridevirtual |
Gets a human-readable representation of this object, for debugging purposes.
Implements eolib::protocol::Serializable.
| bool eolib::protocol::net::server::InitInitServerPacket::operator== | ( | const InitInitServerPacket & | other | ) | const |
Compares this object with another for equality.
The deserialized byte size is not compared.
| other | the object to compare with. |
| bool eolib::protocol::net::server::InitInitServerPacket::operator!= | ( | const InitInitServerPacket & | other | ) | const |
Compares this object with another for inequality.
The deserialized byte size is not compared.
| other | the object to compare with. |
|
staticconstexpr |
The packet family associated with this packet.
|
staticconstexpr |
The packet action associated with this packet.
| InitReply eolib::protocol::net::server::InitInitServerPacket::reply_code {} |
| ReplyCodeData eolib::protocol::net::server::InitInitServerPacket::reply_code_data {} |
Data associated with the reply_code field.