client
EO network protocol data structures.
See Also
PacketFamily
Bases: IntEnum
The type of operation that a packet performs. Part of the unique packet ID.
Source code in src/eolib/protocol/_generated/net/packet_family.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | |
Connection = 1
class-attribute
instance-attribute
Account = 2
class-attribute
instance-attribute
Character = 3
class-attribute
instance-attribute
Login = 4
class-attribute
instance-attribute
Welcome = 5
class-attribute
instance-attribute
Walk = 6
class-attribute
instance-attribute
Face = 7
class-attribute
instance-attribute
Chair = 8
class-attribute
instance-attribute
Emote = 9
class-attribute
instance-attribute
Attack = 11
class-attribute
instance-attribute
Spell = 12
class-attribute
instance-attribute
Shop = 13
class-attribute
instance-attribute
Item = 14
class-attribute
instance-attribute
StatSkill = 16
class-attribute
instance-attribute
Global = 17
class-attribute
instance-attribute
Talk = 18
class-attribute
instance-attribute
Warp = 19
class-attribute
instance-attribute
Jukebox = 21
class-attribute
instance-attribute
Players = 22
class-attribute
instance-attribute
Avatar = 23
class-attribute
instance-attribute
Party = 24
class-attribute
instance-attribute
Refresh = 25
class-attribute
instance-attribute
Npc = 26
class-attribute
instance-attribute
PlayerRange = 27
class-attribute
instance-attribute
NpcRange = 28
class-attribute
instance-attribute
Range = 29
class-attribute
instance-attribute
Paperdoll = 30
class-attribute
instance-attribute
Effect = 31
class-attribute
instance-attribute
Trade = 32
class-attribute
instance-attribute
Chest = 33
class-attribute
instance-attribute
Door = 34
class-attribute
instance-attribute
Message = 35
class-attribute
instance-attribute
Bank = 36
class-attribute
instance-attribute
Locker = 37
class-attribute
instance-attribute
Barber = 38
class-attribute
instance-attribute
Guild = 39
class-attribute
instance-attribute
Music = 40
class-attribute
instance-attribute
Sit = 41
class-attribute
instance-attribute
Recover = 42
class-attribute
instance-attribute
Board = 43
class-attribute
instance-attribute
Cast = 44
class-attribute
instance-attribute
Arena = 45
class-attribute
instance-attribute
Priest = 46
class-attribute
instance-attribute
Marriage = 47
class-attribute
instance-attribute
AdminInteract = 48
class-attribute
instance-attribute
Citizen = 49
class-attribute
instance-attribute
Quest = 50
class-attribute
instance-attribute
Book = 51
class-attribute
instance-attribute
Error = 250
class-attribute
instance-attribute
Init = 255
class-attribute
instance-attribute
PacketAction
Bases: IntEnum
The specific action that a packet performs. Part of the unique packet ID.
Source code in src/eolib/protocol/_generated/net/packet_action.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | |
Request = 1
class-attribute
instance-attribute
Accept = 2
class-attribute
instance-attribute
Reply = 3
class-attribute
instance-attribute
Remove = 4
class-attribute
instance-attribute
Agree = 5
class-attribute
instance-attribute
Create = 6
class-attribute
instance-attribute
Add = 7
class-attribute
instance-attribute
Player = 8
class-attribute
instance-attribute
Take = 9
class-attribute
instance-attribute
Use = 10
class-attribute
instance-attribute
Buy = 11
class-attribute
instance-attribute
Sell = 12
class-attribute
instance-attribute
Open = 13
class-attribute
instance-attribute
Close = 14
class-attribute
instance-attribute
Msg = 15
class-attribute
instance-attribute
Spec = 16
class-attribute
instance-attribute
Admin = 17
class-attribute
instance-attribute
List = 18
class-attribute
instance-attribute
Tell = 20
class-attribute
instance-attribute
Report = 21
class-attribute
instance-attribute
Announce = 22
class-attribute
instance-attribute
Server = 23
class-attribute
instance-attribute
Drop = 24
class-attribute
instance-attribute
Junk = 25
class-attribute
instance-attribute
Obtain = 26
class-attribute
instance-attribute
Get = 27
class-attribute
instance-attribute
Kick = 28
class-attribute
instance-attribute
Rank = 29
class-attribute
instance-attribute
TargetSelf = 30
class-attribute
instance-attribute
TargetOther = 31
class-attribute
instance-attribute
TargetGroup = 33
class-attribute
instance-attribute
Dialog = 34
class-attribute
instance-attribute
Ping = 240
class-attribute
instance-attribute
Pong = 241
class-attribute
instance-attribute
Net242 = 242
class-attribute
instance-attribute
Net243 = 243
class-attribute
instance-attribute
Net244 = 244
class-attribute
instance-attribute
Error = 250
class-attribute
instance-attribute
Init = 255
class-attribute
instance-attribute
SerializationError
Bases: Exception
Represents an error in serializing a protocol data structure.
Source code in src/eolib/protocol/serialization_error.py
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
__init__(message)
Constructs a SerializationError with the specified error message.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message |
str
|
The error message. |
required |
Source code in src/eolib/protocol/serialization_error.py
6 7 8 9 10 11 12 13 | |
Packet
Bases: ABC
Object representation of a packet in the EO network protocol.
Source code in src/eolib/protocol/net/packet.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |
family()
abstractmethod
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/net/packet.py
13 14 15 16 17 18 19 20 21 22 | |
action()
abstractmethod
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/net/packet.py
24 25 26 27 28 29 30 31 32 33 | |
write(writer)
abstractmethod
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/net/packet.py
35 36 37 38 39 40 41 42 43 | |
EoWriter
Source code in src/eolib/data/eo_writer.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 | |
data = bytearray()
instance-attribute
string_sanitization_mode: bool
property
writable
Gets the string sanitization mode for the writer.
Returns:
| Name | Type | Description |
|---|---|---|
bool |
bool
|
True if string sanitization is enabled. |
__init__()
Source code in src/eolib/data/eo_writer.py
7 8 9 | |
add_byte(value)
Adds a raw byte to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value |
int
|
The byte to add. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the value is above |
Source code in src/eolib/data/eo_writer.py
11 12 13 14 15 16 17 18 19 20 21 22 | |
add_bytes(bytes)
Adds raw bytes to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
bytes |
bytes
|
The bytes to add. |
required |
Source code in src/eolib/data/eo_writer.py
24 25 26 27 28 29 30 31 | |
add_char(number)
Adds an encoded 1-byte integer to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number |
int
|
The number to encode and add. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the value is not below |
Source code in src/eolib/data/eo_writer.py
33 34 35 36 37 38 39 40 41 42 43 44 45 | |
add_short(number)
Adds an encoded 2-byte integer to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number |
int
|
The number to encode and add. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the value is not below |
Source code in src/eolib/data/eo_writer.py
47 48 49 50 51 52 53 54 55 56 57 58 59 | |
add_three(number)
Adds an encoded 3-byte integer to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number |
int
|
The number to encode and add. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the value is not below |
Source code in src/eolib/data/eo_writer.py
61 62 63 64 65 66 67 68 69 70 71 72 73 | |
add_int(number)
Adds an encoded 4-byte integer to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
number |
int
|
The number to encode and add. |
required |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the value is not below |
Source code in src/eolib/data/eo_writer.py
75 76 77 78 79 80 81 82 83 84 85 86 87 | |
add_string(string)
Adds a string to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
string |
str
|
The string to be added. |
required |
Source code in src/eolib/data/eo_writer.py
89 90 91 92 93 94 95 96 97 98 | |
add_fixed_string(string, length, padded=False)
Adds a fixed-length string to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
string |
str
|
The string to be added. |
required |
length |
int
|
The expected length of the string. |
required |
padded |
bool
|
True if the string should be padded to the length with
trailing |
False
|
Source code in src/eolib/data/eo_writer.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | |
add_encoded_string(string)
Adds an encoded string to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
string |
str
|
The string to be encoded and added. |
required |
Source code in src/eolib/data/eo_writer.py
117 118 119 120 121 122 123 124 125 126 127 | |
add_fixed_encoded_string(string, length, padded=False)
Adds a fixed-length encoded string to the writer data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
string |
str
|
The string to be encoded and added. |
required |
length |
int
|
The expected length of the string. |
required |
padded |
bool
|
True if the string should be padded to the length with
trailing |
False
|
Source code in src/eolib/data/eo_writer.py
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | |
to_bytearray()
Gets the writer data as a byte array.
Returns:
| Name | Type | Description |
|---|---|---|
bytearray |
bytearray
|
A copy of the writer data as a byte array. |
Source code in src/eolib/data/eo_writer.py
161 162 163 164 165 166 167 168 | |
__len__()
Gets the length of the writer data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The length of the writer data. |
Source code in src/eolib/data/eo_writer.py
170 171 172 173 174 175 176 177 | |
EoReader
Bases: object
A class for reading EO data from a sequence of bytes.
EoReader features a chunked reading mode, which is important for accurate emulation of
the official game client.
See documentation for chunked reading: https://github.com/Cirras/eo-protocol/blob/master/docs/chunks.md
Source code in src/eolib/data/eo_reader.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 | |
chunked_reading_mode: bool
property
writable
bool: Gets or sets the chunked reading mode for the reader.
In chunked reading mode:
- The reader will treat 0xFF bytes as the end of the current chunk.
- next_chunk() can be called to move to the next chunk.
remaining: int
property
If chunked reading mode is enabled, gets the number of bytes remaining in the current
chunk. Otherwise, gets the total number of bytes remaining in the input data.
position: int
property
int: Gets the current position in the input data.
__init__(data)
Creates a new EoReader instance for the specified data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data |
bytes
|
The byte array containing the input data. |
required |
Source code in src/eolib/data/eo_reader.py
23 24 25 26 27 28 29 30 31 32 33 34 | |
slice(index=None, length=None)
Creates a new EoReader whose input data is a shared subsequence of this reader's
data.
The input data of the new reader will start at position index in this reader and contain
up to length bytes. The two reader's position and chunked reading mode will be
independent.
The new reader's position will be zero, and its chunked reading mode will be false.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
index |
int
|
The position in this reader at which the data of the new reader will start; must be non-negative. Defaults to the current reader position. |
None
|
length |
int
|
The length of the shared subsequence of data to supply to the
new reader; must be non-negative. Defaults to the length of the remaining data
starting from |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
EoReader |
EoReader
|
The new reader. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |
Source code in src/eolib/data/eo_reader.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | |
get_byte()
Reads a raw byte from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
A raw byte. |
Source code in src/eolib/data/eo_reader.py
76 77 78 79 80 81 82 83 | |
get_bytes(length)
Reads an array of raw bytes from the input data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
length |
int
|
The number of bytes to read. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
bytearray |
bytearray
|
An array of raw bytes. |
Source code in src/eolib/data/eo_reader.py
85 86 87 88 89 90 91 92 93 94 95 | |
get_char()
Reads an encoded 1-byte integer from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
A decoded 1-byte integer. |
Source code in src/eolib/data/eo_reader.py
97 98 99 100 101 102 103 104 | |
get_short()
Reads an encoded 2-byte integer from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
A decoded 2-byte integer. |
Source code in src/eolib/data/eo_reader.py
106 107 108 109 110 111 112 113 | |
get_three()
Reads an encoded 3-byte integer from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
A decoded 3-byte integer. |
Source code in src/eolib/data/eo_reader.py
115 116 117 118 119 120 121 122 | |
get_int()
Reads an encoded 4-byte integer from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
A decoded 4-byte integer. |
Source code in src/eolib/data/eo_reader.py
124 125 126 127 128 129 130 131 | |
get_string()
Reads a string from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
A string. |
Source code in src/eolib/data/eo_reader.py
133 134 135 136 137 138 139 140 141 | |
get_fixed_string(length, padded=False)
Reads a string with a fixed length from the input data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
length |
int
|
The length of the string. |
required |
padded |
bool
|
True if the string is padded with trailing |
False
|
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
A decoded string. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the length is negative. |
Source code in src/eolib/data/eo_reader.py
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | |
get_encoded_string()
Reads an encoded string from the input data.
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
A decoded string. |
Source code in src/eolib/data/eo_reader.py
164 165 166 167 168 169 170 171 172 173 | |
get_fixed_encoded_string(length, padded=False)
Reads an encoded string with a fixed length from the input data.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
length |
int
|
The length of the string. |
required |
padded |
bool
|
True if the string is padded with trailing |
False
|
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
A decoded string. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If the length is negative. |
Source code in src/eolib/data/eo_reader.py
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | |
next_chunk()
Moves the reader position to the start of the next chunk in the input data.
Raises:
| Type | Description |
|---|---|
RuntimeError
|
If not in chunked reading mode. |
Source code in src/eolib/data/eo_reader.py
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 | |
WelcomeRequestClientPacket
Bases: Packet
Selected a character
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
character_id: int
property
__init__(*, character_id)
Create a new instance of WelcomeRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
character_id |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WelcomeRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WelcomeRequestClientPacket |
WelcomeRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_request_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
WelcomeMsgClientPacket
Bases: Packet
Entering game
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
character_id: int
property
__init__(*, session_id, character_id)
Create a new instance of WelcomeMsgClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-16194276.) |
required |
character_id |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeMsgClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WelcomeMsgClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeMsgClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WelcomeMsgClientPacket |
WelcomeMsgClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_msg_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
FileType
Bases: IntEnum
Data file type
Source code in src/eolib/protocol/_generated/net/client/file_type.py
9 10 11 12 13 14 15 16 17 | |
Emf = 1
class-attribute
instance-attribute
Eif = 2
class-attribute
instance-attribute
Enf = 3
class-attribute
instance-attribute
Esf = 4
class-attribute
instance-attribute
Ecf = 5
class-attribute
instance-attribute
WelcomeAgreeClientPacket
Bases: Packet
Requesting a file
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_type: FileType
property
session_id: int
property
file_type_data: WelcomeAgreeClientPacket.FileTypeData
property
WelcomeAgreeClientPacket.FileTypeData: Data associated with the file_type field.
FileTypeData = Union['WelcomeAgreeClientPacket.FileTypeDataEmf', 'WelcomeAgreeClientPacket.FileTypeDataEif', 'WelcomeAgreeClientPacket.FileTypeDataEnf', 'WelcomeAgreeClientPacket.FileTypeDataEsf', 'WelcomeAgreeClientPacket.FileTypeDataEcf', None]
class-attribute
instance-attribute
Data associated with different values of the file_type field.
FileTypeDataEmf
Data associated with file_type value FileType.Emf
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_id: int
property
__init__(*, file_id)
Create a new instance of WelcomeAgreeClientPacket.FileTypeDataEmf.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
179 180 181 182 183 184 185 186 | |
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEmf to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FileTypeDataEmf
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEmf from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
FileTypeDataEmf
|
WelcomeAgreeClientPacket.FileTypeDataEmf: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 | |
FileTypeDataEif
Data associated with file_type value FileType.Eif
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_id: int
property
__init__(*, file_id)
Create a new instance of WelcomeAgreeClientPacket.FileTypeDataEif.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_id |
int
|
(Value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
250 251 252 253 254 255 256 257 | |
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEif to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FileTypeDataEif
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEif from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
FileTypeDataEif
|
WelcomeAgreeClientPacket.FileTypeDataEif: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 | |
FileTypeDataEnf
Data associated with file_type value FileType.Enf
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_id: int
property
__init__(*, file_id)
Create a new instance of WelcomeAgreeClientPacket.FileTypeDataEnf.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_id |
int
|
(Value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
321 322 323 324 325 326 327 328 | |
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEnf to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FileTypeDataEnf
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEnf from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
FileTypeDataEnf
|
WelcomeAgreeClientPacket.FileTypeDataEnf: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 | |
FileTypeDataEsf
Data associated with file_type value FileType.Esf
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_id: int
property
__init__(*, file_id)
Create a new instance of WelcomeAgreeClientPacket.FileTypeDataEsf.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_id |
int
|
(Value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
392 393 394 395 396 397 398 399 | |
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEsf to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FileTypeDataEsf
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEsf from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
FileTypeDataEsf
|
WelcomeAgreeClientPacket.FileTypeDataEsf: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 | |
FileTypeDataEcf
Data associated with file_type value FileType.Ecf
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
file_id: int
property
__init__(*, file_id)
Create a new instance of WelcomeAgreeClientPacket.FileTypeDataEcf.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_id |
int
|
(Value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
463 464 465 466 467 468 469 470 | |
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket.FileTypeDataEcf to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FileTypeDataEcf
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket.FileTypeDataEcf from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
FileTypeDataEcf
|
WelcomeAgreeClientPacket.FileTypeDataEcf: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 | |
__init__(*, file_type, session_id, file_type_data=None)
Create a new instance of WelcomeAgreeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_type |
FileType
|
|
required |
session_id |
int
|
(Value range is 0-64008.) |
required |
file_type_data |
FileTypeData
|
Data associated with the |
None
|
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
24 25 26 27 28 29 30 31 32 33 34 35 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
62 63 64 65 66 67 68 69 70 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
72 73 74 75 76 77 78 79 80 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
82 83 84 85 86 87 88 89 | |
serialize(writer, data)
staticmethod
Serializes an instance of WelcomeAgreeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WelcomeAgreeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | |
deserialize(reader)
staticmethod
Deserializes an instance of WelcomeAgreeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WelcomeAgreeClientPacket |
WelcomeAgreeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/welcome_agree_client_packet.py
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | |
WarpTakeClientPacket
Bases: Packet
Request to download a copy of the map
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
map_id: int
property
session_id: int
property
__init__(*, map_id, session_id)
Create a new instance of WarpTakeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
map_id |
int
|
(Value range is 0-64008.) |
required |
session_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of WarpTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WarpTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of WarpTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WarpTakeClientPacket |
WarpTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/warp_take_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
WarpAcceptClientPacket
Bases: Packet
Accept a warp request from the server
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
map_id: int
property
session_id: int
property
__init__(*, map_id, session_id)
Create a new instance of WarpAcceptClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
map_id |
int
|
(Value range is 0-64008.) |
required |
session_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of WarpAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WarpAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of WarpAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WarpAcceptClientPacket |
WarpAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/warp_accept_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
WalkAction
Common data between walk packets
Source code in src/eolib/protocol/_generated/net/client/walk_action.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
direction: Direction
property
timestamp: int
property
coords: Coords
property
__init__(*, direction, timestamp, coords)
Create a new instance of WalkAction.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
direction |
Direction
|
|
required |
timestamp |
int
|
(Value range is 0-16194276.) |
required |
coords |
Coords
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/walk_action.py
21 22 23 24 25 26 27 28 29 30 31 32 | |
serialize(writer, data)
staticmethod
Serializes an instance of WalkAction to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WalkAction
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_action.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | |
deserialize(reader)
staticmethod
Deserializes an instance of WalkAction from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WalkAction |
WalkAction
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/walk_action.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | |
WalkSpecClientPacket
Bases: Packet
Walking through a player
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
walk_action: WalkAction
property
__init__(*, walk_action)
Create a new instance of WalkSpecClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
walk_action |
WalkAction
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of WalkSpecClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WalkSpecClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of WalkSpecClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WalkSpecClientPacket |
WalkSpecClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/walk_spec_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
WalkPlayerClientPacket
Bases: Packet
Walking
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
walk_action: WalkAction
property
__init__(*, walk_action)
Create a new instance of WalkPlayerClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
walk_action |
WalkAction
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of WalkPlayerClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WalkPlayerClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of WalkPlayerClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WalkPlayerClientPacket |
WalkPlayerClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/walk_player_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
WalkAdminClientPacket
Bases: Packet
Walking with #nowall
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
walk_action: WalkAction
property
__init__(*, walk_action)
Create a new instance of WalkAdminClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
walk_action |
WalkAction
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of WalkAdminClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
WalkAdminClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of WalkAdminClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
WalkAdminClientPacket |
WalkAdminClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/walk_admin_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
Direction
Bases: IntEnum
The direction a player or NPC is facing
Source code in src/eolib/protocol/_generated/direction.py
9 10 11 12 13 14 15 16 | |
Down = 0
class-attribute
instance-attribute
Left = 1
class-attribute
instance-attribute
Up = 2
class-attribute
instance-attribute
Right = 3
class-attribute
instance-attribute
Coords
Map coordinates
Source code in src/eolib/protocol/_generated/coords.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
x: int
property
y: int
property
__init__(*, x, y)
Create a new instance of Coords.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x |
int
|
(Value range is 0-252.) |
required |
y |
int
|
(Value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/coords.py
18 19 20 21 22 23 24 25 26 27 | |
serialize(writer, data)
staticmethod
Serializes an instance of Coords to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
Coords
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/coords.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | |
deserialize(reader)
staticmethod
Deserializes an instance of Coords from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
Coords |
Coords
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/coords.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
ProtocolEnumMeta
Bases: EnumMeta
Source code in src/eolib/protocol/protocol_enum_meta.py
4 5 6 7 8 9 10 11 12 13 14 15 16 | |
__call__(value, names=None, *, module=None, qualname=None, type=None, start=1)
Source code in src/eolib/protocol/protocol_enum_meta.py
5 6 7 8 9 10 11 12 13 14 15 16 | |
TrainType
Bases: IntEnum
Whether the player is spending a stat point or a skill point
Source code in src/eolib/protocol/_generated/net/client/train_type.py
9 10 11 12 13 14 | |
Stat = 1
class-attribute
instance-attribute
Skill = 2
class-attribute
instance-attribute
TradeRequestClientPacket
Bases: Packet
Requesting a trade with another player
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
__init__(*, player_id)
Create a new instance of TradeRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
player_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeRequestClientPacket |
TradeRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_request_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
TradeRemoveClientPacket
Bases: Packet
Remove an item from the trade screen
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item_id: int
property
__init__(*, item_id)
Create a new instance of TradeRemoveClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
item_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeRemoveClientPacket |
TradeRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_remove_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
TradeCloseClientPacket
Bases: Packet
Cancel the trade
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of TradeCloseClientPacket.
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
18 19 20 21 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeCloseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeCloseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeCloseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeCloseClientPacket |
TradeCloseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_close_client_packet.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
TradeAgreeClientPacket
Bases: Packet
Mark trade as agreed
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
agree: bool
property
__init__(*, agree)
Create a new instance of TradeAgreeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
agree |
bool
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeAgreeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeAgreeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeAgreeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeAgreeClientPacket |
TradeAgreeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_agree_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
Item
An item reference with a 4-byte amount
Source code in src/eolib/protocol/_generated/net/item.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
id: int
property
amount: int
property
__init__(*, id, amount)
Create a new instance of Item.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id |
int
|
(Value range is 0-64008.) |
required |
amount |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/item.py
18 19 20 21 22 23 24 25 26 27 | |
serialize(writer, data)
staticmethod
Serializes an instance of Item to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
Item
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/item.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | |
deserialize(reader)
staticmethod
Deserializes an instance of Item from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
Item |
Item
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/item.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
TradeAddClientPacket
Bases: Packet
Add an item to the trade screen
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
add_item: Item
property
__init__(*, add_item)
Create a new instance of TradeAddClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
add_item |
Item
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeAddClientPacket |
TradeAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_add_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
TradeAcceptClientPacket
Bases: Packet
Accepting a trade request
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
__init__(*, player_id)
Create a new instance of TradeAcceptClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
player_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TradeAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TradeAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of TradeAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TradeAcceptClientPacket |
TradeAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/trade_accept_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
TalkUseClientPacket
Bases: Packet
Public chat message - alias of TALK_REPORT (vestigial)
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
__init__(*, message)
Create a new instance of TalkUseClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkUseClientPacket |
TalkUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_use_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
TalkTellClientPacket
Bases: Packet
Private chat message
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
name: str
property
message: str
property
__init__(*, name, message)
Create a new instance of TalkTellClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name |
str
|
|
required |
message |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkTellClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkTellClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkTellClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkTellClientPacket |
TalkTellClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_tell_client_packet.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
TalkRequestClientPacket
Bases: Packet
Guild chat message
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
__init__(*, message)
Create a new instance of TalkRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkRequestClientPacket |
TalkRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_request_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
TalkReportClientPacket
Bases: Packet
Public chat message
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
__init__(*, message)
Create a new instance of TalkReportClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkReportClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkReportClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkReportClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkReportClientPacket |
TalkReportClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_report_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
TalkPlayerClientPacket
Bases: Packet
Public chat message - alias of TALK_REPORT (vestigial)
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
__init__(*, message)
Create a new instance of TalkPlayerClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkPlayerClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkPlayerClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkPlayerClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkPlayerClientPacket |
TalkPlayerClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_player_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
TalkOpenClientPacket
Bases: Packet
Party chat message
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
__init__(*, message)
Create a new instance of TalkOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkOpenClientPacket |
TalkOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_open_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
TalkMsgClientPacket
Bases: Packet
Global chat message
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
__init__(*, message)
Create a new instance of TalkMsgClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkMsgClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkMsgClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkMsgClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkMsgClientPacket |
TalkMsgClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_msg_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
TalkAnnounceClientPacket
Bases: Packet
Admin announcement
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
__init__(*, message)
Create a new instance of TalkAnnounceClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkAnnounceClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkAnnounceClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkAnnounceClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkAnnounceClientPacket |
TalkAnnounceClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_announce_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
TalkAdminClientPacket
Bases: Packet
Admin chat message
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
__init__(*, message)
Create a new instance of TalkAdminClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of TalkAdminClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
TalkAdminClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of TalkAdminClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
TalkAdminClientPacket |
TalkAdminClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/talk_admin_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
StatSkillTakeClientPacket
Bases: Packet
Learning a skill from a skill master NPC
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
spell_id: int
property
__init__(*, session_id, spell_id)
Create a new instance of StatSkillTakeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
spell_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
StatSkillTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
StatSkillTakeClientPacket |
StatSkillTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_take_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
StatSkillRemoveClientPacket
Bases: Packet
Forgetting a skill at a skill master NPC
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
spell_id: int
property
__init__(*, session_id, spell_id)
Create a new instance of StatSkillRemoveClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
spell_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
StatSkillRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
StatSkillRemoveClientPacket |
StatSkillRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_remove_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
StatSkillOpenClientPacket
Bases: Packet
Talking to a skill master NPC
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
__init__(*, npc_index)
Create a new instance of StatSkillOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
npc_index |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
StatSkillOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
StatSkillOpenClientPacket |
StatSkillOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_open_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
StatSkillJunkClientPacket
Bases: Packet
Resetting stats at a skill master
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
__init__(*, session_id)
Create a new instance of StatSkillJunkClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillJunkClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
StatSkillJunkClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillJunkClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
StatSkillJunkClientPacket |
StatSkillJunkClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_junk_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
StatId
Bases: IntEnum
Base character stat
Source code in src/eolib/protocol/_generated/net/client/stat_id.py
9 10 11 12 13 14 15 16 17 18 | |
Str = 1
class-attribute
instance-attribute
Int = 2
class-attribute
instance-attribute
Wis = 3
class-attribute
instance-attribute
Agi = 4
class-attribute
instance-attribute
Con = 5
class-attribute
instance-attribute
Cha = 6
class-attribute
instance-attribute
StatSkillAddClientPacket
Bases: Packet
Spending a stat point on a stat or skill
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
action_type: TrainType
property
action_type_data: StatSkillAddClientPacket.ActionTypeData
property
StatSkillAddClientPacket.ActionTypeData: Data associated with the action_type field.
ActionTypeData = Union['StatSkillAddClientPacket.ActionTypeDataStat', 'StatSkillAddClientPacket.ActionTypeDataSkill', None]
class-attribute
instance-attribute
Data associated with different values of the action_type field.
ActionTypeDataStat
Data associated with action_type value TrainType.Stat
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
stat_id: StatId
property
__init__(*, stat_id)
Create a new instance of StatSkillAddClientPacket.ActionTypeDataStat.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
stat_id |
StatId
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
151 152 153 154 155 156 157 158 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillAddClientPacket.ActionTypeDataStat to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ActionTypeDataStat
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillAddClientPacket.ActionTypeDataStat from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
ActionTypeDataStat
|
StatSkillAddClientPacket.ActionTypeDataStat: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 | |
ActionTypeDataSkill
Data associated with action_type value TrainType.Skill
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
spell_id: int
property
__init__(*, spell_id)
Create a new instance of StatSkillAddClientPacket.ActionTypeDataSkill.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spell_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
222 223 224 225 226 227 228 229 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillAddClientPacket.ActionTypeDataSkill to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ActionTypeDataSkill
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillAddClientPacket.ActionTypeDataSkill from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
ActionTypeDataSkill
|
StatSkillAddClientPacket.ActionTypeDataSkill: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 | |
__init__(*, action_type, action_type_data=None)
Create a new instance of StatSkillAddClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
action_type |
TrainType
|
|
required |
action_type_data |
ActionTypeData
|
Data associated with the |
None
|
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
24 25 26 27 28 29 30 31 32 33 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
56 57 58 59 60 61 62 63 64 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
66 67 68 69 70 71 72 73 74 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
76 77 78 79 80 81 82 83 | |
serialize(writer, data)
staticmethod
Serializes an instance of StatSkillAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
StatSkillAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
deserialize(reader)
staticmethod
Deserializes an instance of StatSkillAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
StatSkillAddClientPacket |
StatSkillAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/stat_skill_add_client_packet.py
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | |
SpellUseClientPacket
Bases: Packet
Raise arm to cast a spell (vestigial)
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
direction: Direction
property
__init__(*, direction)
Create a new instance of SpellUseClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
direction |
Direction
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of SpellUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SpellUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of SpellUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SpellUseClientPacket |
SpellUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/spell_use_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
SpellTargetType
Bases: IntEnum
Target type of a spell cast
Source code in src/eolib/protocol/_generated/net/client/spell_target_type.py
9 10 11 12 13 14 | |
Player = 1
class-attribute
instance-attribute
Npc = 2
class-attribute
instance-attribute
SpellTargetSelfClientPacket
Bases: Packet
Self-targeted spell cast
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
direction: Direction
property
spell_id: int
property
timestamp: int
property
__init__(*, direction, spell_id, timestamp)
Create a new instance of SpellTargetSelfClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
direction |
Direction
|
|
required |
spell_id |
int
|
(Value range is 0-64008.) |
required |
timestamp |
int
|
(Value range is 0-16194276.) |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
23 24 25 26 27 28 29 30 31 32 33 34 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
58 59 60 61 62 63 64 65 66 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
68 69 70 71 72 73 74 75 76 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
78 79 80 81 82 83 84 85 | |
serialize(writer, data)
staticmethod
Serializes an instance of SpellTargetSelfClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SpellTargetSelfClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
deserialize(reader)
staticmethod
Deserializes an instance of SpellTargetSelfClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SpellTargetSelfClientPacket |
SpellTargetSelfClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_self_client_packet.py
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | |
SpellTargetOtherClientPacket
Bases: Packet
Targeted spell cast
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
target_type: SpellTargetType
property
previous_timestamp: int
property
spell_id: int
property
victim_id: int
property
timestamp: int
property
__init__(*, target_type, previous_timestamp, spell_id, victim_id, timestamp)
Create a new instance of SpellTargetOtherClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
target_type |
SpellTargetType
|
|
required |
previous_timestamp |
int
|
(Value range is 0-16194276.) |
required |
spell_id |
int
|
(Value range is 0-64008.) |
required |
victim_id |
int
|
(Value range is 0-64008.) |
required |
timestamp |
int
|
(Value range is 0-16194276.) |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
72 73 74 75 76 77 78 79 80 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
82 83 84 85 86 87 88 89 90 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
92 93 94 95 96 97 98 99 | |
serialize(writer, data)
staticmethod
Serializes an instance of SpellTargetOtherClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SpellTargetOtherClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
deserialize(reader)
staticmethod
Deserializes an instance of SpellTargetOtherClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SpellTargetOtherClientPacket |
SpellTargetOtherClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_other_client_packet.py
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | |
SpellTargetGroupClientPacket
Bases: Packet
Group spell cast
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
spell_id: int
property
timestamp: int
property
__init__(*, spell_id, timestamp)
Create a new instance of SpellTargetGroupClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spell_id |
int
|
(Value range is 0-64008.) |
required |
timestamp |
int
|
(Value range is 0-16194276.) |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of SpellTargetGroupClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SpellTargetGroupClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of SpellTargetGroupClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SpellTargetGroupClientPacket |
SpellTargetGroupClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/spell_target_group_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
SpellRequestClientPacket
Bases: Packet
Begin spell chanting
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
spell_id: int
property
timestamp: int
property
__init__(*, spell_id, timestamp)
Create a new instance of SpellRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spell_id |
int
|
(Value range is 0-64008.) |
required |
timestamp |
int
|
(Value range is 0-16194276.) |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of SpellRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SpellRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of SpellRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SpellRequestClientPacket |
SpellRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/spell_request_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
SitAction
Bases: IntEnum
Whether the player wants to sit or stand
Source code in src/eolib/protocol/_generated/net/client/sit_action.py
9 10 11 12 13 14 | |
Sit = 1
class-attribute
instance-attribute
Stand = 2
class-attribute
instance-attribute
SitRequestClientPacket
Bases: Packet
Sit/stand request
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
sit_action: SitAction
property
sit_action_data: SitRequestClientPacket.SitActionData
property
SitRequestClientPacket.SitActionData: Data associated with the sit_action field.
SitActionData = Union['SitRequestClientPacket.SitActionDataSit', None]
class-attribute
instance-attribute
Data associated with different values of the sit_action field.
SitActionDataSit
Data associated with sit_action value SitAction.Sit
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
cursor_coords: Coords
property
The coordinates of the map cursor
__init__(*, cursor_coords)
Create a new instance of SitRequestClientPacket.SitActionDataSit.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cursor_coords |
Coords
|
The coordinates of the map cursor |
required |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
145 146 147 148 149 150 151 152 | |
serialize(writer, data)
staticmethod
Serializes an instance of SitRequestClientPacket.SitActionDataSit to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SitActionDataSit
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 | |
deserialize(reader)
staticmethod
Deserializes an instance of SitRequestClientPacket.SitActionDataSit from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
SitActionDataSit
|
SitRequestClientPacket.SitActionDataSit: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | |
__init__(*, sit_action, sit_action_data=None)
Create a new instance of SitRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
sit_action |
SitAction
|
|
required |
sit_action_data |
SitActionData
|
Data associated with the |
None
|
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
24 25 26 27 28 29 30 31 32 33 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
56 57 58 59 60 61 62 63 64 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
66 67 68 69 70 71 72 73 74 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
76 77 78 79 80 81 82 83 | |
serialize(writer, data)
staticmethod
Serializes an instance of SitRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SitRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
deserialize(reader)
staticmethod
Deserializes an instance of SitRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
SitRequestClientPacket |
SitRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/sit_request_client_packet.py
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
ShopSellClientPacket
Bases: Packet
Selling an item to a shop
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
sell_item: Item
property
session_id: int
property
__init__(*, sell_item, session_id)
Create a new instance of ShopSellClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
sell_item |
Item
|
|
required |
session_id |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
22 23 24 25 26 27 28 29 30 31 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
51 52 53 54 55 56 57 58 59 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
61 62 63 64 65 66 67 68 69 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
71 72 73 74 75 76 77 78 | |
serialize(writer, data)
staticmethod
Serializes an instance of ShopSellClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ShopSellClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | |
deserialize(reader)
staticmethod
Deserializes an instance of ShopSellClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ShopSellClientPacket |
ShopSellClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/shop_sell_client_packet.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | |
ShopOpenClientPacket
Bases: Packet
Talking to a shop NPC
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
__init__(*, npc_index)
Create a new instance of ShopOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
npc_index |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of ShopOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ShopOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of ShopOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ShopOpenClientPacket |
ShopOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/shop_open_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
ShopCreateClientPacket
Bases: Packet
Crafting an item from a shop
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
craft_item_id: int
property
session_id: int
property
__init__(*, craft_item_id, session_id)
Create a new instance of ShopCreateClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
craft_item_id |
int
|
(Value range is 0-64008.) |
required |
session_id |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of ShopCreateClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ShopCreateClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of ShopCreateClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ShopCreateClientPacket |
ShopCreateClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/shop_create_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
ShopBuyClientPacket
Bases: Packet
Purchasing an item from a shop
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
buy_item: Item
property
session_id: int
property
__init__(*, buy_item, session_id)
Create a new instance of ShopBuyClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
buy_item |
Item
|
|
required |
session_id |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
22 23 24 25 26 27 28 29 30 31 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
51 52 53 54 55 56 57 58 59 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
61 62 63 64 65 66 67 68 69 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
71 72 73 74 75 76 77 78 | |
serialize(writer, data)
staticmethod
Serializes an instance of ShopBuyClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ShopBuyClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | |
deserialize(reader)
staticmethod
Deserializes an instance of ShopBuyClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ShopBuyClientPacket |
ShopBuyClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/shop_buy_client_packet.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | |
RefreshRequestClientPacket
Bases: Packet
Requesting new info about nearby objects
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of RefreshRequestClientPacket.
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
18 19 20 21 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of RefreshRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
RefreshRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of RefreshRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
RefreshRequestClientPacket |
RefreshRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/refresh_request_client_packet.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
RangeRequestClientPacket
Bases: Packet
Requesting info about nearby players and NPCs
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_ids: tuple[int, ...]
property
npc_indexes: tuple[int, ...]
property
__init__(*, player_ids, npc_indexes)
Create a new instance of RangeRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
player_ids |
Iterable[int]
|
(Element value range is 0-64008.) |
required |
npc_indexes |
Iterable[int]
|
(Element value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
23 24 25 26 27 28 29 30 31 32 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
52 53 54 55 56 57 58 59 60 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
62 63 64 65 66 67 68 69 70 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
72 73 74 75 76 77 78 79 | |
serialize(writer, data)
staticmethod
Serializes an instance of RangeRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
RangeRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
deserialize(reader)
staticmethod
Deserializes an instance of RangeRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
RangeRequestClientPacket |
'RangeRequestClientPacket'
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/range_request_client_packet.py
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
QuestUseClientPacket
Bases: Packet
Talking to a quest NPC
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
quest_id: int
property
Quest ID is 0 unless the player explicitly selects a quest from the quest switcher
__init__(*, npc_index, quest_id)
Create a new instance of QuestUseClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
npc_index |
int
|
(Value range is 0-64008.) |
required |
quest_id |
int
|
Quest ID is 0 unless the player explicitly selects a quest from the quest switcher (Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
53 54 55 56 57 58 59 60 61 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
63 64 65 66 67 68 69 70 71 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
73 74 75 76 77 78 79 80 | |
serialize(writer, data)
staticmethod
Serializes an instance of QuestUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
QuestUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | |
deserialize(reader)
staticmethod
Deserializes an instance of QuestUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
QuestUseClientPacket |
QuestUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/quest_use_client_packet.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
QuestPage
Bases: IntEnum
A page in the Quest menu
Source code in src/eolib/protocol/_generated/net/quest_page.py
9 10 11 12 13 14 | |
Progress = 1
class-attribute
instance-attribute
History = 2
class-attribute
instance-attribute
QuestListClientPacket
Bases: Packet
Quest history / progress request
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
page: QuestPage
property
__init__(*, page)
Create a new instance of QuestListClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
page |
QuestPage
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of QuestListClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
QuestListClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of QuestListClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
QuestListClientPacket |
QuestListClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/quest_list_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
DialogReply
Bases: IntEnum
Whether the player has clicked the OK button or a link in a quest dialog
Source code in src/eolib/protocol/_generated/net/client/dialog_reply.py
9 10 11 12 13 14 | |
Ok = 1
class-attribute
instance-attribute
Link = 2
class-attribute
instance-attribute
QuestAcceptClientPacket
Bases: Packet
Response to a quest NPC dialog
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
dialog_id: int
property
quest_id: int
property
npc_index: int
property
reply_type: DialogReply
property
reply_type_data: QuestAcceptClientPacket.ReplyTypeData
property
QuestAcceptClientPacket.ReplyTypeData: Data associated with the reply_type field.
ReplyTypeData = Union['QuestAcceptClientPacket.ReplyTypeDataOk', 'QuestAcceptClientPacket.ReplyTypeDataLink', None]
class-attribute
instance-attribute
Data associated with different values of the reply_type field.
ReplyTypeDataOk
Data associated with reply_type value DialogReply.Ok
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of QuestAcceptClientPacket.ReplyTypeDataOk.
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
193 194 195 196 | |
serialize(writer, data)
staticmethod
Serializes an instance of QuestAcceptClientPacket.ReplyTypeDataOk to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ReplyTypeDataOk
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
209 210 211 212 213 214 215 216 217 218 219 220 221 222 | |
deserialize(reader)
staticmethod
Deserializes an instance of QuestAcceptClientPacket.ReplyTypeDataOk from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
ReplyTypeDataOk
|
QuestAcceptClientPacket.ReplyTypeDataOk: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | |
ReplyTypeDataLink
Data associated with reply_type value DialogReply.Link
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
action: int
property
__init__(*, action)
Create a new instance of QuestAcceptClientPacket.ReplyTypeDataLink.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
action |
int
|
(Value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
255 256 257 258 259 260 261 262 | |
serialize(writer, data)
staticmethod
Serializes an instance of QuestAcceptClientPacket.ReplyTypeDataLink to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ReplyTypeDataLink
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 | |
deserialize(reader)
staticmethod
Deserializes an instance of QuestAcceptClientPacket.ReplyTypeDataLink from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
ReplyTypeDataLink
|
QuestAcceptClientPacket.ReplyTypeDataLink: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 | |
__init__(*, session_id, dialog_id, quest_id, npc_index, reply_type, reply_type_data=None)
Create a new instance of QuestAcceptClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-64008.) |
required |
dialog_id |
int
|
(Value range is 0-64008.) |
required |
quest_id |
int
|
(Value range is 0-64008.) |
required |
npc_index |
int
|
(Value range is 0-64008.) |
required |
reply_type |
DialogReply
|
|
required |
reply_type_data |
ReplyTypeData
|
Data associated with the |
None
|
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
83 84 85 86 87 88 89 90 91 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
93 94 95 96 97 98 99 100 101 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
103 104 105 106 107 108 109 110 | |
serialize(writer, data)
staticmethod
Serializes an instance of QuestAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
QuestAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | |
deserialize(reader)
staticmethod
Deserializes an instance of QuestAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
QuestAcceptClientPacket |
QuestAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/quest_accept_client_packet.py
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | |
PriestUseClientPacket
Bases: Packet
Saying "I do" at a wedding
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
__init__(*, session_id)
Create a new instance of PriestUseClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of PriestUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PriestUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of PriestUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PriestUseClientPacket |
PriestUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/priest_use_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
PriestRequestClientPacket
Bases: Packet
Requesting marriage at a priest
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
name: str
property
__init__(*, session_id, name)
Create a new instance of PriestRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
name |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of PriestRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PriestRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | |
deserialize(reader)
staticmethod
Deserializes an instance of PriestRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PriestRequestClientPacket |
PriestRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/priest_request_client_packet.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
PriestOpenClientPacket
Bases: Packet
Talking to a priest NPC
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
__init__(*, npc_index)
Create a new instance of PriestOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
npc_index |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of PriestOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PriestOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of PriestOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PriestOpenClientPacket |
PriestOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/priest_open_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
PriestAcceptClientPacket
Bases: Packet
Accepting a marriage request
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
__init__(*, session_id)
Create a new instance of PriestAcceptClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of PriestAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PriestAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of PriestAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PriestAcceptClientPacket |
PriestAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/priest_accept_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
PlayersRequestClientPacket
Bases: Packet
Requesting a list of online players
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of PlayersRequestClientPacket.
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
18 19 20 21 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of PlayersRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PlayersRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of PlayersRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PlayersRequestClientPacket |
PlayersRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/players_request_client_packet.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
PlayersListClientPacket
Bases: Packet
Requesting a list of online friends
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of PlayersListClientPacket.
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
18 19 20 21 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of PlayersListClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PlayersListClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of PlayersListClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PlayersListClientPacket |
PlayersListClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/players_list_client_packet.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
PlayersAcceptClientPacket
Bases: Packet
find command request
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
name: str
property
__init__(*, name)
Create a new instance of PlayersAcceptClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of PlayersAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PlayersAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of PlayersAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PlayersAcceptClientPacket |
PlayersAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/players_accept_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
PlayerRangeRequestClientPacket
Bases: Packet
Requesting info about nearby players
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_ids: tuple[int, ...]
property
__init__(*, player_ids)
Create a new instance of PlayerRangeRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
player_ids |
Iterable[int]
|
(Element value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
22 23 24 25 26 27 28 29 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
45 46 47 48 49 50 51 52 53 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
55 56 57 58 59 60 61 62 63 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
65 66 67 68 69 70 71 72 | |
serialize(writer, data)
staticmethod
Serializes an instance of PlayerRangeRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PlayerRangeRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
deserialize(reader)
staticmethod
Deserializes an instance of PlayerRangeRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PlayerRangeRequestClientPacket |
'PlayerRangeRequestClientPacket'
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/player_range_request_client_packet.py
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
PartyTakeClientPacket
Bases: Packet
Request updated party info
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
members_count: int
property
__init__(*, members_count)
Create a new instance of PartyTakeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
members_count |
int
|
(Value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of PartyTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PartyTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of PartyTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PartyTakeClientPacket |
PartyTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/party_take_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
PartyRequestType
Bases: IntEnum
Whether a player is requesting to join a party, or inviting someone to join theirs
Source code in src/eolib/protocol/_generated/net/party_request_type.py
9 10 11 12 13 14 | |
Join = 0
class-attribute
instance-attribute
Invite = 1
class-attribute
instance-attribute
PartyRequestClientPacket
Bases: Packet
Send party invite / join request
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
request_type: PartyRequestType
property
player_id: int
property
__init__(*, request_type, player_id)
Create a new instance of PartyRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request_type |
PartyRequestType
|
|
required |
player_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
22 23 24 25 26 27 28 29 30 31 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
51 52 53 54 55 56 57 58 59 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
61 62 63 64 65 66 67 68 69 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
71 72 73 74 75 76 77 78 | |
serialize(writer, data)
staticmethod
Serializes an instance of PartyRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PartyRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | |
deserialize(reader)
staticmethod
Deserializes an instance of PartyRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PartyRequestClientPacket |
PartyRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/party_request_client_packet.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | |
PartyRemoveClientPacket
Bases: Packet
Remove player from a party
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
__init__(*, player_id)
Create a new instance of PartyRemoveClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
player_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of PartyRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PartyRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of PartyRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PartyRemoveClientPacket |
PartyRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/party_remove_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
PartyAcceptClientPacket
Bases: Packet
Accept party invite / join request
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
request_type: PartyRequestType
property
inviter_player_id: int
property
__init__(*, request_type, inviter_player_id)
Create a new instance of PartyAcceptClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request_type |
PartyRequestType
|
|
required |
inviter_player_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
22 23 24 25 26 27 28 29 30 31 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
51 52 53 54 55 56 57 58 59 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
61 62 63 64 65 66 67 68 69 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
71 72 73 74 75 76 77 78 | |
serialize(writer, data)
staticmethod
Serializes an instance of PartyAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PartyAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | |
deserialize(reader)
staticmethod
Deserializes an instance of PartyAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PartyAcceptClientPacket |
PartyAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/party_accept_client_packet.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | |
PaperdollRequestClientPacket
Bases: Packet
Request for a player's paperdoll
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
__init__(*, player_id)
Create a new instance of PaperdollRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
player_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of PaperdollRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PaperdollRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of PaperdollRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PaperdollRequestClientPacket |
PaperdollRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_request_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
PaperdollRemoveClientPacket
Bases: Packet
Unequipping an item
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item_id: int
property
sub_loc: int
property
__init__(*, item_id, sub_loc)
Create a new instance of PaperdollRemoveClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
item_id |
int
|
(Value range is 0-64008.) |
required |
sub_loc |
int
|
(Value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of PaperdollRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PaperdollRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of PaperdollRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PaperdollRemoveClientPacket |
PaperdollRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_remove_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
PaperdollAddClientPacket
Bases: Packet
Equipping an item
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item_id: int
property
sub_loc: int
property
__init__(*, item_id, sub_loc)
Create a new instance of PaperdollAddClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
item_id |
int
|
(Value range is 0-64008.) |
required |
sub_loc |
int
|
(Value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of PaperdollAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
PaperdollAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of PaperdollAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
PaperdollAddClientPacket |
PaperdollAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/paperdoll_add_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
NpcRangeRequestClientPacket
Bases: Packet
Requesting info about nearby NPCs
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_indexes: tuple[int, ...]
property
__init__(*, npc_indexes)
Create a new instance of NpcRangeRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
npc_indexes |
Iterable[int]
|
(Length must be 252 or less.) (Element value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
23 24 25 26 27 28 29 30 31 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
47 48 49 50 51 52 53 54 55 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
57 58 59 60 61 62 63 64 65 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
67 68 69 70 71 72 73 74 | |
serialize(writer, data)
staticmethod
Serializes an instance of NpcRangeRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
NpcRangeRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | |
deserialize(reader)
staticmethod
Deserializes an instance of NpcRangeRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
NpcRangeRequestClientPacket |
'NpcRangeRequestClientPacket'
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/npc_range_request_client_packet.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |
MessagePingClientPacket
Bases: Packet
ping command request
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of MessagePingClientPacket.
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
18 19 20 21 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of MessagePingClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
MessagePingClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of MessagePingClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
MessagePingClientPacket |
MessagePingClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/message_ping_client_packet.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
MarriageRequestType
Bases: IntEnum
Request type sent with MARRIAGE_REQUEST packet
Source code in src/eolib/protocol/_generated/net/client/marriage_request_type.py
9 10 11 12 13 14 | |
MarriageApproval = 1
class-attribute
instance-attribute
Divorce = 2
class-attribute
instance-attribute
MarriageRequestClientPacket
Bases: Packet
Requesting marriage approval
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
request_type: MarriageRequestType
property
session_id: int
property
name: str
property
__init__(*, request_type, session_id, name)
Create a new instance of MarriageRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request_type |
MarriageRequestType
|
|
required |
session_id |
int
|
(Value range is 0-4097152080.) |
required |
name |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
23 24 25 26 27 28 29 30 31 32 33 34 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
58 59 60 61 62 63 64 65 66 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
68 69 70 71 72 73 74 75 76 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
78 79 80 81 82 83 84 85 | |
serialize(writer, data)
staticmethod
Serializes an instance of MarriageRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
MarriageRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
deserialize(reader)
staticmethod
Deserializes an instance of MarriageRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
MarriageRequestClientPacket |
MarriageRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/marriage_request_client_packet.py
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | |
MarriageOpenClientPacket
Bases: Packet
Talking to a law NPC
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
__init__(*, npc_index)
Create a new instance of MarriageOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
npc_index |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of MarriageOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
MarriageOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of MarriageOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
MarriageOpenClientPacket |
MarriageOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/marriage_open_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
LoginRequestClientPacket
Bases: Packet
Login request
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
username: str
property
password: str
property
__init__(*, username, password)
Create a new instance of LoginRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
username |
str
|
|
required |
password |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of LoginRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
LoginRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | |
deserialize(reader)
staticmethod
Deserializes an instance of LoginRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
LoginRequestClientPacket |
LoginRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/login_request_client_packet.py
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | |
LockerTakeClientPacket
Bases: Packet
Taking an item from a bank locker
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
locker_coords: Coords
property
take_item_id: int
property
__init__(*, locker_coords, take_item_id)
Create a new instance of LockerTakeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
locker_coords |
Coords
|
|
required |
take_item_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
22 23 24 25 26 27 28 29 30 31 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
51 52 53 54 55 56 57 58 59 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
61 62 63 64 65 66 67 68 69 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
71 72 73 74 75 76 77 78 | |
serialize(writer, data)
staticmethod
Serializes an instance of LockerTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
LockerTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | |
deserialize(reader)
staticmethod
Deserializes an instance of LockerTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
LockerTakeClientPacket |
LockerTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/locker_take_client_packet.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | |
LockerOpenClientPacket
Bases: Packet
Opening a bank locker
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
locker_coords: Coords
property
__init__(*, locker_coords)
Create a new instance of LockerOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
locker_coords |
Coords
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of LockerOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
LockerOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of LockerOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
LockerOpenClientPacket |
LockerOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/locker_open_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
LockerBuyClientPacket
Bases: Packet
Buying a locker space upgrade from a banker NPC
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of LockerBuyClientPacket.
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
18 19 20 21 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of LockerBuyClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
LockerBuyClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of LockerBuyClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
LockerBuyClientPacket |
LockerBuyClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/locker_buy_client_packet.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
ThreeItem
An item reference with a 3-byte amount. Used for shops, lockers, and various item transfers.
Source code in src/eolib/protocol/_generated/net/three_item.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
id: int
property
amount: int
property
__init__(*, id, amount)
Create a new instance of ThreeItem.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id |
int
|
(Value range is 0-64008.) |
required |
amount |
int
|
(Value range is 0-16194276.) |
required |
Source code in src/eolib/protocol/_generated/net/three_item.py
19 20 21 22 23 24 25 26 27 28 | |
serialize(writer, data)
staticmethod
Serializes an instance of ThreeItem to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ThreeItem
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/three_item.py
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | |
deserialize(reader)
staticmethod
Deserializes an instance of ThreeItem from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ThreeItem |
ThreeItem
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/three_item.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
LockerAddClientPacket
Bases: Packet
Adding an item to a bank locker
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
locker_coords: Coords
property
deposit_item: ThreeItem
property
__init__(*, locker_coords, deposit_item)
Create a new instance of LockerAddClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
locker_coords |
Coords
|
|
required |
deposit_item |
ThreeItem
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
23 24 25 26 27 28 29 30 31 32 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
52 53 54 55 56 57 58 59 60 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
62 63 64 65 66 67 68 69 70 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
72 73 74 75 76 77 78 79 | |
serialize(writer, data)
staticmethod
Serializes an instance of LockerAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
LockerAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
deserialize(reader)
staticmethod
Deserializes an instance of LockerAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
LockerAddClientPacket |
LockerAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/locker_add_client_packet.py
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
JukeboxUseClientPacket
Bases: Packet
Playing a note with the bard skill
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
instrument_id: int
property
note_id: int
property
__init__(*, instrument_id, note_id)
Create a new instance of JukeboxUseClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
instrument_id |
int
|
(Value range is 0-252.) |
required |
note_id |
int
|
(Value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of JukeboxUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
JukeboxUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of JukeboxUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
JukeboxUseClientPacket |
JukeboxUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_use_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
JukeboxOpenClientPacket
Bases: Packet
Opening the jukebox listing
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
__init__(*, coords)
Create a new instance of JukeboxOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
coords |
Coords
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of JukeboxOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
JukeboxOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of JukeboxOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
JukeboxOpenClientPacket |
JukeboxOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_open_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
JukeboxMsgClientPacket
Bases: Packet
Requesting a song on a jukebox
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
track_id: int
property
This value is 0-indexed
__init__(*, track_id)
Create a new instance of JukeboxMsgClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
track_id |
int
|
This value is 0-indexed (Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
46 47 48 49 50 51 52 53 54 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
56 57 58 59 60 61 62 63 64 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
66 67 68 69 70 71 72 73 | |
serialize(writer, data)
staticmethod
Serializes an instance of JukeboxMsgClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
JukeboxMsgClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | |
deserialize(reader)
staticmethod
Deserializes an instance of JukeboxMsgClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
JukeboxMsgClientPacket |
JukeboxMsgClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/jukebox_msg_client_packet.py
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | |
ItemUseClientPacket
Bases: Packet
Using an item
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item_id: int
property
__init__(*, item_id)
Create a new instance of ItemUseClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
item_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of ItemUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ItemUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of ItemUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ItemUseClientPacket |
ItemUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/item_use_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
ItemJunkClientPacket
Bases: Packet
Junking items
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item: Item
property
__init__(*, item)
Create a new instance of ItemJunkClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
item |
Item
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of ItemJunkClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ItemJunkClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of ItemJunkClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ItemJunkClientPacket |
ItemJunkClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/item_junk_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
ItemGetClientPacket
Bases: Packet
Taking items from the ground
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item_index: int
property
__init__(*, item_index)
Create a new instance of ItemGetClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
item_index |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of ItemGetClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ItemGetClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of ItemGetClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ItemGetClientPacket |
ItemGetClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/item_get_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
ByteCoords
Map coordinates with raw 1-byte values
Source code in src/eolib/protocol/_generated/net/client/byte_coords.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
x: int
property
y: int
property
__init__(*, x, y)
Create a new instance of ByteCoords.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x |
int
|
(Value range is 0-255.) |
required |
y |
int
|
(Value range is 0-255.) |
required |
Source code in src/eolib/protocol/_generated/net/client/byte_coords.py
18 19 20 21 22 23 24 25 26 27 | |
serialize(writer, data)
staticmethod
Serializes an instance of ByteCoords to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ByteCoords
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/byte_coords.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | |
deserialize(reader)
staticmethod
Deserializes an instance of ByteCoords from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ByteCoords |
ByteCoords
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/byte_coords.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
ItemDropClientPacket
Bases: Packet
Dropping items on the ground
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
item: ThreeItem
property
coords: ByteCoords
property
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.
__init__(*, item, coords)
Create a new instance of ItemDropClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
item |
ThreeItem
|
|
required |
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. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
23 24 25 26 27 28 29 30 31 32 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
59 60 61 62 63 64 65 66 67 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
69 70 71 72 73 74 75 76 77 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
79 80 81 82 83 84 85 86 | |
serialize(writer, data)
staticmethod
Serializes an instance of ItemDropClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ItemDropClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | |
deserialize(reader)
staticmethod
Deserializes an instance of ItemDropClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ItemDropClientPacket |
ItemDropClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/item_drop_client_packet.py
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
Version
Client version
Source code in src/eolib/protocol/_generated/net/version.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
major: int
property
minor: int
property
patch: int
property
__init__(*, major, minor, patch)
Create a new instance of Version.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
major |
int
|
(Value range is 0-252.) |
required |
minor |
int
|
(Value range is 0-252.) |
required |
patch |
int
|
(Value range is 0-252.) |
required |
Source code in src/eolib/protocol/_generated/net/version.py
19 20 21 22 23 24 25 26 27 28 29 30 | |
serialize(writer, data)
staticmethod
Serializes an instance of Version to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
Version
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/version.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of Version from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
Version |
Version
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/version.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | |
InitInitClientPacket
Bases: Packet
Connection initialization request. This packet is unencrypted.
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
challenge: int
property
version: Version
property
hdid: str
property
__init__(*, challenge, version, hdid)
Create a new instance of InitInitClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
challenge |
int
|
(Value range is 0-16194276.) |
required |
version |
Version
|
|
required |
hdid |
str
|
(Length must be 252 or less.) |
required |
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
25 26 27 28 29 30 31 32 33 34 35 36 37 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
61 62 63 64 65 66 67 68 69 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
71 72 73 74 75 76 77 78 79 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
81 82 83 84 85 86 87 88 | |
serialize(writer, data)
staticmethod
Serializes an instance of InitInitClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
InitInitClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | |
deserialize(reader)
staticmethod
Deserializes an instance of InitInitClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
InitInitClientPacket |
InitInitClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/init_init_client_packet.py
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
GuildUseClientPacket
Bases: Packet
Accepted a join request
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
__init__(*, player_id)
Create a new instance of GuildUseClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
player_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildUseClientPacket |
GuildUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_use_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
GuildTellClientPacket
Bases: Packet
Requested member list of a guild
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
guild_identity: str
property
__init__(*, session_id, guild_identity)
Create a new instance of GuildTellClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
guild_identity |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildTellClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildTellClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildTellClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildTellClientPacket |
GuildTellClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_tell_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
GuildInfoType
Bases: IntEnum
The type of guild info being interacted with
Source code in src/eolib/protocol/_generated/net/client/guild_info_type.py
9 10 11 12 13 14 15 | |
Description = 1
class-attribute
instance-attribute
Ranks = 2
class-attribute
instance-attribute
Bank = 3
class-attribute
instance-attribute
GuildTakeClientPacket
Bases: Packet
Request guild description, rank list, or bank balance
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
info_type: GuildInfoType
property
guild_tag: str
property
__init__(*, session_id, info_type, guild_tag)
Create a new instance of GuildTakeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
info_type |
GuildInfoType
|
|
required |
guild_tag |
str
|
(Length must be |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
23 24 25 26 27 28 29 30 31 32 33 34 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
58 59 60 61 62 63 64 65 66 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
68 69 70 71 72 73 74 75 76 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
78 79 80 81 82 83 84 85 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildTakeClientPacket |
GuildTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_take_client_packet.py
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | |
GuildRequestClientPacket
Bases: Packet
Requested to create a guild
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
guild_tag: str
property
guild_name: str
property
__init__(*, session_id, guild_tag, guild_name)
Create a new instance of GuildRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
guild_tag |
str
|
|
required |
guild_name |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
22 23 24 25 26 27 28 29 30 31 32 33 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
57 58 59 60 61 62 63 64 65 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
67 68 69 70 71 72 73 74 75 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
77 78 79 80 81 82 83 84 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildRequestClientPacket |
GuildRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_request_client_packet.py
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | |
GuildReportClientPacket
Bases: Packet
Requested general information of a guild
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
guild_identity: str
property
__init__(*, session_id, guild_identity)
Create a new instance of GuildReportClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
guild_identity |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildReportClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildReportClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildReportClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildReportClientPacket |
GuildReportClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_report_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
GuildRemoveClientPacket
Bases: Packet
Leave guild
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
__init__(*, session_id)
Create a new instance of GuildRemoveClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildRemoveClientPacket |
GuildRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_remove_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
GuildRankClientPacket
Bases: Packet
Update a member's rank
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
rank: int
property
member_name: str
property
__init__(*, session_id, rank, member_name)
Create a new instance of GuildRankClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
rank |
int
|
(Value range is 0-252.) |
required |
member_name |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
22 23 24 25 26 27 28 29 30 31 32 33 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
57 58 59 60 61 62 63 64 65 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
67 68 69 70 71 72 73 74 75 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
77 78 79 80 81 82 83 84 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildRankClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildRankClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildRankClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildRankClientPacket |
GuildRankClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_rank_client_packet.py
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
GuildPlayerClientPacket
Bases: Packet
Request to join a guild
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
guild_tag: str
property
recruiter_name: str
property
__init__(*, session_id, guild_tag, recruiter_name)
Create a new instance of GuildPlayerClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
guild_tag |
str
|
|
required |
recruiter_name |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
22 23 24 25 26 27 28 29 30 31 32 33 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
57 58 59 60 61 62 63 64 65 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
67 68 69 70 71 72 73 74 75 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
77 78 79 80 81 82 83 84 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildPlayerClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildPlayerClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildPlayerClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildPlayerClientPacket |
GuildPlayerClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_player_client_packet.py
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | |
GuildOpenClientPacket
Bases: Packet
Talking to a guild master NPC
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
__init__(*, npc_index)
Create a new instance of GuildOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
npc_index |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildOpenClientPacket |
GuildOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_open_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
GuildKickClientPacket
Bases: Packet
Kick member from guild
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
member_name: str
property
__init__(*, session_id, member_name)
Create a new instance of GuildKickClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
member_name |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildKickClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildKickClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildKickClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildKickClientPacket |
GuildKickClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_kick_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
GuildJunkClientPacket
Bases: Packet
Disband guild
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
__init__(*, session_id)
Create a new instance of GuildJunkClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildJunkClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildJunkClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildJunkClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildJunkClientPacket |
GuildJunkClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_junk_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
GuildCreateClientPacket
Bases: Packet
Final confirm creating a guild
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
guild_tag: str
property
guild_name: str
property
description: str
property
__init__(*, session_id, guild_tag, guild_name, description)
Create a new instance of GuildCreateClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
guild_tag |
str
|
|
required |
guild_name |
str
|
|
required |
description |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
64 65 66 67 68 69 70 71 72 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
74 75 76 77 78 79 80 81 82 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
84 85 86 87 88 89 90 91 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildCreateClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildCreateClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildCreateClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildCreateClientPacket |
GuildCreateClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_create_client_packet.py
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | |
GuildBuyClientPacket
Bases: Packet
Deposit gold in to the guild bank
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
gold_amount: int
property
__init__(*, session_id, gold_amount)
Create a new instance of GuildBuyClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
gold_amount |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildBuyClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildBuyClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildBuyClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildBuyClientPacket |
GuildBuyClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_buy_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
GuildAgreeClientPacket
Bases: Packet
Update the guild description or rank list
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
info_type: GuildInfoType
property
info_type_data: 'GuildAgreeClientPacket.InfoTypeData'
property
GuildAgreeClientPacket.InfoTypeData: Data associated with the info_type field.
InfoTypeData = Union['GuildAgreeClientPacket.InfoTypeDataDescription', 'GuildAgreeClientPacket.InfoTypeDataRanks', None]
class-attribute
instance-attribute
Data associated with different values of the info_type field.
InfoTypeDataDescription
Data associated with info_type value GuildInfoType.Description
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
description: str
property
__init__(*, description)
Create a new instance of GuildAgreeClientPacket.InfoTypeDataDescription.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
description |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
167 168 169 170 171 172 173 174 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildAgreeClientPacket.InfoTypeDataDescription to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
InfoTypeDataDescription
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildAgreeClientPacket.InfoTypeDataDescription from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
'GuildAgreeClientPacket.InfoTypeDataDescription'
|
GuildAgreeClientPacket.InfoTypeDataDescription: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | |
InfoTypeDataRanks
Data associated with info_type value GuildInfoType.Ranks
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
ranks: tuple[str, ...]
property
__init__(*, ranks)
Create a new instance of GuildAgreeClientPacket.InfoTypeDataRanks.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ranks |
Iterable[str]
|
(Length must be |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
238 239 240 241 242 243 244 245 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildAgreeClientPacket.InfoTypeDataRanks to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
InfoTypeDataRanks
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildAgreeClientPacket.InfoTypeDataRanks from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
'GuildAgreeClientPacket.InfoTypeDataRanks'
|
GuildAgreeClientPacket.InfoTypeDataRanks: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 | |
__init__(*, session_id, info_type, info_type_data=None)
Create a new instance of GuildAgreeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-4097152080.) |
required |
info_type |
GuildInfoType
|
|
required |
info_type_data |
InfoTypeData
|
Data associated with the |
None
|
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
26 27 28 29 30 31 32 33 34 35 36 37 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
64 65 66 67 68 69 70 71 72 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
74 75 76 77 78 79 80 81 82 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
84 85 86 87 88 89 90 91 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildAgreeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildAgreeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildAgreeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildAgreeClientPacket |
'GuildAgreeClientPacket'
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_agree_client_packet.py
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | |
GuildAcceptClientPacket
Bases: Packet
Accept pending guild creation invite
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
inviter_player_id: int
property
__init__(*, inviter_player_id)
Create a new instance of GuildAcceptClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
inviter_player_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of GuildAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GuildAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of GuildAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GuildAcceptClientPacket |
GuildAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/guild_accept_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | |
GlobalRemoveClientPacket
Bases: Packet
Enable whispers
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of GlobalRemoveClientPacket.
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
18 19 20 21 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of GlobalRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GlobalRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of GlobalRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GlobalRemoveClientPacket |
GlobalRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/global_remove_client_packet.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
GlobalPlayerClientPacket
Bases: Packet
Disable whispers
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of GlobalPlayerClientPacket.
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
18 19 20 21 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of GlobalPlayerClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GlobalPlayerClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of GlobalPlayerClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GlobalPlayerClientPacket |
GlobalPlayerClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/global_player_client_packet.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
GlobalOpenClientPacket
Bases: Packet
Opened global tab
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of GlobalOpenClientPacket.
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
18 19 20 21 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of GlobalOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GlobalOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of GlobalOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GlobalOpenClientPacket |
GlobalOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/global_open_client_packet.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
GlobalCloseClientPacket
Bases: Packet
Closed global tab
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of GlobalCloseClientPacket.
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
18 19 20 21 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of GlobalCloseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
GlobalCloseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of GlobalCloseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
GlobalCloseClientPacket |
GlobalCloseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/global_close_client_packet.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
FacePlayerClientPacket
Bases: Packet
Facing a direction
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
direction: Direction
property
__init__(*, direction)
Create a new instance of FacePlayerClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
direction |
Direction
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of FacePlayerClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
FacePlayerClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of FacePlayerClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
FacePlayerClientPacket |
FacePlayerClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/face_player_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
Emote
Bases: IntEnum
Emote that can be played over a player's head
Source code in src/eolib/protocol/_generated/emote.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | |
Happy = 1
class-attribute
instance-attribute
Depressed = 2
class-attribute
instance-attribute
Sad = 3
class-attribute
instance-attribute
Angry = 4
class-attribute
instance-attribute
Confused = 5
class-attribute
instance-attribute
Surprised = 6
class-attribute
instance-attribute
Hearts = 7
class-attribute
instance-attribute
Moon = 8
class-attribute
instance-attribute
Suicidal = 9
class-attribute
instance-attribute
Embarrassed = 10
class-attribute
instance-attribute
Drunk = 11
class-attribute
instance-attribute
Trade = 12
class-attribute
instance-attribute
LevelUp = 13
class-attribute
instance-attribute
Playful = 14
class-attribute
instance-attribute
EmoteReportClientPacket
Bases: Packet
Doing an emote
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
emote: Emote
property
__init__(*, emote)
Create a new instance of EmoteReportClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
emote |
Emote
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of EmoteReportClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
EmoteReportClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of EmoteReportClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
EmoteReportClientPacket |
EmoteReportClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/emote_report_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
DoorOpenClientPacket
Bases: Packet
Opening a door
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
__init__(*, coords)
Create a new instance of DoorOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
coords |
Coords
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of DoorOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
DoorOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of DoorOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
DoorOpenClientPacket |
DoorOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/door_open_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
ConnectionPingClientPacket
Bases: Packet
Ping reply
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
__init__()
Create a new instance of ConnectionPingClientPacket.
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
18 19 20 21 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
33 34 35 36 37 38 39 40 41 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
43 44 45 46 47 48 49 50 51 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
53 54 55 56 57 58 59 60 | |
serialize(writer, data)
staticmethod
Serializes an instance of ConnectionPingClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ConnectionPingClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
deserialize(reader)
staticmethod
Deserializes an instance of ConnectionPingClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ConnectionPingClientPacket |
ConnectionPingClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/connection_ping_client_packet.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | |
ConnectionAcceptClientPacket
Bases: Packet
Confirm initialization data
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
client_encryption_multiple: int
property
server_encryption_multiple: int
property
player_id: int
property
__init__(*, client_encryption_multiple, server_encryption_multiple, player_id)
Create a new instance of ConnectionAcceptClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
client_encryption_multiple |
int
|
(Value range is 0-64008.) |
required |
server_encryption_multiple |
int
|
(Value range is 0-64008.) |
required |
player_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
22 23 24 25 26 27 28 29 30 31 32 33 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
57 58 59 60 61 62 63 64 65 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
67 68 69 70 71 72 73 74 75 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
77 78 79 80 81 82 83 84 | |
serialize(writer, data)
staticmethod
Serializes an instance of ConnectionAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ConnectionAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
deserialize(reader)
staticmethod
Deserializes an instance of ConnectionAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ConnectionAcceptClientPacket |
ConnectionAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/connection_accept_client_packet.py
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
CitizenRequestClientPacket
Bases: Packet
Request sleeping at an inn
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
behavior_id: int
property
__init__(*, session_id, behavior_id)
Create a new instance of CitizenRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-64008.) |
required |
behavior_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of CitizenRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CitizenRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of CitizenRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CitizenRequestClientPacket |
CitizenRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/citizen_request_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
CitizenReplyClientPacket
Bases: Packet
Subscribing to a town
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
behavior_id: int
property
answers: tuple[str, ...]
property
__init__(*, session_id, behavior_id, answers)
Create a new instance of CitizenReplyClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-64008.) |
required |
behavior_id |
int
|
(Value range is 0-64008.) |
required |
answers |
Iterable[str]
|
(Length must be |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
24 25 26 27 28 29 30 31 32 33 34 35 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
59 60 61 62 63 64 65 66 67 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
69 70 71 72 73 74 75 76 77 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
79 80 81 82 83 84 85 86 | |
serialize(writer, data)
staticmethod
Serializes an instance of CitizenReplyClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CitizenReplyClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | |
deserialize(reader)
staticmethod
Deserializes an instance of CitizenReplyClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CitizenReplyClientPacket |
'CitizenReplyClientPacket'
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/citizen_reply_client_packet.py
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | |
CitizenRemoveClientPacket
Bases: Packet
Giving up citizenship of a town
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
behavior_id: int
property
__init__(*, behavior_id)
Create a new instance of CitizenRemoveClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
behavior_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of CitizenRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CitizenRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of CitizenRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CitizenRemoveClientPacket |
CitizenRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/citizen_remove_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
CitizenOpenClientPacket
Bases: Packet
Talking to a citizenship NPC
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
__init__(*, npc_index)
Create a new instance of CitizenOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
npc_index |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of CitizenOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CitizenOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of CitizenOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CitizenOpenClientPacket |
CitizenOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/citizen_open_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
CitizenAcceptClientPacket
Bases: Packet
Confirm sleeping at an inn
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
behavior_id: int
property
__init__(*, session_id, behavior_id)
Create a new instance of CitizenAcceptClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-64008.) |
required |
behavior_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of CitizenAcceptClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CitizenAcceptClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of CitizenAcceptClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CitizenAcceptClientPacket |
CitizenAcceptClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/citizen_accept_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
ChestTakeClientPacket
Bases: Packet
Taking an item from a chest
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
take_item_id: int
property
__init__(*, coords, take_item_id)
Create a new instance of ChestTakeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
coords |
Coords
|
|
required |
take_item_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
22 23 24 25 26 27 28 29 30 31 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
51 52 53 54 55 56 57 58 59 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
61 62 63 64 65 66 67 68 69 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
71 72 73 74 75 76 77 78 | |
serialize(writer, data)
staticmethod
Serializes an instance of ChestTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ChestTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | |
deserialize(reader)
staticmethod
Deserializes an instance of ChestTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ChestTakeClientPacket |
ChestTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/chest_take_client_packet.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | |
ChestOpenClientPacket
Bases: Packet
Opening a chest
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
__init__(*, coords)
Create a new instance of ChestOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
coords |
Coords
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
21 22 23 24 25 26 27 28 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
44 45 46 47 48 49 50 51 52 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
54 55 56 57 58 59 60 61 62 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
64 65 66 67 68 69 70 71 | |
serialize(writer, data)
staticmethod
Serializes an instance of ChestOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ChestOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |
deserialize(reader)
staticmethod
Deserializes an instance of ChestOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ChestOpenClientPacket |
ChestOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/chest_open_client_packet.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | |
ChestAddClientPacket
Bases: Packet
Placing an item in to a chest
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
add_item: ThreeItem
property
__init__(*, coords, add_item)
Create a new instance of ChestAddClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
coords |
Coords
|
|
required |
add_item |
ThreeItem
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
23 24 25 26 27 28 29 30 31 32 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
52 53 54 55 56 57 58 59 60 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
62 63 64 65 66 67 68 69 70 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
72 73 74 75 76 77 78 79 | |
serialize(writer, data)
staticmethod
Serializes an instance of ChestAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ChestAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | |
deserialize(reader)
staticmethod
Deserializes an instance of ChestAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ChestAddClientPacket |
ChestAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/chest_add_client_packet.py
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | |
CharacterTakeClientPacket
Bases: Packet
Request to delete a character from an account
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
character_id: int
property
__init__(*, character_id)
Create a new instance of CharacterTakeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
character_id |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of CharacterTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CharacterTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of CharacterTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CharacterTakeClientPacket |
CharacterTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/character_take_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
CharacterRequestClientPacket
Bases: Packet
Request to create a character
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
request_string: str
property
__init__(*, request_string)
Create a new instance of CharacterRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request_string |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
19 20 21 22 23 24 25 26 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
42 43 44 45 46 47 48 49 50 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
52 53 54 55 56 57 58 59 60 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
62 63 64 65 66 67 68 69 | |
serialize(writer, data)
staticmethod
Serializes an instance of CharacterRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CharacterRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of CharacterRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CharacterRequestClientPacket |
CharacterRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/character_request_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
CharacterRemoveClientPacket
Bases: Packet
Confirm deleting character from an account
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
character_id: int
property
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.
__init__(*, session_id, character_id)
Create a new instance of CharacterRemoveClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-64008.) |
required |
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. (Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
55 56 57 58 59 60 61 62 63 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
65 66 67 68 69 70 71 72 73 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
75 76 77 78 79 80 81 82 | |
serialize(writer, data)
staticmethod
Serializes an instance of CharacterRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CharacterRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | |
deserialize(reader)
staticmethod
Deserializes an instance of CharacterRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CharacterRemoveClientPacket |
CharacterRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/character_remove_client_packet.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | |
Gender
Bases: IntEnum
The gender of a player
Source code in src/eolib/protocol/_generated/gender.py
9 10 11 12 13 14 | |
Female = 0
class-attribute
instance-attribute
Male = 1
class-attribute
instance-attribute
CharacterCreateClientPacket
Bases: Packet
Confirm creating a character
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
gender: Gender
property
hair_style: int
property
hair_color: int
property
skin: int
property
name: str
property
__init__(*, session_id, gender, hair_style, hair_color, skin, name)
Create a new instance of CharacterCreateClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-64008.) |
required |
gender |
Gender
|
|
required |
hair_style |
int
|
(Value range is 0-64008.) |
required |
hair_color |
int
|
(Value range is 0-64008.) |
required |
skin |
int
|
(Value range is 0-64008.) |
required |
name |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
79 80 81 82 83 84 85 86 87 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
89 90 91 92 93 94 95 96 97 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
99 100 101 102 103 104 105 106 | |
serialize(writer, data)
staticmethod
Serializes an instance of CharacterCreateClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
CharacterCreateClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | |
deserialize(reader)
staticmethod
Deserializes an instance of CharacterCreateClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
CharacterCreateClientPacket |
CharacterCreateClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/character_create_client_packet.py
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | |
ChairRequestClientPacket
Bases: Packet
Sitting on a chair
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
sit_action: SitAction
property
sit_action_data: ChairRequestClientPacket.SitActionData
property
ChairRequestClientPacket.SitActionData: Data associated with the sit_action field.
SitActionData = Union['ChairRequestClientPacket.SitActionDataSit', None]
class-attribute
instance-attribute
Data associated with different values of the sit_action field.
SitActionDataSit
Data associated with sit_action value SitAction.Sit
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
coords: Coords
property
__init__(*, coords)
Create a new instance of ChairRequestClientPacket.SitActionDataSit.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
coords |
Coords
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
145 146 147 148 149 150 151 152 | |
serialize(writer, data)
staticmethod
Serializes an instance of ChairRequestClientPacket.SitActionDataSit to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
SitActionDataSit
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | |
deserialize(reader)
staticmethod
Deserializes an instance of ChairRequestClientPacket.SitActionDataSit from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Type | Description |
|---|---|
SitActionDataSit
|
ChairRequestClientPacket.SitActionDataSit: The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | |
__init__(*, sit_action, sit_action_data=None)
Create a new instance of ChairRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
sit_action |
SitAction
|
|
required |
sit_action_data |
SitActionData
|
Data associated with the |
None
|
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
24 25 26 27 28 29 30 31 32 33 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
56 57 58 59 60 61 62 63 64 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
66 67 68 69 70 71 72 73 74 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
76 77 78 79 80 81 82 83 | |
serialize(writer, data)
staticmethod
Serializes an instance of ChairRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
ChairRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | |
deserialize(reader)
staticmethod
Deserializes an instance of ChairRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
ChairRequestClientPacket |
ChairRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/chair_request_client_packet.py
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
BookRequestClientPacket
Bases: Packet
Request for a player's book
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
player_id: int
property
__init__(*, player_id)
Create a new instance of BookRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
player_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of BookRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BookRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of BookRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BookRequestClientPacket |
BookRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/book_request_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
BoardTakeClientPacket
Bases: Packet
Reading a post on a town board
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
board_id: int
property
post_id: int
property
__init__(*, board_id, post_id)
Create a new instance of BoardTakeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
board_id |
int
|
(Value range is 0-64008.) |
required |
post_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of BoardTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BoardTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of BoardTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BoardTakeClientPacket |
BoardTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/board_take_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
BoardRemoveClientPacket
Bases: Packet
Removing a post from a town board
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
board_id: int
property
post_id: int
property
__init__(*, board_id, post_id)
Create a new instance of BoardRemoveClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
board_id |
int
|
(Value range is 0-64008.) |
required |
post_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of BoardRemoveClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BoardRemoveClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of BoardRemoveClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BoardRemoveClientPacket |
BoardRemoveClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/board_remove_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
BoardOpenClientPacket
Bases: Packet
Opening a town board
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
board_id: int
property
__init__(*, board_id)
Create a new instance of BoardOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
board_id |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of BoardOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BoardOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of BoardOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BoardOpenClientPacket |
BoardOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/board_open_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
BoardCreateClientPacket
Bases: Packet
Posting a new message to a town board
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
board_id: int
property
post_subject: str
property
post_body: str
property
__init__(*, board_id, post_subject, post_body)
Create a new instance of BoardCreateClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
board_id |
int
|
(Value range is 0-64008.) |
required |
post_subject |
str
|
|
required |
post_body |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
22 23 24 25 26 27 28 29 30 31 32 33 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
57 58 59 60 61 62 63 64 65 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
67 68 69 70 71 72 73 74 75 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
77 78 79 80 81 82 83 84 | |
serialize(writer, data)
staticmethod
Serializes an instance of BoardCreateClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BoardCreateClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
deserialize(reader)
staticmethod
Deserializes an instance of BoardCreateClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BoardCreateClientPacket |
BoardCreateClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/board_create_client_packet.py
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | |
BarberOpenClientPacket
Bases: Packet
Talking to a barber NPC
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
__init__(*, npc_index)
Create a new instance of BarberOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
npc_index |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of BarberOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BarberOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of BarberOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BarberOpenClientPacket |
BarberOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/barber_open_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
BarberBuyClientPacket
Bases: Packet
Purchasing a hair-style
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
hair_style: int
property
hair_color: int
property
session_id: int
property
__init__(*, hair_style, hair_color, session_id)
Create a new instance of BarberBuyClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
hair_style |
int
|
(Value range is 0-252.) |
required |
hair_color |
int
|
(Value range is 0-252.) |
required |
session_id |
int
|
(Value range is 0-4097152080.) |
required |
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
22 23 24 25 26 27 28 29 30 31 32 33 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
57 58 59 60 61 62 63 64 65 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
67 68 69 70 71 72 73 74 75 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
77 78 79 80 81 82 83 84 | |
serialize(writer, data)
staticmethod
Serializes an instance of BarberBuyClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BarberBuyClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
deserialize(reader)
staticmethod
Deserializes an instance of BarberBuyClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BarberBuyClientPacket |
BarberBuyClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/barber_buy_client_packet.py
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | |
BankTakeClientPacket
Bases: Packet
Withdrawing gold
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
amount: int
property
session_id: int
property
__init__(*, amount, session_id)
Create a new instance of BankTakeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
amount |
int
|
(Value range is 0-4097152080.) |
required |
session_id |
int
|
(Value range is 0-16194276.) |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of BankTakeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BankTakeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of BankTakeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BankTakeClientPacket |
BankTakeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/bank_take_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
BankOpenClientPacket
Bases: Packet
Talked to a banker NPC
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
npc_index: int
property
__init__(*, npc_index)
Create a new instance of BankOpenClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
npc_index |
int
|
(Value range is 0-64008.) |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of BankOpenClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BankOpenClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of BankOpenClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BankOpenClientPacket |
BankOpenClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/bank_open_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
BankAddClientPacket
Bases: Packet
Depositing gold
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
amount: int
property
session_id: int
property
__init__(*, amount, session_id)
Create a new instance of BankAddClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
amount |
int
|
(Value range is 0-4097152080.) |
required |
session_id |
int
|
(Value range is 0-16194276.) |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of BankAddClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
BankAddClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | |
deserialize(reader)
staticmethod
Deserializes an instance of BankAddClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
BankAddClientPacket |
BankAddClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/bank_add_client_packet.py
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
AttackUseClientPacket
Bases: Packet
Attacking
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
direction: Direction
property
timestamp: int
property
__init__(*, direction, timestamp)
Create a new instance of AttackUseClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
direction |
Direction
|
|
required |
timestamp |
int
|
(Value range is 0-16194276.) |
required |
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
22 23 24 25 26 27 28 29 30 31 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
51 52 53 54 55 56 57 58 59 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
61 62 63 64 65 66 67 68 69 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
71 72 73 74 75 76 77 78 | |
serialize(writer, data)
staticmethod
Serializes an instance of AttackUseClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AttackUseClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | |
deserialize(reader)
staticmethod
Deserializes an instance of AttackUseClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AttackUseClientPacket |
AttackUseClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/attack_use_client_packet.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | |
AdminInteractTellClientPacket
Bases: Packet
Talk to admin
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
message: str
property
__init__(*, message)
Create a new instance of AdminInteractTellClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of AdminInteractTellClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AdminInteractTellClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of AdminInteractTellClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AdminInteractTellClientPacket |
AdminInteractTellClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_tell_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
AdminInteractReportClientPacket
Bases: Packet
Report character
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
reportee: str
property
message: str
property
__init__(*, reportee, message)
Create a new instance of AdminInteractReportClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reportee |
str
|
|
required |
message |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
21 22 23 24 25 26 27 28 29 30 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
50 51 52 53 54 55 56 57 58 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
60 61 62 63 64 65 66 67 68 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
70 71 72 73 74 75 76 77 | |
serialize(writer, data)
staticmethod
Serializes an instance of AdminInteractReportClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AdminInteractReportClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | |
deserialize(reader)
staticmethod
Deserializes an instance of AdminInteractReportClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AdminInteractReportClientPacket |
AdminInteractReportClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/admin_interact_report_client_packet.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | |
AccountRequestClientPacket
Bases: Packet
Request creating an account
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
username: str
property
__init__(*, username)
Create a new instance of AccountRequestClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
username |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
20 21 22 23 24 25 26 27 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
43 44 45 46 47 48 49 50 51 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
53 54 55 56 57 58 59 60 61 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
63 64 65 66 67 68 69 70 | |
serialize(writer, data)
staticmethod
Serializes an instance of AccountRequestClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AccountRequestClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | |
deserialize(reader)
staticmethod
Deserializes an instance of AccountRequestClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AccountRequestClientPacket |
AccountRequestClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/account_request_client_packet.py
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | |
AccountCreateClientPacket
Bases: Packet
Confirm creating an account
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
session_id: int
property
username: str
property
password: str
property
full_name: str
property
location: str
property
email: str
property
computer: str
property
hdid: str
property
__init__(*, session_id, username, password, full_name, location, email, computer, hdid)
Create a new instance of AccountCreateClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
session_id |
int
|
(Value range is 0-64008.) |
required |
username |
str
|
|
required |
password |
str
|
|
required |
full_name |
str
|
|
required |
location |
str
|
|
required |
email |
str
|
|
required |
computer |
str
|
|
required |
hdid |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
92 93 94 95 96 97 98 99 100 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
102 103 104 105 106 107 108 109 110 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
112 113 114 115 116 117 118 119 | |
serialize(writer, data)
staticmethod
Serializes an instance of AccountCreateClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AccountCreateClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | |
deserialize(reader)
staticmethod
Deserializes an instance of AccountCreateClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AccountCreateClientPacket |
AccountCreateClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/account_create_client_packet.py
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | |
AccountAgreeClientPacket
Bases: Packet
Change password
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | |
byte_size: int
property
Returns the size of the data that this was deserialized from.
Returns:
| Name | Type | Description |
|---|---|---|
int |
int
|
The size of the data that this was deserialized from. |
username: str
property
old_password: str
property
new_password: str
property
__init__(*, username, old_password, new_password)
Create a new instance of AccountAgreeClientPacket.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
username |
str
|
|
required |
old_password |
str
|
|
required |
new_password |
str
|
|
required |
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
22 23 24 25 26 27 28 29 30 31 32 33 | |
family()
staticmethod
Returns the packet family associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketFamily |
PacketFamily
|
The packet family associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
57 58 59 60 61 62 63 64 65 | |
action()
staticmethod
Returns the packet action associated with this packet.
Returns:
| Name | Type | Description |
|---|---|---|
PacketAction |
PacketAction
|
The packet action associated with this packet. |
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
67 68 69 70 71 72 73 74 75 | |
write(writer)
Serializes and writes this packet to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
the writer that this packet will be written to. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
77 78 79 80 81 82 83 84 | |
serialize(writer, data)
staticmethod
Serializes an instance of AccountAgreeClientPacket to the provided EoWriter.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
writer |
EoWriter
|
The writer that the data will be serialized to. |
required |
data |
AccountAgreeClientPacket
|
The data to serialize. |
required |
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | |
deserialize(reader)
staticmethod
Deserializes an instance of AccountAgreeClientPacket from the provided EoReader.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
reader |
EoReader
|
The writer that the data will be serialized to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
AccountAgreeClientPacket |
AccountAgreeClientPacket
|
The data to serialize. |
Source code in src/eolib/protocol/_generated/net/client/account_agree_client_packet.py
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 | |