eolib.protocol.net.client¶
EO network client packet data structures.
- class AccountAgreeClientPacket[source]¶
Bases:
PacketChange password
- __init__(*, username, old_password, new_password)[source]¶
Create a new instance of AccountAgreeClientPacket.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of AccountAgreeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
AccountAgreeClientPacket) – The data to serialize.
- static deserialize(reader) AccountAgreeClientPacket[source]¶
Deserializes an instance of AccountAgreeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class AccountCreateClientPacket[source]¶
Bases:
PacketConfirm creating an account
- __init__(*, session_id, username, password, full_name, location, email, computer, hdid)[source]¶
Create a new instance of AccountCreateClientPacket.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of AccountCreateClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
AccountCreateClientPacket) – The data to serialize.
- static deserialize(reader) AccountCreateClientPacket[source]¶
Deserializes an instance of AccountCreateClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class AccountRequestClientPacket[source]¶
Bases:
PacketRequest creating an account
- __init__(*, username)[source]¶
Create a new instance of AccountRequestClientPacket.
- Parameters:
username (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of AccountRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
AccountRequestClientPacket) – The data to serialize.
- static deserialize(reader) AccountRequestClientPacket[source]¶
Deserializes an instance of AccountRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class AdminInteractReportClientPacket[source]¶
Bases:
PacketReport character
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of AdminInteractReportClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
AdminInteractReportClientPacket) – The data to serialize.
- static deserialize(reader) AdminInteractReportClientPacket[source]¶
Deserializes an instance of AdminInteractReportClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class AdminInteractTellClientPacket[source]¶
Bases:
PacketTalk to admin
- __init__(*, message)[source]¶
Create a new instance of AdminInteractTellClientPacket.
- Parameters:
message (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of AdminInteractTellClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
AdminInteractTellClientPacket) – The data to serialize.
- static deserialize(reader) AdminInteractTellClientPacket[source]¶
Deserializes an instance of AdminInteractTellClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class AttackUseClientPacket[source]¶
Bases:
PacketAttacking
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of AttackUseClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
AttackUseClientPacket) – The data to serialize.
- static deserialize(reader) AttackUseClientPacket[source]¶
Deserializes an instance of AttackUseClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class BankAddClientPacket[source]¶
Bases:
PacketDepositing gold
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of BankAddClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
BankAddClientPacket) – The data to serialize.
- static deserialize(reader) BankAddClientPacket[source]¶
Deserializes an instance of BankAddClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class BankOpenClientPacket[source]¶
Bases:
PacketTalked to a banker NPC
- __init__(*, npc_index)[source]¶
Create a new instance of BankOpenClientPacket.
- Parameters:
npc_index (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of BankOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
BankOpenClientPacket) – The data to serialize.
- static deserialize(reader) BankOpenClientPacket[source]¶
Deserializes an instance of BankOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class BankTakeClientPacket[source]¶
Bases:
PacketWithdrawing gold
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of BankTakeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
BankTakeClientPacket) – The data to serialize.
- static deserialize(reader) BankTakeClientPacket[source]¶
Deserializes an instance of BankTakeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class BarberBuyClientPacket[source]¶
Bases:
PacketPurchasing a hair-style
- __init__(*, hair_style, hair_color, session_id)[source]¶
Create a new instance of BarberBuyClientPacket.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of BarberBuyClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
BarberBuyClientPacket) – The data to serialize.
- static deserialize(reader) BarberBuyClientPacket[source]¶
Deserializes an instance of BarberBuyClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class BarberOpenClientPacket[source]¶
Bases:
PacketTalking to a barber NPC
- __init__(*, npc_index)[source]¶
Create a new instance of BarberOpenClientPacket.
- Parameters:
npc_index (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of BarberOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
BarberOpenClientPacket) – The data to serialize.
- static deserialize(reader) BarberOpenClientPacket[source]¶
Deserializes an instance of BarberOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class BoardCreateClientPacket[source]¶
Bases:
PacketPosting a new message to a town board
- __init__(*, board_id, post_subject, post_body)[source]¶
Create a new instance of BoardCreateClientPacket.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of BoardCreateClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
BoardCreateClientPacket) – The data to serialize.
- static deserialize(reader) BoardCreateClientPacket[source]¶
Deserializes an instance of BoardCreateClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class BoardOpenClientPacket[source]¶
Bases:
PacketOpening a town board
- __init__(*, board_id)[source]¶
Create a new instance of BoardOpenClientPacket.
- Parameters:
board_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of BoardOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
BoardOpenClientPacket) – The data to serialize.
- static deserialize(reader) BoardOpenClientPacket[source]¶
Deserializes an instance of BoardOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class BoardRemoveClientPacket[source]¶
Bases:
PacketRemoving a post from a town board
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of BoardRemoveClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
BoardRemoveClientPacket) – The data to serialize.
- static deserialize(reader) BoardRemoveClientPacket[source]¶
Deserializes an instance of BoardRemoveClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class BoardTakeClientPacket[source]¶
Bases:
PacketReading a post on a town board
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of BoardTakeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
BoardTakeClientPacket) – The data to serialize.
- static deserialize(reader) BoardTakeClientPacket[source]¶
Deserializes an instance of BoardTakeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class BookRequestClientPacket[source]¶
Bases:
PacketRequest for a player’s book
- __init__(*, player_id)[source]¶
Create a new instance of BookRequestClientPacket.
- Parameters:
player_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of BookRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
BookRequestClientPacket) – The data to serialize.
- static deserialize(reader) BookRequestClientPacket[source]¶
Deserializes an instance of BookRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ByteCoords[source]¶
Bases:
objectMap coordinates with raw 1-byte values
- static serialize(writer, data) None[source]¶
Serializes an instance of ByteCoords to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ByteCoords) – The data to serialize.
- static deserialize(reader) ByteCoords[source]¶
Deserializes an instance of ByteCoords from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ChairRequestClientPacket[source]¶
Bases:
PacketSitting on a chair
- __init__(*, sit_action, sit_action_data=None)[source]¶
Create a new instance of ChairRequestClientPacket.
- Parameters:
sit_action (
SitAction)sit_action_data (
SitActionDataSit|None, default:None) – Data associated with the sit_action field.
- property sit_action_data: SitActionDataSit | None¶
Data associated with the sit_action field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ChairRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ChairRequestClientPacket) – The data to serialize.
- static deserialize(reader) ChairRequestClientPacket[source]¶
Deserializes an instance of ChairRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- SitActionData¶
Data associated with different values of the sit_action field.
alias of
ChairRequestClientPacket.SitActionDataSit|None
- class SitActionDataSit[source]¶
Bases:
objectData associated with sit_action value SitAction.Sit
- __init__(*, coords)[source]¶
Create a new instance of ChairRequestClientPacket.SitActionDataSit.
- Parameters:
coords (
Coords)
- static serialize(writer, data) None[source]¶
Serializes an instance of ChairRequestClientPacket.SitActionDataSit to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
SitActionDataSit) – The data to serialize.
- static deserialize(reader) SitActionDataSit[source]¶
Deserializes an instance of ChairRequestClientPacket.SitActionDataSit from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class CharacterCreateClientPacket[source]¶
Bases:
PacketConfirm creating a character
- __init__(*, session_id, gender, hair_style, hair_color, skin, name)[source]¶
Create a new instance of CharacterCreateClientPacket.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of CharacterCreateClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
CharacterCreateClientPacket) – The data to serialize.
- static deserialize(reader) CharacterCreateClientPacket[source]¶
Deserializes an instance of CharacterCreateClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class CharacterRemoveClientPacket[source]¶
Bases:
PacketConfirm deleting character from an account
- __init__(*, session_id, character_id)[source]¶
Create a new instance of CharacterRemoveClientPacket.
- property character_id: int¶
The official client sends a short, which gets written as a variable-sized integer (2-4 bytes) due to a quirk of the official encoding routine. However, the official server expects an int.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of CharacterRemoveClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
CharacterRemoveClientPacket) – The data to serialize.
- static deserialize(reader) CharacterRemoveClientPacket[source]¶
Deserializes an instance of CharacterRemoveClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class CharacterRequestClientPacket[source]¶
Bases:
PacketRequest to create a character
- __init__(*, request_string)[source]¶
Create a new instance of CharacterRequestClientPacket.
- Parameters:
request_string (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of CharacterRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
CharacterRequestClientPacket) – The data to serialize.
- static deserialize(reader) CharacterRequestClientPacket[source]¶
Deserializes an instance of CharacterRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class CharacterTakeClientPacket[source]¶
Bases:
PacketRequest to delete a character from an account
- __init__(*, character_id)[source]¶
Create a new instance of CharacterTakeClientPacket.
- Parameters:
character_id (
int) – (Value range is 0-4097152080.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of CharacterTakeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
CharacterTakeClientPacket) – The data to serialize.
- static deserialize(reader) CharacterTakeClientPacket[source]¶
Deserializes an instance of CharacterTakeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ChestAddClientPacket[source]¶
Bases:
PacketPlacing an item in to a chest
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ChestAddClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ChestAddClientPacket) – The data to serialize.
- static deserialize(reader) ChestAddClientPacket[source]¶
Deserializes an instance of ChestAddClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ChestOpenClientPacket[source]¶
Bases:
PacketOpening a chest
- __init__(*, coords)[source]¶
Create a new instance of ChestOpenClientPacket.
- Parameters:
coords (
Coords)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ChestOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ChestOpenClientPacket) – The data to serialize.
- static deserialize(reader) ChestOpenClientPacket[source]¶
Deserializes an instance of ChestOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ChestTakeClientPacket[source]¶
Bases:
PacketTaking an item from a chest
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ChestTakeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ChestTakeClientPacket) – The data to serialize.
- static deserialize(reader) ChestTakeClientPacket[source]¶
Deserializes an instance of ChestTakeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class CitizenAcceptClientPacket[source]¶
Bases:
PacketConfirm sleeping at an inn
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of CitizenAcceptClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
CitizenAcceptClientPacket) – The data to serialize.
- static deserialize(reader) CitizenAcceptClientPacket[source]¶
Deserializes an instance of CitizenAcceptClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class CitizenOpenClientPacket[source]¶
Bases:
PacketTalking to a citizenship NPC
- __init__(*, npc_index)[source]¶
Create a new instance of CitizenOpenClientPacket.
- Parameters:
npc_index (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of CitizenOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
CitizenOpenClientPacket) – The data to serialize.
- static deserialize(reader) CitizenOpenClientPacket[source]¶
Deserializes an instance of CitizenOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class CitizenRemoveClientPacket[source]¶
Bases:
PacketGiving up citizenship of a town
- __init__(*, behavior_id)[source]¶
Create a new instance of CitizenRemoveClientPacket.
- Parameters:
behavior_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of CitizenRemoveClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
CitizenRemoveClientPacket) – The data to serialize.
- static deserialize(reader) CitizenRemoveClientPacket[source]¶
Deserializes an instance of CitizenRemoveClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class CitizenReplyClientPacket[source]¶
Bases:
PacketSubscribing to a town
- __init__(*, session_id, behavior_id, answers)[source]¶
Create a new instance of CitizenReplyClientPacket.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of CitizenReplyClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
CitizenReplyClientPacket) – The data to serialize.
- static deserialize(reader) CitizenReplyClientPacket[source]¶
Deserializes an instance of CitizenReplyClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class CitizenRequestClientPacket[source]¶
Bases:
PacketRequest sleeping at an inn
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of CitizenRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
CitizenRequestClientPacket) – The data to serialize.
- static deserialize(reader) CitizenRequestClientPacket[source]¶
Deserializes an instance of CitizenRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ConnectionAcceptClientPacket[source]¶
Bases:
PacketConfirm initialization data
- __init__(*, client_encryption_multiple, server_encryption_multiple, player_id)[source]¶
Create a new instance of ConnectionAcceptClientPacket.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ConnectionAcceptClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ConnectionAcceptClientPacket) – The data to serialize.
- static deserialize(reader) ConnectionAcceptClientPacket[source]¶
Deserializes an instance of ConnectionAcceptClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ConnectionPingClientPacket[source]¶
Bases:
PacketPing reply
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ConnectionPingClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ConnectionPingClientPacket) – The data to serialize.
- static deserialize(reader) ConnectionPingClientPacket[source]¶
Deserializes an instance of ConnectionPingClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class DialogReply[source]¶
Bases:
IntEnumWhether the player has clicked the OK button or a link in a quest dialog
- Ok = 1¶
- Link = 2¶
- class DoorOpenClientPacket[source]¶
Bases:
PacketOpening a door
- __init__(*, coords)[source]¶
Create a new instance of DoorOpenClientPacket.
- Parameters:
coords (
Coords)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of DoorOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
DoorOpenClientPacket) – The data to serialize.
- static deserialize(reader) DoorOpenClientPacket[source]¶
Deserializes an instance of DoorOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class EmoteReportClientPacket[source]¶
Bases:
PacketDoing an emote
- __init__(*, emote)[source]¶
Create a new instance of EmoteReportClientPacket.
- Parameters:
emote (
Emote)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of EmoteReportClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
EmoteReportClientPacket) – The data to serialize.
- static deserialize(reader) EmoteReportClientPacket[source]¶
Deserializes an instance of EmoteReportClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class FacePlayerClientPacket[source]¶
Bases:
PacketFacing a direction
- __init__(*, direction)[source]¶
Create a new instance of FacePlayerClientPacket.
- Parameters:
direction (
Direction)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of FacePlayerClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
FacePlayerClientPacket) – The data to serialize.
- static deserialize(reader) FacePlayerClientPacket[source]¶
Deserializes an instance of FacePlayerClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GlobalCloseClientPacket[source]¶
Bases:
PacketClosed global tab
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GlobalCloseClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GlobalCloseClientPacket) – The data to serialize.
- static deserialize(reader) GlobalCloseClientPacket[source]¶
Deserializes an instance of GlobalCloseClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GlobalOpenClientPacket[source]¶
Bases:
PacketOpened global tab
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GlobalOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GlobalOpenClientPacket) – The data to serialize.
- static deserialize(reader) GlobalOpenClientPacket[source]¶
Deserializes an instance of GlobalOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GlobalPlayerClientPacket[source]¶
Bases:
PacketDisable whispers
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GlobalPlayerClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GlobalPlayerClientPacket) – The data to serialize.
- static deserialize(reader) GlobalPlayerClientPacket[source]¶
Deserializes an instance of GlobalPlayerClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GlobalRemoveClientPacket[source]¶
Bases:
PacketEnable whispers
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GlobalRemoveClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GlobalRemoveClientPacket) – The data to serialize.
- static deserialize(reader) GlobalRemoveClientPacket[source]¶
Deserializes an instance of GlobalRemoveClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildAcceptClientPacket[source]¶
Bases:
PacketAccept pending guild creation invite
- __init__(*, inviter_player_id)[source]¶
Create a new instance of GuildAcceptClientPacket.
- Parameters:
inviter_player_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildAcceptClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildAcceptClientPacket) – The data to serialize.
- static deserialize(reader) GuildAcceptClientPacket[source]¶
Deserializes an instance of GuildAcceptClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildAgreeClientPacket[source]¶
Bases:
PacketUpdate the guild description or rank list
- __init__(*, session_id, info_type, info_type_data=None)[source]¶
Create a new instance of GuildAgreeClientPacket.
- Parameters:
session_id (
int) – (Value range is 0-4097152080.)info_type (
GuildInfoType)info_type_data (
InfoTypeDataDescription|InfoTypeDataRanks|None, default:None) – Data associated with the info_type field.
- property info_type: GuildInfoType¶
The info_type field.
- property info_type_data: InfoTypeDataDescription | InfoTypeDataRanks | None¶
Data associated with the info_type field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildAgreeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildAgreeClientPacket) – The data to serialize.
- static deserialize(reader) GuildAgreeClientPacket[source]¶
Deserializes an instance of GuildAgreeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- InfoTypeData¶
Data associated with different values of the info_type field.
alias of
GuildAgreeClientPacket.InfoTypeDataDescription|GuildAgreeClientPacket.InfoTypeDataRanks|None
- class InfoTypeDataDescription[source]¶
Bases:
objectData associated with info_type value GuildInfoType.Description
- __init__(*, description)[source]¶
Create a new instance of GuildAgreeClientPacket.InfoTypeDataDescription.
- Parameters:
description (
str)
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildAgreeClientPacket.InfoTypeDataDescription to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
InfoTypeDataDescription) – The data to serialize.
- static deserialize(reader) InfoTypeDataDescription[source]¶
Deserializes an instance of GuildAgreeClientPacket.InfoTypeDataDescription from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class InfoTypeDataRanks[source]¶
Bases:
objectData associated with info_type value GuildInfoType.Ranks
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildAgreeClientPacket.InfoTypeDataRanks to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
InfoTypeDataRanks) – The data to serialize.
- static deserialize(reader) InfoTypeDataRanks[source]¶
Deserializes an instance of GuildAgreeClientPacket.InfoTypeDataRanks from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildBuyClientPacket[source]¶
Bases:
PacketDeposit gold in to the guild bank
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildBuyClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildBuyClientPacket) – The data to serialize.
- static deserialize(reader) GuildBuyClientPacket[source]¶
Deserializes an instance of GuildBuyClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildCreateClientPacket[source]¶
Bases:
PacketFinal confirm creating a guild
- __init__(*, session_id, guild_tag, guild_name, description)[source]¶
Create a new instance of GuildCreateClientPacket.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildCreateClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildCreateClientPacket) – The data to serialize.
- static deserialize(reader) GuildCreateClientPacket[source]¶
Deserializes an instance of GuildCreateClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildInfoType[source]¶
Bases:
IntEnumThe type of guild info being interacted with
- Description = 1¶
- Ranks = 2¶
- Bank = 3¶
- class GuildJunkClientPacket[source]¶
Bases:
PacketDisband guild
- __init__(*, session_id)[source]¶
Create a new instance of GuildJunkClientPacket.
- Parameters:
session_id (
int) – (Value range is 0-4097152080.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildJunkClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildJunkClientPacket) – The data to serialize.
- static deserialize(reader) GuildJunkClientPacket[source]¶
Deserializes an instance of GuildJunkClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildKickClientPacket[source]¶
Bases:
PacketKick member from guild
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildKickClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildKickClientPacket) – The data to serialize.
- static deserialize(reader) GuildKickClientPacket[source]¶
Deserializes an instance of GuildKickClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildOpenClientPacket[source]¶
Bases:
PacketTalking to a guild master NPC
- __init__(*, npc_index)[source]¶
Create a new instance of GuildOpenClientPacket.
- Parameters:
npc_index (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildOpenClientPacket) – The data to serialize.
- static deserialize(reader) GuildOpenClientPacket[source]¶
Deserializes an instance of GuildOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildPlayerClientPacket[source]¶
Bases:
PacketRequest to join a guild
- __init__(*, session_id, guild_tag, recruiter_name)[source]¶
Create a new instance of GuildPlayerClientPacket.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildPlayerClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildPlayerClientPacket) – The data to serialize.
- static deserialize(reader) GuildPlayerClientPacket[source]¶
Deserializes an instance of GuildPlayerClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildRankClientPacket[source]¶
Bases:
PacketUpdate a member’s rank
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildRankClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildRankClientPacket) – The data to serialize.
- static deserialize(reader) GuildRankClientPacket[source]¶
Deserializes an instance of GuildRankClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildRemoveClientPacket[source]¶
Bases:
PacketLeave guild
- __init__(*, session_id)[source]¶
Create a new instance of GuildRemoveClientPacket.
- Parameters:
session_id (
int) – (Value range is 0-4097152080.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildRemoveClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildRemoveClientPacket) – The data to serialize.
- static deserialize(reader) GuildRemoveClientPacket[source]¶
Deserializes an instance of GuildRemoveClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildReportClientPacket[source]¶
Bases:
PacketRequested general information of a guild
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildReportClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildReportClientPacket) – The data to serialize.
- static deserialize(reader) GuildReportClientPacket[source]¶
Deserializes an instance of GuildReportClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildRequestClientPacket[source]¶
Bases:
PacketRequested to create a guild
- __init__(*, session_id, guild_tag, guild_name)[source]¶
Create a new instance of GuildRequestClientPacket.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildRequestClientPacket) – The data to serialize.
- static deserialize(reader) GuildRequestClientPacket[source]¶
Deserializes an instance of GuildRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildTakeClientPacket[source]¶
Bases:
PacketRequest guild description, rank list, or bank balance
- __init__(*, session_id, info_type, guild_tag)[source]¶
Create a new instance of GuildTakeClientPacket.
- Parameters:
session_id (
int) – (Value range is 0-4097152080.)info_type (
GuildInfoType)guild_tag (
str) – (Length must be 3.)
- property info_type: GuildInfoType¶
The info_type field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildTakeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildTakeClientPacket) – The data to serialize.
- static deserialize(reader) GuildTakeClientPacket[source]¶
Deserializes an instance of GuildTakeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildTellClientPacket[source]¶
Bases:
PacketRequested member list of a guild
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildTellClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildTellClientPacket) – The data to serialize.
- static deserialize(reader) GuildTellClientPacket[source]¶
Deserializes an instance of GuildTellClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class GuildUseClientPacket[source]¶
Bases:
PacketAccepted a join request
- __init__(*, player_id)[source]¶
Create a new instance of GuildUseClientPacket.
- Parameters:
player_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of GuildUseClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
GuildUseClientPacket) – The data to serialize.
- static deserialize(reader) GuildUseClientPacket[source]¶
Deserializes an instance of GuildUseClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class InitInitClientPacket[source]¶
Bases:
PacketConnection initialization request. This packet is unencrypted.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of InitInitClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
InitInitClientPacket) – The data to serialize.
- static deserialize(reader) InitInitClientPacket[source]¶
Deserializes an instance of InitInitClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ItemDropClientPacket[source]¶
Bases:
PacketDropping items on the ground
- __init__(*, item, coords)[source]¶
Create a new instance of ItemDropClientPacket.
- Parameters:
item (
ThreeItem)coords (
ByteCoords) – The official client sends 255 byte values for the coords if an item is dropped via the GUI button. 255 values here should be interpreted to mean “drop at current coords”. Otherwise, the x and y fields contain encoded numbers that must be explicitly decoded to get the actual x and y values.
- property coords: ByteCoords¶
The official client sends 255 byte values for the coords if an item is dropped via the GUI button. 255 values here should be interpreted to mean “drop at current coords”. Otherwise, the x and y fields contain encoded numbers that must be explicitly decoded to get the actual x and y values.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ItemDropClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ItemDropClientPacket) – The data to serialize.
- static deserialize(reader) ItemDropClientPacket[source]¶
Deserializes an instance of ItemDropClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ItemGetClientPacket[source]¶
Bases:
PacketTaking items from the ground
- __init__(*, item_index)[source]¶
Create a new instance of ItemGetClientPacket.
- Parameters:
item_index (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ItemGetClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ItemGetClientPacket) – The data to serialize.
- static deserialize(reader) ItemGetClientPacket[source]¶
Deserializes an instance of ItemGetClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ItemJunkClientPacket[source]¶
Bases:
PacketJunking items
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ItemJunkClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ItemJunkClientPacket) – The data to serialize.
- static deserialize(reader) ItemJunkClientPacket[source]¶
Deserializes an instance of ItemJunkClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ItemUseClientPacket[source]¶
Bases:
PacketUsing an item
- __init__(*, item_id)[source]¶
Create a new instance of ItemUseClientPacket.
- Parameters:
item_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ItemUseClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ItemUseClientPacket) – The data to serialize.
- static deserialize(reader) ItemUseClientPacket[source]¶
Deserializes an instance of ItemUseClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class JukeboxMsgClientPacket[source]¶
Bases:
PacketRequesting a song on a jukebox
- __init__(*, track_id)[source]¶
Create a new instance of JukeboxMsgClientPacket.
- Parameters:
track_id (
int) – This value is 0-indexed (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of JukeboxMsgClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
JukeboxMsgClientPacket) – The data to serialize.
- static deserialize(reader) JukeboxMsgClientPacket[source]¶
Deserializes an instance of JukeboxMsgClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class JukeboxOpenClientPacket[source]¶
Bases:
PacketOpening the jukebox listing
- __init__(*, coords)[source]¶
Create a new instance of JukeboxOpenClientPacket.
- Parameters:
coords (
Coords)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of JukeboxOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
JukeboxOpenClientPacket) – The data to serialize.
- static deserialize(reader) JukeboxOpenClientPacket[source]¶
Deserializes an instance of JukeboxOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class JukeboxUseClientPacket[source]¶
Bases:
PacketPlaying a note with the bard skill
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of JukeboxUseClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
JukeboxUseClientPacket) – The data to serialize.
- static deserialize(reader) JukeboxUseClientPacket[source]¶
Deserializes an instance of JukeboxUseClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class LockerAddClientPacket[source]¶
Bases:
PacketAdding an item to a bank locker
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of LockerAddClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
LockerAddClientPacket) – The data to serialize.
- static deserialize(reader) LockerAddClientPacket[source]¶
Deserializes an instance of LockerAddClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class LockerBuyClientPacket[source]¶
Bases:
PacketBuying a locker space upgrade from a banker NPC
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of LockerBuyClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
LockerBuyClientPacket) – The data to serialize.
- static deserialize(reader) LockerBuyClientPacket[source]¶
Deserializes an instance of LockerBuyClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class LockerOpenClientPacket[source]¶
Bases:
PacketOpening a bank locker
- __init__(*, locker_coords)[source]¶
Create a new instance of LockerOpenClientPacket.
- Parameters:
locker_coords (
Coords)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of LockerOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
LockerOpenClientPacket) – The data to serialize.
- static deserialize(reader) LockerOpenClientPacket[source]¶
Deserializes an instance of LockerOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class LockerTakeClientPacket[source]¶
Bases:
PacketTaking an item from a bank locker
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of LockerTakeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
LockerTakeClientPacket) – The data to serialize.
- static deserialize(reader) LockerTakeClientPacket[source]¶
Deserializes an instance of LockerTakeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class LoginRequestClientPacket[source]¶
Bases:
PacketLogin request
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of LoginRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
LoginRequestClientPacket) – The data to serialize.
- static deserialize(reader) LoginRequestClientPacket[source]¶
Deserializes an instance of LoginRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class MarriageOpenClientPacket[source]¶
Bases:
PacketTalking to a law NPC
- __init__(*, npc_index)[source]¶
Create a new instance of MarriageOpenClientPacket.
- Parameters:
npc_index (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of MarriageOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
MarriageOpenClientPacket) – The data to serialize.
- static deserialize(reader) MarriageOpenClientPacket[source]¶
Deserializes an instance of MarriageOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class MarriageRequestClientPacket[source]¶
Bases:
PacketRequesting marriage approval
- __init__(*, request_type, session_id, name)[source]¶
Create a new instance of MarriageRequestClientPacket.
- Parameters:
request_type (
MarriageRequestType)session_id (
int) – (Value range is 0-4097152080.)name (
str)
- property request_type: MarriageRequestType¶
The request_type field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of MarriageRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
MarriageRequestClientPacket) – The data to serialize.
- static deserialize(reader) MarriageRequestClientPacket[source]¶
Deserializes an instance of MarriageRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class MarriageRequestType[source]¶
Bases:
IntEnumRequest type sent with MARRIAGE_REQUEST packet
- MarriageApproval = 1¶
- Divorce = 2¶
- class MessagePingClientPacket[source]¶
Bases:
Packet#ping command request
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of MessagePingClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
MessagePingClientPacket) – The data to serialize.
- static deserialize(reader) MessagePingClientPacket[source]¶
Deserializes an instance of MessagePingClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class NpcRangeRequestClientPacket[source]¶
Bases:
PacketRequesting info about nearby NPCs
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of NpcRangeRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
NpcRangeRequestClientPacket) – The data to serialize.
- static deserialize(reader) NpcRangeRequestClientPacket[source]¶
Deserializes an instance of NpcRangeRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PaperdollAddClientPacket[source]¶
Bases:
PacketEquipping an item
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PaperdollAddClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PaperdollAddClientPacket) – The data to serialize.
- static deserialize(reader) PaperdollAddClientPacket[source]¶
Deserializes an instance of PaperdollAddClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PaperdollRemoveClientPacket[source]¶
Bases:
PacketUnequipping an item
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PaperdollRemoveClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PaperdollRemoveClientPacket) – The data to serialize.
- static deserialize(reader) PaperdollRemoveClientPacket[source]¶
Deserializes an instance of PaperdollRemoveClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PaperdollRequestClientPacket[source]¶
Bases:
PacketRequest for a player’s paperdoll
- __init__(*, player_id)[source]¶
Create a new instance of PaperdollRequestClientPacket.
- Parameters:
player_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PaperdollRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PaperdollRequestClientPacket) – The data to serialize.
- static deserialize(reader) PaperdollRequestClientPacket[source]¶
Deserializes an instance of PaperdollRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PartyAcceptClientPacket[source]¶
Bases:
PacketAccept party invite / join request
- __init__(*, request_type, inviter_player_id)[source]¶
Create a new instance of PartyAcceptClientPacket.
- Parameters:
request_type (
PartyRequestType)inviter_player_id (
int) – (Value range is 0-64008.)
- property request_type: PartyRequestType¶
The request_type field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PartyAcceptClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PartyAcceptClientPacket) – The data to serialize.
- static deserialize(reader) PartyAcceptClientPacket[source]¶
Deserializes an instance of PartyAcceptClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PartyRemoveClientPacket[source]¶
Bases:
PacketRemove player from a party
- __init__(*, player_id)[source]¶
Create a new instance of PartyRemoveClientPacket.
- Parameters:
player_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PartyRemoveClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PartyRemoveClientPacket) – The data to serialize.
- static deserialize(reader) PartyRemoveClientPacket[source]¶
Deserializes an instance of PartyRemoveClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PartyRequestClientPacket[source]¶
Bases:
PacketSend party invite / join request
- __init__(*, request_type, player_id)[source]¶
Create a new instance of PartyRequestClientPacket.
- Parameters:
request_type (
PartyRequestType)player_id (
int) – (Value range is 0-64008.)
- property request_type: PartyRequestType¶
The request_type field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PartyRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PartyRequestClientPacket) – The data to serialize.
- static deserialize(reader) PartyRequestClientPacket[source]¶
Deserializes an instance of PartyRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PartyTakeClientPacket[source]¶
Bases:
PacketRequest updated party info
- __init__(*, members_count)[source]¶
Create a new instance of PartyTakeClientPacket.
- Parameters:
members_count (
int) – (Value range is 0-252.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PartyTakeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PartyTakeClientPacket) – The data to serialize.
- static deserialize(reader) PartyTakeClientPacket[source]¶
Deserializes an instance of PartyTakeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PlayerRangeRequestClientPacket[source]¶
Bases:
PacketRequesting info about nearby players
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PlayerRangeRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PlayerRangeRequestClientPacket) – The data to serialize.
- static deserialize(reader) PlayerRangeRequestClientPacket[source]¶
Deserializes an instance of PlayerRangeRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PlayersAcceptClientPacket[source]¶
Bases:
Packet#find command request
- __init__(*, name)[source]¶
Create a new instance of PlayersAcceptClientPacket.
- Parameters:
name (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PlayersAcceptClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PlayersAcceptClientPacket) – The data to serialize.
- static deserialize(reader) PlayersAcceptClientPacket[source]¶
Deserializes an instance of PlayersAcceptClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PlayersListClientPacket[source]¶
Bases:
PacketRequesting a list of online friends
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PlayersListClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PlayersListClientPacket) – The data to serialize.
- static deserialize(reader) PlayersListClientPacket[source]¶
Deserializes an instance of PlayersListClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PlayersRequestClientPacket[source]¶
Bases:
PacketRequesting a list of online players
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PlayersRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PlayersRequestClientPacket) – The data to serialize.
- static deserialize(reader) PlayersRequestClientPacket[source]¶
Deserializes an instance of PlayersRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PriestAcceptClientPacket[source]¶
Bases:
PacketAccepting a marriage request
- __init__(*, session_id)[source]¶
Create a new instance of PriestAcceptClientPacket.
- Parameters:
session_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PriestAcceptClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PriestAcceptClientPacket) – The data to serialize.
- static deserialize(reader) PriestAcceptClientPacket[source]¶
Deserializes an instance of PriestAcceptClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PriestOpenClientPacket[source]¶
Bases:
PacketTalking to a priest NPC
- __init__(*, npc_index)[source]¶
Create a new instance of PriestOpenClientPacket.
- Parameters:
npc_index (
int) – (Value range is 0-4097152080.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PriestOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PriestOpenClientPacket) – The data to serialize.
- static deserialize(reader) PriestOpenClientPacket[source]¶
Deserializes an instance of PriestOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PriestRequestClientPacket[source]¶
Bases:
PacketRequesting marriage at a priest
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PriestRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PriestRequestClientPacket) – The data to serialize.
- static deserialize(reader) PriestRequestClientPacket[source]¶
Deserializes an instance of PriestRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class PriestUseClientPacket[source]¶
Bases:
PacketSaying “I do” at a wedding
- __init__(*, session_id)[source]¶
Create a new instance of PriestUseClientPacket.
- Parameters:
session_id (
int) – (Value range is 0-4097152080.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of PriestUseClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
PriestUseClientPacket) – The data to serialize.
- static deserialize(reader) PriestUseClientPacket[source]¶
Deserializes an instance of PriestUseClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class QuestAcceptClientPacket[source]¶
Bases:
PacketResponse to a quest NPC dialog
- __init__(*, session_id, dialog_id, quest_id, npc_index, reply_type, reply_type_data=None)[source]¶
Create a new instance of QuestAcceptClientPacket.
- Parameters:
session_id (
int) – (Value range is 0-64008.)dialog_id (
int) – (Value range is 0-64008.)quest_id (
int) – (Value range is 0-64008.)npc_index (
int) – (Value range is 0-64008.)reply_type (
DialogReply)reply_type_data (
ReplyTypeDataOk|ReplyTypeDataLink|None, default:None) – Data associated with the reply_type field.
- property reply_type: DialogReply¶
The reply_type field.
- property reply_type_data: ReplyTypeDataOk | ReplyTypeDataLink | None¶
Data associated with the reply_type field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of QuestAcceptClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
QuestAcceptClientPacket) – The data to serialize.
- static deserialize(reader) QuestAcceptClientPacket[source]¶
Deserializes an instance of QuestAcceptClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- ReplyTypeData¶
Data associated with different values of the reply_type field.
alias of
QuestAcceptClientPacket.ReplyTypeDataOk|QuestAcceptClientPacket.ReplyTypeDataLink|None
- class ReplyTypeDataOk[source]¶
Bases:
objectData associated with reply_type value DialogReply.Ok
- static serialize(writer, data) None[source]¶
Serializes an instance of QuestAcceptClientPacket.ReplyTypeDataOk to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ReplyTypeDataOk) – The data to serialize.
- static deserialize(reader) ReplyTypeDataOk[source]¶
Deserializes an instance of QuestAcceptClientPacket.ReplyTypeDataOk from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ReplyTypeDataLink[source]¶
Bases:
objectData associated with reply_type value DialogReply.Link
- __init__(*, action)[source]¶
Create a new instance of QuestAcceptClientPacket.ReplyTypeDataLink.
- Parameters:
action (
int) – (Value range is 0-252.)
- static serialize(writer, data) None[source]¶
Serializes an instance of QuestAcceptClientPacket.ReplyTypeDataLink to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ReplyTypeDataLink) – The data to serialize.
- static deserialize(reader) ReplyTypeDataLink[source]¶
Deserializes an instance of QuestAcceptClientPacket.ReplyTypeDataLink from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class QuestListClientPacket[source]¶
Bases:
PacketQuest history / progress request
- __init__(*, page)[source]¶
Create a new instance of QuestListClientPacket.
- Parameters:
page (
QuestPage)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of QuestListClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
QuestListClientPacket) – The data to serialize.
- static deserialize(reader) QuestListClientPacket[source]¶
Deserializes an instance of QuestListClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class QuestUseClientPacket[source]¶
Bases:
PacketTalking to a quest NPC
- property quest_id: int¶
Quest ID is 0 unless the player explicitly selects a quest from the quest switcher
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of QuestUseClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
QuestUseClientPacket) – The data to serialize.
- static deserialize(reader) QuestUseClientPacket[source]¶
Deserializes an instance of QuestUseClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class RangeRequestClientPacket[source]¶
Bases:
PacketRequesting info about nearby players and NPCs
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of RangeRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
RangeRequestClientPacket) – The data to serialize.
- static deserialize(reader) RangeRequestClientPacket[source]¶
Deserializes an instance of RangeRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class RefreshRequestClientPacket[source]¶
Bases:
PacketRequesting new info about nearby objects
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of RefreshRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
RefreshRequestClientPacket) – The data to serialize.
- static deserialize(reader) RefreshRequestClientPacket[source]¶
Deserializes an instance of RefreshRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ShopBuyClientPacket[source]¶
Bases:
PacketPurchasing an item from a shop
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ShopBuyClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ShopBuyClientPacket) – The data to serialize.
- static deserialize(reader) ShopBuyClientPacket[source]¶
Deserializes an instance of ShopBuyClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ShopCreateClientPacket[source]¶
Bases:
PacketCrafting an item from a shop
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ShopCreateClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ShopCreateClientPacket) – The data to serialize.
- static deserialize(reader) ShopCreateClientPacket[source]¶
Deserializes an instance of ShopCreateClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ShopOpenClientPacket[source]¶
Bases:
PacketTalking to a shop NPC
- __init__(*, npc_index)[source]¶
Create a new instance of ShopOpenClientPacket.
- Parameters:
npc_index (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ShopOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ShopOpenClientPacket) – The data to serialize.
- static deserialize(reader) ShopOpenClientPacket[source]¶
Deserializes an instance of ShopOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ShopSellClientPacket[source]¶
Bases:
PacketSelling an item to a shop
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of ShopSellClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ShopSellClientPacket) – The data to serialize.
- static deserialize(reader) ShopSellClientPacket[source]¶
Deserializes an instance of ShopSellClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class SitAction[source]¶
Bases:
IntEnumWhether the player wants to sit or stand
- Sit = 1¶
- Stand = 2¶
- class SitRequestClientPacket[source]¶
Bases:
PacketSit/stand request
- __init__(*, sit_action, sit_action_data=None)[source]¶
Create a new instance of SitRequestClientPacket.
- Parameters:
sit_action (
SitAction)sit_action_data (
SitActionDataSit|None, default:None) – Data associated with the sit_action field.
- property sit_action_data: SitActionDataSit | None¶
Data associated with the sit_action field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of SitRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
SitRequestClientPacket) – The data to serialize.
- static deserialize(reader) SitRequestClientPacket[source]¶
Deserializes an instance of SitRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- SitActionData¶
Data associated with different values of the sit_action field.
alias of
SitRequestClientPacket.SitActionDataSit|None
- class SitActionDataSit[source]¶
Bases:
objectData associated with sit_action value SitAction.Sit
- __init__(*, cursor_coords)[source]¶
Create a new instance of SitRequestClientPacket.SitActionDataSit.
- Parameters:
cursor_coords (
Coords) – The coordinates of the map cursor
- static serialize(writer, data) None[source]¶
Serializes an instance of SitRequestClientPacket.SitActionDataSit to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
SitActionDataSit) – The data to serialize.
- static deserialize(reader) SitActionDataSit[source]¶
Deserializes an instance of SitRequestClientPacket.SitActionDataSit from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class SpellRequestClientPacket[source]¶
Bases:
PacketBegin spell chanting
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of SpellRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
SpellRequestClientPacket) – The data to serialize.
- static deserialize(reader) SpellRequestClientPacket[source]¶
Deserializes an instance of SpellRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class SpellTargetGroupClientPacket[source]¶
Bases:
PacketGroup spell cast
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of SpellTargetGroupClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
SpellTargetGroupClientPacket) – The data to serialize.
- static deserialize(reader) SpellTargetGroupClientPacket[source]¶
Deserializes an instance of SpellTargetGroupClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class SpellTargetOtherClientPacket[source]¶
Bases:
PacketTargeted spell cast
- __init__(*, target_type, previous_timestamp, spell_id, victim_id, timestamp)[source]¶
Create a new instance of SpellTargetOtherClientPacket.
- Parameters:
target_type (
SpellTargetType)previous_timestamp (
int) – (Value range is 0-16194276.)spell_id (
int) – (Value range is 0-64008.)victim_id (
int) – (Value range is 0-64008.)timestamp (
int) – (Value range is 0-16194276.)
- property target_type: SpellTargetType¶
The target_type field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of SpellTargetOtherClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
SpellTargetOtherClientPacket) – The data to serialize.
- static deserialize(reader) SpellTargetOtherClientPacket[source]¶
Deserializes an instance of SpellTargetOtherClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class SpellTargetSelfClientPacket[source]¶
Bases:
PacketSelf-targeted spell cast
- __init__(*, direction, spell_id, timestamp)[source]¶
Create a new instance of SpellTargetSelfClientPacket.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of SpellTargetSelfClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
SpellTargetSelfClientPacket) – The data to serialize.
- static deserialize(reader) SpellTargetSelfClientPacket[source]¶
Deserializes an instance of SpellTargetSelfClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class SpellUseClientPacket[source]¶
Bases:
PacketRaise arm to cast a spell (vestigial)
- __init__(*, direction)[source]¶
Create a new instance of SpellUseClientPacket.
- Parameters:
direction (
Direction)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of SpellUseClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
SpellUseClientPacket) – The data to serialize.
- static deserialize(reader) SpellUseClientPacket[source]¶
Deserializes an instance of SpellUseClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class StatId[source]¶
Bases:
IntEnumBase character stat
- Str = 1¶
- Int = 2¶
- Wis = 3¶
- Agi = 4¶
- Con = 5¶
- Cha = 6¶
- class StatSkillAddClientPacket[source]¶
Bases:
PacketSpending a stat point on a stat or skill
- __init__(*, action_type, action_type_data=None)[source]¶
Create a new instance of StatSkillAddClientPacket.
- Parameters:
action_type (
TrainType)action_type_data (
ActionTypeDataStat|ActionTypeDataSkill|None, default:None) – Data associated with the action_type field.
- property action_type_data: ActionTypeDataStat | ActionTypeDataSkill | None¶
Data associated with the action_type field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of StatSkillAddClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
StatSkillAddClientPacket) – The data to serialize.
- static deserialize(reader) StatSkillAddClientPacket[source]¶
Deserializes an instance of StatSkillAddClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- ActionTypeData¶
Data associated with different values of the action_type field.
alias of
StatSkillAddClientPacket.ActionTypeDataStat|StatSkillAddClientPacket.ActionTypeDataSkill|None
- class ActionTypeDataStat[source]¶
Bases:
objectData associated with action_type value TrainType.Stat
- __init__(*, stat_id)[source]¶
Create a new instance of StatSkillAddClientPacket.ActionTypeDataStat.
- Parameters:
stat_id (
StatId)
- static serialize(writer, data) None[source]¶
Serializes an instance of StatSkillAddClientPacket.ActionTypeDataStat to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ActionTypeDataStat) – The data to serialize.
- static deserialize(reader) ActionTypeDataStat[source]¶
Deserializes an instance of StatSkillAddClientPacket.ActionTypeDataStat from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class ActionTypeDataSkill[source]¶
Bases:
objectData associated with action_type value TrainType.Skill
- __init__(*, spell_id)[source]¶
Create a new instance of StatSkillAddClientPacket.ActionTypeDataSkill.
- Parameters:
spell_id (
int) – (Value range is 0-64008.)
- static serialize(writer, data) None[source]¶
Serializes an instance of StatSkillAddClientPacket.ActionTypeDataSkill to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
ActionTypeDataSkill) – The data to serialize.
- static deserialize(reader) ActionTypeDataSkill[source]¶
Deserializes an instance of StatSkillAddClientPacket.ActionTypeDataSkill from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class StatSkillJunkClientPacket[source]¶
Bases:
PacketResetting stats at a skill master
- __init__(*, session_id)[source]¶
Create a new instance of StatSkillJunkClientPacket.
- Parameters:
session_id (
int) – (Value range is 0-4097152080.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of StatSkillJunkClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
StatSkillJunkClientPacket) – The data to serialize.
- static deserialize(reader) StatSkillJunkClientPacket[source]¶
Deserializes an instance of StatSkillJunkClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class StatSkillOpenClientPacket[source]¶
Bases:
PacketTalking to a skill master NPC
- __init__(*, npc_index)[source]¶
Create a new instance of StatSkillOpenClientPacket.
- Parameters:
npc_index (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of StatSkillOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
StatSkillOpenClientPacket) – The data to serialize.
- static deserialize(reader) StatSkillOpenClientPacket[source]¶
Deserializes an instance of StatSkillOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class StatSkillRemoveClientPacket[source]¶
Bases:
PacketForgetting a skill at a skill master NPC
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of StatSkillRemoveClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
StatSkillRemoveClientPacket) – The data to serialize.
- static deserialize(reader) StatSkillRemoveClientPacket[source]¶
Deserializes an instance of StatSkillRemoveClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class StatSkillTakeClientPacket[source]¶
Bases:
PacketLearning a skill from a skill master NPC
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of StatSkillTakeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
StatSkillTakeClientPacket) – The data to serialize.
- static deserialize(reader) StatSkillTakeClientPacket[source]¶
Deserializes an instance of StatSkillTakeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TalkAdminClientPacket[source]¶
Bases:
PacketAdmin chat message
- __init__(*, message)[source]¶
Create a new instance of TalkAdminClientPacket.
- Parameters:
message (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TalkAdminClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TalkAdminClientPacket) – The data to serialize.
- static deserialize(reader) TalkAdminClientPacket[source]¶
Deserializes an instance of TalkAdminClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TalkAnnounceClientPacket[source]¶
Bases:
PacketAdmin announcement
- __init__(*, message)[source]¶
Create a new instance of TalkAnnounceClientPacket.
- Parameters:
message (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TalkAnnounceClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TalkAnnounceClientPacket) – The data to serialize.
- static deserialize(reader) TalkAnnounceClientPacket[source]¶
Deserializes an instance of TalkAnnounceClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TalkMsgClientPacket[source]¶
Bases:
PacketGlobal chat message
- __init__(*, message)[source]¶
Create a new instance of TalkMsgClientPacket.
- Parameters:
message (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TalkMsgClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TalkMsgClientPacket) – The data to serialize.
- static deserialize(reader) TalkMsgClientPacket[source]¶
Deserializes an instance of TalkMsgClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TalkOpenClientPacket[source]¶
Bases:
PacketParty chat message
- __init__(*, message)[source]¶
Create a new instance of TalkOpenClientPacket.
- Parameters:
message (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TalkOpenClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TalkOpenClientPacket) – The data to serialize.
- static deserialize(reader) TalkOpenClientPacket[source]¶
Deserializes an instance of TalkOpenClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TalkPlayerClientPacket[source]¶
Bases:
PacketPublic chat message - alias of TALK_REPORT (vestigial)
- __init__(*, message)[source]¶
Create a new instance of TalkPlayerClientPacket.
- Parameters:
message (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TalkPlayerClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TalkPlayerClientPacket) – The data to serialize.
- static deserialize(reader) TalkPlayerClientPacket[source]¶
Deserializes an instance of TalkPlayerClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TalkReportClientPacket[source]¶
Bases:
PacketPublic chat message
- __init__(*, message)[source]¶
Create a new instance of TalkReportClientPacket.
- Parameters:
message (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TalkReportClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TalkReportClientPacket) – The data to serialize.
- static deserialize(reader) TalkReportClientPacket[source]¶
Deserializes an instance of TalkReportClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TalkRequestClientPacket[source]¶
Bases:
PacketGuild chat message
- __init__(*, message)[source]¶
Create a new instance of TalkRequestClientPacket.
- Parameters:
message (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TalkRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TalkRequestClientPacket) – The data to serialize.
- static deserialize(reader) TalkRequestClientPacket[source]¶
Deserializes an instance of TalkRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TalkTellClientPacket[source]¶
Bases:
PacketPrivate chat message
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TalkTellClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TalkTellClientPacket) – The data to serialize.
- static deserialize(reader) TalkTellClientPacket[source]¶
Deserializes an instance of TalkTellClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TalkUseClientPacket[source]¶
Bases:
PacketPublic chat message - alias of TALK_REPORT (vestigial)
- __init__(*, message)[source]¶
Create a new instance of TalkUseClientPacket.
- Parameters:
message (
str)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TalkUseClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TalkUseClientPacket) – The data to serialize.
- static deserialize(reader) TalkUseClientPacket[source]¶
Deserializes an instance of TalkUseClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TradeAcceptClientPacket[source]¶
Bases:
PacketAccepting a trade request
- __init__(*, player_id)[source]¶
Create a new instance of TradeAcceptClientPacket.
- Parameters:
player_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TradeAcceptClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TradeAcceptClientPacket) – The data to serialize.
- static deserialize(reader) TradeAcceptClientPacket[source]¶
Deserializes an instance of TradeAcceptClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TradeAddClientPacket[source]¶
Bases:
PacketAdd an item to the trade screen
- __init__(*, add_item)[source]¶
Create a new instance of TradeAddClientPacket.
- Parameters:
add_item (
Item)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TradeAddClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TradeAddClientPacket) – The data to serialize.
- static deserialize(reader) TradeAddClientPacket[source]¶
Deserializes an instance of TradeAddClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TradeAgreeClientPacket[source]¶
Bases:
PacketMark trade as agreed
- __init__(*, agree)[source]¶
Create a new instance of TradeAgreeClientPacket.
- Parameters:
agree (
bool)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TradeAgreeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TradeAgreeClientPacket) – The data to serialize.
- static deserialize(reader) TradeAgreeClientPacket[source]¶
Deserializes an instance of TradeAgreeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TradeCloseClientPacket[source]¶
Bases:
PacketCancel the trade
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TradeCloseClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TradeCloseClientPacket) – The data to serialize.
- static deserialize(reader) TradeCloseClientPacket[source]¶
Deserializes an instance of TradeCloseClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TradeRemoveClientPacket[source]¶
Bases:
PacketRemove an item from the trade screen
- __init__(*, item_id)[source]¶
Create a new instance of TradeRemoveClientPacket.
- Parameters:
item_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TradeRemoveClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TradeRemoveClientPacket) – The data to serialize.
- static deserialize(reader) TradeRemoveClientPacket[source]¶
Deserializes an instance of TradeRemoveClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TradeRequestClientPacket[source]¶
Bases:
PacketRequesting a trade with another player
- __init__(*, player_id)[source]¶
Create a new instance of TradeRequestClientPacket.
- Parameters:
player_id (
int) – (Value range is 0-64008.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of TradeRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
TradeRequestClientPacket) – The data to serialize.
- static deserialize(reader) TradeRequestClientPacket[source]¶
Deserializes an instance of TradeRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class TrainType[source]¶
Bases:
IntEnumWhether the player is spending a stat point or a skill point
- Stat = 1¶
- Skill = 2¶
- class WalkAction[source]¶
Bases:
objectCommon data between walk packets
- static serialize(writer, data) None[source]¶
Serializes an instance of WalkAction to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
WalkAction) – The data to serialize.
- static deserialize(reader) WalkAction[source]¶
Deserializes an instance of WalkAction from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class WalkAdminClientPacket[source]¶
Bases:
PacketWalking with #nowall
- __init__(*, walk_action)[source]¶
Create a new instance of WalkAdminClientPacket.
- Parameters:
walk_action (
WalkAction)
- property walk_action: WalkAction¶
The walk_action field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of WalkAdminClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
WalkAdminClientPacket) – The data to serialize.
- static deserialize(reader) WalkAdminClientPacket[source]¶
Deserializes an instance of WalkAdminClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class WalkPlayerClientPacket[source]¶
Bases:
PacketWalking
- __init__(*, walk_action)[source]¶
Create a new instance of WalkPlayerClientPacket.
- Parameters:
walk_action (
WalkAction)
- property walk_action: WalkAction¶
The walk_action field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of WalkPlayerClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
WalkPlayerClientPacket) – The data to serialize.
- static deserialize(reader) WalkPlayerClientPacket[source]¶
Deserializes an instance of WalkPlayerClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class WalkSpecClientPacket[source]¶
Bases:
PacketWalking through a player
- __init__(*, walk_action)[source]¶
Create a new instance of WalkSpecClientPacket.
- Parameters:
walk_action (
WalkAction)
- property walk_action: WalkAction¶
The walk_action field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of WalkSpecClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
WalkSpecClientPacket) – The data to serialize.
- static deserialize(reader) WalkSpecClientPacket[source]¶
Deserializes an instance of WalkSpecClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class WarpAcceptClientPacket[source]¶
Bases:
PacketAccept a warp request from the server
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of WarpAcceptClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
WarpAcceptClientPacket) – The data to serialize.
- static deserialize(reader) WarpAcceptClientPacket[source]¶
Deserializes an instance of WarpAcceptClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class WarpTakeClientPacket[source]¶
Bases:
PacketRequest to download a copy of the map
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of WarpTakeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
WarpTakeClientPacket) – The data to serialize.
- static deserialize(reader) WarpTakeClientPacket[source]¶
Deserializes an instance of WarpTakeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class WelcomeAgreeClientPacket[source]¶
Bases:
PacketRequesting a file
- __init__(*, file_type, session_id, file_type_data=None)[source]¶
Create a new instance of WelcomeAgreeClientPacket.
- Parameters:
file_type (
FileType)session_id (
int) – (Value range is 0-64008.)file_type_data (
FileTypeDataEmf|FileTypeDataEif|FileTypeDataEnf|FileTypeDataEsf|FileTypeDataEcf|None, default:None) – Data associated with the file_type field.
- property file_type_data: FileTypeDataEmf | FileTypeDataEif | FileTypeDataEnf | FileTypeDataEsf | FileTypeDataEcf | None¶
Data associated with the file_type field.
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of WelcomeAgreeClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
WelcomeAgreeClientPacket) – The data to serialize.
- static deserialize(reader) WelcomeAgreeClientPacket[source]¶
Deserializes an instance of WelcomeAgreeClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- FileTypeData¶
Data associated with different values of the file_type field.
alias of
WelcomeAgreeClientPacket.FileTypeDataEmf|WelcomeAgreeClientPacket.FileTypeDataEif|WelcomeAgreeClientPacket.FileTypeDataEnf|WelcomeAgreeClientPacket.FileTypeDataEsf|WelcomeAgreeClientPacket.FileTypeDataEcf|None
- class FileTypeDataEmf[source]¶
Bases:
objectData associated with file_type value FileType.Emf
- __init__(*, file_id)[source]¶
Create a new instance of WelcomeAgreeClientPacket.FileTypeDataEmf.
- Parameters:
file_id (
int) – (Value range is 0-64008.)
- static serialize(writer, data) None[source]¶
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEmf to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
FileTypeDataEmf) – The data to serialize.
- static deserialize(reader) FileTypeDataEmf[source]¶
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEmf from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class FileTypeDataEif[source]¶
Bases:
objectData associated with file_type value FileType.Eif
- __init__(*, file_id)[source]¶
Create a new instance of WelcomeAgreeClientPacket.FileTypeDataEif.
- Parameters:
file_id (
int) – (Value range is 0-252.)
- static serialize(writer, data) None[source]¶
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEif to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
FileTypeDataEif) – The data to serialize.
- static deserialize(reader) FileTypeDataEif[source]¶
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEif from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class FileTypeDataEnf[source]¶
Bases:
objectData associated with file_type value FileType.Enf
- __init__(*, file_id)[source]¶
Create a new instance of WelcomeAgreeClientPacket.FileTypeDataEnf.
- Parameters:
file_id (
int) – (Value range is 0-252.)
- static serialize(writer, data) None[source]¶
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEnf to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
FileTypeDataEnf) – The data to serialize.
- static deserialize(reader) FileTypeDataEnf[source]¶
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEnf from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class FileTypeDataEsf[source]¶
Bases:
objectData associated with file_type value FileType.Esf
- __init__(*, file_id)[source]¶
Create a new instance of WelcomeAgreeClientPacket.FileTypeDataEsf.
- Parameters:
file_id (
int) – (Value range is 0-252.)
- static serialize(writer, data) None[source]¶
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEsf to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
FileTypeDataEsf) – The data to serialize.
- static deserialize(reader) FileTypeDataEsf[source]¶
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEsf from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class FileTypeDataEcf[source]¶
Bases:
objectData associated with file_type value FileType.Ecf
- __init__(*, file_id)[source]¶
Create a new instance of WelcomeAgreeClientPacket.FileTypeDataEcf.
- Parameters:
file_id (
int) – (Value range is 0-252.)
- static serialize(writer, data) None[source]¶
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEcf to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
FileTypeDataEcf) – The data to serialize.
- static deserialize(reader) FileTypeDataEcf[source]¶
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEcf from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class WelcomeMsgClientPacket[source]¶
Bases:
PacketEntering game
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of WelcomeMsgClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
WelcomeMsgClientPacket) – The data to serialize.
- static deserialize(reader) WelcomeMsgClientPacket[source]¶
Deserializes an instance of WelcomeMsgClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.
- class WelcomeRequestClientPacket[source]¶
Bases:
PacketSelected a character
- __init__(*, character_id)[source]¶
Create a new instance of WelcomeRequestClientPacket.
- Parameters:
character_id (
int) – (Value range is 0-4097152080.)
- static family() PacketFamily[source]¶
Returns the packet family associated with this packet.
- Returns:
The packet family associated with this packet.
- static action() PacketAction[source]¶
Returns the packet action associated with this packet.
- Returns:
The packet action associated with this packet.
- write(writer)[source]¶
Serializes and writes this packet to the provided EoWriter.
- Parameters:
writer (
EoWriter) – the writer that this packet will be written to.
- static serialize(writer, data) None[source]¶
Serializes an instance of WelcomeRequestClientPacket to the provided EoWriter.
- Parameters:
writer (
EoWriter) – The writer that the data will be serialized to.data (
WelcomeRequestClientPacket) – The data to serialize.
- static deserialize(reader) WelcomeRequestClientPacket[source]¶
Deserializes an instance of WelcomeRequestClientPacket from the provided EoReader.
- Parameters:
reader (
EoReader) – The writer that the data will be serialized to.- Returns:
The data to serialize.