About this book
A wire protocol specification for League of Legends game servers: what a server sends for a client to connect, load a match and play, and what the client does with it. The chapters are meant to be enough to build a conforming server. Each builds on the ones before it, so read them in order.
A chapter holds for every client build covered, except a passage set apart and headed with ranges, which holds for those alone. What a chapter says of a message holds wherever that message has a layout: a build with no layout for a message has no such message, and nothing said of it applies there. Field layouts are not restated in prose: they live in schema/, machine readable, and each system’s chapter ends with its messages and every layout each has. Where a field’s meaning is undetermined, its note says so.
The rules of the game are out of scope: how much a spell deals, what an item costs, how fast a champion levels. A server decides those; the specification says how it tells a client the results.
Check your work against conformance/ as you go; its vectors are this specification’s measure of a conforming server.
If the specification does not answer something you need, do not guess: report it as a defect, as CONTRIBUTING.md explains.
This book covers client builds from 4.1.0.171 up to, not including, 4.21.0.0, in 19 ranges. Every build in a range is held to the same facts.
| Patch | From | Up to | Patch notes | Builds checked |
|---|---|---|---|---|
| 4.1 | 4.1.0.171 | 4.2.0.2718 | V4.1 | 1 |
| 4.2 | 4.2.0.2718 | 4.3.0.495 | V4.2 | 2 |
| 4.3 | 4.3.0.495 | 4.4.0.1858 | V4.3 | 1 |
| 4.4 | 4.4.0.1858 | 4.5.0.260 | V4.4 | 2 |
| 4.5 | 4.5.0.260 | 4.6.0.193 | V4.5 | 2 |
| 4.6 | 4.6.0.193 | 4.7.0.296 | V4.6 | 2 |
| 4.7 | 4.7.0.296 | 4.8.0.189 | V4.7 | 2 |
| 4.8 | 4.8.0.189 | 4.9.0.239 | V4.8 | 1 |
| 4.9 | 4.9.0.239 | 4.10.0.369 | V4.9 | 2 |
| 4.10 | 4.10.0.369 | 4.11.0.386 | V4.10 | 2 |
| 4.11 | 4.11.0.386 | 4.12.0.356 | V4.11 | 1 |
| 4.12 | 4.12.0.356 | 4.13.0.265 | V4.12 | 1 |
| 4.13 | 4.13.0.265 | 4.14.0.362 | V4.13 | 1 |
| 4.14 | 4.14.0.362 | 4.15.0.238 | V4.14 | 1 |
| 4.15 | 4.15.0.238 | 4.16.0.238 | V4.15 | 1 |
| 4.16 | 4.16.0.238 | 4.17.0.233 | V4.16 | 1 |
| 4.17 | 4.17.0.233 | 4.18.0.271 | V4.17 | 2 |
| 4.18–4.19 | 4.18.0.271 | 4.20.0.315 | V4.18, V4.19 | 9 |
| 4.20 | 4.20.0.315 | 4.21.0.0 | V4.20 | 1 |
What the chapters say of a message says nothing of a patch that has no layout for it. A message the chapters name with a link is one this book has; one named without a link is one no build of this book has. The index of messages finds any message, and the appendix on patches gives each patch’s checks, every message it carries, and how it differs from the one before it.
Transport
A server and a client exchange messages over UDP, carried by ENet 1.2.5 with the header each range’s definitions give.
Layering
Four layers carry a message to a socket.
- UDP moves datagrams.
- ENet turns datagrams into ordered, acknowledged deliveries on numbered channels.
- A cipher covers each channel payload.
- A message occupies the deciphered payload, opening with the header its family carries, as Messages defines.
This chapter covers layers 1 to 3.
Stock ENet
This document does not restate ENet. Connection setup, acknowledgement, sequence numbers, retransmission, throttling, and fragmentation behave as ENet 1.2.5 defines them.
The rest of this chapter says what a client does not accept from stock ENet. A server built on an unmodified ENet 1.2.5 never completes a connection.
The packet header
Each range has its own header, below with the constants it is read under. A server MUST use the layout of the version it serves, because a client establishes no connection under any other layout.
Packet headers and constants
In 4.1–4.19
ENet 1.2.5 beneath; little-endian fields. Blowfish in ECB mode over 8-byte blocks, each read big-endian, under a 16-byte key given in base64. Neither end pads.
| Field | Type | Present when | What it is |
|---|---|---|---|
| sessionId | u8 | The value the client supplied when it connected, carried on every packet. | |
| peer | 1-byte bits | ||
| peer.peerId | bit 0 to 6 | 127 marks an unassigned peer, which is what a connecting client sends. | |
| peer.sentTimeFlag | bit 7 | Set when the header carries a sent time. | |
| sentTime | u16, big-endian | peer.sentTimeFlag set | Milliseconds since the connection opened. |
| Constant | Value | Stock ENet | What it is |
|---|---|---|---|
| maximumPeerId | 127 | 32767 | Follows from the peer id occupying seven bits. |
| maximumTransmissionUnit | 996 | 4096 | A client asks for 1400 in its connect command, and takes no datagram larger than 996 bytes. |
| minimumDatagram | 4 | 2 | A client discards any datagram shorter than this many bytes. |
In 4.20
ENet 1.2.5 beneath; little-endian fields. Blowfish in ECB mode over 8-byte blocks, each read big-endian, under a 16-byte key given in base64. Neither end pads.
| Field | Type | Present when | What it is |
|---|---|---|---|
| addressCheck | bytes, 4 | A CRC-32 over the address the datagram is sent to, written big-endian. The input is ten bytes: the IPv4 address in network order, the UDP port as a little-endian u16, and 98 2e 3f 3c. The register starts at all ones; for each input byte it is shifted left eight bits with the byte placed in the low eight, then XORed with the table entry for the eight bits shifted out; the entry for a value v is v shifted left 24 bits, then eight steps of the polynomial 04c11db7, most significant bit first, with no reflection; at the end the register is inverted. A client sending to 127.0.0.1 port 5000 writes 28 68 bd eb, and to port 5001 fa 71 7c 37. A client does not check the field on what it receives, so a server may write any four bytes; a client does not connect without the field. | |
| sessionId | u8 | The value the client supplied when it connected, carried on every packet. A connection whose packets carry any other value times out. | |
| peer | 1-byte bits | ||
| peer.peerId | bit 0 to 6 | 127 marks an unassigned peer, which is what a connecting client sends. | |
| peer.sentTimeFlag | bit 7 | Set when the header carries a sent time. | |
| sentTime | u16, big-endian | peer.sentTimeFlag set | Milliseconds since the connection opened. |
| Constant | Value | Stock ENet | What it is |
|---|---|---|---|
| maximumPeerId | 127 | 32767 | Follows from the peer id occupying seven bits. |
| maximumTransmissionUnit | 996 | 4096 | A client asks for 1400 in its connect command, and takes no datagram larger than 996 bytes. |
| minimumDatagram | 8 | 2 | A client discards any datagram shorter than this many bytes. |
A header built from the schema is necessary to reach a client, and not sufficient on its own. Where a field’s content is free rather than fixed, its note in the schema says so.
conformance/vectors/transport holds a header with a sent time and one
without.
A client discards any datagram shorter than the minimumDatagram constant of
its range. A server MUST NOT send a shorter datagram.
The connect command
A server’s verify connect MUST state the channel count, and the throttle interval, acceleration and deceleration, the connect command carried: a client abandons a connection whose verify connect states anything else.
A client’s connect command takes ENet’s layout, except that two of its fields carry one byte of meaning each. The peer id is the first of the two bytes ENet gives it, and the session id is the first of the four. The bytes after each carry nothing a server reads, and a client fills them with anything.
A server MUST take the peer id and the session id from those first bytes. The session id is then the byte every header carries, and a server that reads either field at ENet’s width answers a client that never hears it.
A client asks for 8 channels.
Maximum transmission unit
A client asks for a transmission unit of 1400 bytes, and discards any datagram
whose UDP payload, packet header included, exceeds the
maximumTransmissionUnit constant of its range. A server MUST NOT send a larger
datagram.
That constant is below what a client asks for. A server MUST accept a connection at a transmission unit no greater than the constant, by clamping the value the client asks for. Capping its own sending without clamping the negotiated value is not sufficient, because ENet derives fragment sizes from the negotiated value and still emits datagrams above the limit.
The cipher
Whether a payload is enciphered follows from the state of the connection rather than from the channel it travels on. A connection begins with no cipher state, and the request that establishes it travels in the clear apart from one field it carries enciphered as proof. Everything after that is enciphered, on every channel and in both directions, the answer to that request included.
schema/protocol.json records which cipher, in which mode, and the shape of a
block. A server MUST use that cipher; a client accepts no other. A standard
implementation of Blowfish interoperates with a client.
What a server sends carries no padding. Trailing bytes that do not fill a block travel unchanged, so a payload shorter than one block travels in the clear.
What a client sends carries no padding either.
conformance/vectors/cipher covers a whole block, a payload with a tail too
short to fill one, and a payload shorter than a block.
The key
Both ends hold the key before a connection opens. Nothing on the wire negotiates it, and no exchange derives it. A client receives it as a launch argument.
The argument holds the key in base64.
Registration associates the key with a connection. Register travels in the
clear apart from one field enciphered under the key, and a server MUST refuse a
connection whose deciphered field is not what it expects, since that field is
all that shows the client holds the key. schema/messages
records the exchange, as Register and Registered.
Channels
In every range of this book
| Channel | Name | Family |
|---|---|---|
| 0 | registration | registration |
| 1 | requests | game |
| 2 | clock | game |
| 3 | events | game |
| 4 | transient | game |
| 5 | chat | session |
| 7 | roster | session |
Messages
A message occupies one deciphered channel payload. The payload opens with the header the message’s family carries, and the body begins where that header ends.
schema/messages holds one file per message identity, and each file records
one or more revisions. A revision carries the value identifying the message,
the channel it travels on, its direction, how the transport delivers it, and
the fields of its body.
Families
Every channel carries one family of messages, and schema/channels.json says
which. A family fixes two things: the numbering its command values are drawn
from, and the header that precedes every body on it. schema/families.json
records both. Two channels of one family share a numbering, so a value
identifies at most one message across both, and the same value on channels of
different families is two unrelated messages.
A family whose header carries no command field has one message each way on each channel it rides, read from the payload’s first byte; its revisions number that message 0.
The family, not the channel, selects the header.
A revision names the channel it travels on, and names any others in alsoOn.
Those channels carry the same family, so the command value means the same
message on each, and the body is byte for byte the one the revision records.
What changes between them is delivery: each entry states how the transport
carries the message there. A server MAY send such a message on any channel the
revision names, and what it gets is the delivery stated for that channel. A
client reads it the same way on every one of them, so a server MUST NOT vary
the body with the channel it chooses.
The command
A revision records the value that identifies it, and the family’s header says where that value sits on the wire. That value is not a field of the message: it belongs to the header, along with anything else the family carries before a body begins.
A family can keep some values of the leading byte for framing rather than for
messages, and schema/families.json lists which. Where a family names an
escape, that value means the real identifier is wider than a byte and travels
elsewhere in the header, which is how a family numbers more messages than a
byte holds. A revision records the identifier either way, and never the escape.
Directions
A revision states whether it travels clientToServer, serverToClient, or
bidirectional. Direction is part of what identifies a message, so one value
serves two messages travelling opposite ways within a family. A bidirectional
revision claims that value both ways.
A container of several messages
Where the game family keeps 255 for framing, that value introduces a container
rather than a message: a run of several messages gathered into one payload,
which a reading end unwraps and reads one by one as though each had arrived on
its own. A container carries no header, so nothing in schema/messages
describes one, and a reading end MUST NOT read the value that introduces it as
a command.
A container is the byte 255, then a count of entries in one byte, then the entries one after another. The first entry is a length in one byte, the command in one byte, the object identifier in four bytes, and then a body whose size is the length less five. Every later entry opens with a byte of flags and size:
- bit 0 clear: a command byte follows, and this entry carries it; bit 0 set: this entry carries the command the entry before it carried;
- bit 1 clear: a four byte object identifier follows; bit 1 set: one signed byte follows, and this entry’s object identifier is the one before it plus that byte;
- bits 2 to 7: the size of the body; where they read 63, the size is the next byte instead.
The body follows. Each entry, given the command and object identifier it carries as its header, is a message read as though it had arrived on its own. Where the family’s escape is 254, an entry whose command is 254 carries the wider identifier in the first two bytes of its body, so that, with the command and object identifier before it, it reads as the extended form of the header does.
Where the game family keeps 255, a server MAY send a container on the events channel. A client sends none.
Reading a body
A body begins where its family’s header ends. Fields occupy it in the order the revision lists them, each beginning where the one before it ended. A revision never restates a field its family’s header already carries, and never takes a name from it. Nothing is aligned and nothing is padded between fields. A field’s size is fixed by its type, given as a literal, carried by an earlier field, or one of the two words below.
Where a size or a count names an earlier field, it names one that has already
been read and one holding an unsigned integer. It names either a whole field or
one run of bits inside a field, and a run is written as the field name, a full
stop, and the run name. remaining and terminated are reserved words rather
than names, so no field carries either.
A field of a body names only fields of that body. A family’s header is read first, but it belongs to every message of the family rather than to this one, so nothing in a body is sized or governed by it.
What counts as an earlier field depends on what encloses the field doing the naming. An item of an array reaches the fields of the body around it. The fields of a struct reach only each other, because a struct is used wherever it occurs, so it cannot depend on what surrounds any one use.
remaining means every byte from where the field begins to the end of what
encloses it: the message body, or the byte length of the struct or array the
field sits inside. A field measured that way is the last one its enclosure
defines, because nothing inside that enclosure can follow it.
An enclosure that states a byte length is itself an ordinary field, and fields follow it as usual. An enclosure that states none ends where the body ends, so it is the last field too, and so is any struct whose own last field is one of these.
A body ends where its last field ends, with one exception: a client accepts a
Registered carrying bytes past its record, and takes no meaning from them. A
sender MUST write the fields a revision lists and nothing after them.
Byte order
A revision of schema/protocol.json states the byte order that covers a
version range, and every multi byte field in that range is read that way. A
field that differs states its own order, which overrides the range.
The types
Integers. u8 through u64 and i8 through i64, in two’s complement.
f32 and f64 are IEEE 754 binary floating point.
Bytes. A run of bytes with no interpretation. Its size is fixed, named by
an earlier field, or remaining.
Strings. A run of bytes and an encoding, either utf8 or ascii. A size
is a literal or the name of an earlier field. A string given one occupies that
many bytes whatever its content, and the zero bytes at its end are padding
rather than content, so they are dropped. A zero anywhere else belongs to the
text and stays. A string sized terminated ends at the first zero byte, that
byte belongs to the field, and it is the only one dropped. A string sized
remaining carries every byte to the end of its enclosure, zeros included. A
size counts bytes rather than characters.
Arrays. A run of one repeated shape. An array states either a count of
items or a size in bytes, and never both. A count is a literal, the name of an
earlier field, or remaining, which repeats to the end of the enclosure. A
size in bytes repeats until those bytes are consumed, which is how a run whose
length travels as a byte count is recorded.
Structs. A named group of fields, defined in schema/types and used
wherever it occurs. A struct has revisions as a message does, and a message
revision that holds one lies wholly within one of the struct’s revisions, which
gives the layout it holds there. A struct occupies exactly the bytes its own
fields occupy. Where its length travels on the wire instead, the field states a
size in bytes, as a literal or as the name of an earlier field. A sending end
MUST write a struct’s fields to fill that size exactly.
Bits. A field of one or more bytes divided into named runs, whose widths total exactly the bits those bytes hold. No run is wider than 32 bits. The bytes form one little endian word whatever the range’s byte order, or a big endian one where the field says so. Runs are listed from the least significant bit upward, and each reads as an unsigned integer of its own width.
Bit arrays. A run of the same group of bit runs, repeated a stated number of times. The groups follow one another from the low bits of the first byte upward, crossing byte boundaries without padding, and the field occupies as many whole bytes as the groups need. The bits above the last group are clear. A count is written as an array’s is.
Records. A group of fields named together and read one after another, with
nothing between them and nothing around them. A record occupies exactly what
its fields occupy. Unlike a struct it is written where it is used rather than
defined in schema/types, and its fields reach the fields around it, so a
record is a way of naming part of a message rather than a shape reused
elsewhere.
What a field names
A size, a count, or a rule about whether a field is present names an earlier field. Five forms are written:
- a name on its own, which is a field of the same enclosure;
- a name, a full stop, and a run inside it, where that field is
bits; - a name, square brackets, and a name inside them, which is the item of an earlier array standing at the same position as the item doing the naming, so that two arrays run together;
- either of the first two inside
{"field": …, "minus": N}, which is that field’s value less the literal N, and N is never larger than the value; - either of the first two inside
{"field": …, "bitsSet": true}, which is how many bits of that field’s value are one.
Nothing else is computed.
Presence
A field states a presence rule when it occupies bytes only under a condition, and a field whose condition does not hold occupies no bytes at all. The rule names an earlier field or bit run holding an integer, and states a value it carries, or a set of values, any one of which satisfies it. Without one, any value other than zero satisfies the rule. A field its own rule left out holds no value, so a rule naming that field does not hold either.
A rule can instead name remaining, which no field is called. A field under
that rule is present where the payload has bytes left at that point and absent
where it has ended, so a message whose sender stops early reads as one whose
later fields are absent. A sender that stops early MUST stop where a field
under such a rule begins.
A rule can mark one of its sides unseen; that side’s layout is the one the
field states.
A field that travels enciphered
A payload is enciphered as a whole once a connection has a cipher state, and a message says nothing about that. Before a cipher state exists, a payload can carry one field enciphered under the key both ends hold, and the field says so.
Such a field occupies whole cipher blocks, because a field filling part of one would travel half in the clear. Its recorded value is what the bytes mean once deciphered, so a reader deciphers the field alone and leaves the payload around it untouched.
Enumerated values
Where an integer field, or a run of bits inside one, takes a fixed set of values, the field lists what they mean, keyed by the value on the wire. Each entry names the value, in the same form a field name takes, and no two entries of one field share a name. A key fits the width and sign of what it names. A value with no entry has no meaning this specification states.
Revisions
A revision covers a range of client versions, from one version inclusive to another exclusive. Every revision states where it stops. Ranges of one message never overlap. A version no revision of a message covers has no such message: a client there neither sends nor takes it, and what a chapter says of it does not apply.
A revision covers no version that schema/protocol.json, schema/channels.json
and schema/families.json do not all describe, because a range none of them
reaches has no header, no byte order, and no channel to travel on.
Names and notes
A field name begins with a lower case letter and carries letters and digits after it. A message identity and a struct identity begin with a capital. A file is named for the identity it defines, and a message’s vectors sit in one directory named for that identity, with each capital starting a new part, lower case and joined by hyphens.
A field name is unique among the fields beside it, and an item of an array never takes the name of a field enclosing it.
Anything in schema/ carries a note wherever a fact needs words: a revision, a
field, a run of bits, a value. A note states what the wire carries and what
each end does. It carries no requirement keyword and says nothing changed.
How a message is delivered
A revision states whether the transport carries it reliably, unreliably, or unsequenced, which is what the message needs of the transport: a message another supersedes can be lost, and one that carries an account of what happened cannot. A server MUST send a message with the delivery its revision states.
Quick chat
Quick chat is a feature a server leaves off. A client sends a quick chat on
channel 6 only where VersionSync’s features turn quick chat on. This
specification records no layout for channel 6.
In 4.1–4.19
A client given the quick chat bit fails while loading. A server MUST NOT set that bit.
Vectors
Every revision carries at least one conformance vector. A message vector opens with its family’s header and is read to the end. conformance/ says how a vector is written and how to run one.
Family headers
A field present when remaining is set is present exactly where the payload has bytes left at that point.
In every range of this book
The game family:
| Field | Type | Present when | What it is |
|---|---|---|---|
| command | u8 | 254 means the identifier is carried in the wider field instead. 255 introduces a container of several messages rather than a message of its own, which Messages describes. | |
| netId | u32 | A network object the message concerns. Which object, and whether it is the origin or the subject, is settled by each message rather than here, and some messages carry a value naming none. | |
| extendedCommand | u16 | command = 254 | Identifiers here start above the range a single byte holds. |
The session family:
| Field | Type | What it is |
|---|---|---|
| command | u8 |
The registration family:
| Field | Type | What it is |
|---|---|---|
| command | u8 |
Objects and identifiers
How the things a match is about are named on the wire, and when an object enters and leaves a client’s world.
The identifiers
| Identifier | Width | Formed | No one |
|---|---|---|---|
| Player id | 64 bits, signed | the player’s account; a client is given its own when started | -1, every bit set |
| Client id | 32 bits, unsigned | chosen by the server for each player at registration, counting from 0 | 4294967295 |
| Seat | a place in a side list | the order of a side’s player ids in Roster | an empty place |
| Net id | 32 bits, unsigned | chosen by the server for what it creates; worked out from a name for what a map holds | 0 |
| Node | 8 bits, unsigned | the owning client’s client id plus 1, or 0 for an object no client owns | 0 |
| Region id | 32 bits, unsigned | chosen by the server for each region, and carried by RegionAdded | see below |
| Name hash | 32 bits, unsigned | worked out from the name of a spell, an effect, a particle or a bone | 0 |
A field’s own definition gives its exact type. Where a field carries one of these, it carries it whole, at the width above.
No region id stands for no region.
A server MUST give each player a client id from 0 to 252.
How they relate
A player is known by a player id. A server answers a client’s Register with
Registered, and the one carrying the client’s own player id gives the client
its own client id.
Registration pairs each player id with a client id: a server answers a
client’s Register with one Registered for every seat. Every later message
that names a player by client id is read through that pairing.
Roster lists each side’s player ids in order, and a player’s seat is their
place in that list. A client finds a seat’s client id through its player id.
SeatName, SeatChampion and the VersionSync seats name a player by player
id; SeatLoadProgress names both.
A champion carries the client id of the player it belongs to. The
CreateChampion carrying a client’s own client id makes that champion the
client’s own.
A bot’s champion carries 4294967295.
Net ids
A net id names one object in a client’s world: a unit, a missile, a particle, a marker, a prop. The header of every game message carries one, and fields naming a unit, an owner or a target carry one too.
- A server MUST NOT give an object net id 0, which names nothing.
- A server SHOULD NOT give an object a net id whose top byte is 0xFF, which the identifiers of what a map holds use, nor one whose top byte is any client’s client id plus 1, which a client uses for objects of its own making.
- A server MUST NOT give a new object a net id it has given another object in the same match, except in a soft reconnect (see below).
A client that still holds the earlier object creates the new one but keeps the net id on the old one, so messages naming it reach the old object, and removing either leaves the id naming neither.
A create message carries a node beside the object’s net id.
Nothing a player sees depends on it.
Net ids of what a map holds
Some objects are on the field before any message puts them there, and no message ever does: the buildings a side defends, the shops beside them, and the spawn points a side’s minions come from. A receiving end knows them from the map it loaded, and every message naming one names it by an identifier worked out from that object’s name in the map.
The identifier is the CRC-32 of the name, with the top byte set:
identifier = crc32(name) | 0xFF000000
The name is taken byte for byte with its case kept, so OrderShop01 and
orderShop01 are two names and give two identifiers. The CRC-32 is the common
one: the polynomial 0x04C11DB7 read reflected, starting from 0xFFFFFFFF and
finishing with every bit inverted, so the nine bytes 123456789 give
0xCBF43926.
Among the identifiers with that top byte are these:
| Name | Identifier |
|---|---|
Barracks_T1_C1 | 0xFF4A20F1 |
Barracks_T1_L1 | 0xFFD23C3E |
Barracks_T1_R1 | 0xFF9303E1 |
Barracks_T2_C1 | 0xFFFF8F1F |
Barracks_T2_L1 | 0xFF6793D0 |
Barracks_T2_R1 | 0xFF26AC0F |
__P_Order_Spawn_Barracks__C01 | 0xFFB77171 |
__P_Order_Spawn_Barracks__L01 | 0xFFEB364C |
__P_Order_Spawn_Barracks__R01 | 0xFF53B836 |
__P_Chaos_Spawn_Barracks__C01 | 0xFFBA00E8 |
__P_Chaos_Spawn_Barracks__L01 | 0xFFE647D5 |
__P_Chaos_Spawn_Barracks__R01 | 0xFF5EC9AF |
____P_Chaos_Spawn_Barracks__C01 | 0xFF707D61 |
ChaosShop01 | 0xFF3A98D9 |
chaosShop01 | 0xFFA6170E |
HQ_T1 | 0xFFF97DB5 |
HQ_T2 | 0xFFF02C0F |
OrderShop01 | 0xFF8C490C |
orderShop01 | 0xFF10C6DB |
| Name | map |
|---|---|
Barracks_T1_C1 | 1, 11, 12 |
Barracks_T1_L1 | 1, 10, 11 |
Barracks_T1_R1 | 1, 10, 11 |
Barracks_T2_C1 | 1, 11, 12 |
Barracks_T2_L1 | 1, 10, 11 |
Barracks_T2_R1 | 1, 10, 11 |
__P_Order_Spawn_Barracks__C01 | 1 |
ChaosShop01 | 12 |
chaosShop01 | 1, 8, 10, 11 |
HQ_T1 | 1, 10, 11, 12 |
HQ_T2 | 1, 10, 11, 12 |
OrderShop01 | 12 |
orderShop01 | 1, 8, 11 |
The Barracks names above belong to inhibitors, whatever the name says. The
minions a side sends out come from spawn points of their own, which are among
the objects a map holds.
A client puts a minion on the field for a SpawnFromBarracks naming a spawn
point, and creates nothing for one naming an inhibitor such as
Barracks_T1_C1.
A server MUST name each object a map holds by the identifier its name gives.
CreateTurret gives a net id to a turret the map already holds, matched by
name. Given to a turret that already has one, it gives it a second, and both
name it.
What a client holds
A client holds an object from the message that creates it until the message, or the end of its life, that removes it. Creating messages are listed in Units. What a map holds, a client holds from the moment it loads the map.
Several creating messages can arrive inside the EnterSight that brings a
unit into view.
Leaving a client’s sight removes nothing: LeaveSight and LeaveTeamSight
hide an object, and it is held as before.
LeaveLocalSight hides an object too, and it is held as before.
In 4.1–4.19
RegionRemovedfor a region a client does not hold does nothing.
In 4.1–4.19
How each kind leaves a client’s world:
Kind Removed Its death Champion by ChampionRemoved, at oncekills it; it is held, and comes back Minion, monster, pet by the client, once it has been dead for its death time, 4 seconds unless its character says otherwise; a new SpawnPetfor an owner removes that owner’s pet before itstarts that wait; a death naming no killer does nothing Turret by the client, 1.2 seconds after its death, or after the time its SpawnTurretgives; a lane turret is held whereVersionSync’s features keep destroyed turrets (turretsPersist)kills it Inhibitor, nexus never BuildingDiedplays its death; it is held, and an inhibitor comes backMissile by DestroyMissile, by its flight ending, or once its caster is removedParticle by KillParticle, naming it in its body, or once its effect endsFollower once the unit it follows is removed Marker only by a soft reconnect Region by RegionRemoved, once its lifetime runs out (a lifetime of 0 never does), or once the unit it follows is removed
In 4.1–4.19
A client fails on a
RegionMovednaming a region it does not hold, one whose lifetime has run out included, and a server MUST NOT send one.
A soft reconnect
SoftReconnect rebuilds a client’s world without a new connection, in two
halves. The first marks every unit and every object kept until a checkpoint,
inhibitors aside. A create message for a marked net id replaces the marked
object rather than keeping the id on it. The second removes every object still
marked. In between, a server sends again each object the client is to keep.
Each stage either marks or removes.
In 4.1–4.17
The stage of
SoftReconnectthat marks is 0.
In 4.18–4.20
The stage of
SoftReconnectthat marks is 1.
Messages about objects a client does not hold
A message whose header names a net id the client does not hold, or whose body names one it needs, does nothing, and the client answers nothing for it. Creating messages are the exception, and so are these:
CreateFollowerdoes nothing where the unit it follows is not held.- A
Replicationbatch skips the units a client does not hold, and goes unanswered (see Ordering). SoundPlayednaming an owner the client does not hold plays the sound with no place.
SpawnPet takes the net id in its header for the new pet, but does nothing
where the owner its body names is not held.
A WaypointGroup or WaypointGroupAtSpeed path for a unit not yet held is
applied once an object takes that net id, and its WaypointAck is sent as
usual. A server SHOULD send the creating message first.
EnterSight and EnterLocalSight act on the messages they carry whether or
not the client holds the unit they name.
Nothing else is held back for later: a message that arrives before the message creating what it names is lost. Ordering says what that requires of a server.
A message naming its sender
A server MUST set any field naming the sender from the connection the message arrived on, and MUST NOT copy the value the message carried; otherwise one player can send messages every other client attributes to another.
Name hashes
Some things a message names are known to a client by name: a spell, an effect a unit carries, a particle, and a place on a unit that particles hang from. A message names one of these by a number worked out from its name.
The number is the ELF hash of the name with its capital letters lowered:
number = 0
for each byte b of the name, with A to Z made a to z:
number = (number << 4) + b
high = number & 0xF0000000
if high != 0:
number = number ^ (high >> 24)
number = number & ~high
Every step is worked in 32 bits. Only A to Z change, so SummonerFlash
and summonerflash give one number. A particle’s name includes its extension,
so the number comes from global_ss_flash.troy and not from
global_ss_flash. The nine bytes 123456789 give 0x0678AEE9.
Every byte other than A to Z is taken as it is.
| Name | Number |
|---|---|
SummonerFlash | 0x06496EA8 |
RegenerationPotion | 0x0E75DC7E |
EzrealMysticShotMissile | 0x05FE9CE5 |
global_ss_flash.troy | 0x0058E369 |
L_HAND | 0x0725E844 |
A server MUST name each such thing by the number its name gives.
Ordering and acknowledgement
What arrives in what order, which numbers say that one statement supersedes another, and what a client answers with. A server whose messages arrive out of the order these rules expect has them ignored or lost.
Across channels
The transport delivers a channel’s reliable messages in the order they were sent, and drops an unreliable message that arrives after a later one on the same channel (see Transport). Nothing orders one channel against another.
A client acts on game messages in the order they arrive, whichever channel they arrive on, and holds none back for later but the paths Objects and identifiers names. A message that arrives before the message creating what it names is lost. So:
- A server MUST send the message creating an object before any message naming it.
- A server MUST NOT rely on a message on one channel arriving before a message sent later on another. Where one depends on the other, a server sends both on one reliable channel, or sends the second once the transport has acknowledged the first.
The messages creating a unit travel reliably on the events channel, while
Replication and WaypointGroup travel unreliably on the transient channel,
so either can overtake the message creating the unit it names. A Replication
batch skips a unit the client does not hold, and goes unanswered (see below),
so a server sends a newly created unit’s values again until a batch naming it
is answered.
A server can instead send Replication reliably on the events channel.
Numbers that supersede
Several messages carry a syncId: a number that lets a client tell a newer
statement from an older one, or a server tell which statement an answer is
for. Each family keeps its own numbers, and compares them in its own way.
| Family | Carried by | Counted | A client takes a statement |
|---|---|---|---|
| Replication | Replication | per unit and per group of values, from 0 | whose number is greater than the last taken for that unit and group, with no wrapping: 0 is never taken |
| View | Camera, from a client | per client, counting up as the view moves | (a client’s own report) |
WaypointGroup, WaypointGroupAtSpeed,
Path, PathWithSpeed, EnterSight, and UnitStopped and
SpellCastAnswer where they carry one, share one count per unit, from -1. A
client takes a statement whose number is equal to the unit’s or ahead of it;
a number 230 or more behind counts as ahead, so the count can
wrap. A group of movements carries one syncId for every unit in it. A
server MUST give each statement about a unit a number equal to or ahead of
the last it gave that unit.
A statement a client does not take changes nothing; what follows it still applies.
For replication, a server MUST give each batch carrying a unit a number greater
than the last batch carrying that unit, and MUST NOT give one 0. A server
SHOULD give every batch a number of its own, so that a TransientAck names one
batch.
A client sends a view report again until a server answers with its number,
twice the round trip time plus 1/30 of a second apart. A server MUST answer
each view report with CameraAck, carrying its number.
What a client answers
| A server sends | A client answers |
|---|---|
QueryStatusAnswer | nothing; it asks again with QueryStatus until told the server is ready |
WaypointGroup, WaypointGroupAtSpeed | WaypointAck for each group, taken or not, naming the units in it that carried a token (see Movement) |
Replication | TransientAck, where every unit the batch names is held |
ClockSync | ClockReply (see Time) |
A client sends these answers when it plays a match, not while it plays back a stream.
Space
How positions, distances and directions are carried, whichever system carries them, and what a map gives that nothing on the wire carries.
Units and axes
Positions and distances are in world units. The ground is the plane of x and z, and y is height. A field that carries a position on the ground carries x and z; one that carries a point in the world carries x, y and z. Where a message leaves height out, a receiving end takes it from the ground beneath.
A position travels as a 32-bit float on each axis unless its definition says
otherwise. Where the paths of Movement and MovementAtSpeed are compact,
they carry their points as integers measured from the map’s origin, and
Movement says how those points are worked out.
Directions
A direction is carried as a vector, not as an angle:
- A unit’s facing in the movement state
EnterSightcarries is a pair along the ground, x and z. UnitStopped,MissileState, a particle’s facing and a view’s direction inCameracarry x, y and z.FaceDirectioncarries x, y and z, and turns the unit to face along them.
FaceDirection turns the unit over the time it gives where its flags say
so, and at once otherwise.
A champion carries no facing of its own when created.
A champion faces as its map’s table of spawn positions says (see
CreateChampion).
CreateNeutral carries a point to face rather than a direction: the monster
faces from where it stands toward that point, or along +z where the two are
the same.
A prop of scenery carries angles instead: MapProp gives its turn as pitch,
yaw and roll, in degrees, where yaw 0 faces +z and yaw 90 faces +x. For an
active prop, the same three fields are a direction vector.
Maps
VersionSync names the map to load by number. A client takes a map’s
buildings (see Objects and identifiers), spawn positions and path
origin (see Movement) from its own data (see
The client’s data), and can load only a map it has data for.
The maps a client has data for include these:
map | Map | Origin of its paths |
|---|---|---|
| 1 | Summoner’s Rift | 6991, 7223 |
| 8 | The Crystal Scar | 6947, 6609 |
| 10 | The Twisted Treeline | 7708, 7227 |
| 12 | The Howling Abyss | 6560, 6309 |
In 4.18–4.20
A client also has data for map 11, a second Summoner’s Rift, whose paths have their origin at 7358, 7412.
Time
Which clocks a match runs on, and which of them each time on the wire is measured against.
How a time is carried
A time is in seconds, as a 32-bit float, unless its definition says otherwise. A field is either a moment, read against a clock, or a duration, which starts when the message arrives. Every definition says which.
Exceptions:
Pausedcarries the time left in a hold as a whole number of seconds.- A stream’s chunk and key frame intervals (
StreamMetadata) are in milliseconds.
In 4.17
The time between two of a stream’s records (
StreamRecord) is in milliseconds.
In 4.18–4.20
MapPropChangedgives when its change begins in milliseconds of match time.
The match clock
The match runs on a server’s clock, which counts seconds from 0 as play begins.
ClockSync states where it stands, and a client sets its own clock to that,
plus its allowance for how late the statement arrived. A client answers with
ClockReply, from which a server measures the round trip. A server can report
the round trip it measured with ClockConvergence.
In 4.1–4.19
A client takes the round trip
ClockConvergencereports into its allowance for lateness.
A server sends ClockSync with 0 as play begins (see
Joining a match), and again whenever it means a client’s clock to
catch up with its own.
In 4.1–4.19
A client’s match clock does not run until the first
ClockSyncarrives, which sets it. After that it runs on the client’s own timer, and a laterClockSynconly corrects it, however long a server leaves between them.
A client shows the match’s time counted from the moment on the match clock at which the match began.
MatchStarted gives that moment, and a client shows zero while the match
clock is before it.
Moments on the match clock include:
- when a monster arrives (
CreateNeutral’sspawnAt, where it carries one); - when a prop’s animation starts (
MapPropChanged, where it carries one); - when an assisting unit last dealt damage (
ClientEvent); - when a champion’s passive comes off cooldown, where a client is told it (see Replication).
A server MUST state each of these on the clock it sends in ClockSync.
In 4.1–4.19
The game clock
A client also runs a game clock of its own, whose pace
GameSpeedsets, from 0 to 10 times normal, and whichClockSyncdoes not set. How long a unit stays dead, how long an object lives, and how long a client waits before removing a dead unit (see Objects and identifiers) run on it. A server that runs a match at other than normal speed MUST sendGameSpeedwith that speed, or those durations run apart from its own.
A stream’s clock
A watching client plays a stream against a clock of the stream’s own, which the stream’s records set (see Watching a match).
Sides and slots
Values many systems share: which side something is on, and how a unit’s spell, item and effect slots are numbered.
Sides
A side is 100 or 200, for the two sides that play, or 300 for what belongs to neither, such as a monster of no side. Where a field takes 0, it names no side; its note says what that means. A few fields carry a side in another form, and their notes say which.
Roster lists the players of each side, and a player’s place in that list is
their seat (see Objects and identifiers).
Spell slots
A champion has two books of spells. Its own book holds these slots:
| Slot | Holds |
|---|---|
| 0 to 3 | the champion’s spells; 3 is its ultimate |
| 4 on | the spell of the item in the inventory slot four below, for each such slot |
| after those | spells a server places for the match’s own purposes |
Its summoner book holds the two summoner spells, in slots 0 and 1.
A message that names a spell slot either carries a flag, set for the summoner
book and clear for the champion’s own, or names the champion’s own book only.
A cast’s description (SpellCast) carries no flag: the spell’s own data says
whether it is a summoner spell.
A cast’s slot also takes 64 to 72 for a basic attack and 73 to 81 for a critical one.
A cast’s slot also takes 255, for a cast from no slot.
A server MUST NOT name a champion book slot beyond the book’s last slot.
In 4.1–4.6
A champion’s own book ends at slot 60. A client ignores an
Autocastor aSpellTogglednaming a slot above 60, and applies aSpellInSlotor aSpellCostChangednaming one while reporting it as an error. A server MUST NOT name a champion book slot above 60.
In 4.7–4.20
A champion’s own book runs on to slot 62: slot 61 is using an object on the field (see
UseObject), and slot 62 the champion’s passive. A server MUST NOT name a champion book slot above 62.
Inventory slots
A champion’s inventory holds the six items a player sees and uses in slots 0 to 5, and further slots after them up to its last.
An item is cast from the spell slot four above its inventory slot, and moving an item moves its spell with it. A server MUST NOT name an inventory slot beyond the inventory’s last slot.
Slot 6 holds the trinket, slot 7 the item recalling uses, and slots from 8 on
items held for the match’s own purposes, which nothing a player sees shows. A
client asks to swap only slots 0 to 6 (SwapItems).
In 4.1–4.6
A champion’s inventory ends at slot 38. A client ignores a
RemoveItemAnswer,InventorySlot,ItemAdded,ItemUsedorItemChargesnaming a slot above 38. A server MUST NOT name an inventory slot above 38.
In 4.7–4.20
A champion’s inventory ends at slot 39. A server MUST NOT name an inventory slot above 39.
Effect slots
Adding an effect to a slot replaces whatever held it, and removing one empties the slot whatever its name.
Each unit has 64 slots for the effects it carries, 0 to 63. A slot outside that range does nothing.
The client’s data
What a server needs that no message carries, and takes from the files a client installs: the buildings and spawn points of a map, the ground units walk on, and the figures of champions, items and spells. A server SHOULD take its figures from these files: a client draws a match from them, and figures from elsewhere disagree with what it shows.
What a server reads
- The buildings of a map: the names a client knows its turrets, inhibitors and nexuses by, from which Objects and identifiers works out the identifier of each.
- The spawn points: where each side’s champions begin.
- The ground: the grid a map’s units walk on, which a server needs to find paths.
- The figures: each champion’s base statistics, each item’s price and what
it is built from, and each spell’s cooldowns, costs and ranges, which a server
states through replication and
SpellCast.
Movement takes the origin of a path from the ground.
In 4.1–4.17
The client has maps 1, 8, 10 and 12, and no map 11.
In 4.18–4.19
The client has maps 1, 8, 10, 11 and 12. Map 11’s buildings are not scene objects: its
MapObjects.mobholds them, named by the same rules, withTurret_OrderTurretShrineandTurret_ChaosTurretShrinefor its shrine turrets, and the client creates them from it as it does scene objects. Map 11 has no ground grid.
A client installs its files under one root, with the paths below; an install that packs them into archives keeps the same paths inside.
Buildings. LEVELS/Map1/Scene/room.dsc lists a map’s scene objects, one
line each: a file name and a quality number. Each object’s own file sits beside
it and gives its name. A client creates no object from a name holding
_Destroyed or _FB. On map 1 the names run Turret_T<side>_<lane>_<number>
for a lane turret, Barracks_T<side>_<lane>1 for an inhibitor and HQ_T<side>
for a nexus, side 1 for Order and 2 for Chaos and lanes L, C and R, with a
shrine turret for each side; the numbers differ between the sides, and a server
MUST take the names from the files.
In 4.1–4.19
Each object’s file is
.scoas text or.SCBas binary, and gives its name on itsName=line.
In 4.1–4.19
CreateTurretnames a building by its name with_Aafter it.
In 4.1–4.19
A
CreateTurretnaming no building does nothing.
In 4.1–4.19
A name’s opening says what the object is:
Turreta turret,BarrackswithoutSpawnan inhibitor,HQ_a nexus. A client creates no object the map’s object list below already holds.
Objects and spawn points. A champion begins at its side’s spawn point,
__Spawn_T1 for Order and __Spawn_T2 for Chaos.
In 4.1–4.19
A champion begins at its side’s spawn point moved by an offset from
DATA/Characters/HeroSpawnOffsets.inibin, read from the sectionOrder<n>orChaos<n>under the keysPos<i>andFacing<i>, where i is one more thanCreateChampion’s spawn index. A spawn index of 6 or more begins the champion on the spawn point itself.
In 4.1–4.19
In the section’s name, n is how many players and bots the side has. A champion begun on the spawn point itself faces along +X.
In 4.1–4.19
LEVELS/Map1/Scene/MapObjects.mobholds the objects that are not buildings: each side’s spawn point, the minion spawners, navigation points, the marker of the level’s size and the props. It opens with 16 bytes: a fixed tag, a 32-bit version (2), a 32-bit count and 4 reserved bytes. A record of 128 bytes follows for each object: its name, 62 bytes padded with zeros; a byte for its kind; a byte that lets it be placed regardless of collision; 32-bit floats for its position, rotation and scale (three each) and its bounding box (six); and a 32-bit skin.
The ground. A client walks units on LEVELS/Map1/AIPath.aimesh_ngrid, a
binary grid. Its layout is unspecified.
In 4.1–4.19
The grid’s name is the one the mode’s navigation setting gives.
The figures. Each is an inibin file: a champion’s base statistics in
DATA/Characters/<Champion>/<Champion>.inibin; an item, its price among its
figures, in DATA/Items/<id>.inibin; and summoner, item and shared spells in
DATA/Spells/<Spell>.inibin.
In 4.1–4.19
Map 1 adds
LEVELS/Map1/Items.inibinto the items, and figures for a whole mode are inDATA/Globals/, such asCLASSIC_Stats.inibinandHealthGain.inibin.
In 4.1–4.19
A champion’s spells and attacks are in
DATA/Characters/<Champion>/Spells/<Spell>.inibin.
Joining a match
What passes between a client and a server from connection until play begins, in order.
Starting a client
A client learns where to connect from its command line. It takes three arguments it needs nothing in, which can be empty, and then a fourth holding four words separated by single spaces: the server’s IPv4 address, its UDP port, the key (see Transport), and the player id the client registers as. The client connects to that address and port, registers as that player, and enciphers its proof under that key.
Registering
A client’s first payload is Register, on the registration channel. The note
on Registered says what a server answers with: one answer for every seat.
A client knows the answer meant for it by the player id it registered as, not by the client id, and takes the client id that answer carries as its own. Every other answer tells it which client id stands for which player.
A client waits 30 seconds for the answer naming its own player id. Then it offers its player to wait another 30 seconds or to give up, and leaves on giving up.
In 4.1–4.19
The first answer for a client id stands, and a later one for the same client id changes nothing. An answer for its own player id arriving during play has a client send
ReconnectedInMatch.
In 4.1–4.19
A client uses which client id stands for which player for names, sides and loading cards. It takes an answer whenever it arrives, while loading or in play, and one saying a client has dropped changes nothing it shows.
Asking whether a server is ready
A client then sends QueryStatus over and over. A server MUST answer each one
with QueryStatusAnswer, at least until it has answered that it is ready.
While the answers say the server is not ready, a client stays on a black screen
and keeps asking. A server that needs time before a match can begin answers
that it is not ready until it is.
A server MUST also answer each QueryStatus that comes after its first ready
answer.
Stating a build
Once an answer says the server is ready, a client sends ClientVersion once. A
server answers with VersionSync, and a client loads only where its
agreement says the builds agree.
VersionSync names the map to load and everyone at the match.
In 4.1–4.19
A client loads only where
VersionSyncsetsagreement.buildMatches. With it clear, the client shows its player its own version text beside the one the message carries, and ends.
In 4.1–4.19
A client never compares the two otherwise: the message’s build text appears only in that notice.
agreement.matchedchanges some of what chat and the options offer, and nothing about loading. A server leavesreportsToFileandreportingReadyclear, since they have a client write metrics to a file of its own and report to the addresses the message carries.No bit of
featuresis needed for a match to load, and a match with every bit clear has none of the features. A client’s own defaults for most of the bits are in its fileDATA/CFG/defaults/GameFeatures.cfg, one key each, though not in the order of the bits. A server MAY start from those defaults, and leaves the bits that report metrics clear.
Taking a seat
Straight after VersionSync, a client sends JoinSide on the roster channel.
A server answers with one Roster, then a SeatName and a SeatChampion for
each seat a player holds.
In 4.1–4.19
Every seat a player holds needs its place in
Roster, itsSeatNameand itsSeatChampion; a client shows a seat it lacks them for as an empty card. A laterSeatNamereplaces the one before it. A client whose own seatRosterleaves out knows no side for its player, and announcements meant for allies do not show.
Loading
A client reports how far loading has got with LoadingProgress, repeatedly
through loading. A server answers each report with SeatLoadProgress on the
transient channel, carrying the report’s figures under the seat that reported.
A client goes on reporting after its progress reaches 100, until play begins.
A client waits on no other seat. SpawnStart, SpawnEnd and StartGame are
what move a client on, and StartGame alone ends its loading. A server that
means its players to begin together sends StartGame to none of them until
every client has sent ClientReady.
A client writes all ones where its player id goes in LoadingProgress.
A server MUST put the seat’s player id in SeatLoadProgress: the loading
screen shows a seat’s card from the VersionSync seat with that id.
In 4.1–4.19
The loading screen
What a client draws while it loads comes from what it has been sent by then (see the spawn run below for what it takes before
CharacterSelected).A player’s card is built from several messages. Its place on the screen is that seat’s place in the
Roster, and its name is that player’sSeatName. The registration answers (Registered) pair each player with a client id, and the latestSeatLoadProgressfor that client gives the card its progress and, on the client’s own card only, its ping. The firstSeatLoadProgressafter the player’sSeatChampionsets the card up: its portrait and the champion’s name, from thatSeatChampion’s champion and skin, then everything else from theVersionSyncseat whose player id theSeatLoadProgressnames. A card with noSeatChampionyet shows a black portrait, and one with no registration or noSeatLoadProgressyet says it is not connected. A laterSeatChampiondoes not change a card already set up.
In 4.1–4.19
Each
SeatLoadProgressupdates the card of the seat it names, and a client draws its own card only as a server returns its own reports.From the
VersionSyncseat a card takes:
- the two summoner spells, as the name hashes of the spells, each drawn as its icon, or as a plain square for zero or a hash that names no spell;
- the profile icon, the art of icon 0 for a negative number or one with no art;
- the standing, drawn as a frame over the card where the client’s own images have one of that name (UNRANKED and BRONZE draw nothing);
- one badge: the ally badge for the card’s own side, otherwise the enemy badge, each drawn where it is one of the badges the client’s own data names;
- from the flags, bit 1, which shows the skin’s older portrait art where it has one.
A seat’s level is not drawn. A seat with flags bit 0 set is a bot’s, and the client draws its card from the seat alone, needing no other message: the client’s own name for a bot of that champion (not the seat’s bot name), the champion’s portrait in the bot’s skin with the skin’s name, summoner spells the client’s own data picks for the champion, mode and difficulty, and 100%. A seat on neither side 100 nor 200 has no card.
Between the two rows, where both have a card, a client shows the two sides’ team names, each as its tag in square brackets, a space and its name, and nothing for a side whose name is empty: names
Team 1andTeam 2under tagsT1andT2show as[T1] Team 1and[T2] Team 2either side of the versus emblem. A tip set inVersionSyncto show on the loading screen takes their place for its duration, and then they appear. The match’s variants can give the screen a background picture of their naming; with none, it has none.
The spawn run
Once a character is settled, a client sends CharacterSelected, once.
Until it sends CharacterSelected, a client drops every message but
VersionSync, QueryStatusAnswer, MatchIdentity, SeatLoadProgress and
GameEnded, apart from what arrives on the registration and roster channels,
and keeps nothing it drops for later. A server MUST NOT send any of the spawn
run before CharacterSelected arrives.
A client can send CharacterSelected before its progress reaches 100.
A server answers with SpawnStart, states everything on the field as play
opens, and closes the run with SpawnEnd. A run carries:
- for each seat,
CreateChampionfollowed byLoadout; - for each turret, a
CreateTurretand aReplicationbatch of its values; - for each inhibitor and nexus, an
EnterSight, and aReplicationbatch on a map whose buildings replicate (see Replication); - a
RegionAddedfor each region, and aMapPropfor each prop; - at a server’s choice, an
EnterLocalSightfor any of those units.
A turret’s CreateTurret can come on its own or inside the EnterSight that
brings the turret into view.
A client takes these in any order within the run.
A run MUST carry at least SpawnStart, the CreateChampion carrying the
client’s own client id, and SpawnEnd. Given only those, a client still enters play,
showing its champion’s portrait, health, resource and spells. It draws the
champion on the map only once an EnterSight places it there, with its name
and health bar over it.
A client’s shop stays empty until its own champion’s Loadout arrives (see
The shop).
A client answers each Replication batch with a TransientAck naming that
batch’s syncId. It sends one answer for each batch, in the order the batches
came, including a batch that repeats the syncId of the batch before it.
A client answers the batches the run carried once SpawnEnd arrives.
Starting play
A client sends ClientReady after SpawnEnd and after its answers to the
run’s batches, while it is still reporting its loading. A server MUST answer
with StartGame, and later sends MatchStarted, with other messages free to
come between them; MatchStarted carries 0 (see Time).
A client whose connection drops before play begins ends rather than connecting
again. A server follows StartGame with a ClockSync, and a client enters play once
it has both. The first ClockSync carries 0.
In 4.1–4.19
Between
ClientReadyandStartGamea client keeps its loading screen up with its own progress full, and sendsLoadingProgressagain about every half a second. It waits as long as it takes: nothing in it gives up on a server that is slow to start play.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
Register
What a client sends first. It arrives before the connection has a cipher state, so the payload travels in the clear apart from the proof.
In 4.1–4.17
Command 0 on registration, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| leading | bytes, 3 | Arbitrary; it carries no meaning. |
| clientId | u32 | A client writes zero here. |
| playerId | i64 | Who the sender claims to be. The proof is what settles the claim. |
| version | u32 | The build the client runs, with each part written out and run together, so 4.17.0.233 arrives as 41700233 and 4.17.0.267 as 41700267. A client always carries it, and the answer a server carries back repeats the same number. |
| proof | i64 | The player id enciphered with the 16-byte key; a plain copy where the client has no key. |
| trailing | bytes, 4 | Arbitrary; it carries no meaning. |
Vectors (1)
In 4.18–4.20
Command 0 on registration, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| leading | bytes, 3 | Arbitrary; it carries no meaning. |
| clientId | u32 | A client writes zero here. |
| playerId | i64 | Who the sender claims to be. The proof is what settles the claim. |
| version | u32 | The build the client runs, with each part written out and run together, so 4.20.0.315 arrives as 42000315. A client always carries it, and the answer a server carries back repeats the same number. |
| proof | i64 | The player identifier and nothing else, enciphered under the key both ends already hold. Deciphering it and finding the identifier beside it is what shows the sender holds the key. A client enciphers the player identifier the request carries. |
| trailing | bytes, 4 | Arbitrary; it carries no meaning. |
Vectors (1)
Registered
What a server answers a registration with, naming a player in the match and the seat they occupy. It shares its command value with the request it answers, which travels the other way, and it is one fixed size.
In 4.1–4.17
Command 0 on registration, sent by the server, reliable.
Straight after a request a server sends one answer for every seat, and every one of them carries that request’s build and proof back.
| Field | Type | What it is |
|---|---|---|
| leading | bytes, 3 | Unused; a server writes zero. |
| clientId | u32 | The client id playerId holds. Where playerId is the client’s own, the client takes this client id as its own and goes on. A watching client takes the champion of the player holding this client id as its own, so a server answers one with a client id no player in the streamed match holds (see Watching a match). |
| playerId | i64 | Who occupies that seat. |
| version | u32 | The build the client said it runs. Where the answer follows a request, a server writes the number that request carried, and otherwise the build itself. A client ignores it. |
| proof | bytes, 8 | The eight bytes a request fills with its proof. Where the answer follows a request, a server writes what that request carried, and otherwise zero. A client ignores them. |
| trailing | bytes, 4 | Unused; a server writes zero. |
Vectors (1)
In 4.18–4.20
Command 0 on registration, sent by the server, reliable.
Straight after a request a server sends one answer for every seat, and every one of them carries that request’s build and proof back.
| Field | Type | What it is |
|---|---|---|
| leading | bytes, 3 | Unused; a server writes zero. It occupies the same three bytes a request uses. |
| clientId | u32 | The client id the named player holds, counted from zero. A watching client takes the champion of the player holding this client id as its own, so a server answers one with a client id no player in the streamed match holds (see Watching a match). |
| playerId | i64 | Who occupies that seat. |
| version | u32 | The build the client said it runs. Where the answer follows a request, a server writes the number that request carried, and otherwise the build itself. A client ignores it. |
| proof | bytes, 8 | The eight bytes a request fills with its proof. Where the answer follows a request, a server writes what that request carried, and otherwise zero. A client ignores them. |
| trailing | bytes, 4 | Unused; a server writes zero. |
Vectors (1)
QueryStatus
What a client sends to ask a server for its state. It carries nothing of its own. The header names no object: it carries zero.
In every range of this book
Command 20 on requests, sent by the client, reliable.
No body.
Vectors (2)
QueryStatusAnswer
What a server returns when asked whether it is ready. The header names no object: a server writes zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 135 |
| 4.11–4.20 | 136 |
| Field | Type | What it is |
|---|---|---|
| ready | u8 | Whether the server is ready. While answers say it is not, a client keeps asking and goes no further, which Joining a match sets out. Values: 0 no, 1 yes. |
Vectors (5)
not-ready-on-4-10, one-on-4-10, one-on-4-17, not-ready-on-4-20, one-on-4-20
ClientVersion
What a client sends to state which build it is. The header names no object: it carries zero.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 188 |
| 4.11–4.20 | 189 |
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the client reporting. |
| text | text, 256 bytes | The build, as text. The text ends at a zero byte. |
Vectors (4)
one-on-4-10, public-build-on-4-10, one-on-4-17, public-build-on-4-20
VersionSync
What a server sends once a client has said which build it runs, saying whether the two agree. The header names no object: it carries zero.
In 4.1
Command 83 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own. |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| variants | 2 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 4-byte bits | Which parts of the match are turned on, one bit each. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. It also has a client lower a hero’s bounty when the hero kills a minion. |
| features.audioBackend | bit 5 | Which sound system the client uses; which setting picks which is not recorded. |
| features.animatedCursors | bit 6 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.altControls | bit 7 | Some mouse commands are taken by the time since the click before; what that changes on screen is not recorded. |
| features.shopUndo | bit 8 | The shop’s undo; clear, it is never enabled. |
| features.skillshotOutline | bit 9 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 10 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 11 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.waveOrder | bit 12 | Changes the order of the kinds of minion within a wave. |
| features.turretRange | bit 13 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit14 | bit 14 | Unused; a server writes zero. |
| features.skinParticles | bit 15 | Skin-specific particle effects for units in a skin other than the first. |
| features.bit16 | bit 16 | Unused; a server writes zero. |
| features.hardwareMetrics | bit 17 | A report of hardware and frame rate at the end of the match. |
| features.unused | bit 18 to 31 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
Vectors (1)
In 4.2
Command 83 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own. |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 4-byte bits | Which parts of the match are turned on, one bit each. A client takes them from the first VersionSync alone and keeps them for the match. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. It also has a client lower a hero’s bounty when the hero kills a minion. |
| features.audioBackend | bit 5 | Which sound system the client uses; which setting picks which is not recorded. |
| features.animatedCursors | bit 6 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.altControls | bit 7 | Some mouse commands are taken by the time since the click before; what that changes on screen is not recorded. |
| features.shopUndo | bit 8 | The shop’s undo; clear, it is never enabled. |
| features.skillshotOutline | bit 9 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 10 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 11 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.waveOrder | bit 12 | Changes the order of the kinds of minion within a wave. |
| features.turretRange | bit 13 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit14 | bit 14 | Unused; a server writes zero. |
| features.skinParticles | bit 15 | Skin-specific particle effects for units in a skin other than the first. |
| features.bit16 | bit 16 | Unused; a server writes zero. |
| features.hardwareMetrics | bit 17 | A report of hardware and frame rate at the end of the match. |
| features.lagMetrics | bit 18 | Lag figures in the network report. |
| features.logServerAddress | bit 19 | It changes nothing a client shows. |
| features.unused | bit 20 to 31 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
Vectors (1)
In 4.3–4.4
Command 83 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 4-byte bits | Which parts of the match are turned on, one bit each. A client takes them from the first VersionSync alone and keeps them for the match. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. It also has a client lower a hero’s bounty when the hero kills a minion. |
| features.audioBackend | bit 5 | Which sound system the client uses; which setting picks which is not recorded. |
| features.animatedCursors | bit 6 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.altControls | bit 7 | Some mouse commands are taken by the time since the click before; what that changes on screen is not recorded. |
| features.shopUndo | bit 8 | The shop’s undo; clear, it is never enabled. |
| features.skillshotOutline | bit 9 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 10 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 11 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.waveOrder | bit 12 | Changes the order of the kinds of minion within a wave. |
| features.turretRange | bit 13 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit14 | bit 14 | Unused; a server writes zero. |
| features.skinParticles | bit 15 | Skin-specific particle effects for units in a skin other than the first. |
| features.bit16 | bit 16 | Unused; a server writes zero. |
| features.hardwareMetrics | bit 17 | A report of hardware and frame rate at the end of the match. |
| features.bit18 | bit 18 | Unused; a server writes zero. |
| features.lagMetrics | bit 19 | Lag figures in the network report. |
| features.eventReports | bit 20 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 21 | It changes nothing a client shows. |
| features.particleOption | bit 22 | An extra option for drawing particles, in effect from the match’s start; what it changes on screen is not recorded. |
| features.unused | bit 23 to 31 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 8 × u8 | Which of the reports a client sends are wanted, one place each, in this order: ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (1)
In 4.5
Command 83 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 4-byte bits | Which parts of the match are turned on, one bit each. A client takes them from the first VersionSync alone and keeps them for the match. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. It also has a client lower a hero’s bounty when the hero kills a minion. |
| features.audioBackend | bit 5 | Which sound system the client uses; which setting picks which is not recorded. |
| features.animatedCursors | bit 6 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.altControls | bit 7 | Some mouse commands are taken by the time since the click before; what that changes on screen is not recorded. |
| features.shopUndo | bit 8 | The shop’s undo; clear, it is never enabled. |
| features.recommendedPages | bit 9 | Pages of recommended items in the shop for new players. |
| features.skillshotOutline | bit 10 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 11 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 12 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.waveOrder | bit 13 | Changes the order of the kinds of minion within a wave. |
| features.turretRange | bit 14 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit15 | bit 15 | Unused; a server writes zero. |
| features.bit16 | bit 16 | Unused; a server writes zero. |
| features.networkMetrics | bit 17 | Reports of network figures from time to time, where reporting is on (agreement’s reportingReady). |
| features.hardwareMetrics | bit 18 | A report of hardware and frame rate at the end of the match. |
| features.bit19 | bit 19 | Unused; a server writes zero. |
| features.lagMetrics | bit 20 | Lag figures in the network report. |
| features.eventReports | bit 21 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 22 | It changes nothing a client shows. |
| features.particleOption | bit 23 | An extra option for drawing particles, in effect from the match’s start; what it changes on screen is not recorded. |
| features.unused | bit 24 to 31 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 10 × u8 | Which of the reports a client sends are wanted, one place each, in this order: ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging, item shop, injected modules. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (1)
In 4.6
Command 83 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 4-byte bits | Which parts of the match are turned on, one bit each. A client takes them from the first VersionSync alone and keeps them for the match. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. It also has a client lower a hero’s bounty when the hero kills a minion. |
| features.audioBackend | bit 5 | Which sound system the client uses; which setting picks which is not recorded. |
| features.animatedCursors | bit 6 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.altControls | bit 7 | Some mouse commands are taken by the time since the click before; what that changes on screen is not recorded. |
| features.shopUndo | bit 8 | The shop’s undo; clear, it is never enabled. |
| features.recommendedPages | bit 9 | Pages of recommended items in the shop for new players. |
| features.skillshotOutline | bit 10 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 11 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 12 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.waveOrder | bit 13 | Changes the order of the kinds of minion within a wave. |
| features.turretRange | bit 14 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit15 | bit 15 | Unused; a server writes zero. |
| features.bit16 | bit 16 | Unused; a server writes zero. |
| features.networkMetrics | bit 17 | Reports of network figures from time to time, where reporting is on (agreement’s reportingReady). |
| features.hardwareMetrics | bit 18 | A report of hardware and frame rate at the end of the match. |
| features.bit19 | bit 19 | Unused; a server writes zero. |
| features.lagMetrics | bit 20 | Lag figures in the network report. |
| features.eventReports | bit 21 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 22 | It changes nothing a client shows. |
| features.particleOption | bit 23 | An extra option for drawing particles, in effect from the match’s start; what it changes on screen is not recorded. |
| features.unused | bit 24 to 31 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 11 × u8 | Which of the reports a client sends are wanted, one place each, in this order: ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging, item shop, injected modules, suspicious behaviour. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (1)
In 4.7
Command 83 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 4-byte bits | Which parts of the match are turned on, one bit each. A client takes them from the first VersionSync alone and keeps them for the match. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. It also has a client lower a hero’s bounty when the hero kills a minion. |
| features.audioBackend | bit 5 | Which sound system the client uses; which setting picks which is not recorded. |
| features.animatedCursors | bit 6 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.altControls | bit 7 | Some mouse commands are taken by the time since the click before; what that changes on screen is not recorded. |
| features.shopUndo | bit 8 | The shop’s undo; clear, it is never enabled. |
| features.recommendedPages | bit 9 | Pages of recommended items in the shop for new players. |
| features.skillshotOutline | bit 10 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 11 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 12 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.waveOrder | bit 13 | Changes the order of the kinds of minion within a wave. |
| features.turretRange | bit 14 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit15 | bit 15 | Unused; a server writes zero. |
| features.bit16 | bit 16 | Unused; a server writes zero. |
| features.networkMetrics | bit 17 | Reports of network figures from time to time, where reporting is on (agreement’s reportingReady). |
| features.hardwareMetrics | bit 18 | A report of hardware and frame rate at the end of the match. |
| features.bit19 | bit 19 | Unused; a server writes zero. |
| features.lagMetrics | bit 20 | Lag figures in the network report. |
| features.eventReports | bit 21 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 22 | It changes nothing a client shows. |
| features.unused | bit 23 to 31 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 11 × u8 | Which of the reports a client sends are wanted, one place each, in this order: ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging, item shop, injected modules, suspicious behaviour. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (1)
In 4.8
Command 83 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 4-byte bits | Which parts of the match are turned on, one bit each. A client takes them from the first VersionSync alone and keeps them for the match. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. It also has a client lower a hero’s bounty when the hero kills a minion. |
| features.audioBackend | bit 5 | Which sound system the client uses; which setting picks which is not recorded. |
| features.animatedCursors | bit 6 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.shopUndo | bit 7 | The shop’s undo; clear, it is never enabled. |
| features.recommendedPages | bit 8 | Pages of recommended items in the shop for new players. |
| features.skillshotOutline | bit 9 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 10 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 11 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.waveOrder | bit 12 | Changes the order of the kinds of minion within a wave. |
| features.turretRange | bit 13 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit14 | bit 14 | Unused; a server writes zero. |
| features.skinParticles | bit 15 | Skin-specific particle effects for units in a skin other than the first. |
| features.bit16 | bit 16 | Unused; a server writes zero. |
| features.hardwareMetrics | bit 17 | A report of hardware and frame rate at the end of the match. |
| features.bit18 | bit 18 | Unused; a server writes zero. |
| features.lagMetrics | bit 19 | Lag figures in the network report. |
| features.eventReports | bit 20 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 21 | It changes nothing a client shows. |
| features.unused | bit 22 to 31 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 13 × u8 | Which of the reports a client sends are wanted, one place each, in this order: ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging, item shop, injected modules, suspicious behaviour, skin swaps, failure to connect. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (1)
In 4.9
Command 83 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 8-byte bits | Which parts of the match are turned on, one bit each. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. |
| features.audioBackend | bit 5 | Which sound system the client uses; which setting picks which is not recorded. |
| features.animatedCursors | bit 6 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.shopUndo | bit 7 | The shop’s undo; clear, it is never enabled. |
| features.recommendedPages | bit 8 | Pages of recommended items in the shop for new players. |
| features.skillshotOutline | bit 9 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 10 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 11 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.waveOrder | bit 12 | Changes the order of the kinds of minion within a wave. |
| features.turretRange | bit 13 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit14 | bit 14 | Unused; a server writes zero. |
| features.skinParticles | bit 15 | Skin-specific particle effects for units in a skin other than the first. |
| features.networkMetrics | bit 16 | Reports of network figures from time to time, where reporting is on (agreement’s reportingReady). |
| features.hardwareMetrics | bit 17 | A report of hardware and frame rate at the end of the match. |
| features.lagMetrics | bit 18 | Lag figures in the network report. |
| features.eventReports | bit 19 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 20 | It changes nothing a client shows. |
| features.bit21 | bit 21 | Unused; a server writes zero. |
| features.bit22 | bit 22 | Unused; a server writes zero. |
| features.traceroute | bit 23 | A trace of the route to the server, begun after this message and reported later, where reporting is on. |
| features.unused | bit 24 to 55 | Unused; a server writes zero. |
| features.unusedHigh | bit 56 to 63 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 14 × u8 | Which of the reports a client sends are wanted, one place each, in this order: ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging, item shop, injected modules, suspicious behaviour, skin swaps, failure to connect, traceroute. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (1)
In 4.10–4.11
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.10 | 83 |
| 4.11 | 84 |
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 8-byte bits | Which parts of the match are turned on, one bit each. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. |
| features.audioBackend | bit 5 | Which sound system the client uses; which setting picks which is not recorded. |
| features.animatedCursors | bit 6 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.shopUndo | bit 7 | The shop’s undo; clear, it is never enabled. |
| features.recommendedPages | bit 8 | Pages of recommended items in the shop for new players. |
| features.skillshotOutline | bit 9 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 10 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 11 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.waveOrder | bit 12 | Changes the order of the kinds of minion within a wave. |
| features.turretRange | bit 13 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit14 | bit 14 | Unused; a server writes zero. |
| features.skinParticles | bit 15 | Skin-specific particle effects for units in a skin other than the first. |
| features.networkMetrics | bit 16 | Reports of network figures from time to time, where reporting is on (agreement’s reportingReady). |
| features.hardwareMetrics | bit 17 | A report of hardware and frame rate at the end of the match. |
| features.lagMetrics | bit 18 | Lag figures in the network report. |
| features.eventReports | bit 19 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 20 | It changes nothing a client shows. |
| features.bit21 | bit 21 | Unused; a server writes zero. |
| features.jungleTimers | bit 22 | Timers for the jungle camps on the screen. |
| features.traceroute | bit 23 | A trace of the route to the server, begun after this message and reported later, where reporting is on. |
| features.unused | bit 24 to 55 | Unused; a server writes zero. |
| features.unusedHigh | bit 56 to 63 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 14 × u8 | Which of the reports a client sends are wanted, one place each, in this order: ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging, item shop, injected modules, suspicious behaviour, skin swaps, failure to connect, traceroute. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (2)
In 4.12–4.13
Command 84 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| platform | text, 32 bytes | Which platform the match belongs to, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 8-byte bits | Which parts of the match are turned on, one bit each. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. |
| features.audioBackend | bit 5 | Which sound system the client uses; which setting picks which is not recorded. |
| features.animatedCursors | bit 6 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.shopUndo | bit 7 | The shop’s undo; clear, it is never enabled. |
| features.bit8 | bit 8 | Unused; a server writes zero. |
| features.skillshotOutline | bit 9 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 10 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 11 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.waveOrder | bit 12 | Changes the order of the kinds of minion within a wave. |
| features.turretRange | bit 13 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit14 | bit 14 | Unused; a server writes zero. |
| features.skinParticles | bit 15 | Skin-specific particle effects for units in a skin other than the first. |
| features.networkMetrics | bit 16 | Reports of network figures from time to time, where reporting is on (agreement’s reportingReady). |
| features.hardwareMetrics | bit 17 | A report of hardware and frame rate at the end of the match. |
| features.lagMetrics | bit 18 | Lag figures in the network report. |
| features.eventReports | bit 19 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 20 | It changes nothing a client shows. |
| features.jungleTimers | bit 21 | Timers for the jungle camps on the screen. |
| features.traceroute | bit 22 | A trace of the route to the server, begun after this message and reported later, where reporting is on. |
| features.unused | bit 23 to 54 | Unused; a server writes zero. |
| features.unusedHigh | bit 55 to 63 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 18 × u8 | Which of the reports a client sends are wanted, one place each, in this order: game start, game end, ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging, item shop, injected modules, suspicious behaviour, skin swaps, failure to connect, traceroute, network instrumentation, peer network instrumentation. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (1)
In 4.14
Command 84 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| platform | text, 32 bytes | Which platform the match belongs to, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 8-byte bits | Which parts of the match are turned on, one bit each. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. |
| features.audioBackend | bit 5 | Which sound system the client uses; which setting picks which is not recorded. |
| features.animatedCursors | bit 6 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.shopUndo | bit 7 | The shop’s undo; clear, it is never enabled. |
| features.bit8 | bit 8 | Unused; a server writes zero. |
| features.skillshotOutline | bit 9 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 10 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 11 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.waveOrder | bit 12 | Changes the order of the kinds of minion within a wave. |
| features.turretRange | bit 13 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit14 | bit 14 | Unused; a server writes zero. |
| features.skinParticles | bit 15 | Skin-specific particle effects for units in a skin other than the first. |
| features.networkMetrics | bit 16 | Reports of network figures from time to time, where reporting is on (agreement’s reportingReady). |
| features.hardwareMetrics | bit 17 | A report of hardware and frame rate at the end of the match. |
| features.lagMetrics | bit 18 | Lag figures in the network report. |
| features.eventReports | bit 19 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 20 | It changes nothing a client shows. |
| features.jungleTimers | bit 21 | Timers for the jungle camps on the screen. |
| features.traceroute | bit 22 | A trace of the route to the server, begun after this message and reported later, where reporting is on. |
| features.bit23 | bit 23 | Unused; a server writes zero. |
| features.bit24 | bit 24 | Unused; a server writes zero. |
| features.bit25 | bit 25 | Unused; a server writes zero. |
| features.clockSync | bit 26 | The game’s clock is nudged to keep with the system’s at normal speed; in a replay, play follows the game’s clock. |
| features.unused | bit 27 to 58 | Unused; a server writes zero. |
| features.unusedHigh | bit 59 to 63 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 18 × u8 | Which of the reports a client sends are wanted, one place each, in this order: game start, game end, ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging, item shop, injected modules, suspicious behaviour, skin swaps, failure to connect, traceroute, network instrumentation, peer network instrumentation. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (1)
In 4.15
Command 84 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| platform | text, 32 bytes | Which platform the match belongs to, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 8-byte bits | Which parts of the match are turned on, one bit each. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. |
| features.animatedCursors | bit 5 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.shopUndo | bit 6 | The shop’s undo; clear, it is never enabled. |
| features.bit7 | bit 7 | Unused; a server writes zero. |
| features.skillshotOutline | bit 8 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 9 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 10 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.bit11 | bit 11 | Unused; a server writes zero. |
| features.turretRange | bit 12 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit13 | bit 13 | Unused; a server writes zero. |
| features.skinParticles | bit 14 | Skin-specific particle effects for units in a skin other than the first. |
| features.networkMetrics | bit 15 | Reports of network figures from time to time, where reporting is on (agreement’s reportingReady). |
| features.hardwareMetrics | bit 16 | A report of hardware and frame rate at the end of the match. |
| features.lagMetrics | bit 17 | Lag figures in the network report. |
| features.eventReports | bit 18 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 19 | It changes nothing a client shows. |
| features.jungleTimers | bit 20 | Timers for the jungle camps on the screen. |
| features.traceroute | bit 21 | A trace of the route to the server, begun after this message and reported later, where reporting is on. |
| features.bit22 | bit 22 | Unused; a server writes zero. |
| features.bit23 | bit 23 | Unused; a server writes zero. |
| features.bit24 | bit 24 | Unused; a server writes zero. |
| features.clockSync | bit 25 | The game’s clock is nudged to keep with the system’s at normal speed; in a replay, play follows the game’s clock. |
| features.unused | bit 26 to 57 | Unused; a server writes zero. |
| features.unusedHigh | bit 58 to 63 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 18 × u8 | Which of the reports a client sends are wanted, one place each, in this order: game start, game end, ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging, item shop, injected modules, suspicious behaviour, skin swaps, failure to connect, traceroute, network instrumentation, peer network instrumentation. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (1)
In 4.16
Command 84 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| platform | text, 32 bytes | Which platform the match belongs to, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 8-byte bits | Which parts of the match are turned on, one bit each. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A client given it fails while loading. A server sends it clear. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. |
| features.animatedCursors | bit 5 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.shopUndo | bit 6 | The shop’s undo; clear, it is never enabled. |
| features.bit7 | bit 7 | Unused; a server writes zero. |
| features.skillshotOutline | bit 8 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 9 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 10 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.bit11 | bit 11 | Unused; a server writes zero. |
| features.turretRange | bit 12 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit13 | bit 13 | Unused; a server writes zero. |
| features.skinParticles | bit 14 | Skin-specific particle effects for units in a skin other than the first. |
| features.networkMetrics | bit 15 | Reports of network figures from time to time, where reporting is on (agreement’s reportingReady). |
| features.hardwareMetrics | bit 16 | A report of hardware and frame rate at the end of the match. |
| features.lagMetrics | bit 17 | Lag figures in the network report. |
| features.eventReports | bit 18 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 19 | It changes nothing a client shows. |
| features.jungleTimers | bit 20 | Timers for the jungle camps on the screen. |
| features.traceroute | bit 21 | A trace of the route to the server, begun after this message and reported later, where reporting is on. |
| features.bit22 | bit 22 | Unused; a server writes zero. |
| features.bit23 | bit 23 | Unused; a server writes zero. |
| features.bit24 | bit 24 | Unused; a server writes zero. |
| features.clockSync | bit 25 | The game’s clock is nudged to keep with the system’s at normal speed; in a replay, play follows the game’s clock. |
| features.bit26 | bit 26 | Unused; a server writes zero. |
| features.farmBounty | bit 27 | Kill gold also counts assists and minion gold, and a death scales runs down rather than clearing them. |
| features.turretsPersist | bit 28 | Turrets stay as objects after they are destroyed. |
| features.stateFlags | bit 29 | A unit’s can-move, can-attack, can-cast and like states are set on or off rather than counted up and down. |
| features.unused | bit 30 to 61 | Unused; a server writes zero. |
| features.unusedHigh | bit 62 to 63 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 18 × u8 | Which of the reports a client sends are wanted, one place each, in this order: game start, game end, ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging, item shop, injected modules, suspicious behaviour, skin swaps, failure to connect, traceroute, network instrumentation, peer network instrumentation. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (1)
In 4.17
Command 84 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.reportsToFile | bit 1 | Set to have a client also write its reports to a file of its own, where it does not send them as event reports (features eventReports clear). |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. A client takes the scripted voice-over setting from its own settings. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| platform | text, 32 bytes | Which platform the match belongs to, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second, test place to report to, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | Which display time to hold the note up for, applying only where tips are enabled and shown somewhere. tip, tipColour and tipDuration each select one of the notes, colourings and display times a client defines, tip counted modulo the number of notes. Where a value selects none, or the time is not above zero, a client shows no note. |
| tipFlags | 1-byte bits | How the note is shown. A client sends these four bytes back in ClientReady, as it has corrected them. |
| tipFlags.enabled | bit 0 | Set where there is a note. A client shows the note only where this and loadingScreen or inGame are set, and shows none where tip, tipColour or tipDuration names nothing. |
| tipFlags.replay | bit 1 | Of no effect; a client clears it, with enabled, while playing a replay. |
| tipFlags.loadingScreen | bit 2 | Set to show the note on the loading screen. |
| tipFlags.inGame | bit 3 | Set to show the note during play, in a box on the screen. |
| tipFlags.cycle | bit 4 | Set to have the box during play show every note in turn. |
| tipFlags.unused | bit 5 to 7 | Unused; a server writes zero. |
| features | 8-byte bits | Which parts of the match are turned on, one bit each. |
| features.balanceVoteCommands | bit 0 | The chat commands /equalize and /noequalize. A server sends it clear to a 4.17 client. |
| features.menuBack | bit 1 | With menuBack2, a second key that closes the pause and options menu. Alone, the minimap’s showing of neutral camps follows the player’s settings rather than the minimap’s own. |
| features.menuBack2 | bit 2 | Of use only with menuBack. |
| features.quickChat | bit 3 | Quick chat: its keys and its panel. A 4.17 client given it fails while loading. A server sends it clear to a 4.17 client. |
| features.missileWarning | bit 4 | A missile coming at the client’s side, or at no one, can show before it leaves the fog where it is near for its speed and heading that way. |
| features.animatedCursors | bit 5 | Cursors of several frames move on a frame every 0.15 seconds of play; clear, they show their first frame. |
| features.shopUndo | bit 6 | The shop’s undo; clear, it is never enabled. A server sends it set to a 4.17 client. |
| features.bit7 | bit 7 | Changes only which options the menu shows. |
| features.skillshotOutline | bit 8 | While aiming a line spell, the units it would hit are outlined. |
| features.championIndicator | bit 9 | The mark over the player’s champion, where their own setting also asks for it. |
| features.altBounty | bit 10 | Another reckoning of kill and assist gold: kill gold and the assist pool grow with time, a run of assists adds gold, and assists and minion gold shorten a run of deaths. |
| features.bit11 | bit 11 | Changes only which options the menu shows. |
| features.turretRange | bit 12 | Enemy turrets’ ranges, where the player’s setting also asks for them; clear, they are never drawn. |
| features.bit13 | bit 13 | Changes only which options the menu shows. |
| features.skinParticles | bit 14 | Skin-specific particle effects for units in a skin other than the first. |
| features.networkMetrics | bit 15 | Reports of network figures from time to time, where reporting is on (agreement’s reportingReady). |
| features.hardwareMetrics | bit 16 | A report of hardware and frame rate at the end of the match. |
| features.lagMetrics | bit 17 | Lag figures in the network report. |
| features.eventReports | bit 18 | Set, a client sends its reports as event reports; clear, it sends them otherwise, and agreement’s reportsToFile applies. |
| features.logServerAddress | bit 19 | It changes nothing a client shows. |
| features.jungleTimers | bit 20 | Timers for the jungle camps on the screen. |
| features.traceroute | bit 21 | A trace of the route to the server, begun after this message and reported later, where reporting is on. |
| features.bit22 | bit 22 | Changes only which options the menu shows. |
| features.bit23 | bit 23 | Changes only which options the menu shows. |
| features.bit24 | bit 24 | Changes only which options the menu shows. |
| features.clockSync | bit 25 | The game’s clock is nudged to keep with the system’s at normal speed; in a replay, play follows the game’s clock. |
| features.bit26 | bit 26 | Changes only which options the menu shows. |
| features.farmBounty | bit 27 | Kill gold also counts assists and minion gold, and a death scales runs down rather than clearing them. |
| features.turretsPersist | bit 28 | Turrets stay as objects after they are destroyed. |
| features.stateFlags | bit 29 | A unit’s can-move, can-attack, can-cast and like states are set on or off rather than counted up and down. |
| features.unused | bit 30 to 31 | Unused; a server writes zero. |
| features.unusedHigh | bit 32 to 63 | Unused; a server writes zero. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 19 × u8 | Which of the reports a client sends are wanted, one place each, in this order: game start, game end, ping use, chat filter, damage figures, active item figures, network figures, hardware figures, server debugging, client debugging, item shop, injected modules, suspicious behaviour, skin swaps, failure to connect, traceroute, network instrumentation, peer network instrumentation, and block builder logging. Any nonzero byte marks a report wanted. Zero has no effect. |
Vectors (1)
In 4.18–4.19
Command 84 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.logMetrics | bit 1 | Set to have the client also write its figures about the match to a file of its own. |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| platform | text, 32 bytes | Which platform the match belongs to, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second such place, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | How long the note shows: 1 is 10 seconds; no other value is defined. Any other value makes the note invalid; a client then clears the tips bit and returns the value negated in ClientReady, 0 as -128. |
| tipFlags | i8 | Bits from the lowest: 0 shows notes at all; 1 is only returned in ClientReady; 2 shows the note on the loading screen; 3 shows it in play; 4 cycles through every note. A note shows only where bit 0 and bit 2 or 3 are set. Bits 5 to 7 are unused. A client watching a recorded match clears bits 0 and 1. |
| features | u64 | Which parts of the match are turned on, one bit each from the lowest: 0 balancing votes, 1 the new options menu, 3 quick chat, 4 warning of missiles from unseen ground, 5 animated cursors, 6 shop undo, 8 marking the targets of line missiles, 9 marking a champion under another’s control, 10 the alternative bounty rules, 12 turret range indicators, 14 particles named per look, 15 network figures, 16 hardware figures, 17 lag figures, 18 a newer reporting library, 19 logging the server’s address, 20 jungle timers, 21 route figures, 24 keeping a recorded match’s clock in step, 26 the active-item display, 27 the minion farming bounty, 28 keeping destroyed lane turrets in the world and 29 unshared character states. Bits 2, 7, 11, 13, 22, 23, 25 and 30 to 63 change nothing. A server sets at least one bit. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 19 × u8 | Which of the reports a client sends are wanted, one place each. |
Vectors (1)
In 4.20
Command 84 on events, sent by the server, reliable.
It also says which map to load, who is at the match, and everything else settled before play.
| Field | Type | What it is |
|---|---|---|
| agreement | 1-byte bits | |
| agreement.buildMatches | bit 0 | Set where the client’s build is one the server serves. |
| agreement.logMetrics | bit 1 | Set to have the client also write its figures about the match to a file of its own. |
| agreement.matched | bit 2 | Set where the match was put together rather than made by hand. |
| agreement.reportingReady | bit 3 | Set where the reporting settings below are to be used. |
| agreement.unused | bit 4 to 7 | Unused; a server writes zero. |
| map | i32 | Which map to load. Space keys the path origins by the same maps. |
| seats | 12 × Seat | Every place at the match, held or empty. |
| build | text, 256 bytes | Which build the server serves. Written out in full and padded with zero bytes to the width above. |
| mode | text, 128 bytes | Which way the match is played, written and padded as above. |
| platform | text, 32 bytes | Which platform the match belongs to, written and padded as above. |
| variants | 8 × string | The variations the match is played under, one place each. A place stands empty where none applies. |
| variantCount | u8 | How many of the places above are filled. |
| teamName | text, 97 bytes | What one side is called where it plays as a standing team, written and padded as above. |
| teamTag | text, 25 bytes | The short form of that name, written and padded as above. |
| otherTeamName | text, 97 bytes | What the other side is called, under the same terms. |
| otherTeamTag | text, 25 bytes | The short form of that one. |
| metricsHost | text, 256 bytes | Where a client reports figures about the match, written and padded as above. |
| metricsPath | text, 256 bytes | What it asks for there, written and padded as above. |
| metricsPort | u16 | Which port it reaches that at. |
| reportingHost | text, 256 bytes | Where a client reports how the match went, written and padded as above. |
| reportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| reportingPort | u16 | Which port it reaches that at. |
| altReportingHost | text, 256 bytes | A second such place, written and padded as above. |
| altReportingPath | text, 256 bytes | What it asks for there, written and padded as above. |
| altReportingPort | u16 | Which port it reaches that at. |
| tip | i8 | Which note the client shows before play. |
| tipColour | i8 | Which colouring it shows it in. |
| tipDuration | i8 | How long the note shows: 1 is 10 seconds; no other value is defined. Any other value makes the note invalid; a client then clears the tips bit and returns the value negated in ClientReady, 0 as -128. |
| tipFlags | i8 | Bits from the lowest: 0 shows notes at all; 1 is only returned in ClientReady; 2 shows the note on the loading screen; 3 shows it in play; 4 cycles through every note. A note shows only where bit 0 and bit 2 or 3 are set. Bits 5 to 7 are unused. A client watching a recorded match clears bits 0 and 1. |
| features | u64 | Which parts of the match are turned on, one bit each from the lowest: 0 balancing votes, 1 the new options menu, 2 the old options menu, 3 quick chat, 4 warning of missiles from unseen ground, 5 animated cursors, 6 shop undo, 8 marking the targets of line missiles, 9 marking a champion under another’s control, 10 the alternative bounty rules, 12 turret range indicators, 14 particles named per look, 15 network figures, 16 hardware figures, 17 lag figures, 18 a newer reporting library, 19 logging the server’s address, 20 jungle timers, 21 route figures, 24 keeping a recorded match’s clock in step, 26 the active-item display, 27 the minion farming bounty, 28 teleporting to fallen turrets, 29 unshared character states, 30 sight between any units, 31 the old outline under the pointer, 32 the new inventory display. Bits 7, 11, 13, 22, 23, 25 and 33 to 63 change nothing. A server sets at least one bit. |
| disabledItems | 64 × u32 | Items nobody can buy in this match, one place each. A place holds zero where nothing is barred. |
| reportingMessages | 18 × u8 | Which of the reports a client sends are wanted, one place each. |
Vectors (1)
JoinSide
What a client sends to ask for a seat on one of the two sides while the match is being put together.
In every range of this book
Command 100 on roster, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the client asking. |
| side | u32 | The side it asks for. |
Vectors (2)
Roster
What a server sends to lay out both sides and who is on them, while the match is being put together.
In every range of this book
Command 103 on roster, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| sideRoom | u32 | How many seats the first side has room for. |
| otherSideRoom | u32 | How many the other has room for. |
| side | 24 × i64 | The players on one side, twenty four places. The count below says how many of the leading places carry a player; the rest hold zero. A place cannot be read on its own, because zero is an identifier a match gives out as well as what an unused place holds. It has a player identifier’s width. |
| otherSide | 24 × i64 | The players on the other, under the same reading and its own count. |
| sideTaken | u32 | How many of the leading places on the first side carry a player. |
| otherSideTaken | u32 | How many on the other. |
Vectors (2)
SeatName
What a server sends to say what a seat is called, while the match is being put together.
In every range of this book
Command 102 on roster, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| player | i64 | The player this is about. It has a player identifier’s width. |
| skin | i32 | Which look the seat’s champion wears. |
| nameLength | u32 | How many bytes the name below occupies, counting the byte that ends it. |
| name | text, sized by nameLength minus 1 | What the seat is called. It is not padded. |
| terminator | bytes, 1 | A zero byte closing the text, which the length above counts. |
Vectors (3)
SeatChampion
What a server sends to say which champion a seat is playing, while the match is being put together.
In every range of this book
Command 101 on roster, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| player | i64 | The player this is about. It has a player identifier’s width. |
| skin | i32 | Which look the champion wears. |
| assetLength | u32 | How many bytes the name below occupies, counting the byte that ends it. |
| asset | text, sized by assetLength minus 1 | The name the client loads the champion’s art and sound under. It is not padded. |
| terminator | bytes, 1 | A zero byte closing the text, which the length above counts. |
Vectors (3)
LoadingProgress
What a client sends while a match loads, saying how far it has got. The header names no object: it carries zero.
In 4.1–4.17
Command 22 on requests, sent by the client, unreliable.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the client reporting. |
| playerId | i64 | Who is reporting. A client sends every bit set, which names nobody. |
| percent | f32 | How far loading has got, from zero to one hundred. |
| eta | f32 | How long the client expects still to take, in seconds. |
| status | 4-byte bits | |
| status.count | bit 0 to 15 | It rises with each report, not always by one. |
| status.ping | bit 16 to 30 | Round trip time the client measures, in milliseconds. |
| status.loaded | bit 31 | Set in every report whose progress stands at one hundred, and in no other. |
Vectors (1)
In 4.18–4.20
Command 22 on requests, sent by the client, unreliable.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the client reporting. |
| playerId | i64 | Who is reporting. A client sends every bit set, which names nobody. |
| percent | f32 | How far loading has got, from zero to one hundred. |
| eta | f32 | How long the client expects still to take, in seconds. |
| status | 4-byte bits | |
| status.count | bit 0 to 15 | How many reports have been made. |
| status.ping | bit 16 to 31 | Round trip time the client measures, in milliseconds. |
| state | 1-byte bits | |
| state.loaded | bit 0 | A client sets it only in reports whose progress stands at one hundred. |
| state.unused | bit 1 to 7 | Unused; a client may leave any value here, and a server ignores it. |
Vectors (2)
SeatLoadProgress
What a server sends to tell everyone how far one seat has got through loading, and how it is holding up. A later report supersedes an earlier one, so losing one costs nothing. The header names no object: a server writes zero.
In 4.1–4.17
Carried on transient, sent by the server, unreliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 148 |
| 4.11–4.17 | 149 |
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id this is about. |
| player | i64 | Who occupies it. |
| progress | f32 | How far through loading it is, from zero to one hundred. |
| secondsLeft | f32 | How much longer it is expected to take, in seconds. |
| status | 4-byte bits | |
| status.count | bit 0 to 15 | It rises with each report, not always by one. |
| status.ping | bit 16 to 30 | Round trip time the client measures, in milliseconds. |
| status.loaded | bit 31 | Set in every report whose progress stands at one hundred, and in no other. |
Vectors (2)
In 4.18–4.20
Command 149 on transient, sent by the server, unreliable.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id this is about. |
| player | i64 | Who occupies it. |
| progress | f32 | How far through loading it is, from zero to one hundred. |
| secondsLeft | f32 | How much longer it is expected to take, in seconds. |
| count | u16 | How many times this has been reported for the seat. |
| ping | u16 | How long a message takes to reach the seat and come back, in milliseconds. |
| state | 1-byte bits | |
| state.ready | bit 0 | Set where the seat has finished loading. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
SpawnStart
What a server sends to open the run of units a client is about to be told about. The header names no object: a server writes zero.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 97 |
| 4.11–4.17 | 98 |
| Field | Type | What it is |
|---|---|---|
| botsOnOneSide | u8 | How many bots play on side 100. A client adds it to that side’s head count, which picks the set of spawn positions and facings it places champions by (CreateChampion’s spawnIndex). |
| botsOnTheOther | u8 | The other. It shares the reading above. |
Vectors (2)
In 4.18–4.20
Command 98 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| firstCount | u8 | How many seats on side 100 nobody holds. Added to that side’s players, it chooses the layout of the side’s starting places. |
| secondCount | u8 | The same for side 200. |
Vectors (1)
SpawnEnd
What a server sends to close the run of units it opened with. The header names no object: a server writes zero.
In every range of this book
Command 17 on events, sent by the server, reliable.
No body.
Vectors (2)
StartGame
What a server sends to begin play. The header names no object: it carries zero.
In 4.1–4.3
Command 91 on events, sent by the server, reliable.
A client past spawning ignores it.
| Field | Type | What it is |
|---|---|---|
| rules | 1-byte bits | |
| rules.pausing | bit 0 | Set where holding the match is allowed. |
| rules.notice | bit 1 | Set to have a client show its own notice in chat and note the time the match stands at. |
| rules.unused | bit 2 to 7 | Unused; a server writes zero. |
Vectors (1)
In 4.4–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.4–4.10 | 91 |
| 4.11–4.17 | 92 |
A client past spawning ignores it.
| Field | Type | What it is |
|---|---|---|
| rules | 1-byte bits | |
| rules.pausing | bit 0 | Set where holding the match is allowed. |
| rules.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
In 4.18–4.20
Command 92 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| rules | 1-byte bits | |
| rules.pausing | bit 0 | Set where holding the match is allowed. |
| rules.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (1)
ClientReady
What a client sends once it has loaded and is ready to play. The header names no object: it carries zero.
In 4.1–4.4
Command 81 on requests, sent by the client, reliable.
The tip fields carry VersionSync’s tip bytes, each one outside its valid range negated (0 as -128), and tips cleared where any is. Playing a replay, a client sends all four as zero.
| Field | Type | What it is |
|---|---|---|
| maskedStatus | u32 | It varies from client to client; a server ignores it. |
| mask | u32 | A random value the client picks to mask the one above. |
| tipChosen | u8 | Which tip the client is set to show. |
| tipColour | u8 | How it is coloured. |
| tipDuration | u8 | How long it stays, as an entry among the display times in the client’s own settings rather than a length of time. |
| settings | 1-byte bits | |
| settings.tips | bit 0 | Set while tips are wanted at all. |
| settings.reporting | bit 1 | Set while the client reports on itself. |
| settings.loadingTips | bit 2 | Set while tips are wanted while loading. |
| settings.playingTips | bit 3 | Set while tips are wanted during play. |
| settings.debug | bit 4 | Set while the client runs in a debugging state. |
| settings.unused | bit 5 to 7 | A client returns them as the server sent them. |
Vectors (1)
In 4.5–4.12
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.5–4.10 | 81 |
| 4.11–4.12 | 82 |
The tip fields carry VersionSync’s tip bytes, each one outside its valid range negated (0 as -128), and tips cleared where any is. Playing a replay, a client sends all four as zero.
| Field | Type | What it is |
|---|---|---|
| tipChosen | u8 | Which tip the client is set to show. |
| tipColour | u8 | How it is coloured. |
| tipDuration | u8 | How long it stays, as an entry among the display times in the client’s own settings rather than a length of time. |
| settings | 1-byte bits | |
| settings.tips | bit 0 | Set while tips are wanted at all. |
| settings.reporting | bit 1 | Set while the client reports on itself. |
| settings.loadingTips | bit 2 | Set while tips are wanted while loading. |
| settings.playingTips | bit 3 | Set while tips are wanted during play. |
| settings.debug | bit 4 | Set while the client runs in a debugging state. |
| settings.unused | bit 5 to 7 | A client returns them as the server sent them. |
Vectors (2)
In 4.13–4.17
Command 82 on requests, sent by the client, reliable.
The tip fields carry VersionSync’s tip bytes, each one outside its valid range negated (0 as -128), and tips cleared where any is. Playing a replay, a client sends all four as zero. The three module fields are always zero.
| Field | Type | What it is |
|---|---|---|
| moduleOne | u32 | One of three values a client reports about software it has detected alongside itself. A client sends zero. |
| tipChosen | u8 | Which tip the client is set to show. |
| tipColour | u8 | How it is coloured. |
| tipDuration | u8 | How long it stays, as an entry among the display times in the client’s own settings rather than a length of time. |
| settings | 1-byte bits | |
| settings.tips | bit 0 | Set while tips are wanted at all. |
| settings.reporting | bit 1 | Set while the client reports on itself. |
| settings.loadingTips | bit 2 | Set while tips are wanted while loading. |
| settings.playingTips | bit 3 | Set while tips are wanted during play. |
| settings.debug | bit 4 | Set while the client runs in a debugging state. |
| settings.unused | bit 5 to 7 | A client returns them as the server sent them. |
| moduleTwo | u32 | The second of the three. A client sends zero. |
| moduleThree | u32 | The third. A client sends zero. |
Vectors (1)
In 4.18–4.20
Command 82 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| moduleOne | u32 | One of three values a client reports about software it has detected alongside itself. A client sends zero. |
| tipChosen | u8 | Which tip the client is set to show. |
| tipColour | u8 | How it is coloured. |
| tipDuration | u8 | How long it stays. |
| settings | 1-byte bits | |
| settings.tips | bit 0 | Set while tips are wanted at all. |
| settings.reporting | bit 1 | Set while the client reports on itself. |
| settings.loadingTips | bit 2 | Set while tips are wanted while loading. |
| settings.playingTips | bit 3 | Set while tips are wanted during play. |
| settings.debug | bit 4 | Set while the client runs in a debugging state. |
| settings.unused | bit 5 to 7 | Unused; a client may leave any value here, and a server ignores it. |
| moduleTwo | u32 | The second of the three. A client sends zero. |
| moduleThree | u32 | The third. A client sends zero. |
Vectors (2)
CharacterSelected
What a client sends once a character is settled on. It carries nothing of its own. The header names no object: it carries zero.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 189 |
| 4.11–4.20 | 190 |
No body.
Vectors (3)
MatchIdentity
What a server sends to tell a client which match this is and what its player is called. The header carries zero.
In 4.1–4.10
Command 145 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| game | i64 | The match’s identifier. |
| platform | text, 32 bytes | Which platform the match belongs to, written and padded as above. |
| name | text, 128 bytes | The player’s name, padded with zero bytes. |
Vectors (1)
In 4.11
Command 146 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| game | i64 | The match’s identifier. |
| label | text, 32 bytes | A text a client writes to its log and keeps, ended by a zero byte within the field. |
| platform | text, 32 bytes | Which platform the match belongs to, written and padded as above. |
Vectors (1)
In 4.12–4.20
Command 146 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| game | i64 | The match’s identifier. |
| name | text, 128 bytes | The player’s name, padded with zero bytes. |
Vectors (2)
MatchStarted
What a server sends to set when the match began. The header names no object: it carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 193 |
| 4.11–4.20 | 194 |
| Field | Type | What it is |
|---|---|---|
| startedAt | f32 | When the match began, as a moment on the match clock, in seconds. |
Vectors (4)
GameOptions
What a client sends when a setting that a server needs to know about changes. The header names the sender’s champion.
In 4.1–4.17
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 70 |
| 4.11–4.17 | 71 |
| Field | Type | What it is |
|---|---|---|
| options | 1-byte bits | |
| options.autoAttack | bit 0 | Set while the client attacks without being told to. |
| options.unused | bit 1 to 7 | Always clear: a client writes the whole byte as 0 or 1. |
Vectors (2)
In 4.18–4.20
Command 71 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| options | 1-byte bits | |
| options.autoAttack | bit 0 | Set while the client attacks without being told to. |
| options.unused | bit 1 to 7 | Unused; a client writes zero. |
Vectors (1)
ModuleData
What a server sends to carry data to a module of the client’s own. A client takes it even before it is ready to play. With kind 4, or any kind other than 1 and 2, a client acts on what the data carries as on a message that had arrived. What kinds 1 and 2 do is not shown. A server need send none.
In 4.1–4.4
Command 220 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| kind | u8 | What the data is for. |
| length | u16 | How many bytes of data follow; at most 1024. |
| data | bytes, sized by length | Data for a module of the client’s own, which the message only carries. |
Vectors (1)
ModulePacket
What a client sends to carry data from a module of its own, often a message of its own that the module has taken over. A server need do nothing with it. The header carries zero.
In 4.1–4.4
Command 222 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| kind | u8 | What the data is for. |
| length | u16 | How many bytes of data follow; at most 1024. |
| data | bytes, sized by length | Data for a module of the client’s own, which the message only carries. |
Vectors (1)
StatsRequest
What a client sends about itself. The header names the sender’s champion.
In 4.5–4.7
Command 85 on requests, sent by the client, reliable.
It says what the client has detected running alongside it.
| Field | Type | What it is |
|---|---|---|
| moduleOne | u32 | One of three values a client reports about software it has detected alongside itself. A client sends zero. |
Vectors (2)
In 4.8–4.11
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.8–4.10 | 85 |
| 4.11 | 86 |
It says what the client has detected running alongside it, and which appearance it believes it is wearing.
| Field | Type | What it is |
|---|---|---|
| moduleOne | u32 | One of three values a client reports about software it has detected alongside itself. A client sends zero. |
| appearance | u32 | The appearance the client believes it is wearing, by the number it knows it as. |
| appearanceCheck | u32 | A value standing for that appearance’s content. |
Vectors (4)
In 4.12–4.20
Command 86 on requests, sent by the client, reliable.
It says what the client has detected running alongside it, and which appearance it believes it is wearing.
| Field | Type | What it is |
|---|---|---|
| moduleOne | u32 | One of three values a client reports about software it has detected alongside itself. A client sends zero. |
| moduleTwo | u32 | The second of the three. A client sends zero. |
| moduleThree | u32 | The third. A client sends zero. |
| appearance | u32 | The appearance the client believes it is wearing, by the number it knows it as. |
| appearanceCheck | u32 | A value standing for that appearance’s content. |
Vectors (2)
Units
How a server puts objects on the field and takes them away: champions, minions, neutral monsters, turrets, pets, markers and props. What a unit then does is in Movement, Combat and Spells, and what it is worth in Replication.
Every object is named by a net id, and Objects and identifiers says what removes each kind of object.
Creating
Each kind of object has its own message:
- a champion,
CreateChampion, which, carrying the client’s own client id, also makes that champion the client’s own; a bot’s champion, the sameCreateChampionnaming no client, orSpawnBot; - a minion sent out from a side’s barracks,
SpawnFromBarracks, and a unit like one, such as a ward,SpawnUnit; - a monster of no side,
CreateNeutral; a pet,SpawnPet; - a turret,
CreateTurret(The client’s data says how it names one), and a turret of the server’s choosing,SpawnTurret; - an object that follows a unit,
CreateFollower, and a change to what it follows,FollowerMaster; - an unseen marker,
SpawnMarker, which other messages can name andMarkerMovedmoves; - a prop, a thing that stands on the map and is looked at,
MapProp, and a change to one,MapPropChanged.
Several of these arrive on their own or inside the EnterSight that brings
the unit into view (see Vision): a client takes either.
CharacterPreload has a client load a character’s art ahead of need.
In 4.1–4.19
A client drops a
CreateChampionor aCreateNeutralthat arrives before it sendsCharacterSelected, reconnecting included. A server MUST send them after it receivesCharacterSelected.
Changing and removing
TeamChanged moves a unit to another side, and ChampionRemoved takes a
champion out of the world. A unit’s death is in Combat.
Bots
A server can tell a client what a bot is thinking (BotDebug), weighing
(BotTargets) or doing (BotState). None of them changes what a player sees.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
CreateChampion
What a server sends to put a champion on the field. The header carries zero or names the object this is about; a client accepts either.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 75 |
| 4.11–4.17 | 76 |
The champion takes the id in champion, not the header’s; a client first removes any object holding that id. For the client’s own seat, name also becomes its own player’s name. A client drops the message while its map’s navigation data is unloaded, as early in a reconnection. It arrives on its own and also inside EnterSight.
| Field | Type | What it is |
|---|---|---|
| champion | u32 | The name the champion answers to, so later messages can name it. |
| clientId | u32 | The client id of the player the champion belongs to, or 4294967295 where it belongs to none, as a bot’s does. A client takes the champion carrying its own client id as its own. |
| node | u8 | Which network node the object belongs to, in a field of its own. |
| skillLevel | u8 | It has no effect. |
| side | u8 | Nonzero for side 100, zero for side 200. |
| bot | u8 | Nonzero where a bot plays the seat; its shown name is then the client’s own bot name for asset, and name has no effect. |
| rank | u8 | It has no effect. |
| spawnIndex | u8 | Where the champion first stands and faces. From 0 to 5, its side’s base position plus the offset the map sets for the side’s head count (players and bots) and this index plus one, facing as the map sets for them. A client works out the head count itself, counting SpawnStart’s bots in it. From 6 up, the base position itself, facing along +X. Movement or sight data replaces it. |
| skin | i32 | Which look it wears. |
| name | text, 128 bytes | What the seat holding it is called. Written out in full and padded with zero bytes to the width above. |
| asset | text, 40 bytes | The name the client loads its art and sound under, written and padded as above. |
| stayDown | f32 | How long it stays down, in seconds, where it is already down. |
| downFor | f32 | How long it has already been down, in seconds. |
| how | 1-byte bits | |
| how.down | bit 0 to 2 | 0 alive; 1 dead but acting on (the state a champion that keeps acting after death is in), where stayDown and downFor have no effect; 2 down, having been down for downFor with stayDown left. A client takes 3 to 7 as 0. |
| how.swap | bit 3 | Set where the champion replaces another. Of no effect otherwise. |
| how.unused | bit 4 to 7 | Unused; a server writes zero. |
Vectors (2)
In 4.18–4.20
Command 76 on events, sent by the server, reliable.
It arrives on its own and also inside EnterSight.
| Field | Type | What it is |
|---|---|---|
| champion | u32 | The name the champion answers to, so later messages can name it. |
| clientId | u32 | The client id of the player the champion belongs to, or 4294967295 where it belongs to none, as a bot’s does. A client takes the champion carrying its own client id as its own. |
| node | u8 | Which network node the object belongs to, in a field of its own. |
| skillLevel | u8 | What level the champion’s own spells stand at. |
| who | 1-byte bits | |
| who.side | bit 0 | Which of the two sides the champion is on. A server sets it. |
| who.bot | bit 1 | Set where nobody holds it. |
| who.unused | bit 2 to 7 | Unused; a server writes zero. |
| rank | u8 | How well it plays where nobody holds it. |
| spawnIndex | u8 | Which of its side’s starting places the champion begins at, counted from zero. Where a champion first stands travels in EnterSight. A server can send 0 for every champion; where a champion stands is settled by the movement or sight data that follows. |
| skin | i32 | Which look it wears. |
| name | text, 128 bytes | What the seat holding it is called. Written out in full and padded with zero bytes to the width above. |
| asset | text, 40 bytes | The name the client loads its art and sound under, written and padded as above. |
| stayDown | f32 | How long it stays down, in seconds, where it is already down. |
| downFor | f32 | How long it has already been down, in seconds. |
| deathKind | u32 | What sort of death it is already in, where it is already down. |
| how | 1-byte bits | |
| how.swap | bit 0 | Set where the champion replaces another; a client whose champion it is resets every script’s state. |
| how.hidden | bit 1 | Set to fade the champion’s model out at once. |
| how.unused | bit 2 to 7 | Unused; a server writes zero. |
Vectors (2)
SpawnBot
What a server sends to create a champion played by a bot. The header names no object: a server writes zero.
In 4.1–4.19
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 206 |
| 4.11–4.19 | 207 |
A client first deletes any object it holds under the same id.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The id the bot’s champion takes. |
| node | u8 | The network node it belongs to. |
| x | f32 | Where it appears, in world units. |
| y | f32 | Its height, in world units. |
| z | f32 | Where it appears, in world units. |
| rank | u8 | The bot’s rank. |
| sides | 2-byte bits | Its side. |
| sides.side | bit 0 to 8 | Its side: 100, 200 or 300. |
| sides.unused | bit 9 to 15 | Unused; a server writes zero. |
| skin | i32 | Which skin. |
| name | text, 64 bytes | The name shown for it. The text ends at its first zero byte, which falls within the field. |
| character | text, 64 bytes | The champion’s character name, which is also its unique name. |
Vectors (2)
SpawnFromBarracks
What a server sends to put a unit on the field from the place its side sends them out of.
In 4.1–4.17
Command 3 on events, sent by the server, reliable.
It arrives on its own and also inside EnterSight. The header names the unit this is about.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The name the unit answers to, so later messages can name it. |
| node | u8 | Which network node the unit belongs to, in a field of its own rather than as part of the name that follows. |
| barracks | u32 | The place it came out of, by the identifier its name gives as Objects and identifiers works it out. On map 1 that is a spawn point such as __P_Order_Spawn_Barracks__C01, not the inhibitor named Barracks_T1_C1: named by the inhibitor, a client creates nothing. |
| wave | u8 | Which run of units it belongs to. |
| kind | u8 | What sort of unit it is. |
| damageBonus | i16 | What is added to the damage it deals. |
| healthBonus | i16 | What is added to the health it holds. |
| level | u8 | The level it starts at. |
Vectors (1)
In 4.18–4.20
Command 3 on events, sent by the server, reliable.
It arrives on its own and also inside EnterSight. The header names the unit this is about.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The name the unit answers to, so later messages can name it. |
| node | u8 | Which network node the unit belongs to, in a field of its own rather than as part of the name that follows. |
| barracks | u32 | The place it came out of. |
| wave | u8 | Which run of units it belongs to. |
| kind | u8 | What sort of unit it is. |
| damageBonus | u16 | What is added to the damage it deals. |
| healthBonus | u16 | What is added to the health it holds. |
| level | u8 | The level it starts at. |
Vectors (1)
SpawnUnit
What a server sends to put a minion-like unit on the field, such as a ward.
In 4.1–4.16
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 123 |
| 4.11–4.16 | 124 |
A client deletes any object holding the new unit’s id first, and does nothing more where it cannot make the unit. owner is only who gets the gold the unit earns; clone, where nonzero, is copied, state and inventory. The header names the unit that put it there.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The name the new unit answers to. |
| owner | u32 | The unit that owns it. |
| node | u8 | Which network node the unit belongs to. |
| atX | f32 | Where it stands, along one ground axis, in world units. |
| atY | f32 | Where it stands, in height, in world units. |
| atZ | f32 | Where it stands, along the other ground axis, in world units. |
| skin | i32 | Which look it wears. |
| clone | u32 | The unit it copies, or zero. |
| flags | 2-byte bits | What sort of unit it is. |
| flags.team | bit 0 to 8 | Which side, as a team number. |
| flags.ignoreCollision | bit 9 | Set where it does not block the way. |
| flags.ward | bit 10 | Set where it is a ward. |
| flags.laneMinion | bit 11 | Set where it is a lane minion. |
| flags.bot | bit 12 | Set where it is driven by the client’s own decisions. |
| flags.unused | bit 13 to 15 | Unused; a server writes zero. |
| targetableToTeam | u32 | Which sides can aim at it, as a set of bits. |
| visibilitySize | f32 | How large it counts as for sight, in world units. |
| name | text, 64 bytes | Its name, padded with zero bytes. |
| asset | text, 64 bytes | The name the client loads its art under, padded with zero bytes. |
| level | u16 | The level it starts at. |
Vectors (2)
In 4.17
Command 124 on events, sent by the server, reliable.
A client deletes any object holding the new unit’s id first, and does nothing more where it cannot make the unit. owner is only who gets the gold the unit earns; clone, where nonzero, is copied, state and inventory; onlyVisibleTo, zero or unknown, restricts nothing. The header names the unit that put it there.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The name the new unit answers to. |
| owner | u32 | The unit that owns it. |
| node | u8 | Which network node the unit belongs to. |
| atX | f32 | Where it stands, along one ground axis, in world units. |
| atY | f32 | Where it stands, in height, in world units. |
| atZ | f32 | Where it stands, along the other ground axis, in world units. |
| skin | i32 | Which look it wears. |
| clone | u32 | The unit it copies, or zero. |
| flags | 2-byte bits | What sort of unit it is. |
| flags.team | bit 0 to 8 | Which side, as a team number. |
| flags.ignoreCollision | bit 9 | Set where it does not block the way. |
| flags.ward | bit 10 | Set where it is a ward. |
| flags.laneMinion | bit 11 | Set where it is a lane minion. |
| flags.bot | bit 12 | Set where it is driven by the client’s own decisions. |
| flags.unused | bit 13 to 15 | Unused; a server writes zero. |
| targetableToTeam | u32 | Which sides can aim at it, as a set of bits. |
| visibilitySize | f32 | How large it counts as for sight, in world units. |
| name | text, 64 bytes | Its name, padded with zero bytes. |
| asset | text, 64 bytes | The name the client loads its art under, padded with zero bytes. |
| level | u16 | The level it starts at. |
| onlyVisibleTo | u32 | The unit that alone can see it, or zero. |
Vectors (1)
In 4.18–4.20
Command 124 on events, sent by the server, reliable.
A client deletes any object holding the new unit’s id first, and does nothing more where it cannot make the unit. owner is only who gets the gold the unit earns; clone, where nonzero, is copied, state and inventory; onlyVisibleTo, zero or unknown, restricts nothing. The header names the unit that put it there.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The name the new unit answers to. |
| owner | u32 | The unit that owns it. |
| node | u8 | Which network node the unit belongs to. |
| atX | f32 | Where it stands, along one ground axis, in world units. |
| atY | f32 | Where it stands, in height, in world units. |
| atZ | f32 | Where it stands, along the other ground axis, in world units. |
| skin | i32 | Which look it wears. |
| clone | u32 | The unit it copies, or zero. |
| team | u16 | Which side, as a team number. |
| flags | 1-byte bits | What sort of unit it is. |
| flags.ignoreCollision | bit 0 | Set where it does not block the way. |
| flags.ward | bit 1 | Set where it is a ward. |
| flags.laneMinion | bit 2 | Set where it is a lane minion. |
| flags.bot | bit 3 | Set where it is driven by the client’s own decisions. |
| flags.unused | bit 4 to 7 | Unused; a server writes zero. |
| unused | u32 | Unused; a server writes zero. |
| visibilitySize | f32 | How large it counts as for sight, in world units. |
| name | text, 64 bytes | Its name, padded with zero bytes. |
| asset | text, 64 bytes | The name the client loads its art under, padded with zero bytes. |
| level | u16 | The level it starts at. |
| onlyVisibleTo | u32 | The unit that alone can see it, or zero. |
Vectors (1)
CreateNeutral
What a server sends to put a unit that belongs to no side on the field. The header names the unit this is about.
In 4.1
Command 98 on events, sent by the server, reliable.
The monster faces from where it stands toward the facing point, or along +Z where the two are the same. A client drops the message while its map’s navigation data is unloaded. A server sends it only inside EnterSight, and the channel and delivery given here are those of the message carrying it.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The name the unit answers to, so later messages can name it. |
| node | u8 | Which network node the object belongs to, in a field of its own. |
| atX | f32 | Where the unit stands, along one ground axis, in world units. |
| atY | f32 | Where the unit stands, in height, in world units. |
| atZ | f32 | Where the unit stands, along the other ground axis, in world units. |
| campAtX | f32 | Where the camp it belongs to sits, along one ground axis, in world units. |
| campAtY | f32 | Where the camp it belongs to sits, in height, in world units. |
| campAtZ | f32 | Where the camp it belongs to sits, along the other ground axis, in world units. |
| facingX | f32 | A point the unit faces toward, along one ground axis, in world units. |
| facingY | f32 | That point, in height. |
| facingZ | f32 | That point, along the other ground axis. |
| name | text, 64 bytes | What this unit is called, so a client can tell one from another. Written out in full and padded with zero bytes to the width above. |
| asset | text, 64 bytes | The name the client loads its art and sound under, written and padded as above. |
| uniqueName | text, 64 bytes | A further name the unit answers to, written and padded as above. |
| campIcon | text, 64 bytes | The name of the icon the minimap shows at the camp, written in full and padded with zero bytes to the width above; empty shows none. A client uses it only where it creates the camp. |
| proximityAnimations | text, 64 bytes | The name of a set of animations the camp plays as units come near, written and padded as above; empty means none. A client uses it only where it creates the camp. |
| side | u32 | The side it belongs to, or zero where it belongs to none. |
| damageBonus | i32 | What is added to the damage it deals. |
| healthBonus | i32 | What is added to the health it holds. |
| roaming | u32 | How the monster wanders. It has no effect. Values: 0 inactive, 1 hostile, 2 fleeing. |
| camp | u32 | Which camp the unit belongs to. A client adds the unit to that camp where a CampMarker has placed it first, and to no camp otherwise. |
| effectSide | u32 | The side that gains what killing it grants. |
| revealEvent | i32 | What makes the unit known to a side that cannot see it. |
| level | i32 | The level it starts at. |
Vectors (1)
In 4.2–4.8
Command 98 on events, sent by the server, reliable.
The monster faces from where it stands toward the facing point, or along +Z where the two are the same. Its spawnAnimation plays only where named and time is left to spawn, and it cannot be targeted while it plays. A client drops the message while its map’s navigation data is unloaded. A server sends it only inside EnterSight, and the channel and delivery given here are those of the message carrying it.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The name the unit answers to, so later messages can name it. |
| node | u8 | Which network node the object belongs to, in a field of its own. |
| atX | f32 | Where the unit stands, along one ground axis, in world units. |
| atY | f32 | Where the unit stands, in height, in world units. |
| atZ | f32 | Where the unit stands, along the other ground axis, in world units. |
| campAtX | f32 | Where the camp it belongs to sits, along one ground axis, in world units. |
| campAtY | f32 | Where the camp it belongs to sits, in height, in world units. |
| campAtZ | f32 | Where the camp it belongs to sits, along the other ground axis, in world units. |
| facingX | f32 | A point the unit faces toward, along one ground axis, in world units. |
| facingY | f32 | That point, in height. |
| facingZ | f32 | That point, along the other ground axis. |
| name | text, 64 bytes | What this unit is called, so a client can tell one from another. Written out in full and padded with zero bytes to the width above. |
| asset | text, 64 bytes | The name the client loads its art and sound under, written and padded as above. |
| uniqueName | text, 64 bytes | A further name the unit answers to, written and padded as above. |
| campIcon | text, 64 bytes | The name of the icon the minimap shows at the camp, written in full and padded with zero bytes to the width above; empty shows none. A client uses it only where it creates the camp. |
| spawnAnimation | text, 64 bytes | The name the client loads what it does on arriving under, written and padded as above. |
| side | u32 | The side it belongs to, or zero where it belongs to none. |
| damageBonus | i32 | What is added to the damage it deals. |
| healthBonus | i32 | What is added to the health it holds. |
| roaming | u32 | How the monster wanders. It has no effect. Values: 0 inactive, 1 hostile, 2 fleeing. |
| camp | u32 | Which camp the unit belongs to. A client adds the unit to that camp where a CampMarker has placed it first, and to no camp otherwise. |
| effectSide | u32 | The side that gains what killing it grants. |
| revealEvent | i32 | What makes the unit known to a side that cannot see it. |
| level | i32 | The level it starts at. |
| spawnDuration | f32 | How long its arrival takes, in seconds. |
| spawnElapsed | f32 | How much of its arrival has already passed, in seconds. |
Vectors (1)
In 4.9–4.11
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.9–4.10 | 98 |
| 4.11 | 99 |
The monster faces from where it stands toward the facing point, or along +Z where the two are the same. Its spawnAnimation plays only where named and time is left to spawn, and it cannot be targeted while it plays. A client drops the message while its map’s navigation data is unloaded. A server sends it only inside EnterSight, and the channel and delivery given here are those of the message carrying it.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The name the unit answers to, so later messages can name it. |
| node | u8 | Which network node the object belongs to, in a field of its own. |
| atX | f32 | Where the unit stands, along one ground axis, in world units. |
| atY | f32 | Where the unit stands, in height, in world units. |
| atZ | f32 | Where the unit stands, along the other ground axis, in world units. |
| campAtX | f32 | Where the camp it belongs to sits, along one ground axis, in world units. |
| campAtY | f32 | Where the camp it belongs to sits, in height, in world units. |
| campAtZ | f32 | Where the camp it belongs to sits, along the other ground axis, in world units. |
| facingX | f32 | A point the unit faces toward, along one ground axis, in world units. |
| facingY | f32 | That point, in height. |
| facingZ | f32 | That point, along the other ground axis. |
| name | text, 64 bytes | What this unit is called, so a client can tell one from another. Written out in full and padded with zero bytes to the width above. |
| asset | text, 64 bytes | The name the client loads its art and sound under, written and padded as above. |
| uniqueName | text, 64 bytes | A further name the unit answers to, written and padded as above. |
| spawnAnimation | text, 64 bytes | The name the client loads what it does on arriving under, written and padded as above. |
| side | u32 | The side it belongs to, or zero where it belongs to none. |
| damageBonus | i32 | What is added to the damage it deals. |
| healthBonus | i32 | What is added to the health it holds. |
| roaming | u32 | How the monster wanders. It has no effect. Values: 0 inactive, 1 hostile, 2 fleeing. |
| camp | u32 | Which camp the unit belongs to. A client adds the unit to that camp where a CampMarker has placed it first, and to no camp otherwise. |
| effectSide | u32 | The side that gains what killing it grants. |
| revealEvent | i32 | What makes the unit known to a side that cannot see it. |
| level | i32 | The level it starts at. |
| spawnDuration | f32 | How long its arrival takes, in seconds. |
| spawnAt | f32 | When it arrives, as a moment on the match clock, in seconds. |
Vectors (2)
In 4.12–4.17
Command 99 on events, sent by the server, reliable.
The monster faces from where it stands toward the facing point, or along +Z where the two are the same. Its spawnAnimation plays only where named and time is left to spawn, and it cannot be targeted while it plays. A client drops the message while its map’s navigation data is unloaded. A server sends it only inside EnterSight, and the channel and delivery given here are those of the message carrying it.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The name the unit answers to, so later messages can name it. |
| node | u8 | Which network node the object belongs to, in a field of its own. |
| atX | f32 | Where the unit stands, along one ground axis, in world units. |
| atY | f32 | Where the unit stands, in height, in world units. |
| atZ | f32 | Where the unit stands, along the other ground axis, in world units. |
| campAtX | f32 | Where the camp it belongs to sits, along one ground axis, in world units. |
| campAtY | f32 | Where the camp it belongs to sits, in height, in world units. |
| campAtZ | f32 | Where the camp it belongs to sits, along the other ground axis, in world units. |
| facingX | f32 | A point the unit faces toward, along one ground axis, in world units. |
| facingY | f32 | That point, in height. |
| facingZ | f32 | That point, along the other ground axis. |
| name | text, 64 bytes | What this unit is called, so a client can tell one from another. Written out in full and padded with zero bytes to the width above. |
| asset | text, 64 bytes | The name the client loads its art and sound under, written and padded as above. |
| uniqueName | text, 64 bytes | A further name the unit answers to, written and padded as above. |
| spawnAnimation | text, 64 bytes | The name the client loads what it does on arriving under, written and padded as above. |
| side | u32 | The side it belongs to, or zero where it belongs to none. |
| damageBonus | i32 | What is added to the damage it deals. |
| healthBonus | i32 | What is added to the health it holds. |
| roaming | u32 | How the monster wanders. It has no effect. Values: 0 inactive, 1 hostile, 2 fleeing. |
| camp | u32 | Which camp the unit belongs to. A client adds the unit to that camp where a CampMarker has placed it first, and to no camp otherwise. |
| effectSide | u32 | The side that gains what killing it grants. |
| revealEvent | i32 | What makes the unit known to a side that cannot see it. |
| level | i32 | The level it starts at. |
| spawnDuration | f32 | How long its arrival takes, in seconds. |
| spawnAt | f32 | When it arrives, as a moment on the match clock, in seconds. |
| behaviour | u8 | It has no effect. |
Vectors (1)
In 4.18–4.20
Command 99 on events, sent by the server, reliable.
A server sends it only inside EnterSight, and the channel and delivery given here are those of the message carrying it.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The name the unit answers to, so later messages can name it. |
| node | u8 | Which network node the object belongs to, in a field of its own. |
| atX | f32 | Where the unit stands, along one ground axis, in world units. |
| atY | f32 | Where the unit stands, in height, in world units. |
| atZ | f32 | Where the unit stands, along the other ground axis, in world units. |
| campAtX | f32 | Where the camp it belongs to sits, along one ground axis, in world units. |
| campAtY | f32 | Where the camp it belongs to sits, in height, in world units. |
| campAtZ | f32 | Where the camp it belongs to sits, along the other ground axis, in world units. |
| facingX | f32 | A point the unit faces toward, along one ground axis, in world units. |
| facingY | f32 | That point, in height. |
| facingZ | f32 | That point, along the other ground axis. |
| name | text, 64 bytes | What this unit is called, so a client can tell one from another. Written out in full and padded with zero bytes to the width above. |
| asset | text, 64 bytes | The name the client loads its art and sound under, written and padded as above. |
| uniqueName | text, 64 bytes | A further name the unit answers to, written and padded as above. |
| spawnAnimation | text, 64 bytes | The name the client loads what it does on arriving under, written and padded as above. |
| side | u32 | The side it belongs to, or zero where it belongs to none. |
| damageBonus | i32 | What is added to the damage it deals. |
| healthBonus | i32 | What is added to the health it holds. |
| roaming | u32 | How it roams, which changes nothing a client shows. Values: 0 still, 1 hostile, 2 fleeing. |
| camp | u32 | Which camp it belongs to. |
| effectSide | u32 | The side that gains what killing it grants. |
| revealEvent | i32 | What makes the unit known to a side that cannot see it. |
| level | i32 | The level it starts at. |
| spawnDuration | f32 | How long its arrival takes, in seconds. |
| spawnAt | f32 | When it arrives, as a moment on the match clock, in seconds. |
Vectors (1)
SpawnPet
What a server sends to put a pet on the field.
In 4.1–4.19
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 54 |
| 4.11–4.19 | 55 |
A client deletes any object holding the header’s id; spawns nothing where it does not know the owner; kills the owner’s earlier pet if it lives; makes the pet, replacing its script with script; gives it the owner’s seat, its gold going to the owner; and registers it under the header’s id and node. spellLevel, duration and effect have no effect. The header names the pet. A server sends it to clients watching a match.
| Field | Type | What it is |
|---|---|---|
| owner | u32 | The unit it belongs to. |
| node | u8 | Which network node it belongs to. |
| atX | f32 | Where it stands, along one ground axis, in world units. |
| atY | f32 | In height, in world units. |
| atZ | f32 | Along the other ground axis, in world units. |
| spellLevel | i32 | The level of the spell that summoned it, plus one. |
| duration | f32 | How long it lasts, in seconds. |
| side | u32 | Which side. |
| damageBonus | i32 | What is added to the damage it deals. |
| healthBonus | i32 | What is added to its health. |
| name | text, 128 bytes | Its name, padded with zero bytes. |
| asset | text, 32 bytes | The name the client loads its art under, padded with zero bytes. |
| skin | i32 | Which look it wears. |
| effect | text, 64 bytes | An effect it carries, padded with zero bytes. |
| clone | u32 | The unit it copies, or zero. |
| flags | 1-byte bits | How it behaves. |
| flags.copyInventory | bit 0 | Set where it copies its owner’s items. |
| flags.clearOwnerTarget | bit 1 | Set where its owner’s target is cleared. |
| flags.minimapIcon | bit 2 | Set where it shows on the minimap. |
| flags.unused | bit 3 to 7 | Unused; a server writes zero. |
| script | text, 32 bytes | The script that drives it, padded with zero bytes. |
Vectors (3)
In 4.20
Command 55 on events, sent by the server, reliable.
A client deletes any object holding the header’s id; spawns nothing where it does not know the owner; kills the owner’s earlier pet if it lives; makes the pet, replacing its script with script; gives it the owner’s seat, its gold going to the owner; and registers it under the header’s id and node. spellLevel, duration and effect have no effect. The header names the pet. A server sends it to clients watching a match.
| Field | Type | What it is |
|---|---|---|
| owner | u32 | The unit it belongs to. |
| node | u8 | Which network node it belongs to. |
| atX | f32 | Where it stands, along one ground axis, in world units. |
| atY | f32 | In height, in world units. |
| atZ | f32 | Along the other ground axis, in world units. |
| spellLevel | i32 | The level of the spell that summoned it, plus one. |
| duration | f32 | How long it lasts, in seconds. |
| side | u32 | Which side. |
| damageBonus | i32 | What is added to the damage it deals. |
| healthBonus | i32 | What is added to its health. |
| name | text, 128 bytes | Its name, padded with zero bytes. |
| asset | text, 32 bytes | The name the client loads its art under, padded with zero bytes. |
| skin | i32 | Which look it wears. |
| effect | text, 64 bytes | An effect it carries, padded with zero bytes. |
| clone | u32 | The unit it copies, or zero. |
| flags | 1-byte bits | How it behaves. |
| flags.copyInventory | bit 0 | Set where it copies its owner’s items. |
| flags.clearOwnerTarget | bit 1 | Set where its owner’s target is cleared. |
| flags.minimapIcon | bit 2 | Set where it shows on the minimap, should it be a clone. |
| flags.startFaded | bit 3 | Set where it starts fully faded out, as though faded to nothing at once; a later fade can bring it back. |
| flags.unused | bit 4 to 7 | Unused; a server writes zero. |
| script | text, 32 bytes | The script that drives it, padded with zero bytes. |
Vectors (1)
CreateTurret
What a server sends to put a turret on the field. The header names the unit this is about.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 156 |
| 4.11–4.17 | 157 |
A client matches name exactly against the map’s turrets. With no match it only removes any object holding the id; a matched turret missing or dead is rebuilt before it takes the id. A server sends it only inside EnterSight, and the channel and delivery given here are those of the message carrying it.
| Field | Type | What it is |
|---|---|---|
| turret | u32 | The name the turret answers to, so later messages can name it. |
| node | u8 | Which network node the object belongs to, in a field of its own. |
| name | text, 64 bytes | What this turret is called, so a client can tell one from another. Written out in full and padded with zero bytes to the width above. |
| how | 1-byte bits | |
| how.targetable | bit 0 | It has no effect: a turret’s targetability comes by replication. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
| targetableBy | u32 | Who can target the turret. A server writes the value replication carries for the turret: 8388608 not its own side, 16777216 not the other side, 25165824 nobody, 33554432 everyone, anything else both sides. A client takes the turret’s targetability from replication alone. |
Vectors (2)
In 4.18–4.20
Command 157 on events, sent by the server, reliable.
A server sends it only inside EnterSight, and the channel and delivery given here are those of the message carrying it.
| Field | Type | What it is |
|---|---|---|
| turret | u32 | The name the turret answers to, so later messages can name it. |
| node | u8 | Which network node the object belongs to, in a field of its own. |
| name | text, 64 bytes | What this turret is called, so a client can tell one from another. Written out in full and padded with zero bytes to the width above. |
| how | 1-byte bits | Unused; a server writes zero. |
| how.targetable | bit 0 | Unused; a server writes zero. |
| how.unknown | bit 1 to 7 | Unused; a server writes zero. |
| targetableBy | u32 | Unused; a server writes zero. |
Vectors (2)
SpawnTurret
What a server sends to create a turret of its own choosing. A client first deletes any object it holds under the same id, and does nothing more where it cannot make the character. The header carries zero.
In 4.12–4.14
Command 291 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The id the turret takes. |
| owner | u32 | The unit credited with the gold for its kills, or zero for none. |
| node | u8 | The network node it belongs to. |
| name | text, 64 bytes | The turret’s object name. The text ends at its first zero byte, which falls within the field. |
| character | text, 64 bytes | Its character, that is, its model. |
| x | f32 | Where it stands, in world units. |
| y | f32 | Its height, in world units. |
| z | f32 | Where it stands, in world units. |
| flags | 2-byte bits | Its side and state. |
| flags.side | bit 0 to 8 | Its side. |
| flags.invulnerable | bit 9 | Set where it takes no damage. |
| flags.unused | bit 10 to 15 | Unused; a server writes zero. |
Vectors (1)
In 4.15
Command 291 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The id the turret takes. |
| owner | u32 | The unit credited with the gold for its kills, or zero for none. |
| node | u8 | The network node it belongs to. |
| name | text, 64 bytes | The turret’s object name. The text ends at its first zero byte, which falls within the field. |
| character | text, 64 bytes | Its character, that is, its model. |
| skin | i32 | Which skin. |
| x | f32 | Where it stands, in world units. |
| y | f32 | Its height, in world units. |
| z | f32 | Where it stands, in world units. |
| flags | 2-byte bits | Its side and state. |
| flags.side | bit 0 to 8 | Its side. |
| flags.invulnerable | bit 9 | Set where it takes no damage. |
| flags.unused | bit 10 to 15 | Unused; a server writes zero. |
Vectors (1)
In 4.16–4.17
Command 291 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The id the turret takes. |
| owner | u32 | The unit credited with the gold for its kills, or zero for none. |
| node | u8 | The network node it belongs to. |
| name | text, 64 bytes | The turret’s object name. The text ends at its first zero byte, which falls within the field. |
| character | text, 64 bytes | Its character, that is, its model. |
| skin | i32 | Which skin. |
| x | f32 | Where it stands, in world units. |
| y | f32 | Its height, in world units. |
| z | f32 | Where it stands, in world units. |
| deathDelay | f32 | Seconds after it dies before its model is changed or taken away. |
| flags | 2-byte bits | Its side and state. |
| flags.side | bit 0 to 8 | Its side. |
| flags.invulnerable | bit 9 | Set where it takes no damage. |
| flags.unused | bit 10 to 15 | Unused; a server writes zero. |
Vectors (1)
In 4.18–4.20
Command 291 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The id the turret takes. |
| owner | u32 | The unit credited with the gold for its kills, or zero for none. |
| node | u8 | The network node it belongs to. |
| name | text, 64 bytes | The turret’s object name. The text ends at its first zero byte, which falls within the field. |
| character | text, 64 bytes | Its character, that is, its model. |
| skin | i32 | Which skin. |
| x | f32 | Where it stands, in world units. |
| y | f32 | Its height, in world units. |
| z | f32 | Where it stands, in world units. |
| deathDelay | f32 | Seconds after it dies before its model is changed or taken away. |
| flags | 1-byte bits | Its side and state. |
| flags.unusedLow | bit 0 | Unused; a server writes zero. |
| flags.invulnerable | bit 1 | Set where it takes no damage. |
| flags.unused | bit 2 to 7 | Unused; a server writes zero. |
| side | u16 | Its side. |
Vectors (1)
CreateFollower
What a server sends to put an object on the field that follows a unit. The header names the unit followed.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 240 |
| 4.11–4.20 | 241 |
| Field | Type | What it is |
|---|---|---|
| follower | u32 | The name the new object answers to. |
| node | u8 | Which network node it belongs to. |
| skin | i32 | Which look it wears. |
| name | text, 64 bytes | Its name, padded with zero bytes. |
| asset | text, 64 bytes | The name the client loads its art under, padded with zero bytes. |
Vectors (4)
FollowerMaster
What a server sends to change which unit a following object follows. The header names the follower.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 241 |
| 4.11–4.20 | 242 |
| Field | Type | What it is |
|---|---|---|
| master | u32 | The unit it now follows; one no unit answers to leaves it following none. |
Vectors (4)
SpawnMarker
What a server sends to create an unseen object at a place, which other messages can then name. A client first deletes any object it holds under the same id. The header carries zero.
In every range of this book
Command 256 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The id the marker takes. |
| node | u8 | The network node it belongs to. |
| x | f32 | Where it stands, in world units. |
| y | f32 | Its height, in world units. |
| z | f32 | Where it stands, in world units. |
Vectors (1)
MarkerMoved
What a server sends to move a marker (SpawnMarker) from one place toward another. The header names the marker. A client sets it at the start at once.
In every range of this book
Command 276 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| fromX | f32 | Where it starts, in world units. |
| fromZ | f32 | Where it starts, in world units. |
| toX | f32 | Where it goes, in world units. |
| toZ | f32 | Where it goes, in world units. |
| speed | f32 | How fast it goes, in world units a second. Below zero it jumps to the goal; zero leaves it at the start. |
| faceGoal | u8 | One to turn it the way it moves, zero not to. |
Vectors (2)
MapProp
What a server sends to place a prop on the map: a thing that stands there and is looked at rather than one that acts. The header carries zero or names the object this is about, and a client accepts either.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 207 |
| 4.11–4.17 | 208 |
A client takes the prop’s id from prop, not from the header. A scenery prop is turned by pitch, then yaw, then roll, each about the fixed world axes; none is negated or wrapped. An active prop only turns about the up axis, to face the ground direction its x and z give, and faces +z where both are zero.
| Field | Type | What it is |
|---|---|---|
| prop | u32 | The name the prop answers to, so later messages can name it. |
| node | u8 | Which network node the object belongs to. It is a field of its own, not the leading byte of the name beside it. |
| skin | i32 | Which look the prop wears. |
| atX | f32 | Where the prop stands, along one ground axis, in world units. |
| atY | f32 | Where the prop stands, in height, in world units. |
| atZ | f32 | Where the prop stands, along the other ground axis, in world units. |
| rotationX | f32 | For scenery, the pitch in degrees: a turn about the x axis, positive turning +y toward +z. For an active prop, x of the direction it faces. |
| rotationY | f32 | For scenery, the yaw in degrees: a turn about the up axis, positive turning +z toward +x, so yaw 0 faces +z and 90 faces +x. For an active prop, y of its facing, which does not turn it. |
| rotationZ | f32 | For scenery, the roll in degrees: a turn about the z axis, positive turning +x toward +y. For an active prop, z of the direction it faces. |
| offsetX | f32 | What is added to where it stands, along one ground axis, in world units. |
| offsetY | f32 | What is added to where it stands, in height, in world units. |
| offsetZ | f32 | What is added to where it stands, along the other ground axis, in world units. |
| scaleX | f32 | What its drawn size is scaled by, along one ground axis. |
| scaleY | f32 | What its drawn size is scaled by, in height. |
| scaleZ | f32 | What its drawn size is scaled by, along the other ground axis. |
| side | 2-byte bits | The side the prop belongs to. A server sends 300, the neutral side. |
| side.side | bit 0 to 8 | The prop’s side. |
| side.unused | bit 9 to 15 | Unused; a server writes zero. |
| skillLevel | u8 | Unused; a server writes zero. |
| rank | u8 | How far it is advanced. |
| kind | u8 | What sort of prop it is; a client makes nothing for any other value. A client first deletes any object holding the prop’s id, whatever the kind. Values: 0 active, 1 scenery. |
| name | text, 64 bytes | What this prop is called, so a client can tell one from another. Written out in full and padded with zero bytes to the width above. |
| asset | text, 64 bytes | The name the client loads its art and sound under, written and padded as above. |
Vectors (2)
In 4.18–4.20
Command 208 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| prop | u32 | The name the prop answers to, so later messages can name it. |
| node | u8 | Which network node the object belongs to. It is a field of its own, not the leading byte of the name beside it. |
| skin | i32 | Which look the prop wears. |
| atX | f32 | Where the prop stands, along one ground axis, in world units. |
| atY | f32 | Where the prop stands, in height, in world units. |
| atZ | f32 | Where the prop stands, along the other ground axis, in world units. |
| rotationX | f32 | An angle the prop is turned by about a ground axis, in degrees, from zero up to but not reaching 360. |
| rotationY | f32 | An angle the prop is turned by about the upright axis, in degrees, from zero up to but not reaching 360. |
| rotationZ | f32 | An angle the prop is turned by about the other ground axis, in degrees, from zero up to but not reaching 360. |
| offsetX | f32 | What is added to where it stands, along one ground axis, in world units. |
| offsetY | f32 | What is added to where it stands, in height, in world units. |
| offsetZ | f32 | What is added to where it stands, along the other ground axis, in world units. |
| scaleX | f32 | What its drawn size is scaled by, along one ground axis. |
| scaleY | f32 | What its drawn size is scaled by, in height. |
| scaleZ | f32 | What its drawn size is scaled by, along the other ground axis. |
| side | u16 | The side it belongs to, or zero where it belongs to none. |
| rank | u8 | How far it is advanced. |
| skillLevel | u8 | What level the prop’s own doings stand at. |
| kind | u32 | What sort of prop it is. |
| name | text, 64 bytes | What this prop is called, so a client can tell one from another. Written out in full and padded with zero bytes to the width above. |
| asset | text, 64 bytes | The name the client loads its art and sound under, written and padded as above. |
Vectors (2)
MapPropChanged
What a server sends to change something about a prop already on the map. The kind of change is named inside it, and the fields around the kind keep one layout whatever it is. The header names no object: it carries zero.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 208 |
| 4.11–4.17 | 209 |
| Field | Type | What it is |
|---|---|---|
| name | text, 64 bytes | A name: an animation’s, a particle’s or a look’s, by the change below. The name ends at its first zero byte; the bytes after it carry no meaning. |
| first | f32 | For animate, when the animation starts, in seconds of match time. |
| second | f32 | For animate, how long the animation runs, in seconds. |
| prop | u32 | The object changed. |
| value | u32 | A value the change uses: for animate, the animation’s flags; for linkEffect, the particle effect value; for look, the look’s number. |
| change | u8 | What changes. A client does nothing for any other value, nor where prop names no prop it holds. Values: 0 animate, 1 linkEffect, 2 look. |
| option | u8 | For animate, nonzero to remove the prop after the animation; for linkEffect, zero. |
| effect | u8 | For linkEffect, which of the prop’s effect values to drive. |
| point | u8 | For linkEffect, which capture point drives it. |
Vectors (2)
In 4.18–4.20
Command 209 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| name | text, 64 bytes | The name the change loads, such as a set of movements the prop plays. Written out in full and padded with zero bytes to the width above. |
| startsAt | f32 | When the change begins, in milliseconds of match time. |
| lasts | f32 | How long the change runs, in seconds. |
| prop | u32 | The prop changed, by the name MapProp gave it. |
| flags | u32 | For kind 1, passed to the movements: 2 holds the last pose where they do not repeat. For kind 3, the look’s number. Not read for kind 2. |
| kind | u32 | What sort of change it is. A client ignores any value but 1, 2 and 3, and a prop it does not know. Values: 1 animate, 2 captureEffect, 3 look. |
| byteA | u8 | For kind 1, not zero to remove the prop once the movements end. For kind 2, the change applies only where it is zero. |
| byteB | u8 | For kind 2, which of the prop’s particle values to drive. Otherwise unused. |
| byteC | u8 | For kind 2, the capture point whose state drives it. Otherwise unused. |
Vectors (2)
CharacterPreload
What a server sends to have a character and a skin of it loaded ahead of need. Nothing shows. The header carries zero.
In 4.6–4.20
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.6–4.10 | 137 |
| 4.11–4.20 | 138 |
| Field | Type | What it is |
|---|---|---|
| skin | i32 | Which skin. |
| character | text, 64 bytes | The character’s name. It ends at its first zero byte. |
Vectors (3)
TeamChanged
What a server sends to move a unit to another side. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 214 |
| 4.11–4.20 | 215 |
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit. |
| side | u32 | Its new side. |
Vectors (4)
ChampionRemoved
What a server sends to take a champion out of the world. It carries nothing of its own. The header names the champion.
In every range of this book
Command 272 on events, sent by the server, reliable.
No body.
Vectors (2)
BotDebug
What a server sends describing what a bot is thinking. It changes nothing a client shows. The header names the unit.
In every range of this book
Command 19 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| name | text, 64 bytes | The bot’s name. |
| strategy | text, 64 bytes | Its strategy. |
| behaviour | text, 64 bytes | Its behaviour. |
| task | text, 64 bytes | Its task. |
| state1 | text, 64 bytes | A line of its state. |
| state2 | text, 64 bytes | A line of its state. |
| state3 | text, 64 bytes | A line of its state. |
Vectors (2)
BotTargets
What a server sends naming the units a bot is weighing. It changes nothing a client shows. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 104 |
| 4.11–4.20 | 105 |
| Field | Type | What it is |
|---|---|---|
| targets | 5 × u32 | Five units. |
Vectors (3)
BotState
What a server sends naming a bot’s state. It changes nothing a client shows. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 169 |
| 4.11–4.20 | 170 |
| Field | Type | What it is |
|---|---|---|
| state | i32 | The state. |
Vectors (3)
Vision
What a client can see, and how a server tells it. A client draws what a server says it sees and nothing else: the fog of war a client draws is only a picture, and what lies inside it is whatever the server has brought into view.
Bringing a unit into view
A server brings a unit into what a client’s side can see with EnterSight.
EnterSight also states the unit’s items.
EnterSight can also carry whole messages of the game family, such as the
CreateTurret or CreateNeutral that makes the unit, each taking effect as
though it had arrived on its own.
EnterSight states everything a client needs to draw the unit at once: its
looks, its shields, where it stands or which path it walks, and, in what
follows, its health and resource. A body MAY end early where its layout marks
the remaining parts as present only while bytes remain.
A client does not draw a champion that no EnterSight has placed: given only
its CreateChampion, a client shows the champion’s portrait and spells and
nothing on the field. One EnterSight after the CreateChampion draws it, with
its name and health bar over it.
EnterLocalSight brings a unit into what one client alone can see.
EnterTeamSight brings an object into the view of a whole side.
EnterLocalSight states the unit’s health.
EnterLocalSight states the unit’s resource beside its health.
Losing sight
LeaveSight and LeaveTeamSight take a unit out of the matching view, and
leave it held (see Objects and identifiers). Particles come into
and leave a side’s view with ParticleEnterTeamSight and
ParticleLeaveTeamSight.
LeaveLocalSight takes a unit out of what one client alone can see, and
leaves it held.
LeaveLocalSight naming a client’s own champion changes nothing it shows.
Regions
A region is a patch of ground with sight of its own, which can reveal hidden
units within it. A server places one with RegionAdded or fastens one to a
unit with RegionAttached, moves it with RegionMoved and takes it away with
RegionRemoved; Objects and identifiers says how regions are
named and when one ends. A region granting sight has a client clear its map’s
cover over it.
In 4.1–4.19
A client makes only circular regions.
In 4.1–4.19
A client’s regions see over walls or not as the region says.
Drawing the fog
FogSet and FogToggled change how a client draws its fog of war.
In 4.1–4.19
A client draws its fog of war, or the map with no darkening, as
FogSetandFogToggledsay. Neither changes what the client can see.
Who is told what
A client acts on a message about whichever unit it names, its own champion or another, so what a client knows is whatever a server sends it. A server decides, message by message, which clients to tell.
In 4.1–4.19
UnitDiedOnMap,InventorySnapshotOnMap,FloatingTextOnMapandSpellSlotChangedForOwnerdo not exist, so a server sends both audiences ofUnitDied,InventorySnapshot,FloatingTextandSpellSlotChangedunder the one command each.
In 4.20
Some messages exist in more than one form, each for its own audience, laid out alike:
For every client For the clients that can see the unit For the unit’s own client UnitDiedUnitDiedOnMapInventorySnapshotInventorySnapshotOnMapFloatingTextFloatingTextOnMapSpellSlotChangedSpellSlotChangedForOwnerA server sends the narrower audience as a message of its own, and sends the wider form only where every client is to know.
Messages about a champion’s own state, its gold, its inventory, its spells’ levels, cooldowns and charges, and whether it can shop, are applied to the champion they name on any client that receives them, but a client shows some of them only for its own champion:
ShopEnabledchanges the shop only for the client’s own champion.
ItemAdded and InventorySlot announce a purchase only for the client’s own
champion; an ally’s purchase is called out where the message asks for it.
GoldGained shows floating gold only for the client’s own champion.
LevelUp shows its effect over any unit the client can see.
A server SHOULD send SpellCooldown, SpellCharges and GoldGained about a
champion only to the client whose champion it is.
A client also acts on what it is told about a unit it holds but cannot see:
- a particle on a hidden unit is created but not drawn until the unit comes into view, unless the particle is bound to a target the client can see;
- floating text over a hidden unit is dropped;
- an animation plays on a hidden unit, which comes into view part way through it.
A server SHOULD NOT send a client what its side cannot see, beyond what keeps its world consistent.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
EnterSight
What a server sends when a unit comes into what a side can see. The header names the unit this is about.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 185 |
| 4.11–4.17 | 186 |
It states everything a client needs to draw the unit at once, and carries whole messages of the same family for anything a layout of its own cannot say.
| Field | Type | Present when | What it is |
|---|---|---|---|
| carried | 2-byte bits | ||
| carried.size | bit 0 to 12 | How many bytes the messages below occupy in total. | |
| carried.unused | bit 13 to 15 | Unused; a server writes zero. | |
| messages | sized by carried.size × CarriedMessage | Whole messages of the same family, each behind its own length, that a client acts on as though they had arrived on their own. | |
| itemCount | u8 | How many items the unit holds. | |
| items | count in itemCount × HeldItem | The items themselves. | |
| view | record | remaining set | Everything else a client needs to draw the unit. A server sends this message without it too, ending after the items. |
| view.hasShields | u8 | Whether the three figures below follow. A zero leaves them out. Values: 0 no, 1 yes. | |
| view.magicShield | f32 | hasShields set | How much of the unit’s shielding turns aside one sort of damage. |
| view.physicalShield | f32 | hasShields set | How much turns aside the other. |
| view.shield | f32 | hasShields set | How much turns aside either. |
| view.appearanceCount | u32 | How many layers of look follow. | |
| view.appearance | count in appearanceCount × Appearance | What the unit looks like, laid on in order. | |
| view.lookingAt | u32 | What the unit is turned towards, or zero where it is turned towards a place instead. | |
| view.lookKind | u8 | What sort of thing it is turned towards. | |
| view.lookX | f32 | Which way the unit is turned, along one ground axis. The three together are a direction rather than a place. | |
| view.lookY | f32 | Which way it is turned, in height. | |
| view.lookZ | f32 | Which way it is turned, along the other ground axis. | |
| view.effectStackCount | u32 | How many effect slots have more than one stacked in them. | |
| view.effectStacks | count in effectStackCount × EffectStack | Those slots and their counts. | |
| view.isChampion | u8 | Whether the unit is a champion. Values: 0 no, 1 yes. | |
| view.movementState | record | remaining set | Where the unit is and what it is doing on the ground. A server also sends this message ending before it. |
| view.movementState.movementKind | u8 | What the unit is doing on the ground, and so which shape follows. A champion stated as standing, with the place and facing below, is drawn there with its name and health bar over it. One stated as moving is drawn at the first point of its path and walks the rest. Values: 0 nothing, 1 movingAtASpeed, 2 moving, 3 standing. | |
| view.movementState.syncId | u32 | The name this statement of movement answers to. | |
| view.movementState.movement | Movement | movementKind = 2 | Where the unit is going. Movement says how a path is read. |
| view.movementState.movementAtSpeed | MovementAtSpeed | movementKind = 1 | Where the unit is going, and how a server makes it travel. WaypointGroupAtSpeed carries the same shape. |
| view.movementState.atX | f32 | movementKind = 3 | Where the unit stands, along one ground axis, in world units. |
| view.movementState.atZ | f32 | movementKind = 3 | Where it stands, along the other, in world units. |
| view.movementState.facingX | f32 | movementKind = 3 | Which way it faces, along one ground axis. |
| view.movementState.facingZ | f32 | movementKind = 3 | Which way it faces, along the other. |
In 4.18–4.20
Command 186 on events, sent by the server, reliable.
It states everything a client needs to draw the unit at once, and carries whole messages of the same family for anything a layout of its own cannot say.
| Field | Type | Present when | What it is |
|---|---|---|---|
| carried | u16 | The byte length of the messages carried below, all sixteen bits of it. | |
| messages | sized by carried × CarriedMessage | Whole messages of the same family, each behind its own length, that a client acts on as though they had arrived on their own. | |
| itemCount | u8 | How many items the unit holds. | |
| items | count in itemCount × HeldItem | The items themselves. | |
| view | record | remaining set | Everything else a client needs to draw the unit. A server sends this message without it too, ending after the items. |
| view.hasShields | u8 | Whether the three figures below follow. A zero leaves them out, and everything after them begins twelve bytes earlier. Values: 0 no, 1 yes. | |
| view.magicShield | f32 | hasShields set | How much of the unit’s shielding turns aside one sort of damage. |
| view.physicalShield | f32 | hasShields set | How much turns aside the other. |
| view.shield | f32 | hasShields set | How much turns aside either. |
| view.appearanceCount | u32 | How many layers of look follow. | |
| view.appearance | count in appearanceCount × Appearance | What the unit looks like, laid on in order. | |
| view.lookingAt | u32 | What the unit is turned towards, or zero where it is turned towards a place instead. | |
| view.lookKind | u8 | What sort of thing it is turned towards. | |
| view.lookX | f32 | Which way the unit is turned, along one ground axis. The three together are a direction rather than a place. | |
| view.lookY | f32 | Which way it is turned, in height. | |
| view.lookZ | f32 | Which way it is turned, along the other ground axis. | |
| view.effectStackCount | u32 | How many effect slots have more than one stacked in them. | |
| view.effectStacks | count in effectStackCount × EffectStack | Those slots and their counts. | |
| view.isChampion | u8 | Whether the unit is a champion. Values: 0 no, 1 yes. | |
| view.movementState | record | remaining set | Where the unit is and what it is doing on the ground. A server also sends this message ending before it. |
| view.movementState.movementKind | u8 | What the unit is doing on the ground, and so which shape follows. A server sends the values for standing and moving. Values: 0 nothing, 1 movingAtASpeed, 2 moving, 3 standing. | |
| view.movementState.syncId | u32 | The name this statement of movement answers to. | |
| view.movementState.movement | Movement | movementKind = 2 | Where the unit is going. Movement says how a path is read. |
| view.movementState.movementAtSpeed | MovementAtSpeed | movementKind = 1 | Where the unit is going, and how a server makes it travel. WaypointGroupAtSpeed carries the same shape. |
| view.movementState.atX | f32 | movementKind = 3 | Where the unit stands, along one ground axis, in world units. |
| view.movementState.atZ | f32 | movementKind = 3 | Where it stands, along the other, in world units. |
| view.movementState.facingX | f32 | movementKind = 3 | Which way it faces, along one ground axis. |
| view.movementState.facingZ | f32 | movementKind = 3 | Which way it faces, along the other. |
EnterLocalSight
What a server sends when a unit comes into what one client can see. The header names the unit this is about.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 173 |
| 4.11–4.17 | 174 |
| Field | Type | Present when | What it is |
|---|---|---|---|
| carried | 2-byte bits | ||
| carried.size | bit 0 to 12 | How many bytes the messages below occupy in total. | |
| carried.unused | bit 13 to 15 | Unused; a server writes zero. | |
| messages | sized by carried.size × CarriedMessage | Whole messages of the same family, each behind its own length, that a client acts on as though they had arrived on their own. | |
| vitals | record | remaining set | The unit’s health. A server sends this message without it too, ending after the carried messages. |
| vitals.maxHealth | f32 | What the unit’s health tops out at. | |
| vitals.health | f32 | What its health stands at. |
Vectors (4)
ending-early-on-4-10, one-on-4-10, ending-early-on-4-17, one-on-4-17
In 4.18–4.20
Command 174 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| carried | u16 | The byte length of the messages carried below, all sixteen bits of it. | |
| messages | sized by carried × CarriedMessage | Whole messages of the same family, each behind its own length, that a client acts on as though they had arrived on their own. | |
| vitals | record | remaining set | The unit’s health. A server sends this message without it too, ending after the carried messages. |
| vitals.maxHealth | f32 | What the unit’s health tops out at. | |
| vitals.health | f32 | What its health stands at. |
Vectors (3)
EnterTeamSight
What a server sends when a unit comes into the view of a whole side. The header names the object this is about.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 223 |
| 4.11–4.20 | 224 |
| Field | Type | What it is |
|---|---|---|
| side | u8 | Which side the unit came into or out of the view of. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
LeaveSight
What a server sends when a unit passes out of what a side can see. The header names the unit this is about.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 80 |
| 4.11–4.20 | 81 |
No body.
Vectors (4)
LeaveTeamSight
What a server sends when a unit passes out of the view of a whole side. The header names the object this is about.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 224 |
| 4.11–4.20 | 225 |
| Field | Type | What it is |
|---|---|---|
| side | u8 | Which side the unit came into or out of the view of. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
ParticleEnterTeamSight
What a server sends as a particle comes into what one side can see. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 225 |
| 4.11–4.20 | 226 |
| Field | Type | What it is |
|---|---|---|
| particle | u32 | The particle. |
| team | u8 | Which side, by an index. |
Vectors (4)
ParticleLeaveTeamSight
What a server sends as a particle passes out of what one side can see. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 226 |
| 4.11–4.20 | 227 |
| Field | Type | What it is |
|---|---|---|
| particle | u32 | The particle. |
| team | u8 | Which side, by an index. |
Vectors (4)
LeaveLocalSight
What a server sends when a unit passes out of what one client can see. Sent for the receiving client’s own champion, it changes nothing the client shows. The header names the unit this is about.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 52 |
| 4.11–4.20 | 53 |
No body.
Vectors (4)
RegionAdded
What a server sends to place a region on the ground. The header names no object: a server writes zero.
In 4.1–4.17
Command 35 on events, sent by the server, reliable.
A region grants sight, blocks the way, or grows cover.
| Field | Type | What it is |
|---|---|---|
| side | u32 | The side the region belongs to. |
| kind | i32 | What sort of region it is. A client makes one only for 0, a circle. Values: 0 circle. |
| clientId | u32 | The client id of the client the region answers to. |
| unit | u32 | The unit the region follows, or zero where it stands still. |
| marker | u32 | The name the region answers to, which RegionRemoved names to take it away. |
| sightFrom | u32 | The unit whose sight the region grants, or zero. |
| atX | f32 | Where the region sits, along one ground axis, in world units. |
| atZ | f32 | Where it sits, along the other, in world units. |
| lifetime | f32 | How long it lasts, in seconds. A lifetime of 0 never runs out. |
| lineOfSightRadius | f32 | How far out the region’s line of sight is reckoned, in world units. |
| grassRadius | f32 | How far out it grows cover, in world units. |
| sizeMultiplier | f32 | What its stated radius is scaled by. |
| sizeAdditive | f32 | What is added to its stated radius after scaling, in world units. |
| does | 4-byte bits | |
| does.lineOfSight | bit 0 | Set where walls and terrain cut the region’s sight. |
| does.grantSight | bit 1 | Set to turn on the region’s sight; sightFrom and revealHidden apply only where it is set. Where it is set, a client clears its map’s cover over the region. |
| does.revealHidden | bit 2 | Set to show hidden units within it, where grantSight is set. |
| does.unused | bit 3 to 31 | Unused; a server writes zero. |
| baseRadius | f32 | The region’s radius, in world units. |
Vectors (1)
In 4.18–4.19
Command 35 on events, sent by the server, reliable.
A region grants sight, blocks the way, or grows cover.
| Field | Type | What it is |
|---|---|---|
| side | u32 | The side the region belongs to. |
| kind | i32 | What sort of region it is. A client makes one only for 0, a circle. Values: 0 circle. |
| clientId | u32 | The client id of the client the region answers to. |
| otherUnit | u32 | A second unit a client looks up and keeps with the region, or zero. |
| unit | u32 | The unit the region follows, or zero where it stands still. |
| marker | u32 | The name the region answers to, which RegionRemoved names to take it away. |
| sightFrom | u32 | The unit whose sight the region grants, or zero. |
| atX | f32 | Where the region sits, along one ground axis, in world units. |
| atZ | f32 | Where it sits, along the other, in world units. |
| lifetime | f32 | How long it lasts, in seconds. A lifetime of 0 never runs out. |
| lineOfSightRadius | f32 | How far out the region’s line of sight is reckoned, in world units. |
| grassRadius | f32 | How far out it grows cover, in world units. |
| sizeMultiplier | f32 | What its stated radius is scaled by. |
| sizeAdditive | f32 | What is added to its stated radius after scaling, in world units. |
| does | 4-byte bits | |
| does.lineOfSight | bit 0 | Set where walls and terrain cut the region’s sight. |
| does.grantSight | bit 1 | Set to turn on the region’s sight; sightFrom and revealHidden apply only where it is set. Where it is set, a client clears its map’s cover over the region. |
| does.revealHidden | bit 2 | Set to show hidden units within it, where grantSight is set. |
| does.unused | bit 3 to 31 | Unused; a server writes zero. |
| baseRadius | f32 | The region’s radius, in world units. |
Vectors (1)
In 4.20
Command 35 on events, sent by the server, reliable.
A region grants sight, blocks the way, or grows cover.
| Field | Type | What it is |
|---|---|---|
| side | u32 | The side the region belongs to. |
| kind | i32 | Unused; a client makes a circle whatever it holds. A server writes 0. |
| object | u32 | An object the region keeps hold of, or zero; it changes nothing a client shows. |
| unit | u32 | The unit the region follows, or zero where it stands still. |
| marker | u32 | The name the region answers to, which RegionRemoved names to take it away. |
| sightFrom | u32 | The unit whose sight the region grants, or zero. |
| atX | f32 | Where the region sits, along one ground axis, in world units. |
| atZ | f32 | Where it sits, along the other, in world units. |
| lifetime | f32 | How long it lasts, in seconds. A lifetime of 0 never runs out. |
| lineOfSightRadius | f32 | How far out the region’s line of sight is reckoned, in world units. |
| grassRadius | f32 | How far out it grows cover, in world units. |
| sizeMultiplier | f32 | What its stated radius is scaled by. |
| sizeAdditive | f32 | What is added to its stated radius after scaling, in world units. |
| does | 1-byte bits | What the region does, in one byte. |
| does.lineOfSight | bit 0 | Set where walls and terrain cut the region’s sight. |
| does.grantSight | bit 1 | Set to turn on the region’s sight; sightFrom and revealHidden apply only where it is set. Where it is set, a client clears its map’s cover over the region. |
| does.revealHidden | bit 2 | Set to show hidden units within it, where grantSight is set. |
| does.unused | bit 3 to 7 | Unused; a server writes zero. |
| baseRadius | f32 | The radius the three size figures above are applied to, in world units. |
Vectors (2)
RegionMoved
What a server sends to move a region of sight, keeping all else about it. The header carries zero.
In 4.11–4.20
Command 36 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| region | u32 | The region, as RegionAdded named it. |
| x | f32 | Where its centre now stands, in world units. |
| z | f32 | Where its centre now stands, in world units. |
Vectors (2)
RegionRemoved
What a server sends to take away a region RegionAdded or RegionAttached placed. The header names no object: a server writes zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 50 |
| 4.11–4.20 | 51 |
| Field | Type | What it is |
|---|---|---|
| region | u32 | The region to take away, by the name RegionAdded gave it. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
FogSet
What a server sends to turn the drawing of the fog of war on or off. It changes only what is drawn. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 170 |
| 4.11–4.20 | 171 |
| Field | Type | What it is |
|---|---|---|
| state | 1-byte bits | Whether the fog is drawn. |
| state.drawn | bit 0 | Set to draw the fog, clear to draw the map with no darkening. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (3)
FogToggled
What a server sends to turn the drawing of the fog of war off where it is on, or on where it is off. It changes only what is drawn: what can be seen is still what a server sends. It carries nothing of its own. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 125 |
| 4.11–4.20 | 126 |
No body.
Vectors (3)
Movement
A unit is moved by a path: a run of points on the ground plane, the first of which is where the unit is and the last where it is going.
Coordinates
A path names one axis of the ground plane and then the other. The height of a point is not carried, and a receiving end takes it from the ground beneath.
Movement and MovementAtSpeed are compact: a path is a run of integer
points, each stated against the one before it, while positions elsewhere are
world floats covering a far larger range (see Space). The two are
related by an origin and a step:
encoded = truncate_toward_zero((world - origin) / 2)
world = origin + 2 * encoded
A path resolves a position to two world units, rounded toward the origin.
Other shapes
MovementAtSpeed carries the same points as Movement with the terms of the
travel stated before them, and WaypointGroupAtSpeed is what carries it. Other
messages carry their points as world floats, and their definitions say so. The
message carrying a movement says which shape it holds.
A unit coming into sight while standing carries its place and facing in
EnterSight instead.
Resolving a path
A path is read into points by taking the first as it stands and then, for each point after it, taking each coordinate either as it stands or by adding the step to the coordinate of the point before. The point before means as that point resolved, not what the wire carried for it, which matters wherever a coordinate stated afresh is followed by one stated as a step.
conformance/vectors/algorithm records the resolution of the paths the
movement vectors carry. They give decoded fields and the points they resolve
to.
What a group can carry
A sending end MUST NOT send a movement with no points; a receiving end refuses it.
The origin
The origin is the midpoint of the bounds a map’s navigation data covers, truncated to a whole number on each axis. Nothing on the wire carries it. Both ends hold it before a match begins, and an end holding a different one misplaces every position it reads.
A server MUST take the origin from the map it is hosting. A server MUST NOT derive the origin from anything a client sent.
Space gives the origin of each map, keyed by the map number a
server sends in VersionSync. A server hosting a map the table leaves out
takes its origin from that map’s navigation data.
Relocating rather than walking
A client answers each group with one WaypointAck, listing every unit in it
that carried a token, with an empty list where none did. A server MAY ignore
it.
A movement whose flag says so carries a token beside the unit (see
Movement). A receiving end remembers one token for each unit, beginning at
zero.
A token unlike the remembered one puts the unit where the path begins rather than walking it there, but only where the unit is far enough away to warrant it: either ground axis differing by more than fifty world units, taken on its own. Fifty exactly does not, and height is not weighed.
A token the receiving end already holds changes nothing, and neither does an unfamiliar one arriving while the unit is near enough. In both the path is followed and the remembered token kept, so a token is taken up only once it has moved something.
A client leaves the flag clear in what it sends, so a token travels only from a server.
What a client asks for and what a server answers
An order from a client is a request: what a unit does is whatever the server sends back.
A client does not move its own champion on a right click by itself: the champion moves only along a path a server sends.
A server moves the champion by answering the MoveOrder with a
WaypointGroup, and the client returns that group’s syncId in a
WaypointAck (see Ordering).
A client sends the path it would take, with its destination beside it in
world floats. A WaypointGroup carrying that path back unchanged moves the
champion along it.
A server MUST send the WaypointGroup that answers a MoveOrder on the
transient channel.
In 4.1–4.19
Where its player has movement prediction on, a client starts its champion toward the point it asked for, and puts it back where it was if no path arrives within 2 seconds. A path carried by
WaypointGroupAtSpeedcannot be overridden by the player’s orders, so a server walks a champion withWaypointGroup.
Marking the ground
NavigationFlags marks the ground within circles.
A server MUST NOT send NavigationFlags: a client fails on the first one a
match brings.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
WaypointGroupAtSpeed
What a server sends to move units along paths of its own choosing, stating how each one travels rather than leaving it to the receiving end. It is what carries a unit thrown, dragged, or carried along by something other than its own walking. The header names no object: it carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 99 |
| 4.11–4.20 | 100 |
| Field | Type | What it is |
|---|---|---|
| syncId | u32 | Names this statement of movement. |
| movementCount | u16 | How many units follow. |
| movements | count in movementCount × MovementAtSpeed | What each unit is told to do. |
WaypointAck
What a client sends once it has taken in a group of movements, naming which group. The header names no object: it carries zero.
In 4.1–4.17
Carried on requests, sent by the client, unsequenced, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 118 |
| 4.11–4.17 | 119 |
It lists the units the group asked it to relocate.
| Field | Type | What it is |
|---|---|---|
| syncId | u32 | Which group is being acknowledged, as the group named itself. |
| relocationCount | u8 | How many relocations follow. |
| relocations | count in relocationCount × record | |
| relocations[].unit | u32 | The unit the token belonged to. |
| relocations[].token | u8 | The token that arrived with it. |
Vectors (2)
In 4.18–4.20
Command 119 on requests, sent by the client, unsequenced.
It lists the units the group asked it to relocate.
| Field | Type | What it is |
|---|---|---|
| syncId | u32 | Which group is being acknowledged, as the group named itself. |
| relocationCount | u8 | How many relocations follow. It counts every movement in the group that carried a token, whether or not the token moved anything. |
| relocations | count in relocationCount × record | |
| relocations[].unit | u32 | The unit the token belonged to. |
| relocations[].token | u8 | The token that arrived with it. |
Vectors (2)
MoveOrder
What a client sends to tell a server what it wants a unit to do. The header names the sender’s champion.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 113 |
| 4.11–4.20 | 114 |
The path it carries is what the client would take; where the unit actually goes is whatever the server answers with.
| Field | Type | What it is |
|---|---|---|
| kind | u8 | What is being asked for. Values: 2 moveToPosition, 3 attack, 10 stop. |
| targetX | f32 | Where the order points, along one ground axis. Carried in world units rather than in the units a path uses. |
| targetZ | f32 | Where the order points, along the other. |
| target | u32 | The network object the order is aimed at, or zero where it is aimed at open ground. |
| movement | Movement |
Vectors (16)
a-long-path-on-4-10, at-a-target-on-4-10, both-afresh-on-4-10, one-on-4-10, one-point-on-4-10, one-step-on-4-10, stopping-on-4-10, z-steps-on-4-10, one-on-4-17, a-long-path-on-4-20, at-a-target-on-4-20, both-afresh-on-4-20, one-point-on-4-20, one-step-on-4-20, stopping-on-4-20, z-steps-on-4-20
WaypointGroup
What a server sends to move units. It carries a number a client returns to say it has taken the group in. The header carries zero or names the object this is about, and a client accepts either.
In every range of this book
Carried on transient, sent by the server, unreliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 96 |
| 4.11–4.20 | 97 |
| Field | Type | What it is |
|---|---|---|
| syncId | u32 | Names this group. A client returns it to say the group arrived. |
| movementCount | u16 | How many units the group moves. |
| movements | count in movementCount × Movement |
NavigationFlags
What a server sends to mark the ground within circles, in place of the circles it marked before: each circle’s flags apply to the ground within it. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 64 |
| 4.11–4.20 | 65 |
A client fails on the first of these in a match: it stops, marking no circle and sending no answer.
| Field | Type | What it is |
|---|---|---|
| count | u16 | The count of circles that follow. |
| syncId | i32 | A number naming this marking. |
| circles | count in count × record | The circles. |
| circles[].x | f32 | The circle’s centre, along one ground axis, in world units. |
| circles[].z | f32 | The circle’s centre, along the other ground axis, in world units. |
| circles[].radius | f32 | Its radius, in world units. A circle of radius 1000 or more marks nothing. |
| circles[].flags | u32 | The flags to add to each cell. Only the low 16 bits take effect. |
Vectors (3)
DrawPath
What a client sends as its player draws a path with the right mouse button, once a server has turned drawing on (DrawPathMode). The header names the sender’s champion.
In every range of this book
Command 262 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The sender’s champion. |
| node | u8 | Where in the stroke this point falls. Values: 0 start, 1 update, 2 end. |
| x | f32 | Where the cursor points on the ground, along one axis, in world units. |
| y | f32 | Its height, in world units. |
| z | f32 | Where the cursor points on the ground, along the other axis, in world units. |
Vectors (2)
DrawPathMode
What a server sends its player’s champion to have the player draw paths with the mouse. The header names the champion. While on, each right click on the world also sends DrawPath. A client sets how often a held right click repeats a move to the interval, at least 0.1 seconds, whether on or off.
In every range of this book
Command 261 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | It has no effect. |
| mode | u8 | Zero to turn drawing off, any other value to turn it on. |
| interval | f32 | Seconds between repeats of a held right click. |
Vectors (2)
FaceDirection
What a server sends to turn a unit to face a direction. The header names the unit acting.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 79 |
| 4.11–4.17 | 80 |
| Field | Type | What it is |
|---|---|---|
| towardX | f32 | The direction faced, along one ground axis. |
| towardY | f32 | The direction faced, in height. |
| towardZ | f32 | The direction faced, along the other ground axis. |
| how | 1-byte bits | |
| how.turnOverTime | bit 0 | Set to turn over turnTime, at least 0.0001 seconds; clear to face the direction at once, with turnTime having no effect and the usual turn rate restored. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
| turnTime | f32 | How long the turn takes, in seconds. |
Vectors (2)
In 4.18–4.20
Command 80 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.turnOverTime | bit 0 | Set where the turn takes the time named below rather than happening at once. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
| towardX | f32 | The direction faced, along one ground axis. |
| towardY | f32 | The direction faced, in height. |
| towardZ | f32 | The direction faced, along the other ground axis. |
| turnTime | f32 | How long the turn takes, in seconds. |
Vectors (2)
FacePosition
What a client sends when a script it runs turns a unit to face a point. A server need do nothing with it. The header names the unit turned.
In 4.1–4.8
Command 79 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| directionX | f32 | Which way the unit now faces, as a direction of length one, along one ground axis. |
| directionY | f32 | Which way the unit now faces, as a direction of length one, in height. |
| directionZ | f32 | Which way the unit now faces, as a direction of length one, along the other ground axis. |
| unused | u8 | A client writes zero. |
| unknown | f32 | A client writes 0.1. |
Vectors (1)
MovementBounds
What a server sends to set a circle that a client keeps its view or its champion’s orders within. The header carries zero.
In every range of this book
Command 6 on events, sent by the server, reliable.
A client pulls an order to a point outside onto the circle’s edge before sending it, and drops an order at an object outside.
| Field | Type | What it is |
|---|---|---|
| x | f32 | The circle’s centre, in world units. |
| y | f32 | The centre’s height, in world units. |
| z | f32 | The circle’s centre, in world units. |
| radius | f32 | The circle’s radius, in world units. Zero lifts the bounds; a negative radius counts as zero. |
| flags | 1-byte bits | What else the circle holds. |
| flags.camera | bit 0 | Set to keep the camera within the circle too. Clear leaves the camera as it was, bound or not. |
| flags.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
Path
What a server sends to set a unit walking along a path, facing the way it walks. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 184 |
| 4.11–4.20 | 185 |
A client answers every one at once, unsequenced on the transient channel, with ten bytes: WaypointAck’s command, a net id of zero, this sync id, and one byte that is arbitrary and carries no meaning. It applies it only where the sync id is not older than the last the unit took (as UnitStopped).
| Field | Type | What it is |
|---|---|---|
| syncId | i32 | The unit’s movement count. |
| points | to the end × record | The path’s points, to the end of the message. A client takes the ground’s height for each. |
| points[].x | f32 | A point on the path, in world units. |
| points[].z | f32 | A point on the path, in world units. |
Vectors (3)
PathWithSpeed
What a server sends to set a unit moving along a path at a speed of its own, perhaps in an arc. The header names the unit.
In 4.1–4.14
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 130 |
| 4.11–4.14 | 131 |
A client answers every one at once, as it answers Path, whatever its sync id. It applies it only where the sync id is not older than the last the unit took (as UnitStopped). A unit can follow another unit.
| Field | Type | What it is |
|---|---|---|
| syncId | i32 | The unit’s movement count. |
| speed | f32 | The speed to move at, in world units a second. |
| gravity | f32 | The arc’s gravity, for a leap, in units of 150 world units a second squared. Zero or less moves the unit flat. |
| arcX | f32 | Where the arc begins, in world units. |
| arcZ | f32 | Where the arc begins, in world units. |
| facing | i8 | Which way the unit faces as it moves. Values: 0 along, 1 keep. |
| follow | u32 | A unit to follow, or zero for none. |
| followDistance | f32 | How near to keep to it, in world units. It takes effect only where follow is not zero. |
| backOff | f32 | How far to fall back from it, in world units. It takes effect only where follow is not zero. |
| travelTime | f32 | How long the move takes, in seconds. It takes effect only where follow is not zero. |
| points | to the end × record | The path’s points, to the end of the message. A client takes the ground’s height for each. |
| points[].x | f32 | A point on the path, in world units. |
| points[].z | f32 | A point on the path, in world units. |
Vectors (2)
In 4.15–4.16
Command 131 on events, sent by the server, reliable.
A client answers every one at once, as it answers Path, whatever its sync id. It applies it only where the sync id is not older than the last the unit took (as UnitStopped). A unit can follow another unit.
| Field | Type | What it is |
|---|---|---|
| syncId | i32 | The unit’s movement count. |
| speed | f32 | The speed to move at, in world units a second. |
| gravity | f32 | The arc’s gravity, for a leap, in units of 150 world units a second squared. Zero or less moves the unit flat. |
| arcX | f32 | Where the arc begins, in world units. |
| arcZ | f32 | Where the arc begins, in world units. |
| facing | u8 | Which way the unit faces as it moves. Values: 0 along, 1 keep. |
| follow | u32 | A unit to follow, or zero for none. |
| followDistance | f32 | How near to keep to it, in world units. It takes effect only where follow is not zero. |
| backOff | f32 | How far to fall back from it, in world units. It takes effect only where follow is not zero. |
| travelTime | f32 | How long the move takes, in seconds. It takes effect only where follow is not zero. |
| points | to the end × record | The path’s points, to the end of the message. A client takes the ground’s height for each. |
| points[].x | f32 | A point on the path, in world units. |
| points[].z | f32 | A point on the path, in world units. |
Vectors (1)
In 4.17
Command 131 on events, sent by the server, reliable.
A client answers every one at once, as it answers Path, whatever its sync id. It applies it only where the sync id is not older than the last the unit took (as UnitStopped). A unit can follow another unit.
| Field | Type | What it is |
|---|---|---|
| syncId | i32 | The unit’s movement count. |
| speed | f32 | The speed to move at, in world units a second. |
| gravity | f32 | The arc’s gravity, for a leap, in units of 150 world units a second squared. Zero or less moves the unit flat. |
| arcX | f32 | Where the arc begins, in world units. |
| arcZ | f32 | Where the arc begins, in world units. |
| facing | i8 | Which way the unit faces as it moves. Values: 0 along, 1 keep. |
| follow | u32 | A unit to follow, or zero for none. |
| followDistance | f32 | How near to keep to it, in world units. It takes effect only where follow is not zero. |
| backOff | f32 | How far to fall back from it, in world units. It takes effect only where follow is not zero. |
| travelTime | f32 | How long the move takes, in seconds. It takes effect only where follow is not zero. |
| points | to the end × record | The path’s points, to the end of the message. A client takes the ground’s height for each. |
| points[].x | f32 | A point on the path, in world units. |
| points[].z | f32 | A point on the path, in world units. |
Vectors (1)
In 4.18–4.20
Command 131 on events, sent by the server, reliable.
A client answers every one at once, as it answers Path, whatever its sync id. It applies it only where the sync id is not older than the last the unit took (as UnitStopped). A unit can follow another unit.
| Field | Type | What it is |
|---|---|---|
| syncId | i32 | The unit’s movement count. |
| speed | f32 | The speed to move at, in world units a second. |
| gravity | f32 | The arc’s gravity, for a leap, in units of 150 world units a second squared. Zero or less moves the unit flat. |
| arcX | f32 | Where the arc begins, in world units. |
| arcZ | f32 | Where the arc begins, in world units. |
| facing | u8 | Which way the unit faces as it moves. Values: 0 along, 1 keep. |
| follow | u32 | A unit to follow, or zero for none. |
| followDistance | f32 | How near to keep to it, in world units. It takes effect only where follow is not zero. |
| backOff | f32 | How far to fall back from it, in world units. It takes effect only where follow is not zero. |
| travelTime | f32 | How long the move takes, in seconds. It takes effect only where follow is not zero. |
| points | to the end × record | The path’s points, to the end of the message. A client takes the ground’s height for each. |
| points[].x | f32 | A point on the path, in world units. |
| points[].z | f32 | A point on the path, in world units. |
Vectors (1)
UnitLookAt
What a server sends to turn a unit toward something. Its identifier is wider than a byte, so it travels behind the escape. The header names the unit acting.
In every range of this book
Command 271 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| kind | u8 | What the unit’s model turns to look at; not which way it faces. A client ignores 3 and above, keeping what it looked at before. Values: 0 direction, 1 point, 2 unit. |
| x | f32 | Where to look, along one ground axis, in world units. |
| y | f32 | Where to look, in height, in world units. |
| z | f32 | Where to look, along the other ground axis, in world units. |
| target | u32 | The network object being looked at, where one is named. |
Vectors (2)
UnitStopped
What a server sends to stop a unit where it stands. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 48 |
| 4.11–4.20 | 49 |
A client applies it only where its sync id is not older than the last the unit took, counting a wrap: this message, PathWithSpeed and Path share one count per unit, starting at -1.
| Field | Type | What it is |
|---|---|---|
| x | f32 | Where the unit stands, in world units; a client keeps this height rather than the ground’s. |
| y | f32 | Its height, in world units. |
| z | f32 | Where it stands, in world units. |
| facingX | f32 | The way it faces. |
| facingY | f32 | The way it faces. |
| facingZ | f32 | The way it faces. |
| syncId | i32 | The unit’s movement count. |
Vectors (3)
Replication
With Replication a server states what has changed about the units a client
can see: for each unit, the groups of values it carries and which values of
each follow. What the values are follows from the unit.
The groups follow in the order 0, 1, 2, 3, 5 and then 4: group 4 comes last, each behind the length of its run. A sending end MUST write each group’s length as the number of bytes its run takes.
Each value takes one of two shapes, and the table row naming it says which. Nothing on the wire carries a table, a field name, a width or a shape, so an end that does not already hold the table cannot read a run.
A value that counts is a thirty two bit unsigned integer, and a value with a sign travels as the same thirty two bits. It takes seven bits from each byte, lowest seven first, and the top bit of a byte is set while another byte follows. Five bytes therefore carry anything it holds.
A value that measures takes one of three forms: a single byte of 255 meaning zero; a byte of 254 followed by four bytes; or four bytes on their own. The four bytes are the measure itself, a thirty two bit float, lowest byte first. A sending end MUST write the byte of 254 before a measure whose lowest byte is 254 or 255, and MUST NOT write it before any other. A measure written plain therefore never begins with either, so its first byte says which form it takes.
What settles a reading
A run is a sequence of values with nothing between them, in the order the set bits name them, lowest first.
The bit that names a value means different things for different units. Champions, turrets, minions and units belonging to no side, and buildings each answer to a table of their own, so the same bit in the same group is one value on one unit and another on the next. A sending end MUST write the table the unit it names answers to.
Props answer to a table of their own as well.
Which table a unit answers to follows from the message that put it on the field (see Units). A building, which no message creates, answers to the building table.
A building answers to the building table of the map loaded.
Which batches a client takes
A client answers a batch with TransientAck where it holds every unit the
batch names, whether or not it took the values. Ordering says
which batches a client takes, and what that requires of a server.
Reading the tables
Each row gives the group and bits that name a value and what the value is.
Each row also gives the shape a sending end writes the value in.
A champion
| Group | Bits | Value | Shape |
|---|---|---|---|
| 0 | 0 | Gold in hand | measured |
| 0 | 1 | Gold earned in all | measured |
| 0 | 2 to 3 | Which of the champion’s slots can be cast from, as a set of bits over two words | counted |
| 0 | 4 to 5 | Which summoner slots can be cast from, as a set of bits over two words | counted |
| 0 | 6 | Points held for evolving a spell | counted |
| 0 | 7 | Which spells have evolved, as a set of bits | counted |
| 0 | 8 to 27 | What the spell in one slot costs | measured |
| 1 | 0 to 4 | What the champion is doing, and four kinds of harm it is proof against | counted |
| 1 | 5 | Damage it deals by striking | measured |
| 1 | 6 | Damage its spells deal before modifiers | measured |
| 1 | 7 | How often it turns a blow aside | measured |
| 1 | 8 | How often it strikes critically | measured |
| 1 | 9 | Armour | measured |
| 1 | 10 | Spell resistance | measured |
| 1 | 11 to 12 | How fast health and resource return | measured |
| 1 | 13 | How far it strikes from | measured |
| 1 | 14 to 16 | Flat and percent modifiers on the damage it strikes with, then the flat modifier on its spells’ damage | measured |
| 1 | 17 to 18 | Flat and percent reduction of the spell damage it takes | measured |
| 1 | 19 | A multiplier on how fast it strikes | measured |
| 1 | 20 | A flat addition to how far from the champion an aimed spell’s point is allowed to land | measured |
| 1 | 21 | A modifier on its cooldowns | measured |
| 1 | 22 | When its passive’s cooldown ends, as a moment on the match clock | measured |
| 1 | 23 | How long its passive’s cooldown lasts in all | measured |
| 1 | 24 to 25 | How much armour it cuts through, flat then as the share left standing | measured |
| 1 | 26 to 27 | How much spell resistance it cuts through, flat then as the share left standing | measured |
| 1 | 28 | Life steal | measured |
| 1 | 29 | Spell vamp | measured |
| 1 | 30 | Crowd-control reduction | measured |
| 2 | 0 to 1 | How much more armour and spell resistance it cuts through, as the share left standing | measured |
| 3 | 0 to 1 | Health and resource as they stand | measured |
| 3 | 2 to 3 | Health and resource at their greatest | measured |
| 3 | 4 | Experience | measured |
| 3 | 5 to 9 | Lifetime, and how far the champion sees | measured |
| 3 | 10 | How fast it moves | measured |
| 3 | 11 to 12 | Its size, and how wide a path it needs | measured |
| 3 | 13 | Level | counted |
| 3 | 14 to 16 | Kills taken from no side, and whether anything is allowed to aim at it | counted |
Bit 2 holds which of slots 0 to 3 can be cast from, one bit for each slot, set as a champion learns the spell in it, and bit 4 holds which summoner spells can be cast from, as a mask in which a server sets its bits 4 and 5, one for each summoner slot. Bits 3 and 5 of the group carry zero. Sides and slots numbers the slots.
Bits 8 to 11 carry what the spells in slots 0 to 3 cost. A server sets bits 8 to 27 together and writes zero in bits 12 to 27. It leaves bits 6 and 7, and group 1 bit 31, clear.
A server writes 0x800007 in group 1 bit 0.
What a client shows from this table
A client shows, for a champion:
- its health and resource bars, as they stand (group 3 bits 0 and 1) out of their greatest (bits 2 and 3);
- its level (group 3 bit 13), on the portrait and over the health bar, together with the spell points that level brings;
- its gold (group 0 bit 0);
- in the panel under its portrait, ability power (group 1 bit 6), armour (bit 9), spell resistance (bit 10), movement speed (group 3 bit 10), and attack speed as the champion’s own base attack speed times group 1 bit 19;
- in its panel of statistics, group 1 bit 21 as cooldown reduction, its size as a percent whatever its sign; bits 28 and 29 as life steal and spell vamp, and bit 30 as tenacity, each a fraction shown as a percent; and bits 24 and 26 as flat penetration of armour and of spell resistance.
The attack damage the panel under the portrait shows is the client’s own figure for the champion’s level, with group 1 bit 14 added to it and drawn as a bonus.
Until a champion’s first batch arrives, the panel shows figures the client holds for that champion. Once one arrives, it shows the values batches carry, and armour, spell resistance, ability power and movement speed read 0 where no batch has carried them.
Each percent penetration field carries the share of armour or spell resistance left standing, 1 where nothing is cut through. The panel shows what two of them cut through together, as 200 percent less both shares in percent: bit 25 of group 1 with bit 0 of group 2 for armour, and bit 27 of group 1 with bit 1 of group 2 for spell resistance.
A spell’s cooldown lasts its base length times one plus the modifier at bit 21, so a reduction is carried as a negative fraction and the panel shows its size.
Bit 22 sets the countdown a client shows on the champion’s passive. It is a
moment on the match clock (see Time), in seconds, on the same clock as the time a
ClockSync carries, and not the time left: 120 at the opening of a match starts
the countdown from 2:00. Once that moment has passed, the passive shows ready.
Bit 23 is how long the whole cooldown lasts, in seconds, and a client shades the
passive’s icon by the time left over that length; the countdown itself follows
bit 22 alone.
A turret
| Group | Bits | Value | Shape |
|---|---|---|---|
| 1 | 0 to 1 | Resource at its greatest, then as it stands | measured |
| 1 | 2 to 6 | What the turret is doing, and four kinds of harm it is proof against | counted |
| 1 | 7 | Damage it deals by striking | measured |
| 1 | 8 | Armour | measured |
| 1 | 9 to 14 | Spell resistance, the modifiers on its damage, and how fast health returns | measured |
| 3 | 0 to 1 | Health as it stands, then at its greatest | measured |
| 3 | 2 to 3 | How far it sees | measured |
| 3 | 4 | How fast it moves | measured |
| 3 | 5 | Its size | measured |
| 5 | 0 to 1 | Whether anything is allowed to aim at it, and which side is | counted |
Where a server raises a turret’s health at its greatest, it raises health as it stands to the same value.
A minion, and a unit belonging to no side
Both answer to one table.
| Group | Bits | Value | Shape |
|---|---|---|---|
| 1 | 0 to 1 | Health as it stands, then at its greatest | measured |
| 1 | 2 to 4 | How long it lives, as it stands and at its greatest, and the count of that | measured |
| 1 | 5 to 6 | Resource at its greatest, then as it stands | measured |
| 1 | 7 to 11 | What the unit is doing, and four kinds of harm it is proof against | counted |
| 1 | 12 | Damage it deals by striking | measured |
| 1 | 13 to 31 | Its defences and the modifiers on them | measured |
| 3 | 0 to 1 | How far it sees | measured |
| 3 | 2 | How fast it moves | measured |
| 3 | 3 | Its size | measured |
| 3 | 4 to 5 | Whether anything is allowed to aim at it, and which side is | counted |
A building
Inhibitors and nexuses, each named by the identifier Objects and identifiers gives its name. Where a server replicates a map’s buildings, it sends these two groups and nothing else. On map 8 it replicates none.
| Group | Bits | Value | Shape |
|---|---|---|---|
| 1 | 0 | A health figure | measured |
| 1 | 1 | Whether the building is proof against harm | counted |
| 5 | 0 to 1 | Whether anything is allowed to aim at it, and which side is | counted |
The health figure does not follow the building’s health. A server SHOULD send
an inhibitor’s as 4000 on maps 1 and 11 and 3000 on map 10, a nexus’s as 5500 on those three, and every
building’s as 0 on map 12. A server SHOULD NOT change it, even as a building
is destroyed. A server first names a building in the EnterSight that brings it
into a side’s sight.
A prop
A server need not replicate a prop’s values. Where it does, they follow the table below.
| Group | Bits | Value | Shape |
|---|---|---|---|
| 1 | 0 to 1 | Health as it stands, then at its greatest | measured |
| 1 | 2 | Whether the prop is proof against harm | counted |
| 3 | 0 to 1 | How far it sees | measured |
| 3 | 2 | How fast it moves | measured |
| 3 | 3 | Its size | measured |
| 3 | 4 to 5 | Whether anything is allowed to aim at it, and which side is | counted |
Values stated outside a batch
Besides its batches, a server states some values with messages of their own.
A server grants experience with ExperienceGained and gold with GoldGained.
A server can send the gold a unit earns to another with GoldRedirect. A level
gained is LevelUp, which on its own is enough for a client to show the new
level on its champion’s portrait. A server sets a champion’s tallies for the
scoreboard with ChampionStats. A server can also add to a unit’s shield
(ShieldAdded), change how its health bar or resource bar is shown
(HealthBar, ResourceDisplay), change the sort of resource it has
(ResourceKindChanged), set the highest level a champion reaches
(LevelCap), and count minions killed, scores and deeds (MinionKillCount,
ScoreAdded, StatisticIncremented).
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
Replication
What a server sends to say what has changed about units a client can see. It is the most frequent thing a server sends. The header names no object: a server writes zero.
In every range of this book
| Builds | Command | Carried |
|---|---|---|
| 4.1–4.10 | 195 | on transient, sent by the server, unreliable |
| 4.11–4.17 | 196 | on transient, sent by the server, unreliable |
| 4.18–4.20 | 196 | on transient, or on events reliable, sent by the server, unreliable |
| Field | Type | What it is |
|---|---|---|
| syncId | u32 | Names this batch of changes. Replication says which batches a client takes values from. |
| unitCount | u8 | How many units follow. |
| units | count in unitCount × Replication |
TransientAck
What a client sends to say a batch of changes arrived, naming which batch. The header names no object: it carries zero.
In every range of this book
Carried on requests, sent by the client, unsequenced, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 167 |
| 4.11–4.20 | 168 |
It is sent for a batch whose values the client dropped as well as for one it took.
| Field | Type | What it is |
|---|---|---|
| syncId | u32 | Which batch is being acknowledged, as the batch named itself. |
Vectors (4)
GoldGained
What a server sends to show a unit gaining gold. The header names the unit whose death earned the gold, as source does.
In every range of this book
Command 34 on events, sent by the server, reliable.
It grants the unit gold.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit granted it. |
| source | u32 | What it came from, or zero where nothing did. |
| amount | f32 | How much. |
Vectors (3)
ExperienceGained
What a server sends to say a unit gained experience. The header names no object: a server writes zero.
In every range of this book
Command 16 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit granted it. |
| amount | f32 | How much. |
Vectors (3)
GoldRedirect
What a server sends to send the gold a unit earns to another. The header names the unit.
In every range of this book
Command 7 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit that receives the gold. |
Vectors (2)
LevelUp
What a server sends when a unit gains a level. The header names the unit this is about. On its own, with no replication behind it, it is enough for a client to show the new level on the champion’s portrait and offer the unspent points.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 62 |
| 4.11–4.20 | 63 |
| Field | Type | What it is |
|---|---|---|
| level | u8 | The level now reached. |
| pointsToSpend | u8 | How many spell points are left unspent. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
ChampionStats
What a server sends to set a champion’s tallies for the scoreboard. The header names the champion.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 69 |
| 4.11–4.17 | 70 |
| Field | Type | What it is |
|---|---|---|
| size | u32 | The whole length of what follows the header, these four bytes included, as a whole 32-bit count. A mismatch has no effect, and does not limit what a client takes. |
| values | bytes, sized by size minus 4 | One value per tally of the match’s mode, the tallies in ascending byte order of their names. An int takes 4 bytes, a float 4, a bool 1, a 64-bit int 8, and text a 16-bit length below 255 then that many bytes. Bytes left over have no effect. A nonzero count of champion kills marks first blood taken. |
Vectors (2)
In 4.18–4.20
Command 70 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| size | u32 | The whole length of what follows the header, these four bytes included, as a whole 32-bit count. A mismatch has no effect, and does not limit what a client takes. |
| values | bytes, sized by size minus 4 | The figures themselves, one after another with nothing between. Which they are comes from the client’s own data for the match’s mode. In a classic match there are 76, in this order: assists, inhibitors destroyed, champion kills, consumables bought, double kills, experience (f32), own inhibitors lost, own nexus lost, own turrets lost, gold earned (f32), gold spent (f32), nexus destroyed, player id, the items in slots 0 to 6, items bought, killing sprees, largest critical strike (f32), largest killing spree, largest multikill, level, longest time alive (f32), magic damage dealt (f32), magic damage to champions (f32), magic damage taken (f32), minions killed, name (text), neutral monsters killed, monsters killed in the enemy’s jungle, monsters killed in the side’s own jungle, never entered the game, deaths, penta kills, physical damage dealt, to champions and taken (f32 each), ping, quadra kills, sight wards bought, skin, casts of spells 1 to 4, casts of summoner spells 1 and 2, epic monsters killed, side, a teammate never entered the game, time since the last disconnection (f32), time played (f32), time disconnected (f32), total damage dealt, to champions and taken (f32 each), total healing, crowd control dealt (f32), time dead (f32), units healed, triple kills, true damage dealt, to champions and taken (f32 each), turrets destroyed, unreal kills, vision wards bought, wards destroyed, wards placed, away from the keyboard, away after a failed surrender, and win (text). Every one not marked otherwise is an i32; a text is a 16-bit length and that many bytes, at most 63, with nothing to end it. ARAM, First Blood and One for All leave out the two jungle counts. The tutorial also leaves out never entered the game, sight wards bought, a teammate never entered the game, crowd control dealt, the three true damage figures, vision wards bought, wards destroyed, wards placed and away after a failed surrender. Dominion and Ascension have 75, in this order: assists, champion kills, combat score (f32), consumables bought, double kills, experience (f32), gold earned (f32), gold spent (f32), player id, the items in slots 0 to 6, items bought, killing sprees, largest critical strike (f32), largest killing spree, largest multikill, level, longest time alive (f32), magic damage dealt, to champions and taken (f32 each), minions killed, name (text), neutral monsters killed, never entered the game, node captures, node capture assists, node neutralizations, node neutralization assists, deaths, objective score (f32), penta kills, physical damage dealt, to champions and taken (f32 each), ping, quadra kills, sight wards bought, skin, casts of spells 1 to 4, casts of summoner spells 1 and 2, side, a teammate never entered the game, team objective, time since the last disconnection (f32), time played (f32), time disconnected (f32), total damage dealt, to champions and taken (f32 each), total healing, total score (f32), total score rank, crowd control dealt (f32), time dead (f32), units healed, triple kills, true damage dealt, to champions and taken (f32 each), unreal kills, victory points (f32), vision wards bought, away from the keyboard, away after a failed surrender, and win (text). |
Vectors (2)
ShieldAdded
What a server sends to add to a unit’s shield. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 101 |
| 4.11–4.20 | 102 |
Both physical and magical set adds amount to the shield that takes either kind of damage; one of them, to that kind’s shield; neither, to nothing. A negative amount lowers it, and any shield left below 0.001 becomes zero. noFade clear does not restart a fade already stopped.
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | Which shield. |
| flags.physical | bit 0 | Set where the shield turns aside physical damage. |
| flags.magical | bit 1 | Set where it turns aside magical damage. Both set means either. |
| flags.noFade | bit 2 | Set where the shield does not fade. |
| flags.unused | bit 3 to 7 | Unused; a server writes zero. |
| amount | f32 | How much is added. |
Vectors (4)
HealthBar
What a server sends about a unit’s health bar. The header names the unit.
In 4.1–4.19
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 205 |
| 4.11–4.19 | 206 |
| Field | Type | Present when | What it is |
|---|---|---|---|
| flags | 1-byte bits | What changes. | |
| flags.show | bit 0 | Set to show the bar, clear to hide it. | |
| flags.changeType | bit 1 | Set where the bar’s type changes; the type and side below apply only then. | |
| flags.unused | bit 2 to 7 | Unused; a server writes zero. | |
| barType | u8 | flags.changeType set | Which sort of bar, applying only where changeType is set and side is the client’s player’s side or zero: 1 a unit’s, 2 a champion’s; any other value only makes sure the unit has a bar. |
| side | i32 | flags.changeType set | The side that sees the change, or 0 for every side. |
Vectors (4)
In 4.20
Command 206 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| flags | 1-byte bits | What changes. | |
| flags.show | bit 0 | Set to show the bar, clear to hide it. | |
| flags.changeType | bit 1 | Set where the bar’s type changes; the type and side below apply only then. | |
| flags.unused | bit 2 to 7 | Unused; a server writes zero. | |
| barType | u8 | Which sort of bar, applying only where changeType is set and side is the client’s player’s side or zero: 1 a unit’s, 2 a champion’s; any other value only makes sure the unit has a bar. | |
| side | i32 | flags.changeType set | The side that sees the change, or 0 for every side. |
Vectors (1)
ResourceDisplay
What a server sends to change how a unit’s resource bar is shown. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 146 |
| 4.11–4.20 | 147 |
| Field | Type | What it is |
|---|---|---|
| unused | u32 | Unused; its bytes carry no meaning. The header names the unit. |
| state | i32 | Which way the resource is shown; a client sets the unit’s resource bar by it, and what each value looks like depends on the unit’s own data. |
Vectors (4)
ResourceKindChanged
What a server sends to change what sort of resource a unit has, which its bar’s colours and art follow. The header names the unit.
In 4.1–4.10
Command 275 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| kind | u8 | The kind. A client knows 0 to 11, and takes any higher value as none. Values: 0 mana, 1 energy, 2 none, 3 shield, 4 battleFury, 5 dragonFury, 6 rage, 7 heat, 8 ferocity, 9 bloodWell, 10 wind, 11 other. |
In 4.11–4.20
Command 275 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| kind | u8 | The kind. Values: 0 mana, 1 energy, 2 none, 3 shield, 4 battleFury, 5 dragonFury, 6 rage, 7 heat, 8 gnarFury, 9 ferocity, 10 bloodWell, 11 wind, 12 other. |
Vectors (2)
LevelCap
What a server sends its player’s champion to set the highest level it can reach. The header names the champion.
In every range of this book
Command 274 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| cap | u8 | The highest level; zero restores the usual 18. |
Vectors (2)
MinionKillCount
What a server sends to add one to a champion’s count of minions killed. The header carries zero.
In 4.3–4.20
Command 287 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| champion | u32 | The champion. |
Vectors (2)
ScoreAdded
What a server sends to add to a player’s score. The header names no object: a server writes zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 216 |
| 4.11–4.20 | 217 |
A client ignores the message where player names no champion it holds.
| Field | Type | What it is |
|---|---|---|
| champion | u32 | The champion whose score it is. |
| category | u8 | Which part of the score. Values: 0 offense, 1 defense, 2 combat, 3 objective. |
| event | u8 | What earned it. |
| flags | 1-byte bits | How it is shown. |
| flags.callout | bit 0 | Set where the client announces it. |
| flags.unused | bit 1 to 7 | Unused; a server writes zero. |
| points | f32 | How much is added. |
Vectors (3)
StatisticIncremented
What a server sends to add one to a champion’s count of a deed, as counted for the end of a match. Nothing shows at once. A client ignores it where the id names no champion. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 217 |
| 4.11–4.20 | 218 |
| Field | Type | What it is |
|---|---|---|
| champion | u32 | The champion. |
| statistic | u8 | Which count. A value past those named has no defined effect. Values: 0 pointCaptured, 1 pointNeutralised, 2 killWhileAttackingPoint, 3 teamObjective, 4 defendedPointNeutralised, 5 killWhileDefendingPoint, 6 timeDefendingPoint, 7 lastStand, 8 captureAssist, 9 neutraliseAssist. |
Vectors (4)
GoldEarned
What a server sends about gold a champion earned. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 227 |
| 4.11–4.20 | 228 |
A server sends it to clients watching a match. It credits the champion with the gold.
| Field | Type | What it is |
|---|---|---|
| owner | u32 | The champion credited. |
| amount | f32 | How much gold. 0.95 is what a champion earns for each step it stands still. |
Vectors (4)
GoldSourcesLog
What a server sends to carry a text to a client. It changes nothing a client shows. The header carries zero.
In every range of this book
Command 282 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| length | u32 | How many bytes of text follow. Zero, or a value above 2147483647, carries no text. |
| text | text, sized by length | The text, with no terminating zero. A client looks each word up in its own text and writes the result a line at a time. |
Vectors (2)
MultikillCount
What a server sends a client watching a match to state a champion’s run of kills. The header carries zero.
In every range of this book
Command 277 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| owner | u32 | The champion. |
| count | u8 | How many kills in the run. |
Vectors (2)
StatTick
What a server sends to advance every unit’s stats by a span of time. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 39 |
| 4.11–4.20 | 40 |
A client takes it and changes nothing it shows.
| Field | Type | What it is |
|---|---|---|
| seconds | f32 | The span, in seconds. |
Vectors (3)
The match
How a match runs once play has begun, apart from the field: its clock, holds, its end, and players leaving and coming back.
The clock
A server states how long the match has run with ClockSync, and a client
answers on the clock channel with ClockReply. Time says how the
match clock is kept, and which clock each time on the wire is measured
against.
GameSpeed sets how fast the match runs. StatTick hands every unit a span of
seconds.
In 4.1–4.19
A client shows the speed
GameSpeedsets over its champion. A client changes nothing it shows forStatTick.
In 4.1–4.19
Sent during a hold,
GameSpeedtakes effect as the match resumes.
StatTick asks every unit’s stats to advance by that span.
Holding and resuming
A client asks to hold the match with Pause, and to resume it with Resume. A
server MUST attribute each to the connection it arrived on (see Objects and
identifiers).
In 4.18–4.19
A client puts 0 in the client id of
PauseandResume, the same id as the first seat’s, so a server takes no seat from that field.
A server holds the match with Paused.
Paused carries how long the hold can last, in seconds.
In 4.1–4.19
A client begins a hold only where the time
Pausedcarries is above zero and the match is not already held.
In 4.1–4.19
A client shows a tournament’s hold, crediting the seat that asked, where the message says it is one.
A server ends the hold with Resumed.
Resumed ends the hold either at once or after a countdown the client shows,
during which the match stays held.
A client announces in chat who resumed the match.
Input stays locked during the countdown.
The end
A server ends the match with GameEnded, saying which side won, and takes the
interface down with HudDisabled. A client shows the win or loss for its
player’s side and sends ClientFinished.
In 4.1–4.19
A client that receives
GameEndedwhile still loading leaves at once.
A client sends ClientFinished once, and not while playing a replay.
VictoryDance sets units moving as winners or losers do. It ends nothing.
VictoryDance moves every unit.
Leaving and coming back
A client leaving as one abandoning the match sends Exit: as its player quits
or closes the window, as a reconnection fails, or on a server’s Shutdown,
which has it leave at once. A client also leaves at once on BotKick with the
action that means leave.
In 4.1–4.17
The action of
BotKickthat means leave is 4.
In 4.18–4.20
The action of
BotKickthat means leave is 5.
A server tells the others that a player’s client dropped with
PlayerDisconnected.
In 4.1–4.19
A client shows a notice in chat for
PlayerDisconnected.
SoftReconnect rebuilds a client’s world without a new connection, as
Objects and identifiers describes.
A client started again for a match in progress knows nothing of it, and joins
as at the start: a server takes it through Joining a match
from registering to StartGame, with a spawn run that states the field as it
stands, and a ClockSync.
A client the server drops with the reason that means its player was away shows that, and does not connect again.
A server MUST NOT send SpawnStart to a client coming back from a drop: it
returns the client to spawning, from which only another StartGame brings it
back into play.
In 4.1–4.19
Reconnectedannounces that another player came back. A client shows it for an ally, or for anyone while it watches the match, and only notes it where it names its own client.
A client dropped during play connects again by itself, registers again, and
sends ReconnectedInMatch right after the registration answer; one dropped
while loading leaves instead.
A client dropped during play connects again to the same address and port, and
shows its player that it is reconnecting until it is back. It goes on where it
was: it asks for no status and no version, loads nothing, and keeps every
seat, name and identifier it held. A server answers with SoftReconnect,
sending between its two stages a message creating each unit the client is to
hold.
Staying connected
In 4.1–4.19
A client’s view report,
Camera, goes out as its view moves at least 200 units, at most every tenth of a second, and never while its view is locked.
Once loading is done, a client gives up on a connection where a reliable message it sent goes unacknowledged for 15 seconds.
In 4.1–4.19
Before loading is done, a client waits 60 seconds for an acknowledgement rather than 15.
Where it has heard nothing for 5 seconds in play, a client shows its player that it is trying to reconnect, and clears the notice as soon as anything arrives.
In 4.1–4.19
In play a client sends nothing on its own to show it is still there: what it sends answers what it is sent (
ClockReply,TransientAck,WaypointAck) or follows from its player, andCameragoes out only as its view moves.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
ClockSync
What a server sends to set a client’s idea of how long the match has run. The header names no object: a server writes zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 192 |
| 4.11–4.20 | 193 |
| Field | Type | What it is |
|---|---|---|
| elapsed | f32 | How long the match has run, in seconds. |
Vectors (5)
another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
ClockReply
What a client sends back when a server states the match clock, carrying both readings so the server can tell how far apart they are. The header names no object: it carries zero.
In every range of this book
Command 8 on clock, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| serverSaid | f32 | What the server last said the clock stood at, in seconds. |
| clientSaid | f32 | What the client’s own clock stood at when that statement arrived, in seconds. |
Vectors (3)
GameSpeed
What a server sends to set how fast the game’s clock runs. A client shows the new speed over its champion. The header carries zero.
In every range of this book
Command 18 on events, sent by the server, reliable.
Sent while paused, it takes effect on resuming.
| Field | Type | What it is |
|---|---|---|
| speed | f32 | How fast, 1 being normal. A client keeps it between 0 and 10. |
Vectors (2)
Resumed
What a server sends to take the match off hold. The header names a champion: that of the player who resumed the match.
In 4.1–4.17
Command 10 on events, sent by the server, reliable.
The header has no effect. Resuming after the countdown, it keeps input locked and the pause panel open until a countdown of its own ends; resuming at once, it unlocks input and closes the panel.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the player who resumed the match, announced in chat in their side’s colour where their champion is known; 4294967295 announces no one. |
| how | 1-byte bits | |
| how.afterCountdown | bit 0 | Set where the match starts again after a countdown rather than at once. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (1)
In 4.18–4.20
Command 10 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the client that lifted the hold. |
| how | 1-byte bits | |
| how.afterCountdown | bit 0 | Set where the match starts again after a countdown rather than at once. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
Pause
What a client sends to hold a match. The header names no object: it carries zero.
In 4.1–4.17
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 160 |
| 4.11–4.17 | 161 |
A client sends the same values in every Pause, as each field states.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | A client writes 4294967295, the client id of no client. |
| timeLeft | i32 | A client sends zero. |
| how | 1-byte bits | |
| how.tournament | bit 0 | A client sends it clear. |
| how.unused | bit 1 to 7 | Unused; a client writes zero. |
Vectors (2)
In 4.18–4.20
Command 161 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the client that asked. |
| timeLeft | i32 | How much holding time is left to the side that asked, in seconds. |
| how | 1-byte bits | |
| how.unlimited | bit 0 | Set where the hold is not counted against a limit. |
| how.unused | bit 1 to 7 | Unused; a client may leave any value here, and a server ignores it. |
Vectors (1)
Resume
What a client sends to start a paused match again. The header names no object: it carries zero.
In 4.1–4.17
Command 10 on requests, sent by the client, reliable.
A client writes only delayed in how; the rest of the byte carries whatever it held there.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | A client writes 4294967295, the client id of no client. |
| how | 1-byte bits | |
| how.delayed | bit 0 | A client sends it clear. |
| how.unused | bit 1 to 7 | A client leaves these bits unwritten; they carry no meaning, and a server ignores them. |
Vectors (1)
In 4.18–4.20
Command 10 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | A client writes zero; a server ignores it. |
| how | 1-byte bits | A client clears its lowest bit; the others vary from send to send, and a server ignores them. |
| how.delayed | bit 0 | Set where the match is to start again after a countdown rather than at once. |
| how.unused | bit 1 to 7 | Unused; a client may leave any value here, and a server ignores it. |
Vectors (1)
Paused
What a server sends to put the match on hold. The header names no object: it carries zero.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 160 |
| 4.11–4.17 | 161 |
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the client that asked for the hold; it applies only to a tournament’s hold. |
| timeLeft | i32 | The hold time left, in seconds, for any hold. A hold begins only where it is above zero and the match is not already held. |
| how | 1-byte bits | |
| how.tournament | bit 0 | Set for a tournament’s hold: as the hold begins, a client shows its tournament display, crediting seat. A hold still needs timeLeft above zero. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
In 4.18–4.20
Command 161 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the client that called the hold. |
| timeLeft | i32 | How long the hold can run, in seconds. |
| how | 1-byte bits | |
| how.unlimited | bit 0 | Set where the hold is not counted against a limit. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
GameEnded
What a server sends to end the match and say which side won. The header names no object: it carries zero.
In 4.1–4.3
Command 197 on events, sent by the server, reliable.
Arriving while the match still loads, it counts as a win or loss for the player’s side and the client leaves at once. Otherwise the client ends the match on its screen and sends ClientFinished, except while playing a replay.
| Field | Type | What it is |
|---|---|---|
| result | 1-byte bits | |
| result.side100Won | bit 0 | Set where side 100 won, clear where side 200 did. |
| result.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (1)
In 4.4–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.4–4.10 | 197 |
| 4.11–4.17 | 198 |
Arriving while the match still loads, it counts as a win or loss for the player’s side and the client leaves at once. Otherwise the client ends the match on its screen and sends ClientFinished, except while playing a replay.
| Field | Type | What it is |
|---|---|---|
| result | 1-byte bits | |
| result.side100Won | bit 0 | Set where side 100 won, clear where side 200 did. |
| result.surrendered | bit 1 | Set aside for a match ended by surrender. It has no effect. |
| result.unused | bit 2 to 7 | Unused; a server writes zero. |
Vectors (2)
In 4.18–4.20
Command 198 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| result | 1-byte bits | |
| result.side100Won | bit 0 | Set where side 100 won and clear where side 200 won. A client compares the winning side with its own to show victory or defeat. |
| result.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (1)
ClientFinished
What a client sends when it has finished with the match.
In 4.1–4.10
Command 140 on requests, sent by the client, reliable.
It is sent once, at the end.
No body.
Vectors (1)
In 4.11–4.20
Command 141 on requests, sent by the client, reliable.
It is sent once, as the end of the match is handled, and not while playing a replay. The header names no object: it carries zero.
No body.
Vectors (2)
VictoryDance
What a server sends to set units moving as winners or losers do. It ends nothing and changes nothing else on screen. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 196 |
| 4.11–4.20 | 197 |
It sets every unit on a side moving as winners or losers do: a winning champion dances, a losing one stands idle, and other units play a win or loss animation where they have one.
| Field | Type | What it is |
|---|---|---|
| orderWon | u8 | Nonzero where side 100 won, zero where side 200 won. |
Vectors (3)
Exit
What a client sends as it leaves. It carries nothing of its own.
In 4.1–4.10
Command 142 on requests, sent by the client, reliable.
A client sends it as it leaves as one abandoning the match: as its player confirms quitting or closes the window, as a reconnection fails, or on Shutdown or BotKick. The header names no object: it carries zero.
No body.
Vectors (1)
In 4.11–4.17
Command 143 on requests, sent by the client, reliable.
A client sends it only as it quits by abandoning the match; a match that reaches its end sends none. The header names no object: it carries zero.
No body.
Vectors (1)
In 4.18–4.20
Command 143 on requests, sent by the client, reliable.
The header names no object: it carries zero.
No body.
Vectors (1)
Shutdown
What a server sends to have a client leave the match at once, as one abandoning it, sending Exit as it goes. It carries nothing of its own. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 228 |
| 4.11–4.20 | 229 |
No body.
Vectors (3)
BotKick
What a server sends to have a client it takes for a program rather than a player leave the match. The header carries zero.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 221 |
| 4.11–4.17 | 222 |
| Field | Type | What it is |
|---|---|---|
| action | u8 | What to do. A client acts on 4 only. Values: 4 leave. |
Vectors (2)
In 4.18–4.20
Command 222 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| action | u32 | What to do. A client acts on 5 only. Values: 5 leave. |
Vectors (1)
PlayerDisconnected
What a server sends as a player’s client drops out. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 151 |
| 4.11–4.20 | 152 |
A client shows a chat notice naming the player in their side’s colour, and nothing where player names no champion it knows, names its own champion, or the match is not under way.
| Field | Type | What it is |
|---|---|---|
| champion | u32 | The player’s champion. |
| flags | 1-byte bits | Who is told. |
| flags.toEnemies | bit 0 | Set to show the notice only to the other side; clear to show it only to the player’s own side. A client with no champion of its own shows it only where this is clear. |
| flags.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (4)
SoftReconnect
What a server sends, in pairs, to rebuild a client’s world without a new connection: the first marks what the client holds, the second deletes whatever is still marked. The header carries zero.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 238 |
| 4.11–4.17 | 239 |
| Field | Type | What it is |
|---|---|---|
| stage | 1-byte bits | Which half of the pair. |
| stage.stage | bit 0 to 1 | 0 to mark every unit, and every object kept until a checkpoint other than an inhibitor, also clearing floating text, any screen tint and the state of neutral camps; any other value to delete whatever is still marked. |
| stage.unused | bit 2 to 7 | Unused; a server writes zero. |
Vectors (2)
In 4.18–4.20
Command 239 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| stage | u32 | Which half of the pair: 1 to mark every unit, and every object kept until a checkpoint other than an inhibitor, also clearing floating text, any screen tint and the state of neutral camps; any other value to delete whatever is still marked. Values: 1 mark. |
Vectors (1)
ReconnectedInMatch
What a client sends right after the server answers its registration. The header carries zero.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 155 |
| 4.11–4.20 | 156 |
A client sends it once it has connected again to a match it was playing. A client dropped while playing reconnects by itself; one dropped while loading leaves instead. It carries nothing of its own.
No body.
Vectors (3)
Reconnected
What a server sends to say a client has reconnected. The header carries zero.
In every range of this book
Command 15 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| client | u32 | The client, by the seat it occupies. |
Vectors (2)
ClockConvergence
What a server sends about how its clock and a client’s are being brought together. The header carries zero.
In every range of this book
Carried on clock, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 117 |
| 4.11–4.20 | 118 |
| Field | Type | What it is |
|---|---|---|
| clientTime | f32 | The client’s clock, in seconds, as the client reported it. |
| roundTrip | f32 | The round trip time the server measures, in seconds. |
Vectors (2)
Empty
A message with no body. The header carries zero.
Unhandled286
A message that changes nothing a client shows. The header carries zero.
In every range of this book
Command 286 on events, sent by the server, reliable.
No body.
Vectors (2)
Combat
Attacks, damage, death and coming back. Spells are in Spells.
Attacking
A server says a unit is swinging at another with Attack, or with
AttackFrom, which also says where the swinging unit stands. StopAttack
breaks an attack off. AttackSpeedBounds puts a ceiling or a floor on how fast a
unit attacks.
In 4.1–4.19
After
StopAttack, a client clears the unit’s attack whatever the message’s flags ask besides.
A client asks its champion to attack with a MoveOrder naming the unit (see
Movement). What the player then sees is what a server sends: the
champion walking into range along a WaypointGroup, a swing for each Attack,
and what each Damage shows.
In 4.1–4.19
How long a swing takes comes from the champion’s data and its attack speed.
In 4.1–4.19
Damageshows a figure for the results that carry one, normal and critical; zero is the result that shows the unit as invulnerable, not a plain hit.
In 4.1–4.19
A client never walks its champion into range by itself: a server sends the
WaypointGroupthat takes it there.
The health bar moves as replication states the health.
In 4.1–4.19
Each
Attackplays one swing, cutting off any swing still under way.TargetUnitandTargetHeldChampionare not needed for a swing to show. The health bar moves only as replication states the unit’s health, andStopAttackbreaks a swing off before it lets go.
In 4.1–4.19
A melee swing carries a missile id of zero. A ranged swing carries an id no object holds, which the client gives the missile it launches itself as the swing lets go, with no further message while the attacker is in view. A swing that nothing interrupts finishes by itself.
TargetUnit draws a unit’s targeting beam at what it is attacking.
Any unit takes TargetUnit, whatever it is attacking.
That a unit is attacking a champion is TargetHeldChampion, which marks the
unit’s health bar with an indicator, and clears the mark when it names no such
champion. A server MUST send TargetUnit and TargetHeldChampion together.
HoverTarget and HoverIndicator set and show the unit a unit’s hover
indicator points at, and AttackIndicators shows or hides a unit’s attack
indicators.
A champion’s clicks can be made to attack the ground with GroundAttackMode.
Damage
A server reports damage with Damage.
In 4.1–4.19
A client shows nothing at all for
Damageunless it holds both the unit hurt and the unit dealing it.
Death
A unit’s death is UnitDied, a champion’s ChampionDied, a building’s
BuildingDied, and an inhibitor’s InhibitorDied. ForceDeath puts a unit
into its death.
In 4.1–4.19
A client ignores
UnitDiedorChampionDiednaming a unit already dead, and puts a unit down only where a killer is named.
Either UnitDied or ChampionDied can leave the unit standing as a husk
rather than dead, without its death animation or death screen.
In 4.1–4.19
A client ignores
ChampionDiedthat credits no killer.
How long a champion stays down is DeathTimer. Whether a client draws the world
without colour while its champion is down is GreyscaleWhenDead. What led to a
death is DeathHistory, which a client lays out for its player. An inhibitor’s
state, and how long it lasts, is InhibitorState.
In 4.20
A server also reports a death for what a client draws on its map with
UnitDiedOnMap.
Coming back
Revived puts a champion back on the field.
A server can instead bring a dead champion back at a place of its choosing
with Respawned, which keeps the champion’s level, gold and spell ranks and
restores its health.
Using a unit
A client sends UseObject as its player right-clicks a unit that can be used.
A client also sends UseObject for a unit its champion is attacking, as that
unit changes side.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
Attack
What a server sends to say a unit is swinging at another. The header names the unit acting.
In 4.1–4.16
Command 12 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit swung at. A client throws the swing at it. |
| timing | u8 | A shift in time: the value less 128, in hundredths of a second, from -1.28 to 1.27; 128 shifts nothing. It moves when the swing lets go and ends, and when the unit may next attack. |
| missile | u32 | The name the missile this swing throws will answer to. |
| slot | u8 | Which of the unit’s attacks this is. |
Vectors (1)
In 4.17
Command 12 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit swung at. |
| targetX | f32 | Where the unit swung at stands, along one ground axis, in world units. A client throws the swing at the unit named above, whatever this position says. |
| targetY | f32 | Where it stands, in height, in world units. |
| targetZ | f32 | Where it stands, along the other ground axis, in world units. |
| timing | u8 | A shift in time: the value less 128, in hundredths of a second, from -1.28 to 1.27; 128 shifts nothing. It moves when the swing lets go and ends, and when the unit may next attack. |
| missile | u32 | The name the missile this swing throws will answer to. |
| slot | u8 | Which of the unit’s attacks this is. |
Vectors (1)
In 4.18–4.20
Command 12 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| strike | Strike | The swing. |
Vectors (2)
AttackFrom
What a server sends to say a unit is swinging at another, carrying where the swinging unit stands as well as what it swings at. The header names the unit acting.
In 4.1–4.16
Command 26 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit swung at. A client throws the swing at it. |
| timing | u8 | A shift in time: the value less 128, in hundredths of a second, from -1.28 to 1.27; 128 shifts nothing. It moves when the swing lets go and ends, and when the unit may next attack. |
| missile | u32 | The name the missile this swing throws will answer to. Zero for a swing that throws none. |
| slot | u8 | Which of the unit’s attacks this is. |
| fromX | f32 | Where the swinging unit stands, along one ground axis, in world units. |
| fromZ | f32 | Where it stands, along the other, in world units. |
Vectors (1)
In 4.17
Command 26 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit swung at. |
| targetX | f32 | Where the unit swung at stands, along one ground axis, in world units. |
| targetY | f32 | Where it stands, in height, in world units. |
| targetZ | f32 | Where it stands, along the other ground axis, in world units. |
| timing | u8 | A shift in time: the value less 128, in hundredths of a second, from -1.28 to 1.27; 128 shifts nothing. It moves when the swing lets go and ends, and when the unit may next attack. |
| missile | u32 | The name the missile this swing throws will answer to. Zero for a swing that throws none. |
| slot | u8 | Which of the unit’s attacks this is. |
| fromX | f32 | Where the swinging unit stands, along one ground axis, in world units. |
| fromZ | f32 | Where it stands, along the other, in world units. |
Vectors (1)
In 4.18–4.20
Command 26 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| strike | Strike | The swing. |
| fromX | f32 | Where the swinging unit stands, along one ground axis, in world units. |
| fromZ | f32 | Where it stands, along the other, in world units. |
Vectors (2)
StopAttack
What a server sends to break off an attack a unit is making. The header names the unit acting.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 51 |
| 4.11–4.17 | 52 |
Whatever the flags, a client then clears the unit’s attack.
| Field | Type | What it is |
|---|---|---|
| missile | u32 | The missile the attack would have thrown, where there is one. |
| how | 1-byte bits | |
| how.keepAnimating | bit 0 | Set to let the attack’s animation play on after the stop. |
| how.forceCast | bit 1 | Set to make the attack land first where it has not already. |
| how.forceStop | bit 2 | Set to stop the attack outright; a client does so anyway where it cannot see the unit, and keepAnimating and forceCast then have no effect. |
| how.summonerSpell | bit 3 | Set where the slot stopped is a summoner spell’s. |
| how.destroyMissile | bit 4 | Set to destroy the missile named in missile, where it exists; forced, after the attack landed, the spell’s cooldown is also refunded. |
| how.unused | bit 5 to 7 | Unused; a server writes zero. |
Vectors (1)
In 4.18–4.20
Command 52 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.keepAnimating | bit 0 | Set where the unit finishes what it was doing to look at. |
| how.finishSwing | bit 1 | Set where a swing not yet let go is let go before it stops. |
| how.forced | bit 2 | Set to stop what the unit is casting at once, whether or not it would otherwise stop. |
| how.summonerSpell | bit 3 | Set where what is broken off came from a summoner slot. |
| how.destroyMissile | bit 4 | Set where the missile named below is to go too. |
| how.unused | bit 5 to 7 | Unused; a server writes zero. |
| missile | u32 | The missile the attack would have thrown, where there is one. |
Vectors (1)
AttackSpeedBounds
What a server sends to put a ceiling or a floor on how fast a unit attacks. Its identifier is wider than a byte, so it travels behind the escape. The header names the unit this is about.
In 4.4–4.17
Command 288 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| useCeiling | u8 | 1 to apply the ceiling below; 0 leaves the unit’s ceiling as it was. |
| useFloor | u8 | 1 to apply the floor below; 0 leaves the unit’s floor as it was. |
| ceiling | f32 | The fastest the unit can attack, in attacks a second, where the flag says to use it. A value of 0.00001 or less, -1 among them, sets no bound. |
| floor | f32 | The slowest the unit can attack, in attacks a second, where the flag says to use it. A value of 0.00001 or less, -1 among them, sets no bound. |
Vectors (1)
In 4.18–4.20
Command 288 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| overrides | 1-byte bits | |
| overrides.ceiling | bit 0 | Set where the ceiling below is to be used. |
| overrides.floor | bit 1 | Set where the floor below is to be used. |
| overrides.unused | bit 2 to 7 | Unused; a server writes zero. |
| ceiling | f32 | The fastest the unit can attack, in attacks a second, where the flag says to use it. A value of 0.00001 or less, -1 among them, sets no bound. |
| floor | f32 | The slowest the unit can attack, in attacks a second, where the flag says to use it. A value of 0.00001 or less, -1 among them, sets no bound. |
Vectors (1)
Damage
What a server sends to say one unit hurt another. The header names the unit hurt, as target does.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 100 |
| 4.11–4.17 | 101 |
A client shows the figure and nothing more: the health it shows for the unit is what replication carries, and this message leaves it as it was.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.result | bit 0 to 2 | How the damage landed, and so what a client shows over the unit hurt. 4 shows the amount, 3 shows it as a critical strike, and 2 shows the word for a dodge in place of an amount. |
| how.unused1 | bit 3 | Unused; a server writes zero. |
| how.kind | bit 4 to 5 | What sort of damage it is, which sets how a client colours the figure: 0 red, 1 purple and 2 white. |
| how.unused | bit 6 to 7 | Unused; a server writes zero. |
| target | u32 | The unit hurt. |
| source | u32 | The unit dealing it. A client shows nothing, notices included, unless it holds both target and source; the figure drifts from source toward target, and a champion source has the amount added to its damage dealt. |
| amount | f32 | How much. |
Vectors (2)
In 4.18–4.20
Command 101 on events, sent by the server, reliable.
A client shows the figure and nothing more: the health it shows for the unit is what replication carries, and this message leaves it as it was.
| Field | Type | What it is |
|---|---|---|
| result | u8 | How the damage landed, and so what a client shows over the unit hurt. A value of 6 shows the amount as normal does. Values: 0 invulnerable, 1 unseen, 2 dodged, 3 critical, 4 normal, 5 missed. |
| unused | u8 | Unused; a server writes zero. |
| kind | u8 | What sort of damage it is, which sets how a client colours the figure. Values: 0 physical, 1 magical, 2 true, 3 mixed. |
| amount | f32 | How much. |
| target | u32 | The unit hurt. |
| source | u32 | The unit that hurt it. |
Vectors (2)
TargetUnit
What a server sends to say what a unit is attacking, whatever the unit attacked is. A client takes down whatever it was drawing for that unit’s last target and draws for the new one where the target and the unit’s own settings allow. The header names the unit acting.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 105 |
| 4.11–4.20 | 106 |
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit being attacked, or zero where it is attacking nothing. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
TargetHeldChampion
What a server sends to mark that a unit is attacking a champion, or to take the mark away. The header names the unit. TargetUnit draws the targeting beam and never touches this mark.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 191 |
| 4.11–4.20 | 192 |
A client marks the unit where target is nonzero, names a champion the client holds and the unit is on the other side, drawing an indicator on the unit’s health bar unless the unit’s data turns it off; any other target clears the mark.
| Field | Type | What it is |
|---|---|---|
| target | u32 | The champion being attacked. |
Vectors (4)
HoverTarget
What a server sends to set the unit a unit’s hover indicator points at. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 244 |
| 4.11–4.20 | 245 |
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit pointed at. |
Vectors (4)
HoverIndicator
What a server sends to turn a unit’s hover indicator on or off. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 245 |
| 4.11–4.20 | 246 |
| Field | Type | What it is |
|---|---|---|
| enabled | u8 | 0 turns it off; any other value on. |
Vectors (4)
AttackIndicators
What a server sends to show or hide a unit’s attack indicators. The header names the unit.
In 4.1–4.17
Command 258 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit. |
| show | u8 | Whether the indicator shows. |
| minimap | u8 | Whether it shows on the minimap. |
Vectors (1)
In 4.18–4.20
Command 258 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit. A client acts only where it is a champion. |
| show | 1-byte bits | Where the indicators show. |
| show.show | bit 0 | Set where the indicator shows. |
| show.minimap | bit 1 | Set where it shows on the minimap. |
| show.unused | bit 2 to 7 | Unused; a server writes zero. |
Vectors (1)
GroundAttackMode
What a server sends to make a champion’s clicks attack the ground. It changes what its own player’s clicks do; for any other champion it changes nothing a client shows. A client ignores it where the id names no champion. The header carries zero.
In every range of this book
Command 257 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| champion | u32 | The champion. |
| mode | u8 | Which clicks attack the ground. Values: 0 off, 1 move, 2 select, 3 moveAndSelect, 4 attackMove, 5 atCursor. |
Vectors (2)
UnitDied
What a server sends to say a unit died, to everyone who can see it. The header names the unit this is about.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 157 |
| 4.11–4.17 | 158 |
Where killer names a unit it knows, a client announces the kill for that unit, then the one kind picks. Where the unit is not already dead, it cancels the unit’s cast and attack, and only where killer is nonzero puts the unit down, by stayDown and standing.
| Field | Type | What it is |
|---|---|---|
| killer | u32 | The unit credited with the death. |
| damageType | u32 | Unused; a server writes zero. |
| damageSource | u32 | Unused; a server writes zero. |
| stayDown | f32 | How long the unit stays down, in seconds. |
| how | 1-byte bits | |
| how.standing | bit 0 | Set to leave the unit standing as a husk rather than dead: no time of death, and for a champion no death animation and no death screen. A turret kept after death behaves so whatever this says. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
| kind | u8 | Which kill a client announces for killer: zero a neutral monster’s, nonzero a minion’s. |
Vectors (2)
In 4.18–4.20
Command 158 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| death | Death | How it died. |
Vectors (1)
ChampionDied
What a server sends to say a champion died. The header names the unit this is about.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 93 |
| 4.11–4.17 | 94 |
A client ignores it where killer is zero or the champion is already dead.
| Field | Type | What it is |
|---|---|---|
| killer | u32 | The unit credited with the death. Where it names the champion that died, a client still plays the death. |
| damageType | u32 | The kind of the killing blow. A client shows nothing for it. Values: 0 physical, 1 magic, 2 true, 3 mixed. |
| damageSource | u32 | Where the killing blow came from. A client shows nothing for it. Values: 0 raw, 1 internalRaw, 2 periodic, 3 proc, 4 reactive, 5 onDeath, 6 spell, 7 attack, 8 default, 9 areaSpell, 10 persistentSpell, 11 pet. |
| stayDown | f32 | How long the champion stays down, in seconds. A client counts its respawn timer down from it. |
| how | 1-byte bits | |
| how.zombie | bit 0 | Set to leave the champion standing in a zombie state rather than dead: no death animation and no death screen. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
| kind | u8 | It has no effect in this message. |
Vectors (2)
In 4.18–4.20
Command 94 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| death | Death | How it died. |
Vectors (1)
BuildingDied
What a server sends when a building is destroyed. The header names the unit this is about.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 136 |
| 4.11–4.20 | 137 |
| Field | Type | What it is |
|---|---|---|
| attacker | u32 | The unit that destroyed it. |
| lastChampion | u32 | The last champion to have harmed it. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
ForceDeath
What a server sends to put a unit into its death. The header names the unit.
In every range of this book
Command 27 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| duration | f32 | How long it stays down, in seconds. |
Vectors (2)
DeathTimer
What a server sends to set how long a champion stays down. The header names the unit this is about. Sent about a champion that is not down, it shows nothing.
In every range of this book
Command 279 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| stayDown | f32 | How long it stays down, in seconds. |
Vectors (2)
GreyscaleWhenDead
What a server sends to say whether a client draws the world without colour while its champion is down. The header names a champion: that of the player it is sent to.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 168 |
| 4.11–4.17 | 169 |
| Field | Type | What it is |
|---|---|---|
| state | 1-byte bits | |
| state.enabled | bit 0 | Set where the world is drawn without colour. Clear, it does not stop a client drawing the world without colour while its champion is down. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
In 4.18–4.20
Command 169 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| state | 1-byte bits | |
| state.enabled | bit 0 | Set where the world is drawn without colour. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (1)
DeathHistory
What a server sends to say what led to a death, so the client can lay it out. The header names the unit this is about.
In 4.1–4.5
Command 33 on events, sent by the server, reliable.
A client ignores the whole message unless it holds killer. Each entry’s size after event and source follows from event alone. An entry whose target the client does not hold is left out.
| Field | Type | Present when | What it is |
|---|---|---|---|
| killer | u32 | The unit credited with the death. | |
| span | f32 | The time the entries below cover, in seconds. | |
| sourceType | u8 | What sort of source the killer was. | |
| blobLength | u32 | How many bytes the entries below take together. A client reads exactly that many; zero, or a value above 2147483647, carries no entries. | |
| entryCount | u32 | How many entries follow. | |
| entries | count in entryCount × record | What happened to the unit before it died, packed one after another. | |
| entries[].time | f32 | When it happened, in match seconds. | |
| entries[].count | u16 | How many times. | |
| entries[].event | u8 | What sort of thing, and so which fields follow. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 29 inhibitorKilled, 30 inhibitorDied, 31 inhibitorRespawningSoon, 34 turretKilled, 35 turretDied, 36 turretDamaged, 37 minionKilled, 38 minionDenied, 39 monsterKilled, 40 largeMonsterKilled, 41 redBuffTaken, 42 blueBuffTaken, 43 nexusKilled, 44 nexusDied, 45 heal, 46 healCast, 47 buff, 48 crowdControl, 49 killingSpree, 56 killDuringSpree, 63 doubleKillDuringSpree, 64 tripleKillDuringSpree, 65 quadraKillDuringSpree, 68 deathAssist, 69 playerQuit, 70 playerLeft, 71 playerReconnected, 86 itemBought, 87 itemSold, 88 itemRemoved, 89 itemCallout, 90 itemChanged, 91 undoChanged, 92 itemSubstituted, 111 minionsSpawned, 112 welcome, 113 startNoticeTwo, 114 startNoticeThree, 118 scoreboardOpened, 143 dragonKilled, 144 dragonKilledWatched, 145 dragonStolen, 146 baronKilled, 147 baronKilledWatched, 148 baronStolen, 149 spiderKilled, 150 spiderKilledWatched, 151 altarCaptured, 152 altarCapturedWatched, 153 wardPlaced, 154 wardKilled. | |
| entries[].source | u32 | The unit that did it. | |
| entries[].target | u32 | The unit it was done to. | |
| entries[].stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| entries[].damage | record | event = 15 or 16 | How much harm, and from what. |
| entries[].damage.physical | f32 | Physical damage. | |
| entries[].damage.magical | f32 | Magical damage. | |
| entries[].damage.true | f32 | True damage. | |
| entries[].damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].damage.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].spent | u32 | event = 23 | How much gold, as shown. |
| entries[].value | u32 | event = 25 or 86 or 87 or 88 or 90 or 91 or 151 or 152 | What it carries is not recorded for this range; a client does not show it. |
| entries[].critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| entries[].spree | u32 | event = 49 | How many kills in a row, as shown. |
| entries[].earned | record | event = 24 | Gold earned. |
| entries[].earned.gold | f32 | How much gold, as shown. | |
| entries[].earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal | record | event = 45 or 46 | How much health, and from what. |
| entries[].heal.amount | f32 | How much health, as shown. | |
| entries[].heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].effect | record | event = 47 or 48 | The effect, and where it came from. |
| entries[].effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].effect.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].buff | record | event = 48 | What an effect of this sort carries. |
| entries[].buff.buffType | i32 | What sort of effect. | |
| entries[].buff.duration | f32 | How long it lasted, in seconds. | |
| entries[].assist | record | event = 68 | What one unit did toward a death. |
| entries[].assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| entries[].assist.physical | f32 | Physical damage it dealt. | |
| entries[].assist.magical | f32 | Magical damage it dealt. | |
| entries[].assist.true | f32 | True damage it dealt. | |
| entries[].assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].kill | record | event = 1 or 2 or 35 or 36 or 37 or 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 | The reward, and who shared it. |
| entries[].kill.gold | f32 | The gold the kill gave. | |
| entries[].kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| entries[].kill.assists | 12 × u32 | The units that helped, then zeros. | |
| entries[].monster | record | event = 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 | Who took the monster. |
| entries[].monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| entries[].monster.skin | i32 | Which look the killer wears. | |
| entries[].monster.side | u32 | The side that took it. | |
| entries[].callout | record | event = 89 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| entries[].callout.item | u32 | The item, shown by name and number. | |
| entries[].callout.quantity | u32 | How many, shown as two digits. | |
| entries[].callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.side | u32 | The side of the player who pointed it out. | |
| entries[].substitution | record | event = 92 | An item the shop shows another in place of. |
| entries[].substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| entries[].substitution.original | u32 | The item replaced. | |
| entries[].substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. |
Vectors (1)
In 4.6–4.11
Command 33 on events, sent by the server, reliable.
A client ignores the whole message unless it holds killer. Each entry’s size after event and source follows from event alone. An entry whose target the client does not hold is left out.
| Field | Type | Present when | What it is |
|---|---|---|---|
| killer | u32 | The unit credited with the death. | |
| span | f32 | The time the entries below cover, in seconds. | |
| sourceType | u8 | What sort of source the killer was. | |
| blobLength | u32 | How many bytes the entries below take together. A client reads exactly that many; zero, or a value above 2147483647, carries no entries. | |
| entryCount | u32 | How many entries follow. | |
| entries | count in entryCount × record | What happened to the unit before it died, packed one after another. | |
| entries[].time | f32 | When it happened, in match seconds. | |
| entries[].count | u16 | How many times. | |
| entries[].event | u8 | What sort of thing, and so which fields follow. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 144 dragonKilled, 145 dragonKilledWatched, 146 dragonStolen, 147 baronKilled, 148 baronKilledWatched, 149 baronStolen, 150 spiderKilled, 151 spiderKilledWatched, 152 altarCaptured, 153 altarCapturedWatched, 154 wardPlaced, 155 wardKilled. | |
| entries[].source | u32 | The unit that did it. | |
| entries[].target | u32 | The unit it was done to. | |
| entries[].stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| entries[].damage | record | event = 15 or 16 | How much harm, and from what. |
| entries[].damage.physical | f32 | Physical damage. | |
| entries[].damage.magical | f32 | Magical damage. | |
| entries[].damage.true | f32 | True damage. | |
| entries[].damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].damage.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].spent | u32 | event = 23 | How much gold, as shown. |
| entries[].value | u32 | event = 25 or 87 or 88 or 89 or 91 or 92 or 152 or 153 | What it carries is not recorded for this range; a client does not show it. |
| entries[].critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| entries[].spree | u32 | event = 50 | How many kills in a row, as shown. |
| entries[].earned | record | event = 24 | Gold earned. |
| entries[].earned.gold | f32 | How much gold, as shown. | |
| entries[].earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal | record | event = 46 or 47 | How much health, and from what. |
| entries[].heal.amount | f32 | How much health, as shown. | |
| entries[].heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].effect | record | event = 48 or 49 | The effect, and where it came from. |
| entries[].effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].effect.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].buff | record | event = 49 | What an effect of this sort carries. |
| entries[].buff.buffType | i32 | What sort of effect. | |
| entries[].buff.duration | f32 | How long it lasted, in seconds. | |
| entries[].assist | record | event = 69 | What one unit did toward a death. |
| entries[].assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| entries[].assist.physical | f32 | Physical damage it dealt. | |
| entries[].assist.magical | f32 | Magical damage it dealt. | |
| entries[].assist.true | f32 | True damage it dealt. | |
| entries[].assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 | The reward, and who shared it. |
| entries[].kill.gold | f32 | The gold the kill gave. | |
| entries[].kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| entries[].kill.assists | 12 × u32 | The units that helped, then zeros. | |
| entries[].monster | record | event = 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 | Who took the monster. |
| entries[].monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| entries[].monster.skin | i32 | Which look the killer wears. | |
| entries[].monster.side | u32 | The side that took it. | |
| entries[].callout | record | event = 90 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| entries[].callout.item | u32 | The item, shown by name and number. | |
| entries[].callout.quantity | u32 | How many, shown as two digits. | |
| entries[].callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.side | u32 | The side of the player who pointed it out. | |
| entries[].substitution | record | event = 93 | An item the shop shows another in place of. |
| entries[].substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| entries[].substitution.original | u32 | The item replaced. | |
| entries[].substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. |
Vectors (1)
In 4.12
Command 33 on events, sent by the server, reliable.
A client ignores the whole message unless it holds killer. Each entry’s size after event and source follows from event alone. An entry whose target the client does not hold is left out.
| Field | Type | Present when | What it is |
|---|---|---|---|
| killer | u32 | The unit credited with the death. | |
| span | f32 | The time the entries below cover, in seconds. | |
| sourceType | u8 | What sort of source the killer was. | |
| blobLength | u32 | How many bytes the entries below take together. A client reads exactly that many; zero, or a value above 2147483647, carries no entries. | |
| entryCount | u32 | How many entries follow. | |
| entries | count in entryCount × record | What happened to the unit before it died, packed one after another. | |
| entries[].time | f32 | When it happened, in match seconds. | |
| entries[].count | u16 | How many times. | |
| entries[].event | u8 | What sort of thing, and so which fields follow. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 145 dragonKilled, 146 dragonKilledWatched, 147 dragonStolen, 148 baronKilled, 149 baronKilledWatched, 150 baronStolen, 151 spiderKilled, 152 spiderKilledWatched, 153 altarCaptured, 154 altarCapturedWatched, 155 wardPlaced, 156 wardKilled. | |
| entries[].source | u32 | The unit that did it. | |
| entries[].target | u32 | The unit it was done to. | |
| entries[].stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| entries[].damage | record | event = 15 or 16 | How much harm, and from what. |
| entries[].damage.physical | f32 | Physical damage. | |
| entries[].damage.magical | f32 | Magical damage. | |
| entries[].damage.true | f32 | True damage. | |
| entries[].damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].damage.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].spent | u32 | event = 23 | How much gold, as shown. |
| entries[].value | u32 | event = 25 or 87 or 88 or 89 or 91 or 92 or 153 or 154 | What it carries is not recorded for this range; a client does not show it. |
| entries[].critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| entries[].spree | u32 | event = 50 | How many kills in a row, as shown. |
| entries[].earned | record | event = 24 | Gold earned. |
| entries[].earned.gold | f32 | How much gold, as shown. | |
| entries[].earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal | record | event = 46 or 47 | How much health, and from what. |
| entries[].heal.amount | f32 | How much health, as shown. | |
| entries[].heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].effect | record | event = 48 or 49 | The effect, and where it came from. |
| entries[].effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].effect.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].buff | record | event = 49 | What an effect of this sort carries. |
| entries[].buff.buffType | i32 | What sort of effect. | |
| entries[].buff.duration | f32 | How long it lasted, in seconds. | |
| entries[].assist | record | event = 69 | What one unit did toward a death. |
| entries[].assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| entries[].assist.physical | f32 | Physical damage it dealt. | |
| entries[].assist.magical | f32 | Magical damage it dealt. | |
| entries[].assist.true | f32 | True damage it dealt. | |
| entries[].assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 | The reward, and who shared it. |
| entries[].kill.gold | f32 | The gold the kill gave. | |
| entries[].kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| entries[].kill.assists | 12 × u32 | The units that helped, then zeros. | |
| entries[].monster | record | event = 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 | Who took the monster. |
| entries[].monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| entries[].monster.skin | i32 | Which look the killer wears. | |
| entries[].monster.side | u32 | The side that took it. | |
| entries[].callout | record | event = 90 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| entries[].callout.item | u32 | The item, shown by name and number. | |
| entries[].callout.quantity | u32 | How many, shown as two digits. | |
| entries[].callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.side | u32 | The side of the player who pointed it out. | |
| entries[].substitution | record | event = 93 | An item the shop shows another in place of. |
| entries[].substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| entries[].substitution.original | u32 | The item replaced. | |
| entries[].substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. |
Vectors (1)
In 4.13
Command 33 on events, sent by the server, reliable.
A client ignores the whole message unless it holds killer. Each entry’s size after event and source follows from event alone. An entry whose target the client does not hold is left out.
| Field | Type | Present when | What it is |
|---|---|---|---|
| killer | u32 | The unit credited with the death. | |
| span | f32 | The time the entries below cover, in seconds. | |
| sourceType | u8 | What sort of source the killer was. | |
| blobLength | u32 | How many bytes the entries below take together. A client reads exactly that many; zero, or a value above 2147483647, carries no entries. | |
| entryCount | u32 | How many entries follow. | |
| entries | count in entryCount × record | What happened to the unit before it died, packed one after another. | |
| entries[].time | f32 | When it happened, in match seconds. | |
| entries[].count | u16 | How many times. | |
| entries[].event | u8 | What sort of thing, and so which fields follow. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemUndone, 91 itemCallout, 92 itemChanged, 93 undoChanged, 94 itemSubstituted, 113 minionsSpawned, 114 welcome, 115 startNoticeTwo, 116 startNoticeThree, 120 scoreboardOpened, 146 dragonKilled, 147 dragonKilledWatched, 148 dragonStolen, 149 baronKilled, 150 baronKilledWatched, 151 baronStolen, 152 spiderKilled, 153 spiderKilledWatched, 154 altarCaptured, 155 altarCapturedWatched, 156 wardPlaced, 157 wardKilled. | |
| entries[].source | u32 | The unit that did it. | |
| entries[].target | u32 | The unit it was done to. | |
| entries[].stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| entries[].damage | record | event = 15 or 16 | How much harm, and from what. |
| entries[].damage.physical | f32 | Physical damage. | |
| entries[].damage.magical | f32 | Magical damage. | |
| entries[].damage.true | f32 | True damage. | |
| entries[].damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].damage.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].spent | u32 | event = 23 | How much gold, as shown. |
| entries[].value | u32 | event = 25 or 87 or 88 or 89 or 92 or 93 or 154 or 155 | What it carries is not recorded for this range; a client does not show it. |
| entries[].critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| entries[].spree | u32 | event = 50 | How many kills in a row, as shown. |
| entries[].earned | record | event = 24 | Gold earned. |
| entries[].earned.gold | f32 | How much gold, as shown. | |
| entries[].earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal | record | event = 46 or 47 | How much health, and from what. |
| entries[].heal.amount | f32 | How much health, as shown. | |
| entries[].heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].effect | record | event = 48 or 49 | The effect, and where it came from. |
| entries[].effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].effect.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].buff | record | event = 49 | What an effect of this sort carries. |
| entries[].buff.buffType | i32 | What sort of effect. | |
| entries[].buff.duration | f32 | How long it lasted, in seconds. | |
| entries[].assist | record | event = 69 | What one unit did toward a death. |
| entries[].assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| entries[].assist.physical | f32 | Physical damage it dealt. | |
| entries[].assist.magical | f32 | Magical damage it dealt. | |
| entries[].assist.true | f32 | True damage it dealt. | |
| entries[].assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 | The reward, and who shared it. |
| entries[].kill.gold | f32 | The gold the kill gave. | |
| entries[].kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| entries[].kill.assists | 12 × u32 | The units that helped, then zeros. | |
| entries[].monster | record | event = 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 | Who took the monster. |
| entries[].monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| entries[].monster.skin | i32 | Which look the killer wears. | |
| entries[].monster.side | u32 | The side that took it. | |
| entries[].callout | record | event = 91 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| entries[].callout.item | u32 | The item, shown by name and number. | |
| entries[].callout.quantity | u32 | How many, shown as two digits. | |
| entries[].callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.side | u32 | The side of the player who pointed it out. | |
| entries[].substitution | record | event = 94 | An item the shop shows another in place of. |
| entries[].substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| entries[].substitution.original | u32 | The item replaced. | |
| entries[].substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| entries[].undo | record | event = 90 | A purchase taken back. |
| entries[].undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| entries[].undo.part | u32 | What it carries is not recorded for this range; a client does not show it. | |
| entries[].undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. |
Vectors (1)
In 4.14–4.15
Command 33 on events, sent by the server, reliable.
A client ignores the whole message unless it holds killer. Each entry’s size after event and source follows from event alone. An entry whose target the client does not hold is left out.
| Field | Type | Present when | What it is |
|---|---|---|---|
| killer | u32 | The unit credited with the death. | |
| span | f32 | The time the entries below cover, in seconds. | |
| sourceType | u8 | What sort of source the killer was. | |
| blobLength | u32 | How many bytes the entries below take together. A client reads exactly that many; zero, or a value above 2147483647, carries no entries. | |
| entryCount | u32 | How many entries follow. | |
| entries | count in entryCount × record | What happened to the unit before it died, packed one after another. | |
| entries[].time | f32 | When it happened, in match seconds. | |
| entries[].count | u16 | How many times. | |
| entries[].event | u8 | What sort of thing, and so which fields follow. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 117 minionsSpawned, 118 welcome, 119 startNoticeTwo, 120 startNoticeThree, 124 scoreboardOpened, 150 dragonKilled, 151 dragonKilledWatched, 152 dragonStolen, 153 baronKilled, 154 baronKilledWatched, 155 baronStolen, 156 spiderKilled, 157 spiderKilledWatched, 158 altarCaptured, 159 altarCapturedWatched, 160 wardPlaced, 161 wardKilled. | |
| entries[].source | u32 | The unit that did it. | |
| entries[].target | u32 | The unit it was done to. | |
| entries[].stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| entries[].damage | record | event = 15 or 16 | How much harm, and from what. |
| entries[].damage.physical | f32 | Physical damage. | |
| entries[].damage.magical | f32 | Magical damage. | |
| entries[].damage.true | f32 | True damage. | |
| entries[].damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].damage.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].spent | u32 | event = 23 | How much gold, as shown. |
| entries[].value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 158 or 159 | What it carries is not recorded for this range; a client does not show it. |
| entries[].critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| entries[].spree | u32 | event = 50 | How many kills in a row, as shown. |
| entries[].earned | record | event = 24 | Gold earned. |
| entries[].earned.gold | f32 | How much gold, as shown. | |
| entries[].earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal | record | event = 46 or 47 | How much health, and from what. |
| entries[].heal.amount | f32 | How much health, as shown. | |
| entries[].heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].effect | record | event = 48 or 49 | The effect, and where it came from. |
| entries[].effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].effect.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].buff | record | event = 49 | What an effect of this sort carries. |
| entries[].buff.buffType | i32 | What sort of effect. | |
| entries[].buff.duration | f32 | How long it lasted, in seconds. | |
| entries[].assist | record | event = 69 | What one unit did toward a death. |
| entries[].assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| entries[].assist.physical | f32 | Physical damage it dealt. | |
| entries[].assist.magical | f32 | Magical damage it dealt. | |
| entries[].assist.true | f32 | True damage it dealt. | |
| entries[].assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 | The reward, and who shared it. |
| entries[].kill.gold | f32 | The gold the kill gave. | |
| entries[].kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| entries[].kill.assists | 12 × u32 | The units that helped, then zeros. | |
| entries[].monster | record | event = 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 | Who took the monster. |
| entries[].monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| entries[].monster.skin | i32 | Which look the killer wears. | |
| entries[].monster.side | u32 | The side that took it. | |
| entries[].callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| entries[].callout.item | u32 | The item, shown by name and number. | |
| entries[].callout.quantity | u32 | How many, shown as two digits. | |
| entries[].callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.side | u32 | The side of the player who pointed it out. | |
| entries[].substitution | record | event = 98 | An item the shop shows another in place of. |
| entries[].substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| entries[].substitution.original | u32 | The item replaced. | |
| entries[].substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| entries[].undo | record | event = 94 | A purchase taken back. |
| entries[].undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| entries[].undo.part | u32 | What it carries is not recorded for this range; a client does not show it. | |
| entries[].undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. |
Vectors (1)
In 4.16
Command 33 on events, sent by the server, reliable.
A client ignores the whole message unless it holds killer. Each entry’s size after event and source follows from event alone. An entry whose target the client does not hold is left out.
| Field | Type | Present when | What it is |
|---|---|---|---|
| killer | u32 | The unit credited with the death. | |
| span | f32 | The time the entries below cover, in seconds. | |
| sourceType | u8 | What sort of source the killer was. | |
| blobLength | u32 | How many bytes the entries below take together. A client reads exactly that many; zero, or a value above 2147483647, carries no entries. | |
| entryCount | u32 | How many entries follow. | |
| entries | count in entryCount × record | What happened to the unit before it died, packed one after another. | |
| entries[].time | f32 | When it happened, in match seconds. | |
| entries[].count | u16 | How many times. | |
| entries[].event | u8 | What sort of thing, and so which fields follow. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled. | |
| entries[].source | u32 | The unit that did it. | |
| entries[].target | u32 | The unit it was done to. | |
| entries[].stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| entries[].damage | record | event = 15 or 16 | How much harm, and from what. |
| entries[].damage.physical | f32 | Physical damage. | |
| entries[].damage.magical | f32 | Magical damage. | |
| entries[].damage.true | f32 | True damage. | |
| entries[].damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].damage.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].spent | u32 | event = 23 | How much gold, as shown. |
| entries[].value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 | What it carries is not recorded for this range; a client does not show it. |
| entries[].critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| entries[].spree | u32 | event = 50 | How many kills in a row, as shown. |
| entries[].earned | record | event = 24 | Gold earned. |
| entries[].earned.gold | f32 | How much gold, as shown. | |
| entries[].earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal | record | event = 46 or 47 | How much health, and from what. |
| entries[].heal.amount | f32 | How much health, as shown. | |
| entries[].heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].effect | record | event = 48 or 49 | The effect, and where it came from. |
| entries[].effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| entries[].effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| entries[].effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].effect.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| entries[].effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| entries[].effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| entries[].effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].buff | record | event = 49 | What an effect of this sort carries. |
| entries[].buff.buffType | i32 | What sort of effect. | |
| entries[].buff.duration | f32 | How long it lasted, in seconds. | |
| entries[].assist | record | event = 69 | What one unit did toward a death. |
| entries[].assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| entries[].assist.physical | f32 | Physical damage it dealt. | |
| entries[].assist.magical | f32 | Magical damage it dealt. | |
| entries[].assist.true | f32 | True damage it dealt. | |
| entries[].assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | The reward, and who shared it. |
| entries[].kill.gold | f32 | The gold the kill gave. | |
| entries[].kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| entries[].kill.assists | 12 × u32 | The units that helped, then zeros. | |
| entries[].monster | record | event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | Who took the monster. |
| entries[].monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| entries[].monster.skin | i32 | Which look the killer wears. | |
| entries[].monster.side | u32 | The side that took it. | |
| entries[].callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| entries[].callout.item | u32 | The item, shown by name and number. | |
| entries[].callout.quantity | u32 | How many, shown as two digits. | |
| entries[].callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.side | u32 | The side of the player who pointed it out. | |
| entries[].substitution | record | event = 98 | An item the shop shows another in place of. |
| entries[].substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| entries[].substitution.original | u32 | The item replaced. | |
| entries[].substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| entries[].undo | record | event = 94 | A purchase taken back. |
| entries[].undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| entries[].undo.parts | 7 × u32 | What they carry is not recorded for this range; a client does not show them. | |
| entries[].undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. |
Vectors (1)
In 4.17
Command 33 on events, sent by the server, reliable.
A client ignores the whole message unless it holds killer. Each entry’s size after event and source follows from event alone. An entry whose target the client does not hold is left out.
| Field | Type | Present when | What it is |
|---|---|---|---|
| killer | u32 | The unit credited with the death. | |
| span | f32 | The time the entries below cover, in seconds. | |
| sourceType | u8 | What sort of source the killer was. | |
| entryCount | u32 | How many entries follow. | |
| entries | count in entryCount × record | What happened to the unit before it died, packed one after another. | |
| entries[].time | f32 | When it happened, in match seconds. | |
| entries[].count | u16 | How many times. | |
| entries[].event | u8 | What sort of thing, and so which fields follow. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled. | |
| entries[].source | u32 | The unit that did it. | |
| entries[].target | u32 | The unit it was done to. | |
| entries[].stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| entries[].damage | record | event = 15 or 16 | How much harm, and from what. |
| entries[].damage.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| entries[].damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| entries[].damage.sourceObject | u32 | The unit it came from, or zero. | |
| entries[].damage.physical | f32 | Physical damage. | |
| entries[].damage.magical | f32 | Magical damage. | |
| entries[].damage.true | f32 | True damage. | |
| entries[].damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].damage.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| entries[].damage.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].damage.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| entries[].damage.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| entries[].damage.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| entries[].damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].spent | u32 | event = 23 | How much gold, as shown. |
| entries[].value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 | What it carries is not recorded for this range; a client does not show it. |
| entries[].critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| entries[].spree | u32 | event = 50 | How many kills in a row, as shown. |
| entries[].earned | record | event = 24 | Gold earned. |
| entries[].earned.gold | f32 | How much gold, as shown. | |
| entries[].earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal | record | event = 46 or 47 | How much health, and from what. |
| entries[].heal.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| entries[].heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| entries[].heal.sourceObject | u32 | The unit it came from, or zero. | |
| entries[].heal.amount | f32 | How much health, as shown. | |
| entries[].heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].heal.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| entries[].heal.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].heal.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| entries[].heal.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| entries[].heal.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| entries[].heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].effect | record | event = 48 or 49 | The effect, and where it came from. |
| entries[].effect.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| entries[].effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| entries[].effect.sourceObject | u32 | The unit it came from, or zero. | |
| entries[].effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].effect.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| entries[].effect.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].effect.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| entries[].effect.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| entries[].effect.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| entries[].effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].buff | record | event = 49 | What an effect of this sort carries. |
| entries[].buff.buffType | i32 | What sort of effect. | |
| entries[].buff.duration | f32 | How long it lasted, in seconds. | |
| entries[].assist | record | event = 69 | What one unit did toward a death. |
| entries[].assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| entries[].assist.physical | f32 | Physical damage it dealt. | |
| entries[].assist.magical | f32 | Magical damage it dealt. | |
| entries[].assist.true | f32 | True damage it dealt. | |
| entries[].assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | The reward, and who shared it. |
| entries[].kill.gold | f32 | The gold the kill gave. | |
| entries[].kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| entries[].kill.assists | 12 × u32 | The units that helped, then zeros. | |
| entries[].monster | record | event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | Who took the monster. |
| entries[].monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| entries[].monster.skin | i32 | Which look the killer wears. | |
| entries[].monster.side | u32 | The side that took it. | |
| entries[].callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| entries[].callout.item | u32 | The item, shown by name and number. | |
| entries[].callout.quantity | u32 | How many, shown as two digits. | |
| entries[].callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.side | u32 | The side of the player who pointed it out. | |
| entries[].substitution | record | event = 98 | An item the shop shows another in place of. |
| entries[].substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| entries[].substitution.original | u32 | The item replaced. | |
| entries[].substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| entries[].undo | record | event = 94 | A purchase taken back. |
| entries[].undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| entries[].undo.parts | 7 × u32 | What they carry is not recorded for this range; a client does not show them. | |
| entries[].undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. |
Vectors (1)
In 4.18–4.19
Command 33 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| cause | u8 | What sort of thing did it. | |
| killer | u32 | The unit credited with it. | |
| span | f32 | The time the entries below cover, in seconds. | |
| entryCount | u32 | How many entries follow. | |
| entries | count in entryCount × record | What happened to the unit before it died, packed one after another. | |
| entries[].time | f32 | When it happened, in match seconds. | |
| entries[].count | u16 | How many times. | |
| entries[].event | u8 | What sort of thing, and so which fields follow. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled. | |
| entries[].source | u32 | The unit that did it. | |
| entries[].target | u32 | The unit it was done to. | |
| entries[].stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| entries[].damage | record | event = 15 or 16 | How much harm, and from what. |
| entries[].damage.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| entries[].damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| entries[].damage.sourceObject | u32 | The unit it came from, or zero. | |
| entries[].damage.physical | f32 | Physical damage. | |
| entries[].damage.magical | f32 | Magical damage. | |
| entries[].damage.true | f32 | True damage. | |
| entries[].damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].damage.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| entries[].damage.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].damage.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| entries[].damage.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| entries[].damage.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| entries[].damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].spent | u32 | event = 23 | How much gold, as shown. |
| entries[].value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 | What it carries is not recorded for this range; a client does not show it. |
| entries[].critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| entries[].spree | u32 | event = 50 | How many kills in a row, as shown. |
| entries[].earned | record | event = 24 | Gold earned. |
| entries[].earned.gold | f32 | How much gold, as shown. | |
| entries[].earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal | record | event = 46 or 47 | How much health, and from what. |
| entries[].heal.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| entries[].heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| entries[].heal.sourceObject | u32 | The unit it came from, or zero. | |
| entries[].heal.amount | f32 | How much health, as shown. | |
| entries[].heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].heal.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| entries[].heal.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].heal.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| entries[].heal.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| entries[].heal.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| entries[].heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].effect | record | event = 48 or 49 | The effect, and where it came from. |
| entries[].effect.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| entries[].effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| entries[].effect.sourceObject | u32 | The unit it came from, or zero. | |
| entries[].effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].effect.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| entries[].effect.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].effect.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| entries[].effect.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| entries[].effect.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| entries[].effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].buff | record | event = 49 | What an effect of this sort carries. |
| entries[].buff.buffType | i32 | What sort of effect. | |
| entries[].buff.duration | f32 | How long it lasted, in seconds. | |
| entries[].assist | record | event = 69 | What one unit did toward a death. |
| entries[].assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| entries[].assist.physical | f32 | Physical damage it dealt. | |
| entries[].assist.magical | f32 | Magical damage it dealt. | |
| entries[].assist.true | f32 | True damage it dealt. | |
| entries[].assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | The reward, and who shared it. |
| entries[].kill.gold | f32 | The gold the kill gave. | |
| entries[].kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| entries[].kill.assists | 12 × u32 | The units that helped, then zeros. | |
| entries[].monster | record | event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | Who took the monster. |
| entries[].monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| entries[].monster.skin | i32 | Which look the killer wears. | |
| entries[].monster.side | u32 | The side that took it. | |
| entries[].callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| entries[].callout.item | u32 | The item, shown by name and number. | |
| entries[].callout.quantity | u32 | How many, shown as two digits. | |
| entries[].callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.side | u32 | The side of the player who pointed it out. | |
| entries[].substitution | record | event = 98 | An item the shop shows another in place of. |
| entries[].substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| entries[].substitution.original | u32 | The item replaced. | |
| entries[].substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| entries[].undo | record | event = 94 | A purchase taken back. |
| entries[].undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| entries[].undo.parts | 7 × u32 | What they carry is not recorded for this range; a client does not show them. | |
| entries[].undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. |
Vectors (1)
In 4.20
Command 33 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| cause | u8 | What sort of thing did it. | |
| killer | u32 | The unit credited with it. | |
| span | f32 | The time the entries below cover, in seconds. | |
| entryCount | u32 | How many entries follow. | |
| entries | count in entryCount × record | What happened to the unit before it died, packed one after another. | |
| entries[].time | f32 | When it happened, in match seconds. | |
| entries[].count | u16 | How many times. | |
| entries[].event | u8 | What sort of thing, and so which fields follow. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled. | |
| entries[].source | u32 | The unit that did it. | |
| entries[].target | u32 | The unit it was done to. | |
| entries[].stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| entries[].damage | record | event = 15 or 16 | How much harm, and from what. |
| entries[].damage.byParent | u8 | Nonzero to credit it to the parent spell and its caster rather than to the spell and its source unit; where the parent caster is unknown, a client credits the source unit. | |
| entries[].damage.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| entries[].damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| entries[].damage.sourceObject | u32 | The unit it came from, or zero. | |
| entries[].damage.physical | f32 | Physical damage. | |
| entries[].damage.magical | f32 | Magical damage. | |
| entries[].damage.true | f32 | True damage. | |
| entries[].damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].damage.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| entries[].damage.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].damage.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| entries[].damage.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| entries[].damage.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| entries[].damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].spent | u32 | event = 23 | How much gold, as shown. |
| entries[].value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 | What it carries is not recorded for this range; a client does not show it. |
| entries[].critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| entries[].spree | u32 | event = 50 | How many kills in a row, as shown. |
| entries[].earned | record | event = 24 | Gold earned. |
| entries[].earned.gold | f32 | How much gold, as shown. | |
| entries[].earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].heal | record | event = 46 or 47 | How much health, and from what. |
| entries[].heal.byParent | u8 | Nonzero to credit it to the parent spell and its caster rather than to the spell and its source unit; where the parent caster is unknown, a client credits the source unit. | |
| entries[].heal.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| entries[].heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| entries[].heal.sourceObject | u32 | The unit it came from, or zero. | |
| entries[].heal.amount | f32 | How much health, as shown. | |
| entries[].heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].heal.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| entries[].heal.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].heal.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| entries[].heal.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| entries[].heal.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| entries[].heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].effect | record | event = 48 or 49 | The effect, and where it came from. |
| entries[].effect.byParent | u8 | Nonzero to credit it to the parent spell and its caster rather than to the spell and its source unit; where the parent caster is unknown, a client credits the source unit. | |
| entries[].effect.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| entries[].effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| entries[].effect.sourceObject | u32 | The unit it came from, or zero. | |
| entries[].effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| entries[].effect.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| entries[].effect.parent | 2-byte bits | Where the spell or effect came from. | |
| entries[].effect.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| entries[].effect.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| entries[].effect.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| entries[].effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| entries[].effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| entries[].buff | record | event = 49 | What an effect of this sort carries. |
| entries[].buff.buffType | i32 | What sort of effect. | |
| entries[].buff.duration | f32 | How long it lasted, in seconds. | |
| entries[].assist | record | event = 69 | What one unit did toward a death. |
| entries[].assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| entries[].assist.physical | f32 | Physical damage it dealt. | |
| entries[].assist.magical | f32 | Magical damage it dealt. | |
| entries[].assist.true | f32 | True damage it dealt. | |
| entries[].assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| entries[].kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | The reward, and who shared it. |
| entries[].kill.gold | f32 | The gold the kill gave. | |
| entries[].kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| entries[].kill.assists | 12 × u32 | The units that helped, then zeros. | |
| entries[].monster | record | event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | Who took the monster. |
| entries[].monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| entries[].monster.skin | i32 | Which look the killer wears. | |
| entries[].monster.side | u32 | The side that took it. | |
| entries[].callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| entries[].callout.item | u32 | The item, shown by name and number. | |
| entries[].callout.quantity | u32 | How many, shown as two digits. | |
| entries[].callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| entries[].callout.side | u32 | The side of the player who pointed it out. | |
| entries[].substitution | record | event = 98 | An item the shop shows another in place of. |
| entries[].substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| entries[].substitution.original | u32 | The item replaced. | |
| entries[].substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| entries[].undo | record | event = 94 | A purchase taken back. |
| entries[].undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| entries[].undo.parts | 7 × u32 | What they carry is not recorded for this range; a client does not show them. | |
| entries[].undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. |
Vectors (1)
InhibitorState
What a server sends to change the state of an inhibitor, and say how long the new state lasts. The header names the unit this is about.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 42 |
| 4.11–4.17 | 43 |
| Field | Type | What it is |
|---|---|---|
| state | 2-byte bits | |
| state.duration | bit 0 to 14 | How long the state lasts, in seconds; zero where alive is set. |
| state.alive | bit 15 | Set while the inhibitor stands, with duration zero; clear while a state lasts the duration given. |
Vectors (2)
In 4.18–4.20
Command 43 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| state | u8 | Which state. A server sends 0 as the inhibitor falls. |
| duration | u16 | Seconds the state lasts, counted down by the client. After a state of 0, the client announces once that the inhibitor returns soon, when fewer than 15 seconds remain. |
Vectors (1)
UnitDiedOnMap
What a server sends to say a unit died, for what the client draws on its map rather than on the field. The header names the unit this is about.
Revived
What a server sends to put a champion back on the field. The header names the unit this is about.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 46 |
| 4.11–4.20 | 47 |
| Field | Type | What it is |
|---|---|---|
| atX | f32 | Where it returns, along one ground axis, in world units. |
| atZ | f32 | Where it returns, along the other, in world units. |
| resource | f32 | What its spendable resource stands at on return. |
Vectors (4)
Respawned
What a server sends to bring a dead champion back at a place. The header names the champion. A client keeps the champion’s level, experience, gold, maxima and spell ranks, and plays the coming back.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 73 |
| 4.11–4.20 | 74 |
The champion comes back with full health, and for its own champion a client moves the camera onto it where the player asked for that. A client sets the champion on the nearest open ground.
| Field | Type | What it is |
|---|---|---|
| x | f32 | Where it comes back, in world units. |
| z | f32 | Where it comes back, in world units. |
| resource | f32 | Its resource, such as mana, once back. |
Vectors (3)
UseObject
What a client sends to use a unit: as its player right-clicks a unit its character data makes usable by them and off its use cooldown. The header names the sender’s champion.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 57 |
| 4.11–4.20 | 58 |
A client also sends it as a unit its champion is attacking changes side (TeamChanged), whether usable or not.
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit to use. |
Vectors (3)
Spells
Casting, levelling spells, cooldowns, and the missiles casts send out.
Casting
A client asks to cast from one of its champion’s slots with CastSpell, at a
point or at a unit. A server answers with SpellCastAnswer, which says the unit
is casting and carries the whole casting: the spell, its level, its target, its
timings and the missile it will send. A client shows the cast from that answer;
CastSpell alone shows nothing. A server then sets how long until the slot is
ready with SpellCooldown, and, for a spell with uses, how many are left with
SpellCharges. A client reports a cooldown it sets by itself with
CooldownSet.
Which slots a client lets its player cast from at all is a value of the champion’s that replication carries.
In 4.1–4.19
A client casts nothing for a casting record whose length disagrees with its count of targets.
In 4.1–4.19
The casting record names the spell by the hash of its name, and a client casts nothing for a spell it has not loaded.
In 4.1–4.19
SpellCastAnsweris both the answer to the client that asked and what every client sees of the cast; there is nothing else to send it. A client applies the cost and the cooldown only where the record names the caster. As the cast lets go, a client starts the slot’s cooldown from the record, where that is longer than what remains, spends the record’s cost, and launches the record’s missile itself while the caster is in view.A cast the client takes also places the caster at the record’s launch point, unless the record says to keep it, so a server sends where the caster stands. The answer’s movement sync id is counted with the paths a unit takes (see Ordering).
A client lets its player cast from a slot only where the spell in it has a level above zero, its castable bit is set, it is off cooldown, its cost is within the champion’s mana, and the champion’s action state allows casting.
A spell held down before it is let go charges where the cast answer leaves its
flags clear. While it charges, a client sends SpellCharge with the cursor’s
position, and once more as the charge ends.
A server ends a spell’s aiming on a client with CancelTargeting, shows and
takes away a spell’s targeter on a client’s own champion with
SpellTargeterShown and SpellTargeterHidden, and sets which spells a unit
casts by itself with Autocast.
Levelling
A client asks to put a point into a spell with UpgradeSpell. A server answers
with SpellUpgraded, and a client shows the new level;
SpellLevel sets a level outright. The spell points a champion has to spend
are what LevelUp carries. A server can set how far each
spell can be raised, and at which champion levels, with SpellRankLimits.
In 4.1–4.19
A client spends the point as it sends
UpgradeSpell.LevelUpstates the champion’s level and its points.
In 4.1–4.19
A client asks only where the champion has a point to spend, is of the level the slot requires, and the spell is below its highest level. A request a server never answers leaves the level as it was and the point spent, until the next
SpellUpgradedorLevelUp.
What a slot holds
SpellInSlot puts a spell in a slot. SpellSlotChanged changes one thing about
a spell already there: how it is aimed, its name, its ranges, its icon, or the
units it is cast from. SpellTargetingChanged, SpellNameChanged,
SpellRangeChanged, SpellIconChanged and SpellOffsetTargetChanged each
change one of these alone, and SpellSlotChangedForOwner changes a slot as
SpellSlotChanged does, for the owner’s client alone. SpellToggled turns a spell on or off, SpellNumbers
fills in the numbers a client shows beside a unit’s spells, and
SpellCostChanged changes what a spell costs. A server can also draw rings
around its player’s cursor with CursorRings.
A marker has no slots. A server MUST NOT send SpellInSlot naming a marker: a
client fails on it, whatever the slot.
Missiles
A missile is named by its own id. MissileState says where one is and what it
is doing, with the casting that sent it; MissileLaunched says the missile a
swing or a cast prepared has left the unit. A server changes what a missile
flies at with MissileRetarget and how fast with MissileSpeed, says what it
struck with MissileHits, and is rid of it with DestroyMissile. A missile that
bounces from unit to unit does so with BounceMissile, and a server can
name in advance the units a chain missile will strike with ChainTargets.
MissileCourse sets where a missile starts and how fast it flies, and restarts
its flight. A client reports where a missile that flies straight is, and where
it is going, with MissileReport, which a server MAY ignore.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
CastSpell
What a client sends to cast something from a slot, at a point or at a unit. The header names the sender’s champion.
In 4.1–4.17
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 153 |
| 4.11–4.17 | 154 |
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.slot | bit 0 to 5 | Which slot is being cast from. A client sends 0, 1 or 2, for the champion’s first three spells. |
| how.summonerSpell | bit 6 | Set where the slot is a summoner spell’s. |
| how.clicked | bit 7 | Set where the cast began with a click on the spell’s button rather than its key. |
| x | f32 | A point on the ground the cast is described by, along one axis, in world units. |
| z | f32 | The same point, along the other axis, in world units. |
| endX | f32 | The second point of what aims the spell: the same as x and z for a point or a unit; for a line dragged out, its far end, cut to the spell’s length; for a cone, its far point. |
| endZ | f32 | The second point, along the other axis, in world units. |
| target | u32 | The unit aimed at; for a spell that takes no aim, the caster itself, with its own position in both points. Zero only where no unit is aimed at. |
Vectors (2)
In 4.18–4.20
Command 154 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.fromSummonerSlots | bit 0 | Set where the slot counts among the summoner slots rather than the unit’s own. |
| how.fromHud | bit 1 | Set where the cast came from clicking the panel rather than the world. |
| how.unused | bit 2 to 7 | Unused; a client may leave any value here, and a server ignores it. |
| slot | u8 | Which slot is being cast from. It names slots for a unit’s own spells and for items alike. |
| x | f32 | A point on the ground the cast is described by, along one axis, in world units. |
| z | f32 | The same point, along the other axis, in world units. |
| endX | f32 | The second point of what aims the spell: the same as x and z for a point or a unit; for a line dragged out, its far end, cut to the spell’s length; for a cone, its far point. |
| endZ | f32 | The second point, along the other axis, in world units. |
| target | u32 | The network object aimed at, or zero where the cast is aimed at ground. |
SpellCastAnswer
What a server sends to say a unit is casting a spell. The header names the unit casting, as the casting inside does.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 180 |
| 4.11–4.17 | 181 |
| Field | Type | What it is |
|---|---|---|
| syncId | u32 | It settles whether a client brings the caster’s position in line for this cast, and nothing else. |
| how | 1-byte bits | |
| how.endCharge | bit 0 | Set where the cast ends a charge: a client drops the message unless the caster is charging that same spell. Clear lets a client charge a spell that charges, sending SpellCharge as it does. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
| cast | SpellCast | The casting. |
Vectors (3)
In 4.18–4.20
Command 181 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| syncId | u32 | The movement sync id the cast was made against. Where it is the unit’s latest or newer, a client moves the caster to the cast’s launch point. |
| how | 1-byte bits | |
| how.endCharge | bit 0 | Set where it ends a charged cast; a client acts on it only while that spell is charging. Clear, a charged cast by the client’s own champion starts the charge display. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
| cast | SpellCast | The casting. |
Vectors (2)
SpellCooldown
What a server sends to set how long until one of a unit’s spells is ready. The header names the unit this is about.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 132 |
| 4.11–4.17 | 133 |
| Field | Type | What it is |
|---|---|---|
| which | 1-byte bits | |
| which.slot | bit 0 to 5 | Which slot. |
| which.summonerSpell | bit 6 | Set where the slot counts among the summoner slots, so that 0 and 1 name those two. |
| which.speakWhenReady | bit 7 | Set where the champion says something once the wait is over; a client does so for its own champion’s fourth slot. |
| timeLeft | f32 | How long is left, in seconds. |
| outOf | f32 | The whole cooldown the time left is shown against, taken only where above zero and above timeLeft; otherwise, as for -1, a client keeps its own, replacing it with timeLeft only where that is larger or the spell was not cooling down. |
Vectors (2)
In 4.18–4.20
Command 133 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot. |
| how | 1-byte bits | |
| how.summonerSpell | bit 0 | Set where the slot is a summoner slot rather than one of the unit’s own. It does not move the slot into the summoner range: a client puts the wait on the slot named, set or clear. |
| how.speakWhenReady | bit 1 | Set where the unit says something once the wait is over. |
| how.unused | bit 2 to 7 | Unused; a server writes zero. |
| timeLeft | f32 | How long is left, in seconds. A client counts down from it. |
| outOf | f32 | The length the client shows that remainder against, in seconds: 20 left out of 40 shows the wait half run. |
Vectors (2)
SpellCharges
What a server sends to say how many uses one of a unit’s spells has left and when the next returns. The header names the unit this is about.
In every range of this book
Command 263 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| summonerSpell | u8 | Whether the slot is a summoner slot rather than one of the unit’s own. Values: 0 no, 1 yes. |
| slot | u32 | Which slot. |
| charges | i32 | How many uses are left. |
| mostCharges | i32 | How many charges the slot can hold: any value below zero, -1 among them, keeps the spell’s own figure for its level; 0 has the slot use no charges; anything above zero is that many. |
| rechargeFor | f32 | How long the next use has been coming back, in seconds. |
| rechargeTime | f32 | How long a use takes to come back, in seconds. |
Vectors (3)
SpellCharge
What a client sends while its player charges a spell, and as the charge ends. A spell charges where its cast answer (SpellCastAnswer) leaves the end-of-charge flag clear. A client sends updates at the spell’s own interval, at least 0.1 seconds, where the spell has one; it ends the charge as the key is pressed again, or released where casting on release, or as the window loses focus. The header names the sender’s champion.
In 4.1–4.17
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 229 |
| 4.11–4.17 | 230 |
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | Which spell, and whether the charge ends. |
| flags.slot | bit 0 to 5 | The spell’s slot. |
| flags.summonerSpell | bit 6 | Set where the slot is a summoner spell’s. |
| flags.end | bit 7 | Set as the charge ends, clear for an update. |
| x | f32 | Where the cursor points on the ground, in world units. |
| y | f32 | Its height, in world units. |
| z | f32 | Where the cursor points on the ground, in world units. |
Vectors (2)
In 4.18–4.20
Command 230 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | Whether the spell is a summoner spell’s, and whether the charge ends. |
| flags.summonerSpell | bit 0 | Set where the slot is a summoner spell’s. |
| flags.end | bit 1 | Set as the charge ends, clear for an update. |
| flags.unused | bit 2 to 7 | Unused; a client may leave any value here, and a server ignores it. |
| slot | u8 | The spell’s slot. |
| x | f32 | Where the cursor points on the ground, in world units. |
| y | f32 | Its height, in world units. |
| z | f32 | Where the cursor points on the ground, in world units. |
Vectors (1)
CancelTargeting
What a server sends to end a spell’s targeting on a client. The header names the unit.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 133 |
| 4.11–4.17 | 134 |
A client cancels the aiming only where that slot is being aimed, and otherwise does nothing. A server sends it to clients watching a match.
| Field | Type | What it is |
|---|---|---|
| which | 1-byte bits | Which spell. |
| which.slot | bit 0 to 5 | Which slot. |
| which.summonerSpell | bit 6 | Set where the slot is a summoner slot. |
| which.unused | bit 7 | Unused; a server writes zero. |
Vectors (2)
In 4.18–4.20
Command 134 on events, sent by the server, reliable.
A client cancels the aiming only where that slot is being aimed, and otherwise does nothing. A server sends it to clients watching a match.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot; all eight bits count. |
| which | 1-byte bits | Which book the slot is in. |
| which.summonerSpell | bit 0 | Set where the slot is a summoner slot. |
| which.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (1)
SpellTargeterShown
What a server sends to show a spell’s targeter on the client’s own champion. The header names the champion.
In 4.20
Command 297 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | i32 | Which slot’s spell, from 0 to 63. A client does nothing for any other value. |
| time | f32 | How long the targeter shows, in seconds. |
Vectors (1)
SpellTargeterHidden
What a server sends to take a spell’s targeter away. The header names the champion.
In 4.20
Command 298 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | i32 | Which slot’s spell, from 0 to 63. A client does nothing for any other value. |
Vectors (1)
Autocast
What a server sends to set which spells a unit casts by itself. The header names the unit.
In every range of this book
Command 31 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | i8 | The slot cast by itself, from 0 to 62; any other value leaves it unset. |
| criticalSlot | i8 | The slot cast by itself on a critical strike, under the same terms. |
Vectors (2)
UpgradeSpell
What a client sends to put a point into a spell. The header names the sender’s champion.
In 4.1–4.17
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 56 |
| 4.11–4.17 | 57 |
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot is being raised. |
| how | 1-byte bits | |
| how.evolve | bit 0 | Set where the player spends an evolution point on the slot rather than levelling it. |
| how.unused | bit 1 to 7 | Always clear. |
Vectors (2)
In 4.18–4.20
Command 57 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot is being raised. |
| how | 1-byte bits | |
| how.evolve | bit 0 | Set where the point changes the spell rather than raising it. |
| how.unused | bit 1 to 7 | Unused; a client may leave any value here, and a server ignores it. |
Vectors (1)
SpellUpgraded
What a server sends to confirm a unit’s spell went up a level. The header names the unit this is about.
In every range of this book
Command 21 on clock, sent by the server, reliable.
Arriving on the events channel instead, it raises the spell as well, and a client shows the new level either way.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot. |
| level | u8 | The level the spell now stands at. |
| pointsLeft | u8 | How many spell points are left unspent. |
Vectors (3)
SpellLevel
What a server sends to set the level of one of a unit’s spells. The header names the unit this is about.
In 4.1–4.4
Command 90 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u32 | Which slot. A client raises that slot’s level by one, to at most 6. |
Vectors (3)
In 4.5–4.20
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.5–4.10 | 90 |
| 4.11–4.20 | 91 |
| Field | Type | What it is |
|---|---|---|
| slot | u32 | Which slot. |
| level | u32 | The level it now stands at. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
SpellRankLimits
What a server sends its player’s champion to set how far each spell can be raised, and at which levels. The header names the champion. In the tutorial they have no effect.
In every range of this book
Command 273 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| maxRanks | 4 × u8 | Each spell’s highest rank. |
| levels | 24 × u8 | Six per slot, slot 0 first: the level a champion needs to raise that spell from rank 0, 1, 2, 3, 4 and 5 in turn. |
Vectors (2)
SpellInSlot
What a server sends to put a spell in one of a unit’s slots. A server names in the header the unit this is about.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 111 |
| 4.11–4.20 | 112 |
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit whose slot this is. |
| spell | u32 | Which spell, by the number its name gives, as Objects and identifiers works it out. |
| slot | u8 | Which slot. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
SpellSlotChanged
What a server sends to change one thing about a spell already in a unit’s slot. The kind settles what follows it. The header names the unit this is about.
In 4.1–4.17
Command 23 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| which | 1-byte bits | ||
| which.slot | bit 0 to 5 | Which slot. A champion’s own spells count from 0. | |
| which.summonerSlots | bit 6 | Set where slot names a summoner spell’s slot, clear for the unit’s own spells; every kind obeys it. | |
| which.unused | bit 7 | Unused; a server writes zero. | |
| kind | u8 | What changes. A client does nothing for any other value. Values: 0 targeting, 1 name, 2 range, 3 maxRange, 4 shownRange, 5 icon, 6 offsetTargets. | |
| name | text, ended by a zero byte | kind = 1 | The name the client loads the spell under, ended by a zero byte. A client shows the named spell’s icon in the slot. |
| targeting | u8 | kind = 0 | How the spell is aimed. |
| range | f32 | kind = 2 | How far the spell is cast, in world units. |
| maxRange | f32 | kind = 3 | The farthest the spell’s cast range can grow to, in world units. |
| shownRange | f32 | kind = 4 | The range its range indicator shows, in world units. |
| icon | u8 | kind = 5 | Which icon the spell shows. |
| targetCount | u8 | kind = 6 | How many units follow. |
| targets | count in targetCount × u32 | kind = 6 | The units the spell is cast from. |
In 4.18–4.20
Command 23 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| slot | u8 | Which slot. A champion’s own spells count from 0. | |
| what | 1-byte bits | ||
| what.summonerSpell | bit 0 | Set where the slot is a summoner slot rather than one of the unit’s own. | |
| what.unused | bit 1 to 7 | Unused; a server writes zero. | |
| kind | u32 | What changes, and so which shape follows. Values: 1 targeting, 2 name, 3 range, 4 maxRange, 5 shownRange, 6 icon, 7 targets. | |
| targeting | u8 | kind = 1 | How the spell is aimed. |
| name | text, ended by a zero byte | kind = 2 | The name the client loads the spell under, ended by a zero byte. A client shows the named spell’s icon in the slot. |
| range | f32 | kind = 3 | How far the spell is cast, in world units. |
| maxRange | f32 | kind = 4 | The farthest the spell’s cast range can grow to, in world units. |
| shownRange | f32 | kind = 5 | The range its range indicator shows, in world units. |
| icon | u8 | kind = 6 | Which icon the spell shows. |
| targetCount | u8 | kind = 7 | How many units follow. |
| targets | count in targetCount × u32 | kind = 7 | The units the spell is cast from. |
Vectors (2)
SpellSlotChangedForOwner
What a server sends only to the client whose unit a spell slot belongs to, to change something about the spell in it, as SpellSlotChanged does for every client. The header names the unit.
In 4.20
Command 293 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| slot | u8 | Which slot. A champion’s own spells count from 0. | |
| what | 1-byte bits | ||
| what.summonerSpell | bit 0 | Set where the slot is a summoner slot rather than one of the unit’s own. | |
| what.unused | bit 1 to 7 | Unused; a server writes zero. | |
| kind | u32 | What changes, and so which shape follows. Values: 1 targeting, 2 name, 3 range, 4 maxRange, 5 shownRange, 6 icon, 7 targets. | |
| targeting | u8 | kind = 1 | How the spell is aimed. |
| name | text, ended by a zero byte | kind = 2 | The name the client loads the spell under, ended by a zero byte. A client shows the named spell’s icon in the slot. |
| range | f32 | kind = 3 | How far the spell is cast, in world units. |
| maxRange | f32 | kind = 4 | The farthest the spell’s cast range can grow to, in world units. |
| shownRange | f32 | kind = 5 | The range its range indicator shows, in world units. |
| icon | u8 | kind = 6 | Which icon the spell shows. |
| targetCount | u8 | kind = 7 | How many units follow. |
| targets | count in targetCount × u32 | kind = 7 | The units the spell is cast from. |
Vectors (4)
kind-03-on-4-20, kind-06-on-4-20, kind-07-on-4-20, one-on-4-20
SpellToggled
What a server sends to turn one of a unit’s spells on or off. The header names the unit this is about.
In 4.1–4.17
Command 280 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u32 | Which of the champion’s own spells, 0 to 62; a client ignores any other value. Summoner spells are never toggled by it. |
| state | u8 | Nonzero to toggle the spell on, zero off. |
Vectors (1)
In 4.18–4.20
Command 280 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u32 | Which slot. |
| state | 1-byte bits | |
| state.on | bit 0 | Set where the spell is now on. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
SpellNumbers
What a server sends to fill in the numbers a client shows beside a unit’s spells. The header names no object: a server writes zero.
In 4.1–4.6
Command 126 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| entryCount | u16 | How many sets of numbers follow. |
| entries | count in entryCount × record | The sets themselves. |
| entries[].unit | u32 | The unit whose spell this is. |
| entries[].slot | u8 | Which slot. |
| entries[].values | 5 × f32 | The numbers themselves, one place each. |
| entries[].hidden | 5 × u8 | Which of those places the other side is not shown, one for each. |
Vectors (3)
In 4.7–4.20
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.7–4.10 | 126 |
| 4.11–4.20 | 127 |
| Field | Type | What it is |
|---|---|---|
| entryCount | u16 | How many sets of numbers follow. |
| entries | count in entryCount × SpellNumberSet | The sets themselves. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
SpellCostChanged
What a server sends to change what a spell costs the player it is sent to. The header names that player’s champion.
In 4.1–4.17
Command 260 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| costType | u8 | How the amount applies. Values: 0 flat, 1 multiplier. |
| slot | i32 | Which spell slot. |
| amount | f32 | The amount. |
Vectors (1)
In 4.18–4.20
Command 260 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| costType | u8 | How the amount applies. A client ignores any other value, 0 among them. Values: 1 flat, 2 multiplier. |
| slot | i32 | Which spell slot. |
| amount | f32 | The amount. |
Vectors (1)
CursorRings
What a server sends its player’s champion to draw rings around the cursor while no spell is being aimed. The header names the champion.
In every range of this book
Command 264 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| radius | f32 | The ring’s radius, in world units. Zero or less draws neither ring. |
| secondRadius | f32 | A second ring’s radius, in world units, drawn where above zero. |
Vectors (2)
MissileState
What a server sends to say where a missile is and what it is doing.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 58 |
| 4.11–4.17 | 59 |
Where the end lies on walkable ground, a client takes the ground’s height there for endY. Where age is not zero, it moves the missile’s trail on by age seconds. The header names the unit casting, as the casting inside does.
| Field | Type | What it is |
|---|---|---|
| atX | f32 | Where the missile is, along one ground axis, in world units. |
| atY | f32 | Where the missile is, in height, in world units. |
| atZ | f32 | Where the missile is, along the other ground axis, in world units. |
| casterAtX | f32 | Where the unit that threw it stood when it left, along one ground axis, in world units. |
| casterAtY | f32 | Where the unit that threw it stood when it left, in height, in world units. |
| casterAtZ | f32 | Where the unit that threw it stood when it left, along the other ground axis, in world units. |
| facingX | f32 | Which way the missile points, along one ground axis. |
| facingY | f32 | Which way the missile points, in height. |
| facingZ | f32 | Which way the missile points, along the other ground axis. |
| velocityX | f32 | How fast the missile travels, along one ground axis, in world units a second. |
| velocityY | f32 | How fast the missile travels, in height, in world units a second. |
| velocityZ | f32 | How fast the missile travels, along the other ground axis, in world units a second. |
| startX | f32 | Where the missile began, along one ground axis, in world units. |
| startY | f32 | Where the missile began, in height, in world units. |
| startZ | f32 | Where the missile began, along the other ground axis, in world units. |
| endX | f32 | Where the missile is bound for, along one ground axis, in world units. |
| endY | f32 | Where the missile is bound for, in height, in world units. |
| endZ | f32 | Where the missile is bound for, along the other ground axis, in world units. |
| unitAtX | f32 | Where to place the casting unit, along one ground axis, in world units, unless the casting itself places it. |
| unitAtY | f32 | Its height, in world units. |
| unitAtZ | f32 | Where to place the casting unit, along the other ground axis, in world units. |
| age | f32 | How long the missile has existed, in seconds. |
| speed | f32 | How fast the missile travels, in world units a second. |
| lifeSpent | f32 | How much of its life is gone, as a part of one. |
| speedChange | f32 | What is added to that speed over the time below, in world units a second. |
| speedChangeTime | f32 | When the speed changes, in seconds from when the client creates the missile: once that much time has passed, a client adds the change to the speed, once. Where the speed never changes, a server sends the largest finite float, 340282346638528859811704183484516925440; zero or less takes effect at once. |
| how | 1-byte bits | |
| how.bounced | bit 0 | Set where the missile has bounced. It applies only where age is above zero: a client then moves the missile to its position and places it again from the caster’s position, the end and the facing. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
| cast | SpellCast | The casting that threw it. |
Vectors (3)
In 4.18–4.20
Command 59 on events, sent by the server, reliable.
The header names the unit casting, as the casting inside does.
| Field | Type | What it is |
|---|---|---|
| atX | f32 | Where the missile is, along one ground axis, in world units. |
| atY | f32 | Where the missile is, in height, in world units. |
| atZ | f32 | Where the missile is, along the other ground axis, in world units. |
| casterAtX | f32 | Where the unit that threw it stood when it left, along one ground axis, in world units. |
| casterAtY | f32 | Where the unit that threw it stood when it left, in height, in world units. |
| casterAtZ | f32 | Where the unit that threw it stood when it left, along the other ground axis, in world units. |
| facingX | f32 | Which way the missile points, along one ground axis. |
| facingY | f32 | Which way the missile points, in height. |
| facingZ | f32 | Which way the missile points, along the other ground axis. |
| velocityX | f32 | How fast the missile travels, along one ground axis, in world units a second. |
| velocityY | f32 | How fast the missile travels, in height, in world units a second. |
| velocityZ | f32 | How fast the missile travels, along the other ground axis, in world units a second. |
| startX | f32 | Where the missile began, along one ground axis, in world units. |
| startY | f32 | Where the missile began, in height, in world units. |
| startZ | f32 | Where the missile began, along the other ground axis, in world units. |
| endX | f32 | Where the missile is bound for, along one ground axis, in world units. |
| endY | f32 | Where the missile is bound for, in height, in world units. |
| endZ | f32 | Where the missile is bound for, along the other ground axis, in world units. |
| unitAtX | f32 | Where to place the casting unit, along one ground axis, in world units, unless the casting itself places it. |
| unitAtY | f32 | Its height, in world units. |
| unitAtZ | f32 | Where to place the casting unit, along the other ground axis, in world units. |
| age | f32 | How long the missile has existed, in seconds. |
| speed | f32 | How fast the missile travels, in world units a second. |
| lifeSpent | f32 | How much of its life is gone, as a part of one. |
| speedChange | f32 | What is added to that speed over the time below, in world units a second. |
| speedChangeTime | f32 | When the speed changes, in seconds from when the client creates the missile: once that much time has passed, a client adds the change to the speed, once. Where the speed never changes, a server sends the largest finite float, 340282346638528859811704183484516925440; zero or less takes effect at once. |
| how | 1-byte bits | |
| how.bounced | bit 0 | Set where the missile has already turned off something it struck. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
| cast | SpellCast | The casting that threw it. |
Vectors (2)
MissileLaunched
What a server sends as the missile a swing or a cast prepared leaves the unit. The header names the unit swinging or casting.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 109 |
| 4.11–4.20 | 110 |
| Field | Type | What it is |
|---|---|---|
| missile | u32 | The missile, by the name the swing or cast that prepared it gave it. |
Vectors (4)
MissileRetarget
What a server sends to change what a missile flies at. The header names the missile.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 237 |
| 4.11–4.20 | 238 |
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit it now flies at, or a name no unit answers to for none. |
| x | f32 | Where it now flies to, along one ground axis, in world units. |
| y | f32 | In height, in world units. |
| z | f32 | Along the other ground axis, in world units. |
Vectors (4)
MissileSpeed
What a server sends to change how fast a missile flies. The header names the missile.
In every range of this book
Command 269 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| speed | f32 | The new speed, in world units a second. |
| delay | f32 | How long before it applies, in seconds. |
Vectors (2)
MissileHits
What a server sends to say which units a missile struck. The header names the missile.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 37 |
| 4.11–4.20 | 38 |
| Field | Type | What it is |
|---|---|---|
| count | u16 | How many units follow. A client reads it as signed, so a count above 32767 carries none. |
| targets | count in count × u32 | The units struck, in order. |
Vectors (3)
DestroyMissile
What a server sends to be rid of a missile a client is drawing. The header names the missile.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 89 |
| 4.11–4.20 | 90 |
No body.
Vectors (4)
BounceMissile
What a server sends as a missile bounces on to another unit. The header names the missile.
In every range of this book
Command 281 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit it now flies at. |
| fromX | f32 | Where it bounces from, along one ground axis, in world units. |
| fromY | f32 | Where it bounces from, in height, in world units. |
| fromZ | f32 | Where it bounces from, along the other ground axis, in world units. |
Vectors (2)
ChainTargets
What a server sends to name the units a chain missile will strike in turn. The header names the missile.
In 4.1–4.19
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 107 |
| 4.11–4.19 | 108 |
Where the client already holds the missile, the missile takes the list; otherwise the list waits for the caster’s next chain missile.
| Field | Type | What it is |
|---|---|---|
| count | i32 | How many of the slots are used, 0 to 32. |
| caster | u32 | The unit casting the missile. |
| targets | 32 × u32 | Always 32 slots; those past count have no effect. |
Vectors (2)
In 4.20
Command 108 on events, sent by the server, reliable.
Where the client already holds the missile, the missile takes the list; otherwise the list waits for the caster’s next chain missile.
| Field | Type | What it is |
|---|---|---|
| count | u32 | How many targets follow. |
| caster | u32 | The unit casting the missile. |
| targets | count in count × u32 | The units the missile chains to, as many as count says. |
Vectors (1)
MissileCourse
What a server sends to set where a missile starts from and how fast it travels, which restarts its flight. The header names the missile.
In 4.1–4.10
Command 59 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unused | u8 | Unused; a server writes zero. |
| fromX | f32 | Where the missile starts, in world units, along one ground axis. |
| fromY | f32 | Where the missile starts, in world units, in height. |
| fromZ | f32 | Where the missile starts, in world units, along the other ground axis. |
| velocityX | f32 | How fast it travels, in world units a second, along one ground axis. |
| velocityY | f32 | How fast it travels, in world units a second, in height. |
| velocityZ | f32 | How fast it travels, in world units a second, along the other ground axis. |
Vectors (1)
MissileReport
What a client sends to report where a missile that flies straight is and where it is going. A server need do nothing with it. The header names the missile.
In 4.1–4.9
Command 58 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| atX | f32 | Where the missile is, in world units, along one ground axis. |
| atY | f32 | Where the missile is, in world units, in height. |
| atZ | f32 | Where the missile is, in world units, along the other ground axis. |
| unknownAX | f32 | What this holds is not recorded. |
| unknownAY | f32 | What this holds is not recorded. |
| unknownAZ | f32 | What this holds is not recorded. |
| travelX | f32 | Its end less its start, in world units, along one ground axis. |
| travelY | f32 | Its end less its start, in world units, in height. |
| travelZ | f32 | Its end less its start, in world units, along the other ground axis. |
| velocityX | f32 | How fast it travels, in world units a second, along one ground axis. |
| velocityY | f32 | How fast it travels, in world units a second, in height. |
| velocityZ | f32 | How fast it travels, in world units a second, along the other ground axis. |
| unknownBX | f32 | What this holds is not recorded. |
| unknownBY | f32 | What this holds is not recorded. |
| unknownBZ | f32 | What this holds is not recorded. |
| endX | f32 | Where it ends, in world units, along one ground axis. |
| endY | f32 | Where it ends, in world units, in height. |
| endZ | f32 | Where it ends, in world units, along the other ground axis. |
| targetX | f32 | Where its target is, or the point it aims at, in world units, along one ground axis. |
| targetY | f32 | Where its target is, or the point it aims at, in world units, in height. |
| targetZ | f32 | Where its target is, or the point it aims at, in world units, along the other ground axis. |
| age | f32 | How long since it was launched, in seconds. |
| speed | f32 | How fast it travels, in world units a second. |
| unset | bytes, 4 | A client writes nothing in particular here. |
| unknownC | f32 | What this holds is not recorded; a server ignores it. |
| unknownD | f32 | What this holds is not recorded; a server ignores it. |
| flag | u8 | Zero or one; what it means is not recorded. |
| cast | bytes, sized by remaining | A description of the cast the missile belongs to, at most 512 bytes. |
Vectors (1)
Effects and looks
The lasting effects units carry, the particles a client draws, and how units look and move on screen. None of this changes what a unit can do; that is replication’s to say.
Lasting effects
A lasting effect sits in one of a unit’s effect slots and shows on its icon row.
A server puts one on with EffectAdded, replaces the one in a slot with
EffectReplaced, restates how many are stacked with EffectCount, and takes it
off with EffectRemoved. The unit carrying an effect can differ from the unit
that cast it. A server can do each of these for several units at once
(EffectAddedGroup, EffectReplacedGroup, EffectCountGroup,
EffectRemovedGroup), and set the number an effect shows on its icon with
EffectCounter.
Particles
ParticlesCreated starts a client drawing particles, and KillParticle stops
one. A server can also pause or resume a named group of emitters with
EmitterPause, and drive a value of a unit’s lasting particles from something
that changes, such as a capture point or the unit’s resource, with
ParticleSource.
ParticlesCreated starts sets of particles, each named by its own id.
Looks and animation
A server lays a new look over a unit’s own with AppearancePushed; looks
stack, the newest showing, and AppearancePopped and AppearanceCleared take
them away. AnimationOverrides has a unit play one set of movements wherever it
would have played another.
A server can also:
- play, stop, pause and advance a unit’s animations (
PlayAnimation,StopAnimation,PauseAnimation,AnimationAdvanced); - fade a unit or a side’s minions (
FadeTo,FadeRemoved,FadeMinions); - set how each nexus looks (
NexusIdle,NexusSkin); - tint a side’s screens (
ScreenTint); - change the voice a unit speaks with (
VoiceOverride).
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
EffectAdded
What a server sends to put a lasting effect on a unit. The header names the unit carrying the effect, which can differ from the caster named inside.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 182 |
| 4.11–4.20 | 183 |
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which of the unit’s effect slots it sits in. |
| kind | u8 | What sort of effect it is. |
| count | u8 | How many of it are stacked there. |
| hidden | u8 | Whether the client keeps it off the unit’s display. Values: 0 shown, 1 hidden. |
| effect | u32 | Which effect, by the number its name gives, as Objects and identifiers works it out. |
| package | u32 | Which set of art and sound the client draws it with. |
| runningFor | f32 | How long it has already run, in seconds. |
| lasts | f32 | How long it runs in total, in seconds. |
| caster | u32 | The unit that put it there. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
EffectReplaced
What a server sends about a lasting effect in a slot that already holds one. The header names the unit carrying the effect, which can differ from the caster named inside.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 47 |
| 4.11–4.20 | 48 |
It puts a lasting effect in the slot, keeping the slot rather than taking the old one off first.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which of the unit’s effect slots. |
| runningFor | f32 | How long the effect has already run, in seconds. |
| lasts | f32 | How long it runs in total, in seconds. |
| caster | u32 | The unit that put it there. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
EffectCount
What a server sends to restate how many of a lasting effect are stacked on a unit. The header names the unit this is about.
In every range of this book
Command 28 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot. |
| count | u8 | How many are stacked there now. |
| timeLeft | f32 | How long it has left to run, in seconds. With runningFor it adds up to the whole run the effect was added with. |
| runningFor | f32 | How long it has already run, in seconds. |
| caster | u32 | The unit that put it there. |
Vectors (2)
EffectRemoved
What a server sends to take a lasting effect off a unit. The header names the unit this is about.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 122 |
| 4.11–4.17 | 123 |
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot it sat in. |
| effect | u32 | Which effect, by the number its name gives, as Objects and identifiers works it out. |
| timeLeft | f32 | How long the effect had left to run when it was taken off, in seconds. |
Vectors (2)
In 4.18–4.20
Command 123 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot it sat in. |
| effect | u32 | Which effect, by the number its name gives, as Objects and identifiers works it out. |
| timeLeft | f32 | How long the effect had left to run when it was taken off, in seconds. An effect that ran out carries a value at or near zero, which can fall just below it. |
Vectors (2)
EffectAddedGroup
What a server sends to put one effect on several units at once. The header names no object it acts on: the units are listed below.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 103 |
| 4.11–4.20 | 104 |
| Field | Type | What it is |
|---|---|---|
| kind | u8 | What sort of effect it is. |
| effect | u32 | Which effect, by the number its name gives. |
| package | u32 | Which set of art and sound the client draws it with. |
| runningFor | f32 | How long it has already run, in seconds. |
| lasts | f32 | How long it runs in total, in seconds. |
| count | u8 | How many units follow. |
| entries | count in count × record | The units, one place each. |
| entries[].unit | u32 | The unit carrying the effect. |
| entries[].caster | u32 | The unit that put it there. |
| entries[].slot | u8 | Which of the unit’s effect slots it sits in. |
| entries[].stacks | u8 | How many are stacked there. |
| entries[].hidden | u8 | Whether the client keeps it off the unit’s display. |
Vectors (4)
EffectReplacedGroup
What a server sends about the effect in one slot of several units at once. The header names no object it acts on: the units are listed below.
In every range of this book
Command 30 on events, sent by the server, reliable.
It replaces one effect with another on each unit.
| Field | Type | What it is |
|---|---|---|
| runningFor | f32 | How long the effect has already run, in seconds. |
| lasts | f32 | How long it runs in total, in seconds. |
| count | u8 | How many units follow. |
| entries | count in count × record | The units, one place each. |
| entries[].unit | u32 | The unit carrying the effect. |
| entries[].caster | u32 | The unit that put it there. |
| entries[].slot | u8 | Which of the unit’s effect slots. |
Vectors (2)
EffectCountGroup
What a server sends to restate how many of an effect are stacked on several units at once. The header names no object it acts on: the units are listed below.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 190 |
| 4.11–4.20 | 191 |
| Field | Type | What it is |
|---|---|---|
| lasts | f32 | How long the effect runs in total, in seconds. |
| runningFor | f32 | How long it has already run, in seconds. |
| count | u8 | How many units follow. |
| entries | count in count × record | The units, one place each. |
| entries[].unit | u32 | The unit carrying the effect. |
| entries[].caster | u32 | The unit that put it there. |
| entries[].slot | u8 | Which of the unit’s effect slots it sits in. |
| entries[].stacks | u8 | How many are stacked there now. |
Vectors (4)
EffectRemovedGroup
What a server sends to take one effect off several units at once. The header names no object it acts on: the units are listed below.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 147 |
| 4.11–4.20 | 148 |
| Field | Type | What it is |
|---|---|---|
| effect | u32 | Which effect, by the number its name gives. |
| count | u8 | How many units follow. |
| entries | count in count × record | The units, one place each. |
| entries[].unit | u32 | The unit carrying the effect. |
| entries[].slot | u8 | Which slot it sat in. |
| entries[].timeLeft | f32 | How long it had left to run, in seconds. |
Vectors (4)
EffectCounter
What a server sends to set the number an effect shows on its icon. The header names the unit carrying the effect.
In every range of this book
Command 265 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which of the unit’s effect slots. |
| counter | i32 | The number. |
Vectors (2)
ParticlesCreated
What a server sends to start drawing sets of particles. The header names no object: it carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 134 |
| 4.11–4.20 | 135 |
| Field | Type | What it is |
|---|---|---|
| groupCount | u8 | How many sets follow. |
| groups | count in groupCount × ParticleGroup | The sets themselves. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
KillParticle
What a server sends to stop a particle a client is drawing.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 55 |
| 4.11–4.20 | 56 |
The header names the particle.
| Field | Type | What it is |
|---|---|---|
| particle | u32 | The particle to stop. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
EmitterPause
What a server sends to pause or resume a named group of particle emitters. The header carries no object this acts on.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 247 |
| 4.11–4.17 | 248 |
| Field | Type | What it is |
|---|---|---|
| group | text, 256 bytes | The group’s name, padded with zero bytes. |
| operation | u32 | Nonzero to pause the emission, zero to resume it. |
| groupOperation | u8 | What to do with the group. A client acts on 0 only, pausing or resuming the group’s emission, and does nothing for any other value. Values: 0 emission. |
Vectors (2)
In 4.18–4.20
Command 248 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| group | text, 256 bytes | The group’s name, padded with zero bytes. |
| operation | u32 | Nonzero to pause the emission, zero to resume it. |
| groupOperation | u32 | What to do with the group. A client does nothing for any other value. Values: 1 emission, 2 restart. |
Vectors (1)
ParticleSource
What a server sends to drive a value of the lasting particle effects on a unit from something that changes. A client ignores it where the id names no unit it knows. The header carries zero.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 209 |
| 4.11–4.17 | 210 |
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit: a champion, minion, turret or other unit. |
| slot | u8 | Which of the effects’ inputs to drive. |
| point | u8 | Which point, for source 0. It has no effect unless source is 0. |
| source | u8 | What drives it. Any other value drives it from nothing. Values: 0 capturePoint, 1 resource, 2 resourceSmoothed. |
Vectors (2)
In 4.18–4.20
Command 210 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit: a champion, minion, turret or other unit. |
| slot | u8 | Which of the effects’ inputs to drive. |
| point | u8 | Which point, for source 1. It has no effect unless source is 1. |
| source | u32 | What drives it. Any other value drives it from nothing. Values: 1 capturePoint, 2 resource, 3 resourceSmoothed. |
Vectors (1)
AppearancePushed
What a server sends to lay a new look over a unit’s own. The header names the unit.
In 4.1–4.4
Command 150 on events, sent by the server, reliable.
A client stops a basic attack the unit is making first. Looks stack: the newest shows, and AppearancePopped takes away the one its entry names. An animated building instead looks for a look of the same name whose skin equals entry, adds the look under skin where it finds none, and how has no effect on it.
| Field | Type | What it is |
|---|---|---|
| entry | u32 | Names this look, so that AppearancePopped can name it. |
| how | 1-byte bits | What the look changes. |
| how.overrideSpells | bit 0 | Set where the unit’s spells change with it. |
| how.modelOnly | bit 1 | Set where only the model changes. |
| how.unused | bit 2 to 7 | Unused; a server writes zero. |
| skin | i32 | Which look; -1 keeps the unit’s own skin. |
| asset | text, ended by a zero byte | The name the client loads it under, ended by a zero byte. The name and its zero byte take at most 64 bytes. |
Vectors (1)
In 4.5–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.5–4.10 | 150 |
| 4.11–4.17 | 151 |
A client stops a basic attack the unit is making first. Looks stack: the newest shows, and AppearancePopped takes away the one its entry names. An animated building instead looks for a look of the same name whose skin equals entry, adds the look under skin where it finds none, and how has no effect on it.
| Field | Type | What it is |
|---|---|---|
| entry | u32 | Names this look, so that AppearancePopped can name it. |
| how | 1-byte bits | What the look changes. |
| how.overrideSpells | bit 0 | Set where the unit’s spells change with it. |
| how.modelOnly | bit 1 | Set where only the model changes. |
| how.replacePackage | bit 2 | Set where its art and sound change with it. |
| how.unused | bit 3 to 7 | Unused; a server writes zero. |
| skin | i32 | Which look; -1 keeps the unit’s own skin. |
| asset | text, ended by a zero byte | The name the client loads it under, ended by a zero byte. The name and its zero byte take at most 64 bytes. |
Vectors (3)
In 4.18–4.20
Command 151 on events, sent by the server, reliable.
A client stops a basic attack the unit is making first. Looks stack: the newest shows, and AppearancePopped takes away the one its entry names. An animated building instead looks for a look of the same name whose skin equals entry, adds the look under skin where it finds none, and how has no effect on it.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | What the look changes. |
| how.overrideSpells | bit 0 | Set where the unit’s spells change with it. |
| how.modelOnly | bit 1 | Set where only the model changes. |
| how.replacePackage | bit 2 | Set where its art and sound change with it. |
| how.unused | bit 3 to 7 | Unused; a server writes zero. |
| entry | u32 | Names this look, so that AppearancePopped can name it. |
| skin | i32 | Which look; -1 keeps the unit’s own skin. |
| asset | text, ended by a zero byte | The name the client loads it under, ended by a zero byte. The name and its zero byte take at most 64 bytes. |
Vectors (1)
AppearancePopped
What a server sends to take a look AppearancePushed laid over a unit away. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 102 |
| 4.11–4.20 | 103 |
| Field | Type | What it is |
|---|---|---|
| entry | u32 | The look, by the name AppearancePushed gave it. |
Vectors (4)
AppearanceCleared
What a server sends to take every look laid over a unit away. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 199 |
| 4.11–4.20 | 200 |
No body.
Vectors (4)
AnimationOverrides
What a server sends to make a unit play one set of movements wherever it would have played another. The header names the unit this is about.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 106 |
| 4.11–4.20 | 107 |
| Field | Type | What it is |
|---|---|---|
| pairCount | u8 | How many pairs follow. |
| pairs | count in pairCount × AnimationOverride | Each pair naming what is replaced and what replaces it. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
PlayAnimation
What a server sends to make a unit play an animation. The header names the unit.
In 4.1–4.12
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 175 |
| 4.11–4.12 | 176 |
scaleTime and startProgress are applied only where above zero. A unit holding a locked animation ignores the message. An animated building plays at normal speed, and keepEmotes has no effect on it.
| Field | Type | What it is |
|---|---|---|
| flags | 4-byte bits | How the animation plays. |
| flags.locked | bit 0 | Set where no other animation can fade this one out. |
| flags.lockedFromIdle | bit 1 | Set where idle animations cannot fade it out. It has no effect where locked is set. |
| flags.noBlend | bit 2 | Set to switch to it at once rather than blend in. |
| flags.holdLastFrame | bit 3 | Where a non-looping animation ends, it stays on its last frame. Whether an animation loops comes from the animation’s own data. |
| flags.keepEmotes | bit 4 | Set to let an emote playing go on; clear stops it. |
| flags.unused | bit 5 to 31 | Unused; a server writes zero. |
| scaleTime | f32 | A scale on how long it plays. |
| startProgress | f32 | How far into the animation it starts. |
| animation | text, ended by a zero byte | The animation’s name, ended by a zero byte, the two taking at most 64 bytes. Nothing plays for a name the unit does not have. |
Vectors (4)
In 4.13–4.17
Command 176 on events, sent by the server, reliable.
scaleTime and startProgress are applied only where above zero. A unit holding a locked animation ignores the message. An animated building plays at normal speed, and keepEmotes has no effect on it.
| Field | Type | What it is |
|---|---|---|
| flags | 4-byte bits | How the animation plays. |
| flags.locked | bit 0 | Set where no other animation can fade this one out. |
| flags.lockedFromIdle | bit 1 | Set where idle animations cannot fade it out. It has no effect where locked is set. |
| flags.noBlend | bit 2 | Set to switch to it at once rather than blend in. |
| flags.holdLastFrame | bit 3 | Where a non-looping animation ends, it stays on its last frame. Whether an animation loops comes from the animation’s own data. |
| flags.keepEmotes | bit 4 | Set to let an emote playing go on; clear stops it. |
| flags.unused | bit 5 to 31 | Unused; a server writes zero. |
| scaleTime | f32 | A scale on how long it plays. |
| startProgress | f32 | How far into the animation it starts. |
| speed | f32 | How fast it plays. |
| animation | text, ended by a zero byte | The animation’s name, ended by a zero byte, the two taking at most 64 bytes. Nothing plays for a name the unit does not have. |
Vectors (1)
In 4.18–4.20
Command 176 on events, sent by the server, reliable.
scaleTime and startProgress are applied only where above zero. A unit holding a locked animation ignores the message. An animated building plays at normal speed, and keepEmotes has no effect on it.
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | How the animation plays. |
| flags.locked | bit 0 | Set where no other animation can fade this one out. |
| flags.lockedFromIdle | bit 1 | Set where idle animations cannot fade it out. It has no effect where locked is set. |
| flags.noBlend | bit 2 | Set to switch to it at once rather than blend in. |
| flags.holdLastFrame | bit 3 | Where a non-looping animation ends, it stays on its last frame. Whether an animation loops comes from the animation’s own data. |
| flags.keepEmotes | bit 4 | Set to let an emote playing go on; clear stops it. |
| flags.unused | bit 5 to 7 | Unused; a server writes zero. |
| scaleTime | f32 | A scale on how long it plays. |
| startProgress | f32 | How far into the animation it starts. |
| speed | f32 | How fast it plays. |
| animation | text, ended by a zero byte | The animation’s name, ended by a zero byte, the two taking at most 64 bytes. Nothing plays for a name the unit does not have. |
Vectors (1)
StopAnimation
What a server sends to stop an animation a unit is playing. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 40 |
| 4.11–4.20 | 41 |
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | How it stops. |
| flags.fade | bit 0 | Set where the animation fades out. |
| flags.ignoreLock | bit 1 | Set where a lock on the animation is ignored. |
| flags.stopAll | bit 2 | Set where every animation stops when the name below is empty. |
| flags.unused | bit 3 to 7 | Unused; a server writes zero. |
| animation | text, ended by a zero byte | The animation’s name, ended by a zero byte, or empty. |
Vectors (4)
PauseAnimation
What a server sends to pause or resume a unit’s animation. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 112 |
| 4.11–4.20 | 113 |
| Field | Type | What it is |
|---|---|---|
| state | 1-byte bits | Whether to pause. |
| state.paused | bit 0 | Set to pause, clear to resume. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (4)
AnimationAdvanced
What a server sends to move an animation a unit is playing forward at once. The header names the unit. Where the unit plays no animation of that name, nothing happens.
In every range of this book
Command 259 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| seconds | f32 | How far forward, in seconds. |
| animation | text, 64 bytes | The animation’s name. It ends at its first zero byte. |
Vectors (2)
FadeTo
What a server sends to fade a unit towards an opacity over time. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 177 |
| 4.11–4.20 | 178 |
| Field | Type | What it is |
|---|---|---|
| fade | i16 | Names this fade, so that FadeRemoved can name it. |
| time | f32 | How long the fade takes, in seconds. |
| target | f32 | The opacity it fades to, from 0 for unseen to 1 for solid. |
Vectors (4)
FadeRemoved
What a server sends to undo a fade on a unit. The header names the unit.
In 4.1–4.16
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 49 |
| 4.11–4.16 | 50 |
| Field | Type | What it is |
|---|---|---|
| fade | i16 | The fade, by the name FadeTo gave it. |
Vectors (3)
In 4.17
Command 50 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| fade | u16 | The fade, by the name FadeTo gave it. |
Vectors (1)
In 4.18–4.20
Command 50 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| fade | i16 | The fade, by the name FadeTo gave it. |
Vectors (1)
FadeMinions
What a server sends to fade one side’s minions. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 202 |
| 4.11–4.20 | 203 |
| Field | Type | What it is |
|---|---|---|
| side | u8 | Which side, or zero for both. |
| amount | f32 | The opacity they fade to, from 0 for unseen to 1 for solid. |
| time | f32 | How long the fade takes, in seconds. |
Vectors (4)
NexusIdle
What a server sends to put each nexus into its idle particles. The header carries zero.
NexusSkin
What a server sends to change how one side’s nexus looks. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 115 |
| 4.11–4.20 | 116 |
| Field | Type | What it is |
|---|---|---|
| side | u8 | Which side. |
| skin | u32 | Which look. |
Vectors (3)
ScreenTint
What a server sends to tint a side’s screens, or to take a tint away. The header names no object: a server writes zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 218 |
| 4.11–4.20 | 219 |
| Field | Type | Present when | What it is |
|---|---|---|---|
| fadeIn | u8 | Nonzero brings a tint in, and the colour and weight below follow; 0 takes it away, and they do not. | |
| time | f32 | How long the change takes, in seconds. | |
| side | i32 | Which side sees it. | |
| colour | u32 | fadeIn set | The tint, as blue, green, red and opacity bytes. |
| weight | f32 | fadeIn set | How strongly it applies at most. |
Vectors (6)
another-on-4-1, one-on-4-1, another-on-4-11, one-on-4-11, another-on-4-20, one-on-4-20
VoiceOverride
What a server sends to change or reset the voice a unit speaks with. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 149 |
| 4.11–4.17 | 150 |
| 4.18–4.20 | 150 |
| Field | Type | Present when | What it is |
|---|---|---|---|
| flags | 1-byte bits | Whether to reset. | |
| flags.reset | bit 0 | Set where the unit returns to its own voice; no name follows. | |
| flags.unused | bit 1 to 7 | Unused; a server writes zero. | |
| voice | text, ended by a zero byte | flags.reset = 0 | The voice’s name, ended by a zero byte. |
Vectors (5)
another-on-4-1, one-on-4-1, another-on-4-11, one-on-4-11, one-on-4-18
AnimationUnlocked
What a server sends to let a unit’s locked animation be replaced again. The header names the unit.
In 4.20
Command 303 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| animation | text, ended by a zero byte | Which animation, by name, ended by a zero byte; an empty name for any. |
Vectors (1)
The shop
What fills the shop, what a client asks for, and what a server answers.
What fills it
A client’s catalogue of items is its own: no message sends or changes it. A client sets its shop up for its own champion, and what a match sells is settled by the client’s own data. A client filters nothing out of the shop by the champion’s level.
What a server decides is which of the client’s items a match lets a player buy, and whether the shop has a player to show them to.
A client sets its shop up from its own champion’s CreateChampion (the one
carrying its own client id) and then that champion’s Loadout. Until the
Loadout arrives, its shop opens empty and too big for the screen: no items,
no suggested items, no builds. Given its own champion’s Loadout, it shows
every item and the items it suggests for the champion. A server sends each
champion’s Loadout during the spawn run.
What a match sells is settled by the client’s own data for the map, the mode
and the variants named in VersionSync. The map’s data lists items that
cannot be bought, with further lists for the mode and each variant; a mode
with no list of its own removes nothing. Suggested items are kept per champion, and chosen by map and
mode. Of what a server sends, only these change what can be bought:
VersionSync’s disabled items: none can be bought; a zero place disables nothing.ItemSubstitution: the shop shows a substitute for an item, at the substitute’s price, untilSubstitutionCleared.
Buying and selling
A client asks to buy with BuyItem, to sell or throw away an item with
RemoveItem, and to swap two slots of its inventory with SwapItems. Closing
the shop sends nothing.
Opening the shop sends nothing, except in the tutorial, where it sends
TutorialShopOpened.
A client asks to buy only where the item is one the match sells and priced within the champion’s gold.
A client never asks for an item a player holds only one of and holds already.
A client asks only where the item’s price, after any substitution, is within the champion’s gold, and where a slot is free, unless the item can be used in the shop. For an item built from others, it asks only where the champion holds a free slot or a part of it, everything the item requires, and gold for what remains.
A client asks to buy only where shopping is allowed (ShopEnabled), with the
champion near its side’s shop, dead, or allowed to shop from anywhere.
A client never places an item itself. It shows a purchase only when a server
answers with ItemAdded, a sale or loss with RemoveItemAnswer, and a swap
with SwapItemsAnswer. A server can also set a slot (InventorySlot), set the
whole inventory (InventorySnapshot), change an item’s charges
(ItemCharges), or report an item used (ItemUsed).
In 4.1–4.19
ItemAddedplaces the item and removes nothing: a server sends aRemoveItemAnswerfor each part an item built from others takes up. Gold falls only as replication states the champion’s gold, and a purchase a server never answers places nothing and spends nothing.
In 4.1–4.19
A purchase a server never answers still plays the sound of buying.
In 4.1–4.19
A purchase a server never answers still lists the item among recent purchases.
Undo
Where VersionSync’s features set shopUndo, the shop has an undo button, which
is enabled while ShopUndoCount gives the champion undos to spend. Pressing it
sends ShopUndo, whatever the count.
Closing and locking
CloseShop closes the shop where it is open. A message that locks the shop
alone, InputLock or InputLockToggled, closes it and turns off its key.
Any message that locks the shop closes it and turns off its key, whatever else it locks.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
Loadout
What a server sends to lay out everything a champion brought to the match: the runes set before it began, its summoner slots and the choices made alongside them. The header names the unit this is about.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 41 |
| 4.11–4.17 | 42 |
A client’s shop is set up by the Loadout of its own champion: until that arrives the shop opens empty, with no items, no suggested items and no builds, and is drawn at a size that does not fit the screen. A server sends one for every champion at spawning, between SpawnStart and SpawnEnd. It also says what the champion’s wards look like.
| Field | Type | What it is |
|---|---|---|
| runes | 30 × u32 | The runes set before the match, thirty places in runs of nine, nine, nine and three. A place holds zero where nothing was set. |
| summoners | 2 × u32 | The spells in the champion’s summoner slots, by the numbers their names give. |
| choices | 80 × Choice | The choices made alongside them, one place each, and how far each was taken. A place stands empty where nothing was chosen. |
| level | u8 | The player’s account level. |
| wardSkin | u8 | What the champion’s wards look like. |
Vectors (2)
In 4.18–4.20
Command 42 on events, sent by the server, reliable.
It also says what the champion’s wards look like.
| Field | Type | What it is |
|---|---|---|
| runes | 30 × u32 | The runes set before the match, thirty places in runs of nine, nine, nine and three. A place holds zero where nothing was set. |
| summoners | 2 × u32 | The spells in the champion’s summoner slots. |
| summonersAgain | 2 × u32 | The same two spells a second time. A server writes them twice, and both runs agree. |
| choices | 80 × Choice | The choices made alongside them, one place each, and how far each was taken. A place stands empty where nothing was chosen. |
| level | u8 | The level the champion starts at. |
| wardSkin | u8 | What the champion’s wards look like. |
Vectors (2)
ItemSubstitution
What a server sends to have one item stand in for another in a champion’s inventory. The header names the champion.
In every range of this book
Command 284 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| original | u32 | The item replaced. |
| substitute | u32 | The item standing in for it. |
Vectors (2)
SubstitutionCleared
What a server sends to undo an ItemSubstitution, so the shop shows the item itself again. The header names the champion.
In every range of this book
Command 285 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| item | u32 | The item whose substitute is undone. Zero does nothing. |
Vectors (2)
BuyItem
What a client sends to buy an item from the shop. The header names the sender’s champion.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 129 |
| 4.11–4.20 | 130 |
| Field | Type | What it is |
|---|---|---|
| item | u32 | Which item, by the number the client knows it as. |
Vectors (4)
one-item-on-4-10, one-on-4-10, one-on-4-17, one-item-on-4-20
RemoveItem
What a client sends to be rid of an item. The header names the sender’s champion.
In 4.1–4.17
Command 9 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| which | 1-byte bits | |
| which.slot | bit 0 to 6 | Which slot. |
| which.sell | bit 7 | Set to sell the item, clear to throw it away. A client always sends it set. |
Vectors (1)
In 4.18–4.20
Command 9 on requests, sent by the client, reliable.
A client sends it to sell an item or to throw one away.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot the item sits in. |
| how | 1-byte bits | |
| how.sell | bit 0 | Set where the item is sold rather than discarded. |
| how.unused | bit 1 to 7 | Unused; a client may leave any value here, and a server ignores it. |
Vectors (1)
SwapItems
What a client sends to move an item from one slot to another. The header names the sender’s champion.
In 4.1–4.17
Command 32 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| from | u8 | The slot the item leaves, which a 4.17 client sends only from 0 to 9. |
| to | u8 | The slot it goes to, never the one from names; a 4.17 client sends only 0 to 9. |
Vectors (1)
In 4.18–4.20
Command 32 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| from | u8 | The slot the item leaves, which a 4.20 client sends only from 0 to 5. |
| to | u8 | The slot it goes to, never the one from names; a 4.20 client sends only 0 to 5. |
Vectors (1)
TutorialShopOpened
What a client sends as its player opens the shop. It carries nothing of its own. The header carries zero.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 92 |
| 4.11–4.20 | 93 |
A client sends it only in the tutorial: where the version answer names the mode TUTORIAL and the map’s own data marks it as a tutorial map, as map 12’s does; elsewhere it never sends this.
No body.
Vectors (3)
ShopEnabled
What a server sends to say whether a champion can use the shop. The header names the champion.
In 4.1–4.12
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 239 |
| 4.11–4.12 | 240 |
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | Whether it can be used. |
| flags.enabled | bit 0 | Set where the shop can be used. |
| flags.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
In 4.13–4.20
Command 240 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | Whether it can be used. |
| flags.enabled | bit 0 | Set where the shop can be used. |
| flags.force | bit 1 | Set where it can be used wherever the champion stands. |
| flags.unused | bit 2 to 7 | Unused; a server writes zero. |
Vectors (2)
ItemAdded
What a server sends to set what sits in one of a unit’s item slots. The header names the unit this is about.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 110 |
| 4.11–4.17 | 111 |
It answers no request: a client clears the slot named and puts what follows in its place whether or not anything asked for it. A server sends it to units nobody is buying for.
| Field | Type | What it is |
|---|---|---|
| item | u32 | Which item, by the number the client knows it as. |
| slot | u8 | The slot it went to. A client rejects the message from 40 up. |
| inSlot | u8 | How many of it are in that slot now. |
| charges | u8 | How many uses it carries. |
| how | 1-byte bits | |
| how.unused | bit 0 to 5 | Unused; a server writes zero. |
| how.announce | bit 6 | Set to announce the purchase: a client shows it where the unit is on its side (or it plays a replay), the item’s own data allows it, the player’s setting asks for it, and the same item was not bought in the last 5 seconds, a repeat within them restarting the wait. |
| how.unused7 | bit 7 | Unused; a server writes zero. |
Vectors (4)
In 4.18–4.20
Command 111 on events, sent by the server, reliable.
It answers no request: a client clears the slot named and puts what follows in its place whether or not anything asked for it. A server sends it to units nobody is buying for.
| Field | Type | What it is |
|---|---|---|
| item | u32 | Which item, by the number the client knows it as. |
| slot | u8 | The slot it went to. A client ignores a message naming a slot above 38. |
| inSlot | u8 | How many of it are in that slot now. |
| charges | u8 | How many uses it carries. |
| how | 1-byte bits | |
| how.tellTheClient | bit 0 | Set to announce the purchase to allies and those watching, for items that announce, at most once per item in 5 seconds. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
RemoveItemAnswer
What a server sends to confirm an item left a slot. The header names the unit this is about.
In 4.1–4.17
Command 11 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| which | 1-byte bits | |
| which.slot | bit 0 to 6 | Which slot. A client changes nothing from 40 up. |
| which.notify | bit 7 | Set to have a client tell its screens the inventory changed; clear still updates the slot, quietly. |
| left | u8 | How many are left in the slot; zero empties it, item and charges cleared. Either way a client cancels any spell or action its player had picked. |
Vectors (1)
In 4.18–4.20
Command 11 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot. |
| left | u8 | How many of the item remain in it. |
| how | 1-byte bits | |
| how.tellTheClient | bit 0 | Set where the client is to show the change. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
SwapItemsAnswer
What a server sends to confirm an item moved between slots. The header names the unit this is about.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 61 |
| 4.11–4.20 | 62 |
| Field | Type | What it is |
|---|---|---|
| from | u8 | The slot the item left. |
| to | u8 | The slot it went to. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
InventorySlot
What a server sends to set one slot of a unit’s inventory. The header names the unit. A client empties the slot, then fills it where count is above zero, and refreshes the shop where the unit is its own champion.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 82 |
| 4.11–4.20 | 83 |
| Field | Type | What it is |
|---|---|---|
| item | u32 | The item. It has no effect where count is zero. |
| slot | u8 | Which slot, 0 to 39. A client ignores the message from 40 up. |
| count | u8 | How many. Zero leaves the slot empty. |
| charges | u8 | Its charges. |
Vectors (3)
InventorySnapshot
What a server sends to state a unit’s whole inventory at once, with each slot’s cooldown. The header names the unit.
In 4.1–4.6
Command 268 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| items | 9 × record | Nine places, one per slot. |
| items[].item | u32 | The item, or zero for an empty slot. |
| items[].slot | u8 | Which slot. |
| items[].inSlot | u8 | How many are in the slot. |
| items[].charges | u8 | How many charges it holds. |
| cooldowns | 9 × f32 | One per slot. A client applies a slot’s wait only where the slot holds an item and the value is not -1. |
In 4.7–4.10
Command 268 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| items | 10 × record | Ten places, one per slot. |
| items[].item | u32 | The item, or zero for an empty slot. |
| items[].slot | u8 | Which slot. |
| items[].inSlot | u8 | How many are in the slot. |
| items[].charges | u8 | How many charges it holds. |
| cooldowns | 10 × f32 | One per slot. A client applies a slot’s wait only where the slot holds an item and the value is not -1. |
Vectors (1)
In 4.11–4.20
Command 268 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| items | 10 × record | Ten places, one per slot. |
| items[].item | u32 | The item, or zero for an empty slot. |
| items[].slot | u8 | Which slot. |
| items[].inSlot | u8 | How many are in the slot. |
| items[].charges | u8 | How many charges it holds. |
| cooldowns | 10 × f32 | One per slot. |
| maxCooldowns | 10 × f32 | One per slot. |
Vectors (2)
ItemCharges
What a server sends to set how many charges an item holds. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 252 |
| 4.11–4.20 | 253 |
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot. |
| charges | u8 | How many charges. |
Vectors (4)
ItemUsed
What a server sends after an item in a unit’s inventory is used. The header names the unit.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 158 |
| 4.11–4.20 | 159 |
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot. |
| left | u8 | How many are left in it; zero empties the slot. |
| charges | u8 | How many charges it holds. |
Vectors (4)
ShopUndoCount
What a server sends to say how many purchases a champion can still undo. The header names the champion.
In every range of this book
Command 267 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| undo | u8 | How many steps can be undone. |
Vectors (2)
ShopUndo
What a client sends as its player presses the shop’s undo button. The button is there only where the version answer’s features have shopUndo set, and is enabled only while ShopUndoCount has given the champion undos to spend. It carries nothing of its own. Its identifier is wider than a byte, so it travels behind the escape. The header names the sender’s champion.
In every range of this book
Command 266 on requests, sent by the client, reliable.
No body.
Vectors (2)
CloseShop
What a server sends to close a client’s shop. The header carries zero.
In every range of this book
Command 14 on events, sent by the server, reliable.
No body.
Vectors (2)
InventorySnapshotOnMap
What a server sends to state a unit’s whole inventory at once, with each slot’s cooldown, to the clients that can see the unit. The header names the unit.
Objectives
The parts of a map players compete for besides each other: neutral camps, points a side can capture and a score, and the events a match tells its clients about.
Camps
A camp is a group of units that belong to no side. A server places a camp on the
map and says how it is drawn with CampMarker, opens it with CampOpened as
its monsters come, and marks it empty with CampCleared. The monsters
themselves are units (see Units). A server tells clients watching a
match when a camp is next due with CampTimer.
CampCleared also sets when the camp fills again.
Capture points and score
On a map won on score, a server binds each capture point to a unit with
CapturePointChanged, and TeamScore sets each side’s score.
In 4.1–4.19
Everything a client shows of a capture point (who holds it, where it stands, how far it is taken) comes from the unit
CapturePointChangedbinds it to, so a server hands a point over by changing the unit’s side and moves it toward capture by changing the unit’s resource. A client shows the points and the score on a panel it builds only where the version answer names the mode ODIN, and only once one point is known. Reaching a score ends nothing: the match ends as any match does (see The match).
Other map objectives
A server can name the unit holding the Ascension with AscendedUnit, and send
RespawnPoint about points a champion returns to life at.
In 4.1–4.19
A client acts on
RespawnPointonly where it shows the capture point panel.
Events
WorldEvent says something happened that the whole match is told about: the
match’s welcome and its first notices, minions coming out, an inhibitor or a
great monster falling, a player leaving. ClientEvent tells one client
something happened that concerns a unit. Each names a sort, from one table of
events, and the sort settles the rest of the message and what a client shows.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
CampMarker
What a server sends to place a camp on the map and say how it is drawn. Its identifier is wider than a byte, so it travels behind the escape. The header names no object: it carries zero.
In 4.9–4.20
Command 290 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| x | f32 | Where the camp sits, along one ground axis, in world units. |
| y | f32 | Where it sits, in height, in world units. |
| z | f32 | Where it sits, along the other ground axis, in world units. |
| icon | text, 64 bytes | Names the mark a client draws, by a name from the game’s own data. |
| index | u8 | Tells one camp from another. |
| revealEvent | u8 | What makes the unit known to a side that cannot see it. |
| side | u8 | Which side the camp belongs to, where it belongs to one. |
| timerKind | i32 | Which clock the client shows for it. |
| expires | f32 | When the camp is next due, in seconds. |
Vectors (3)
CampOpened
What a server sends to open a camp of units that belong to no side. The header names no object: it carries zero.
In 4.1
Command 232 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| atX | f32 | Where the camp sits, along one ground axis, in world units. |
| atY | f32 | Where it sits, in height, in world units. |
| atZ | f32 | Where it sits, along the other ground axis, in world units. |
| campIcon | text, 64 bytes | The name of the icon the minimap shows at the camp, written in full and padded with zero bytes to the width above; empty shows none. A client uses it only where it creates the camp. |
| proximityAnimations | text, 64 bytes | The name of a set of animations the camp plays as units come near, written and padded as above; empty means none. A client uses it only where it creates the camp. |
| camp | u8 | Which camp. |
Vectors (3)
In 4.2–4.8
Command 232 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| atX | f32 | Where the camp sits, along one ground axis, in world units. |
| atY | f32 | Where it sits, in height, in world units. |
| atZ | f32 | Where it sits, along the other ground axis, in world units. |
| campIcon | text, 64 bytes | The name of the icon the minimap shows at the camp, written in full and padded with zero bytes to the width above; empty shows none. A client uses it only where it creates the camp. |
| spawnDuration | f32 | How long until the camp next opens, in seconds. |
| camp | u8 | Which camp. |
Vectors (3)
In 4.9–4.20
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.9–4.10 | 232 |
| 4.11–4.20 | 233 |
| Field | Type | What it is |
|---|---|---|
| atX | f32 | Where the camp sits, along one ground axis, in world units. |
| atY | f32 | Where it sits, in height, in world units. |
| atZ | f32 | Where it sits, along the other ground axis, in world units. |
| spawnDuration | f32 | How long the opening takes, in seconds. |
| camp | u8 | Which camp. |
| timerKind | i32 | Which clock the client shows for it. |
Vectors (6)
a-third-on-4-10, another-on-4-10, one-on-4-10, one-on-4-17, another-on-4-20, one-on-4-20
CampCleared
What a server sends as a camp of units that belong to no side is emptied. The header names no object: it carries zero.
In 4.1–4.3
Command 194 on events, sent by the server, reliable.
A client marks the camp empty, even one that had just filled.
| Field | Type | What it is |
|---|---|---|
| killer | u32 | The champion credited with emptying the camp, or zero for none. Where the camp has no buff side and no line of its own, a client has that champion speak a line for it, whatever speak says. |
| camp | u32 | Which camp. A client ignores a camp it does not know, but for the timer. |
| does | 1-byte bits | |
| does.speak | bit 0 | Set to have the client play the line for a camp revealed or a buff taken, to the client’s own side. |
| does.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (1)
In 4.4–4.8
Command 194 on events, sent by the server, reliable.
A client marks the camp empty, even one that had just filled.
| Field | Type | What it is |
|---|---|---|
| killer | u32 | The champion credited with emptying the camp, or zero for none. Where the camp has no buff side and no line of its own, a client has that champion speak a line for it, whatever speak says. |
| camp | u32 | Which camp. A client ignores a camp it does not know, but for the timer. |
| does | 1-byte bits | |
| does.speak | bit 0 | Set to have the client play the line for a camp revealed or a buff taken, to the client’s own side. |
| does.firstSide | bit 1 | Unused; a server writes zero. |
| does.unused | bit 2 to 7 | Unused; a server writes zero. |
Vectors (1)
In 4.9–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.9–4.10 | 194 |
| 4.11–4.17 | 195 |
A client marks the camp empty, even one that had just filled.
| Field | Type | What it is |
|---|---|---|
| killer | u32 | The champion credited with emptying the camp, or zero for none. Where the camp has no buff side and no line of its own, a client has that champion speak a line for it, whatever speak says. |
| camp | u32 | Which camp. A client ignores a camp it does not know, but for the timer. |
| does | 1-byte bits | |
| does.speak | bit 0 | Set to have the client play the line for a camp revealed or a buff taken, to the client’s own side. |
| does.firstSide | bit 1 | Unused; a server writes zero. |
| does.unused | bit 2 to 7 | Unused; a server writes zero. |
| timerKind | i32 | Which of the client’s neutral timers to set, named by a value that is not a small number. Zero touches no timer. |
| returnsAt | f32 | The game time, in seconds, when the camp fills again. The largest finite 32-bit float means now. |
Vectors (2)
In 4.18–4.20
Command 195 on events, sent by the server, reliable.
A client marks the camp empty, even one that had just filled.
| Field | Type | What it is |
|---|---|---|
| killer | u32 | The unit credited with emptying it. |
| camp | u32 | Which camp. |
| timerKind | i32 | Which clock the client shows for it. |
| returnsAt | f32 | When the camp fills again, in seconds. |
| does | 1-byte bits | |
| does.speak | bit 0 | Set where the client says something about it. A server sets it. |
| does.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
CampTimer
What a server sends a client watching a match to set when a camp is next due. The header carries zero.
In every range of this book
Command 278 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| timer | i32 | Which camp’s timer, by a number a name gives. |
| expires | f32 | When it is due, in match seconds. |
Vectors (2)
CapturePointChanged
What a server sends when something changes about a point one side can take from the other. The header names no object: it carries zero.
In 4.1–4.10
Command 210 on events, sent by the server, reliable.
A client takes this only once the match has started; one that arrives earlier is dropped. The points exist only through this message: a map brings none, and a client makes point 0 to point n when it first meets n, whatever the change. Once a client knows one point, and only where the version answer named the mode ODIN, it shows the panel of each side’s score and points held, and marks each point on the minimap. Everything shown of a point comes from the unit bound to it: its side holds the point (100 or 200; any other side leaves it neutral), its position places it, and its current resource over its maximum, where its resource kind matches the one bound, is how far the point is taken. A server hands a point over by changing that unit’s side (TeamChanged) and moves it toward capture by changing that unit’s resource.
| Field | Type | What it is |
|---|---|---|
| point | u8 | Which point, 0 to 254; a match of five points uses 0 to 4. |
| unit | u32 | The unit to bind to the point: any unit that can be attacked and that the client already holds when this arrives; otherwise the point stays unbound, neutral and empty. |
| resourceKind | u8 | The kind of resource whose fill shows how far the point is taken. Where it is not the bound unit’s own kind, the point shows as not taken at all. A client knows 0 to 11, and takes any higher value as none. Values: 0 mana, 1 energy, 2 none, 3 shield, 4 battleFury, 5 dragonFury, 6 rage, 7 heat, 8 ferocity, 9 bloodWell, 10 wind, 11 other. |
| side | i32 | The side attacking the point. It has no effect on a binding. |
| change | u8 | What to do. A client acts on 0 only; it ignores any other value, after making the points up to this one. Values: 0 bind, 1 ignored. |
Vectors (1)
In 4.11–4.17
Command 211 on events, sent by the server, reliable.
A client takes this only once the match has started; one that arrives earlier is dropped. The points exist only through this message: a map brings none, and a client makes point 0 to point n when it first meets n, whatever the change. Once a client knows one point, and only where the version answer named the mode ODIN, it shows the panel of each side’s score and points held, and marks each point on the minimap. Everything shown of a point comes from the unit bound to it: its side holds the point (100 or 200; any other side leaves it neutral), its position places it, and its current resource over its maximum, where its resource kind matches the one bound, is how far the point is taken. A server hands a point over by changing that unit’s side (TeamChanged) and moves it toward capture by changing that unit’s resource.
| Field | Type | What it is |
|---|---|---|
| point | u8 | Which point, 0 to 254; a match of five points uses 0 to 4. |
| unit | u32 | The unit to bind to the point: any unit that can be attacked and that the client already holds when this arrives; otherwise the point stays unbound, neutral and empty. |
| resourceKind | u8 | The kind of resource whose fill shows how far the point is taken. Where it is not the bound unit’s own kind, the point shows as not taken at all. Values: 0 mana, 1 energy, 2 none, 3 shield, 4 battleFury, 5 dragonFury, 6 rage, 7 heat, 8 gnarFury, 9 ferocity, 10 bloodWell, 11 wind, 12 other. |
| side | i32 | The side attacking the point. It has no effect on a binding. |
| change | u8 | What to do. A client acts on 0 only; it ignores any other value, after making the points up to this one. Values: 0 bind, 1 ignored. |
Vectors (1)
In 4.18–4.20
Command 211 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| point | u8 | Which point. |
| unit | u32 | The unit the change concerns. |
| resourceKind | u8 | Which of the unit’s resources the client shows as the point’s capture progress, where change is 0. Values: 0 mana, 1 energy, 2 none, 3 shield, 4 battleFury, 5 dragonFury, 6 rage. |
| side | u32 | Unused; a server writes zero. |
| change | u8 | What sort of change it is. A client acts only on 0, and reads resourceKind only then. |
Vectors (2)
TeamScore
What a server sends to set a side’s score, where a match is won on score. The header names no object: it carries zero.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 211 |
| 4.11–4.17 | 212 |
A client takes this only once the match has started. It draws nothing from this message alone: the score shows on the panel that a client shows only where the version answer named the mode ODIN and a point is known (CapturePointChanged). The panel counts five points, and a score of 500 at most. A score that arrives before the panel shows is shown when it does. Reaching a score ends nothing in a client: a match ends through the messages that end any match.
| Field | Type | What it is |
|---|---|---|
| side | i32 | Which side, 100 or 200. A client ignores any other. |
| score | i32 | The score it now stands at: the whole of it, not a change. |
Vectors (2)
In 4.18–4.20
Command 212 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| side | u32 | Which side: 100 or 200. |
| score | i32 | The score it now stands at. |
Vectors (2)
AscendedUnit
What a server sends to name the unit that holds the Ascension. A client acts on it only where its screen shows that mode’s score. The header carries zero.
In 4.15–4.20
Command 292 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit, or zero for none. A champion shows as its icon in its side’s colour, any other unit as a plain mark; a client not yet knowing the id keeps looking for it. |
Vectors (2)
RespawnPoint
What a server sends about the points a champion can choose to return to life at. A client acts on it only where its screen has a panel of such points. The header names no object: a server writes zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 212 |
| 4.11–4.20 | 213 |
| Field | Type | What it is |
|---|---|---|
| action | u8 | What happened. A client ignores any other value. Values: 0 owned, 1 chosen. |
| point | u8 | Which point. |
| side | i32 | The side holding it, 100 or 200. It takes effect only where action is owned. |
| clientId | u32 | The client id of the player who chose it. It takes effect only where action is chosen. |
| x | f32 | Where the point stands, in world units. It takes effect only where action is owned. |
| y | f32 | Its height, in world units. It takes effect only where action is owned. |
| z | f32 | Where the point stands, in world units. It takes effect only where action is owned. |
Vectors (3)
WorldEvent
What a server sends to say something happened that the whole match is told about. What sort of thing is named first, and the sort settles what follows. The header names no object: it carries zero.
In 4.1–4.5
Command 68 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What sort of thing happened, and so which shape follows. Each name says what the sort is sent alongside, and each note what a client shows for it; the text of a notice that carries a map is the one that map gives it. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 29 inhibitorKilled, 30 inhibitorDied, 31 inhibitorRespawningSoon, 34 turretKilled, 35 turretDied, 36 turretDamaged, 37 minionKilled, 38 minionDenied, 39 monsterKilled, 40 largeMonsterKilled, 41 redBuffTaken, 42 blueBuffTaken, 43 nexusKilled, 44 nexusDied, 45 heal, 46 healCast, 47 buff, 48 crowdControl, 49 killingSpree, 56 killDuringSpree, 63 doubleKillDuringSpree, 64 tripleKillDuringSpree, 65 quadraKillDuringSpree, 68 deathAssist, 69 playerQuit, 70 playerLeft, 71 playerReconnected, 86 itemBought, 87 itemSold, 88 itemRemoved, 89 itemCallout, 90 itemChanged, 91 undoChanged, 92 itemSubstituted, 111 minionsSpawned, 112 welcome, 113 startNoticeTwo, 114 startNoticeThree, 118 scoreboardOpened, 120 nexusCrystalStarted, 143 dragonKilled, 144 dragonKilledWatched, 145 dragonStolen, 146 baronKilled, 147 baronKilledWatched, 148 baronStolen, 149 spiderKilled, 150 spiderKilledWatched, 151 altarCaptured, 152 altarCapturedWatched, 153 wardPlaced, 154 wardKilled. | |
| source | u32 | The unit the thing is credited to, or zero where none is. | |
| subject | u32 | The unit the thing happened to, or zero where none is named. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 86 or 87 or 88 or 90 or 91 or 151 or 152 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 49 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 45 or 46 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 47 or 48 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 48 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 68 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 35 or 36 or 37 or 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 89 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 92 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| map | u32 | event = 112 or 113 or 114 or 115 or 116 | Which map it happened on. It travels only with the sorts that carry it. |
| inhibitorGold | f32 | event = 30 | Gold awarded for the inhibitor. It has no effect on a client. |
| inhibitorAssistCount | u32 | event = 30 | How many of the places below name an assister. A client names them where it is 0 to 11, and no assister from 12 up. |
| inhibitorAssists | 12 × u32 | event = 30 | Twelve places; those past inhibitorAssistCount have no effect. |
Vectors (43)
a-third-on-4-1, altar-captured-on-4-1, altar-captured-watched-on-4-1, another-on-4-1, baron-killed-on-4-1, baron-killed-watched-on-4-1, baron-stolen-on-4-1, buff-on-4-1, consumable-bought-on-4-1, critical-strike-on-4-1, crowd-control-on-4-1, damage-dealt-on-4-1, damage-taken-on-4-1, death-assist-on-4-1, died-on-4-1, dragon-killed-on-4-1, dragon-killed-watched-on-4-1, dragon-stolen-on-4-1, gold-earned-on-4-1, gold-spent-on-4-1, heal-cast-on-4-1, heal-on-4-1, inhibitor-died-on-4-1, item-bought-on-4-1, item-callout-on-4-1, item-changed-on-4-1, item-removed-on-4-1, item-sold-on-4-1, item-substituted-on-4-1, killing-spree-on-4-1, minion-killed-on-4-1, monster-killed-on-4-1, one-on-4-1, removed-on-4-1, spawned-on-4-1, spider-killed-on-4-1, spider-killed-watched-on-4-1, start-notice-three-on-4-1, start-notice-two-on-4-1, turret-damaged-on-4-1, turret-died-on-4-1, undo-changed-on-4-1, welcome-on-4-1
In 4.6–4.11
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.6–4.10 | 68 |
| 4.11 | 69 |
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What sort of thing happened, and so which shape follows. Each name says what the sort is sent alongside, and each note what a client shows for it; the text of a notice that carries a map is the one that map gives it. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 121 nexusCrystalStarted, 144 dragonKilled, 145 dragonKilledWatched, 146 dragonStolen, 147 baronKilled, 148 baronKilledWatched, 149 baronStolen, 150 spiderKilled, 151 spiderKilledWatched, 152 altarCaptured, 153 altarCapturedWatched, 154 wardPlaced, 155 wardKilled. | |
| source | u32 | The unit the thing is credited to, or zero where none is. | |
| subject | u32 | The unit the thing happened to, or zero where none is named. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 87 or 88 or 89 or 91 or 92 or 152 or 153 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 90 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 93 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| map | u32 | event = 113 or 114 or 115 or 116 or 117 | Which map it happened on. It travels only with the sorts that carry it. |
| inhibitorGold | f32 | event = 31 | Gold awarded for the inhibitor. It has no effect on a client. |
| inhibitorAssistCount | u32 | event = 31 | How many of the places below name an assister. A client names them where it is 0 to 11, and no assister from 12 up. |
| inhibitorAssists | 12 × u32 | event = 31 | Twelve places; those past inhibitorAssistCount have no effect. |
Vectors (86)
a-third-on-4-6, altar-captured-on-4-6, altar-captured-watched-on-4-6, another-on-4-6, baron-killed-on-4-6, baron-killed-watched-on-4-6, baron-stolen-on-4-6, buff-on-4-6, consumable-bought-on-4-6, critical-strike-on-4-6, crowd-control-on-4-6, damage-dealt-on-4-6, damage-taken-on-4-6, death-assist-on-4-6, died-on-4-6, dragon-killed-on-4-6, dragon-killed-watched-on-4-6, dragon-stolen-on-4-6, gold-earned-on-4-6, gold-spent-on-4-6, heal-cast-on-4-6, heal-on-4-6, inhibitor-died-on-4-6, item-bought-on-4-6, item-callout-on-4-6, item-changed-on-4-6, item-removed-on-4-6, item-sold-on-4-6, item-substituted-on-4-6, killing-spree-on-4-6, minion-killed-on-4-6, monster-killed-on-4-6, one-on-4-6, removed-on-4-6, spawned-on-4-6, spider-killed-on-4-6, spider-killed-watched-on-4-6, start-notice-three-on-4-6, start-notice-two-on-4-6, turret-damaged-on-4-6, turret-died-on-4-6, undo-changed-on-4-6, welcome-on-4-6, a-third-on-4-11, altar-captured-on-4-11, altar-captured-watched-on-4-11, another-on-4-11, baron-killed-on-4-11, baron-killed-watched-on-4-11, baron-stolen-on-4-11, buff-on-4-11, consumable-bought-on-4-11, critical-strike-on-4-11, crowd-control-on-4-11, damage-dealt-on-4-11, damage-taken-on-4-11, death-assist-on-4-11, died-on-4-11, dragon-killed-on-4-11, dragon-killed-watched-on-4-11, dragon-stolen-on-4-11, gold-earned-on-4-11, gold-spent-on-4-11, heal-cast-on-4-11, heal-on-4-11, inhibitor-died-on-4-11, item-bought-on-4-11, item-callout-on-4-11, item-changed-on-4-11, item-removed-on-4-11, item-sold-on-4-11, item-substituted-on-4-11, killing-spree-on-4-11, minion-killed-on-4-11, monster-killed-on-4-11, one-on-4-11, removed-on-4-11, spawned-on-4-11, spider-killed-on-4-11, spider-killed-watched-on-4-11, start-notice-three-on-4-11, start-notice-two-on-4-11, turret-damaged-on-4-11, turret-died-on-4-11, undo-changed-on-4-11, welcome-on-4-11
In 4.12
Command 69 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What sort of thing happened, and so which shape follows. Each name says what the sort is sent alongside, and each note what a client shows for it; the text of a notice that carries a map is the one that map gives it. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 121 nexusCrystalStarted, 145 dragonKilled, 146 dragonKilledWatched, 147 dragonStolen, 148 baronKilled, 149 baronKilledWatched, 150 baronStolen, 151 spiderKilled, 152 spiderKilledWatched, 153 altarCaptured, 154 altarCapturedWatched, 155 wardPlaced, 156 wardKilled. | |
| source | u32 | The unit the thing is credited to, or zero where none is. | |
| subject | u32 | The unit the thing happened to, or zero where none is named. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 87 or 88 or 89 or 91 or 92 or 153 or 154 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 90 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 93 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| map | u32 | event = 113 or 114 or 115 or 116 or 117 | Which map it happened on. It travels only with the sorts that carry it. |
| inhibitorGold | f32 | event = 31 | Gold awarded for the inhibitor. It has no effect on a client. |
| inhibitorAssistCount | u32 | event = 31 | How many of the places below name an assister. A client names them where it is 0 to 11, and no assister from 12 up. |
| inhibitorAssists | 12 × u32 | event = 31 | Twelve places; those past inhibitorAssistCount have no effect. |
Vectors (43)
a-third-on-4-12, altar-captured-on-4-12, altar-captured-watched-on-4-12, another-on-4-12, baron-killed-on-4-12, baron-killed-watched-on-4-12, baron-stolen-on-4-12, buff-on-4-12, consumable-bought-on-4-12, critical-strike-on-4-12, crowd-control-on-4-12, damage-dealt-on-4-12, damage-taken-on-4-12, death-assist-on-4-12, died-on-4-12, dragon-killed-on-4-12, dragon-killed-watched-on-4-12, dragon-stolen-on-4-12, gold-earned-on-4-12, gold-spent-on-4-12, heal-cast-on-4-12, heal-on-4-12, inhibitor-died-on-4-12, item-bought-on-4-12, item-callout-on-4-12, item-changed-on-4-12, item-removed-on-4-12, item-sold-on-4-12, item-substituted-on-4-12, killing-spree-on-4-12, minion-killed-on-4-12, monster-killed-on-4-12, one-on-4-12, removed-on-4-12, spawned-on-4-12, spider-killed-on-4-12, spider-killed-watched-on-4-12, start-notice-three-on-4-12, start-notice-two-on-4-12, turret-damaged-on-4-12, turret-died-on-4-12, undo-changed-on-4-12, welcome-on-4-12
In 4.13
Command 69 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What sort of thing happened, and so which shape follows. Each name says what the sort is sent alongside, and each note what a client shows for it; the text of a notice that carries a map is the one that map gives it. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemUndone, 91 itemCallout, 92 itemChanged, 93 undoChanged, 94 itemSubstituted, 113 minionsSpawned, 114 welcome, 115 startNoticeTwo, 116 startNoticeThree, 120 scoreboardOpened, 122 nexusCrystalStarted, 146 dragonKilled, 147 dragonKilledWatched, 148 dragonStolen, 149 baronKilled, 150 baronKilledWatched, 151 baronStolen, 152 spiderKilled, 153 spiderKilledWatched, 154 altarCaptured, 155 altarCapturedWatched, 156 wardPlaced, 157 wardKilled. | |
| source | u32 | The unit the thing is credited to, or zero where none is. | |
| subject | u32 | The unit the thing happened to, or zero where none is named. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 87 or 88 or 89 or 92 or 93 or 154 or 155 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 91 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 94 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| undo | record | event = 90 | A purchase taken back. |
| undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.part | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. | |
| map | u32 | event = 114 or 115 or 116 or 117 or 118 | Which map it happened on. It travels only with the sorts that carry it. |
| inhibitorGold | f32 | event = 31 | Gold awarded for the inhibitor. It has no effect on a client. |
| inhibitorAssistCount | u32 | event = 31 | How many of the places below name an assister. A client names them where it is 0 to 11, and no assister from 12 up. |
| inhibitorAssists | 12 × u32 | event = 31 | Twelve places; those past inhibitorAssistCount have no effect. |
Vectors (44)
a-third-on-4-13, altar-captured-on-4-13, altar-captured-watched-on-4-13, another-on-4-13, baron-killed-on-4-13, baron-killed-watched-on-4-13, baron-stolen-on-4-13, buff-on-4-13, consumable-bought-on-4-13, critical-strike-on-4-13, crowd-control-on-4-13, damage-dealt-on-4-13, damage-taken-on-4-13, death-assist-on-4-13, died-on-4-13, dragon-killed-on-4-13, dragon-killed-watched-on-4-13, dragon-stolen-on-4-13, gold-earned-on-4-13, gold-spent-on-4-13, heal-cast-on-4-13, heal-on-4-13, inhibitor-died-on-4-13, item-bought-on-4-13, item-callout-on-4-13, item-changed-on-4-13, item-removed-on-4-13, item-sold-on-4-13, item-substituted-on-4-13, item-undone-on-4-13, killing-spree-on-4-13, minion-killed-on-4-13, monster-killed-on-4-13, one-on-4-13, removed-on-4-13, spawned-on-4-13, spider-killed-on-4-13, spider-killed-watched-on-4-13, start-notice-three-on-4-13, start-notice-two-on-4-13, turret-damaged-on-4-13, turret-died-on-4-13, undo-changed-on-4-13, welcome-on-4-13
In 4.14–4.15
Command 69 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What sort of thing happened, and so which shape follows. Each name says what the sort is sent alongside, and each note what a client shows for it; the text of a notice that carries a map is the one that map gives it. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 117 minionsSpawned, 118 welcome, 119 startNoticeTwo, 120 startNoticeThree, 124 scoreboardOpened, 126 nexusCrystalStarted, 150 dragonKilled, 151 dragonKilledWatched, 152 dragonStolen, 153 baronKilled, 154 baronKilledWatched, 155 baronStolen, 156 spiderKilled, 157 spiderKilledWatched, 158 altarCaptured, 159 altarCapturedWatched, 160 wardPlaced, 161 wardKilled. | |
| source | u32 | The unit the thing is credited to, or zero where none is. | |
| subject | u32 | The unit the thing happened to, or zero where none is named. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 158 or 159 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 98 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| undo | record | event = 94 | A purchase taken back. |
| undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.part | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. | |
| map | u32 | event = 118 or 119 or 120 or 121 or 122 | Which map it happened on. It travels only with the sorts that carry it. |
| inhibitorGold | f32 | event = 31 | Gold awarded for the inhibitor. It has no effect on a client. |
| inhibitorAssistCount | u32 | event = 31 | How many of the places below name an assister. A client names them where it is 0 to 11, and no assister from 12 up. |
| inhibitorAssists | 12 × u32 | event = 31 | Twelve places; those past inhibitorAssistCount have no effect. |
Vectors (44)
a-third-on-4-14, altar-captured-on-4-14, altar-captured-watched-on-4-14, another-on-4-14, baron-killed-on-4-14, baron-killed-watched-on-4-14, baron-stolen-on-4-14, buff-on-4-14, consumable-bought-on-4-14, critical-strike-on-4-14, crowd-control-on-4-14, damage-dealt-on-4-14, damage-taken-on-4-14, death-assist-on-4-14, died-on-4-14, dragon-killed-on-4-14, dragon-killed-watched-on-4-14, dragon-stolen-on-4-14, gold-earned-on-4-14, gold-spent-on-4-14, heal-cast-on-4-14, heal-on-4-14, inhibitor-died-on-4-14, item-bought-on-4-14, item-callout-on-4-14, item-changed-on-4-14, item-removed-on-4-14, item-sold-on-4-14, item-substituted-on-4-14, item-undone-on-4-14, killing-spree-on-4-14, minion-killed-on-4-14, monster-killed-on-4-14, one-on-4-14, removed-on-4-14, spawned-on-4-14, spider-killed-on-4-14, spider-killed-watched-on-4-14, start-notice-three-on-4-14, start-notice-two-on-4-14, turret-damaged-on-4-14, turret-died-on-4-14, undo-changed-on-4-14, welcome-on-4-14
In 4.16
Command 69 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What sort of thing happened, and so which shape follows. Each name says what the sort is sent alongside, and each note what a client shows for it; the text of a notice that carries a map is the one that map gives it. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 127 nexusCrystalStarted, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled. | |
| source | u32 | The unit the thing is credited to, or zero where none is. | |
| subject | u32 | The unit the thing happened to, or zero where none is named. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 98 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| undo | record | event = 94 | A purchase taken back. |
| undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.parts | 7 × u32 | What they carry is not recorded for this range; a client does not show them. | |
| undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. | |
| map | u32 | event = 119 or 120 or 121 or 122 or 123 | Which map it happened on. It travels only with the sorts that carry it. |
| inhibitorGold | f32 | event = 31 | Gold awarded for the inhibitor. It has no effect on a client. |
| inhibitorAssistCount | u32 | event = 31 | How many of the places below name an assister. A client names them where it is 0 to 11, and no assister from 12 up. |
| inhibitorAssists | 12 × u32 | event = 31 | Twelve places; those past inhibitorAssistCount have no effect. |
Vectors (44)
a-third-on-4-16, altar-captured-on-4-16, altar-captured-watched-on-4-16, another-on-4-16, baron-killed-on-4-16, baron-killed-watched-on-4-16, baron-stolen-on-4-16, buff-on-4-16, consumable-bought-on-4-16, critical-strike-on-4-16, crowd-control-on-4-16, damage-dealt-on-4-16, damage-taken-on-4-16, death-assist-on-4-16, died-on-4-16, dragon-killed-on-4-16, dragon-killed-watched-on-4-16, dragon-stolen-on-4-16, gold-earned-on-4-16, gold-spent-on-4-16, heal-cast-on-4-16, heal-on-4-16, inhibitor-died-on-4-16, item-bought-on-4-16, item-callout-on-4-16, item-changed-on-4-16, item-removed-on-4-16, item-sold-on-4-16, item-substituted-on-4-16, item-undone-on-4-16, killing-spree-on-4-16, minion-killed-on-4-16, monster-killed-on-4-16, one-on-4-16, removed-on-4-16, spawned-on-4-16, spider-killed-on-4-16, spider-killed-watched-on-4-16, start-notice-three-on-4-16, start-notice-two-on-4-16, turret-damaged-on-4-16, turret-died-on-4-16, undo-changed-on-4-16, welcome-on-4-16
In 4.17–4.19
Command 69 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What sort of thing happened, and so which shape follows. Each name says what the sort is sent alongside, and each note what a client shows for it; the text of a notice that carries a map is the one that map gives it. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 127 nexusCrystalStarted, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled. | |
| source | u32 | The unit the thing is credited to, or zero where none is. | |
| subject | u32 | The unit the thing happened to, or zero where none is named. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| damage.sourceObject | u32 | The unit it came from, or zero. | |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| damage.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| heal.sourceObject | u32 | The unit it came from, or zero. | |
| heal.amount | f32 | How much health, as shown. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| heal.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| effect.sourceObject | u32 | The unit it came from, or zero. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| effect.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 98 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| undo | record | event = 94 | A purchase taken back. |
| undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.parts | 7 × u32 | What they carry is not recorded for this range; a client does not show them. | |
| undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. | |
| map | u32 | event = 119 or 120 or 121 or 122 or 123 | Which map it happened on. It travels only with the sorts that carry it. |
| inhibitorGold | f32 | event = 31 | Gold awarded for the inhibitor. It has no effect on a client. |
| inhibitorAssistCount | u32 | event = 31 | How many of the places below name an assister. A client names them where it is 0 to 11, and no assister from 12 up. |
| inhibitorAssists | 12 × u32 | event = 31 | Twelve places; those past inhibitorAssistCount have no effect. |
Vectors (88)
a-third-on-4-17, altar-captured-on-4-17, altar-captured-watched-on-4-17, another-on-4-17, baron-killed-on-4-17, baron-killed-watched-on-4-17, baron-stolen-on-4-17, buff-on-4-17, consumable-bought-on-4-17, critical-strike-on-4-17, crowd-control-on-4-17, damage-dealt-on-4-17, damage-taken-on-4-17, death-assist-on-4-17, died-on-4-17, dragon-killed-on-4-17, dragon-killed-watched-on-4-17, dragon-stolen-on-4-17, gold-earned-on-4-17, gold-spent-on-4-17, heal-cast-on-4-17, heal-on-4-17, inhibitor-died-on-4-17, item-bought-on-4-17, item-callout-on-4-17, item-changed-on-4-17, item-removed-on-4-17, item-sold-on-4-17, item-substituted-on-4-17, item-undone-on-4-17, killing-spree-on-4-17, minion-killed-on-4-17, monster-killed-on-4-17, one-on-4-17, removed-on-4-17, spawned-on-4-17, spider-killed-on-4-17, spider-killed-watched-on-4-17, start-notice-three-on-4-17, start-notice-two-on-4-17, turret-damaged-on-4-17, turret-died-on-4-17, undo-changed-on-4-17, welcome-on-4-17, a-third-on-4-18, altar-captured-on-4-18, altar-captured-watched-on-4-18, another-on-4-18, baron-killed-on-4-18, baron-killed-watched-on-4-18, baron-stolen-on-4-18, buff-on-4-18, consumable-bought-on-4-18, critical-strike-on-4-18, crowd-control-on-4-18, damage-dealt-on-4-18, damage-taken-on-4-18, death-assist-on-4-18, died-on-4-18, dragon-killed-on-4-18, dragon-killed-watched-on-4-18, dragon-stolen-on-4-18, gold-earned-on-4-18, gold-spent-on-4-18, heal-cast-on-4-18, heal-on-4-18, inhibitor-died-on-4-18, item-bought-on-4-18, item-callout-on-4-18, item-changed-on-4-18, item-removed-on-4-18, item-sold-on-4-18, item-substituted-on-4-18, item-undone-on-4-18, killing-spree-on-4-18, minion-killed-on-4-18, monster-killed-on-4-18, one-on-4-18, removed-on-4-18, spawned-on-4-18, spider-killed-on-4-18, spider-killed-watched-on-4-18, start-notice-three-on-4-18, start-notice-two-on-4-18, turret-damaged-on-4-18, turret-died-on-4-18, undo-changed-on-4-18, welcome-on-4-18
In 4.20
Command 69 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What sort of thing happened, and so which shape follows. Each name says what the sort is sent alongside, and each note what a client shows for it; the text of a notice that carries a map is the one that map gives it. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 127 nexusCrystalStarted, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled. | |
| source | u32 | The unit the thing is credited to, or zero where none is. | |
| subject | u32 | The unit the thing happened to, or zero where none is named. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.byParent | u8 | Nonzero to credit it to the parent spell and its caster rather than to the spell and its source unit; where the parent caster is unknown, a client credits the source unit. | |
| damage.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| damage.sourceObject | u32 | The unit it came from, or zero. | |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| damage.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.byParent | u8 | Nonzero to credit it to the parent spell and its caster rather than to the spell and its source unit; where the parent caster is unknown, a client credits the source unit. | |
| heal.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| heal.sourceObject | u32 | The unit it came from, or zero. | |
| heal.amount | f32 | How much health, as shown. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| heal.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.byParent | u8 | Nonzero to credit it to the parent spell and its caster rather than to the spell and its source unit; where the parent caster is unknown, a client credits the source unit. | |
| effect.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| effect.sourceObject | u32 | The unit it came from, or zero. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| effect.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 98 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| undo | record | event = 94 | A purchase taken back. |
| undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.parts | 7 × u32 | What they carry is not recorded for this range; a client does not show them. | |
| undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. | |
| map | u32 | event = 119 or 120 or 121 or 122 or 123 | Which map it happened on. It travels only with the sorts that carry it. |
| inhibitorGold | f32 | event = 31 | Gold awarded for the inhibitor. It has no effect on a client. |
| inhibitorAssistCount | u32 | event = 31 | How many of the places below name an assister. A client names them where it is 0 to 11, and no assister from 12 up. |
| inhibitorAssists | 12 × u32 | event = 31 | Twelve places; those past inhibitorAssistCount have no effect. |
Vectors (44)
a-third-on-4-20, altar-captured-on-4-20, altar-captured-watched-on-4-20, another-on-4-20, baron-killed-on-4-20, baron-killed-watched-on-4-20, baron-stolen-on-4-20, buff-on-4-20, consumable-bought-on-4-20, critical-strike-on-4-20, crowd-control-on-4-20, damage-dealt-on-4-20, damage-taken-on-4-20, death-assist-on-4-20, died-on-4-20, dragon-killed-on-4-20, dragon-killed-watched-on-4-20, dragon-stolen-on-4-20, gold-earned-on-4-20, gold-spent-on-4-20, heal-cast-on-4-20, heal-on-4-20, inhibitor-died-on-4-20, item-bought-on-4-20, item-callout-on-4-20, item-changed-on-4-20, item-removed-on-4-20, item-sold-on-4-20, item-substituted-on-4-20, item-undone-on-4-20, killing-spree-on-4-20, minion-killed-on-4-20, monster-killed-on-4-20, one-on-4-20, removed-on-4-20, spawned-on-4-20, spider-killed-on-4-20, spider-killed-watched-on-4-20, start-notice-three-on-4-20, start-notice-two-on-4-20, turret-damaged-on-4-20, turret-died-on-4-20, undo-changed-on-4-20, welcome-on-4-20
ClientEvent
What a server sends to tell a client something happened. The sort is named first and settles what follows; unlike WorldEvent it carries no source apart from what the sort itself carries. The header names the unit the event is about.
In 4.1–4.5
Command 162 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What happened, and so which shape follows. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 10 tripleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 29 inhibitorKilled, 30 inhibitorDied, 31 inhibitorRespawningSoon, 34 turretKilled, 35 turretDied, 36 turretDamaged, 37 minionKilled, 38 minionDenied, 39 monsterKilled, 40 largeMonsterKilled, 41 redBuffTaken, 42 blueBuffTaken, 43 nexusKilled, 44 nexusDied, 45 heal, 46 healCast, 47 buff, 48 crowdControl, 49 killingSpree, 56 killDuringSpree, 63 doubleKillDuringSpree, 64 tripleKillDuringSpree, 65 quadraKillDuringSpree, 68 deathAssist, 69 playerQuit, 70 playerLeft, 71 playerReconnected, 86 itemBought, 87 itemSold, 88 itemRemoved, 89 itemCallout, 90 itemChanged, 91 undoChanged, 92 itemSubstituted, 111 minionsSpawned, 112 welcome, 113 startNoticeTwo, 114 startNoticeThree, 118 scoreboardOpened, 143 dragonKilled, 144 dragonKilledWatched, 145 dragonStolen, 146 baronKilled, 147 baronKilledWatched, 148 baronStolen, 149 spiderKilled, 150 spiderKilledWatched, 151 altarCaptured, 152 altarCapturedWatched, 153 wardPlaced, 154 wardKilled. | |
| subject | u32 | The unit the event is about. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 86 or 87 or 88 or 90 or 91 or 151 or 152 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 49 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 45 or 46 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 47 or 48 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 48 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 68 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 35 or 36 or 37 or 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 89 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 92 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. |
Vectors (37)
altar-captured-on-4-1, altar-captured-watched-on-4-1, baron-killed-on-4-1, baron-killed-watched-on-4-1, baron-stolen-on-4-1, buff-on-4-1, consumable-bought-on-4-1, critical-strike-on-4-1, crowd-control-on-4-1, damage-dealt-on-4-1, damage-taken-on-4-1, death-assist-on-4-1, died-on-4-1, dragon-killed-on-4-1, dragon-killed-watched-on-4-1, dragon-stolen-on-4-1, gold-earned-on-4-1, gold-spent-on-4-1, heal-cast-on-4-1, heal-on-4-1, item-bought-on-4-1, item-callout-on-4-1, item-changed-on-4-1, item-removed-on-4-1, item-sold-on-4-1, item-substituted-on-4-1, killing-spree-on-4-1, minion-killed-on-4-1, monster-killed-on-4-1, one-on-4-1, removed-on-4-1, spawned-on-4-1, spider-killed-on-4-1, spider-killed-watched-on-4-1, turret-damaged-on-4-1, turret-died-on-4-1, undo-changed-on-4-1
In 4.6–4.11
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.6–4.10 | 162 |
| 4.11 | 163 |
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What happened, and so which shape follows. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 10 tripleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 144 dragonKilled, 145 dragonKilledWatched, 146 dragonStolen, 147 baronKilled, 148 baronKilledWatched, 149 baronStolen, 150 spiderKilled, 151 spiderKilledWatched, 152 altarCaptured, 153 altarCapturedWatched, 154 wardPlaced, 155 wardKilled. | |
| subject | u32 | The unit the event is about. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 87 or 88 or 89 or 91 or 92 or 152 or 153 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 90 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 93 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. |
Vectors (74)
altar-captured-on-4-6, altar-captured-watched-on-4-6, baron-killed-on-4-6, baron-killed-watched-on-4-6, baron-stolen-on-4-6, buff-on-4-6, consumable-bought-on-4-6, critical-strike-on-4-6, crowd-control-on-4-6, damage-dealt-on-4-6, damage-taken-on-4-6, death-assist-on-4-6, died-on-4-6, dragon-killed-on-4-6, dragon-killed-watched-on-4-6, dragon-stolen-on-4-6, gold-earned-on-4-6, gold-spent-on-4-6, heal-cast-on-4-6, heal-on-4-6, item-bought-on-4-6, item-callout-on-4-6, item-changed-on-4-6, item-removed-on-4-6, item-sold-on-4-6, item-substituted-on-4-6, killing-spree-on-4-6, minion-killed-on-4-6, monster-killed-on-4-6, one-on-4-6, removed-on-4-6, spawned-on-4-6, spider-killed-on-4-6, spider-killed-watched-on-4-6, turret-damaged-on-4-6, turret-died-on-4-6, undo-changed-on-4-6, altar-captured-on-4-11, altar-captured-watched-on-4-11, baron-killed-on-4-11, baron-killed-watched-on-4-11, baron-stolen-on-4-11, buff-on-4-11, consumable-bought-on-4-11, critical-strike-on-4-11, crowd-control-on-4-11, damage-dealt-on-4-11, damage-taken-on-4-11, death-assist-on-4-11, died-on-4-11, dragon-killed-on-4-11, dragon-killed-watched-on-4-11, dragon-stolen-on-4-11, gold-earned-on-4-11, gold-spent-on-4-11, heal-cast-on-4-11, heal-on-4-11, item-bought-on-4-11, item-callout-on-4-11, item-changed-on-4-11, item-removed-on-4-11, item-sold-on-4-11, item-substituted-on-4-11, killing-spree-on-4-11, minion-killed-on-4-11, monster-killed-on-4-11, one-on-4-11, removed-on-4-11, spawned-on-4-11, spider-killed-on-4-11, spider-killed-watched-on-4-11, turret-damaged-on-4-11, turret-died-on-4-11, undo-changed-on-4-11
In 4.12
Command 163 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What happened, and so which shape follows. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 10 tripleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 145 dragonKilled, 146 dragonKilledWatched, 147 dragonStolen, 148 baronKilled, 149 baronKilledWatched, 150 baronStolen, 151 spiderKilled, 152 spiderKilledWatched, 153 altarCaptured, 154 altarCapturedWatched, 155 wardPlaced, 156 wardKilled. | |
| subject | u32 | The unit the event is about. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 87 or 88 or 89 or 91 or 92 or 153 or 154 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 90 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 93 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. |
Vectors (37)
altar-captured-on-4-12, altar-captured-watched-on-4-12, baron-killed-on-4-12, baron-killed-watched-on-4-12, baron-stolen-on-4-12, buff-on-4-12, consumable-bought-on-4-12, critical-strike-on-4-12, crowd-control-on-4-12, damage-dealt-on-4-12, damage-taken-on-4-12, death-assist-on-4-12, died-on-4-12, dragon-killed-on-4-12, dragon-killed-watched-on-4-12, dragon-stolen-on-4-12, gold-earned-on-4-12, gold-spent-on-4-12, heal-cast-on-4-12, heal-on-4-12, item-bought-on-4-12, item-callout-on-4-12, item-changed-on-4-12, item-removed-on-4-12, item-sold-on-4-12, item-substituted-on-4-12, killing-spree-on-4-12, minion-killed-on-4-12, monster-killed-on-4-12, one-on-4-12, removed-on-4-12, spawned-on-4-12, spider-killed-on-4-12, spider-killed-watched-on-4-12, turret-damaged-on-4-12, turret-died-on-4-12, undo-changed-on-4-12
In 4.13
Command 163 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What happened, and so which shape follows. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 10 tripleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemUndone, 91 itemCallout, 92 itemChanged, 93 undoChanged, 94 itemSubstituted, 113 minionsSpawned, 114 welcome, 115 startNoticeTwo, 116 startNoticeThree, 120 scoreboardOpened, 146 dragonKilled, 147 dragonKilledWatched, 148 dragonStolen, 149 baronKilled, 150 baronKilledWatched, 151 baronStolen, 152 spiderKilled, 153 spiderKilledWatched, 154 altarCaptured, 155 altarCapturedWatched, 156 wardPlaced, 157 wardKilled. | |
| subject | u32 | The unit the event is about. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 87 or 88 or 89 or 92 or 93 or 154 or 155 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 91 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 94 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| undo | record | event = 90 | A purchase taken back. |
| undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.part | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. |
Vectors (38)
altar-captured-on-4-13, altar-captured-watched-on-4-13, baron-killed-on-4-13, baron-killed-watched-on-4-13, baron-stolen-on-4-13, buff-on-4-13, consumable-bought-on-4-13, critical-strike-on-4-13, crowd-control-on-4-13, damage-dealt-on-4-13, damage-taken-on-4-13, death-assist-on-4-13, died-on-4-13, dragon-killed-on-4-13, dragon-killed-watched-on-4-13, dragon-stolen-on-4-13, gold-earned-on-4-13, gold-spent-on-4-13, heal-cast-on-4-13, heal-on-4-13, item-bought-on-4-13, item-callout-on-4-13, item-changed-on-4-13, item-removed-on-4-13, item-sold-on-4-13, item-substituted-on-4-13, item-undone-on-4-13, killing-spree-on-4-13, minion-killed-on-4-13, monster-killed-on-4-13, one-on-4-13, removed-on-4-13, spawned-on-4-13, spider-killed-on-4-13, spider-killed-watched-on-4-13, turret-damaged-on-4-13, turret-died-on-4-13, undo-changed-on-4-13
In 4.14–4.15
Command 163 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What happened, and so which shape follows. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 10 tripleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 117 minionsSpawned, 118 welcome, 119 startNoticeTwo, 120 startNoticeThree, 124 scoreboardOpened, 150 dragonKilled, 151 dragonKilledWatched, 152 dragonStolen, 153 baronKilled, 154 baronKilledWatched, 155 baronStolen, 156 spiderKilled, 157 spiderKilledWatched, 158 altarCaptured, 159 altarCapturedWatched, 160 wardPlaced, 161 wardKilled. | |
| subject | u32 | The unit the event is about. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 158 or 159 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 98 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| undo | record | event = 94 | A purchase taken back. |
| undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.part | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. |
Vectors (38)
altar-captured-on-4-14, altar-captured-watched-on-4-14, baron-killed-on-4-14, baron-killed-watched-on-4-14, baron-stolen-on-4-14, buff-on-4-14, consumable-bought-on-4-14, critical-strike-on-4-14, crowd-control-on-4-14, damage-dealt-on-4-14, damage-taken-on-4-14, death-assist-on-4-14, died-on-4-14, dragon-killed-on-4-14, dragon-killed-watched-on-4-14, dragon-stolen-on-4-14, gold-earned-on-4-14, gold-spent-on-4-14, heal-cast-on-4-14, heal-on-4-14, item-bought-on-4-14, item-callout-on-4-14, item-changed-on-4-14, item-removed-on-4-14, item-sold-on-4-14, item-substituted-on-4-14, item-undone-on-4-14, killing-spree-on-4-14, minion-killed-on-4-14, monster-killed-on-4-14, one-on-4-14, removed-on-4-14, spawned-on-4-14, spider-killed-on-4-14, spider-killed-watched-on-4-14, turret-damaged-on-4-14, turret-died-on-4-14, undo-changed-on-4-14
In 4.16
Command 163 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What happened, and so which shape follows. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 10 tripleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled. | |
| subject | u32 | The unit the event is about. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| damage.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| damage.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.amount | f32 | How much health, as shown. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| heal.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| heal.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 named, 2 script, 3 passive, 4 basicAttack, 5 cheat. | |
| effect.script | u32 | The spell or effect, by the number its name gives, shown by name. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | What it carries is not recorded for this range; a server writes zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent spell or effect is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | What it means is not recorded for this range; a server writes zero. | |
| effect.parent.category | bit 8 to 11 | A client sums two entries of this sort where this, the source kinds and both spells match, and, where this is zero, the subjects match too. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 98 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| undo | record | event = 94 | A purchase taken back. |
| undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.parts | 7 × u32 | What they carry is not recorded for this range; a client does not show them. | |
| undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. |
Vectors (38)
altar-captured-on-4-16, altar-captured-watched-on-4-16, baron-killed-on-4-16, baron-killed-watched-on-4-16, baron-stolen-on-4-16, buff-on-4-16, consumable-bought-on-4-16, critical-strike-on-4-16, crowd-control-on-4-16, damage-dealt-on-4-16, damage-taken-on-4-16, death-assist-on-4-16, died-on-4-16, dragon-killed-on-4-16, dragon-killed-watched-on-4-16, dragon-stolen-on-4-16, gold-earned-on-4-16, gold-spent-on-4-16, heal-cast-on-4-16, heal-on-4-16, item-bought-on-4-16, item-callout-on-4-16, item-changed-on-4-16, item-removed-on-4-16, item-sold-on-4-16, item-substituted-on-4-16, item-undone-on-4-16, killing-spree-on-4-16, minion-killed-on-4-16, monster-killed-on-4-16, one-on-4-16, removed-on-4-16, spawned-on-4-16, spider-killed-on-4-16, spider-killed-watched-on-4-16, turret-damaged-on-4-16, turret-died-on-4-16, undo-changed-on-4-16
In 4.17–4.19
Command 163 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What happened, and so which shape follows. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 10 tripleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled. | |
| subject | u32 | The unit the event is about. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| damage.sourceObject | u32 | The unit it came from, or zero. | |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| damage.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| heal.sourceObject | u32 | The unit it came from, or zero. | |
| heal.amount | f32 | How much health, as shown. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| heal.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| effect.sourceObject | u32 | The unit it came from, or zero. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| effect.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 98 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| undo | record | event = 94 | A purchase taken back. |
| undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.parts | 7 × u32 | What they carry is not recorded for this range; a client does not show them. | |
| undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. |
Vectors (38)
altar-captured-on-4-17, altar-captured-watched-on-4-17, baron-killed-on-4-17, baron-killed-watched-on-4-17, baron-stolen-on-4-17, buff-on-4-17, consumable-bought-on-4-17, critical-strike-on-4-17, crowd-control-on-4-17, damage-dealt-on-4-17, damage-taken-on-4-17, death-assist-on-4-17, died-on-4-17, dragon-killed-on-4-17, dragon-killed-watched-on-4-17, dragon-stolen-on-4-17, gold-earned-on-4-17, gold-spent-on-4-17, heal-cast-on-4-17, heal-on-4-17, item-bought-on-4-17, item-callout-on-4-17, item-changed-on-4-17, item-removed-on-4-17, item-sold-on-4-17, item-substituted-on-4-17, item-undone-on-4-17, killing-spree-on-4-17, minion-killed-on-4-17, monster-killed-on-4-17, one-on-4-17, removed-on-4-17, spawned-on-4-17, spider-killed-on-4-17, spider-killed-watched-on-4-17, turret-damaged-on-4-17, turret-died-on-4-17, undo-changed-on-4-17
In 4.20
Command 163 on events, sent by the server, reliable.
| Field | Type | Present when | What it is |
|---|---|---|---|
| event | u8 | What happened, and so which shape follows. Values: 0 removed, 1 spawned, 2 died, 4 championDied, 6 championKill, 8 singleKill, 9 doubleKill, 10 tripleKill, 15 damageTaken, 16 damageDealt, 23 goldSpent, 24 goldEarned, 25 consumableBought, 26 criticalStrike, 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled. | |
| subject | u32 | The unit the event is about. | |
| stage | u8 | event = 5 | A client reads it and shows nothing for it; a server writes zero. |
| damage | record | event = 15 or 16 | How much harm, and from what. |
| damage.byParent | u8 | Nonzero to credit it to the parent spell and its caster rather than to the spell and its source unit; where the parent caster is unknown, a client credits the source unit. | |
| damage.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| damage.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| damage.sourceObject | u32 | The unit it came from, or zero. | |
| damage.physical | f32 | Physical damage. | |
| damage.magical | f32 | Magical damage. | |
| damage.true | f32 | True damage. | |
| damage.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| damage.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| damage.parent | 2-byte bits | Where the spell or effect came from. | |
| damage.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| damage.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| damage.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| damage.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| damage.parent.unused | bit 15 | Unused; a server writes zero. | |
| spent | u32 | event = 23 | How much gold, as shown. |
| value | u32 | event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 | What it carries is not recorded for this range; a client does not show it. |
| critical | f32 | event = 26 | The critical strike’s damage, as shown. |
| spree | u32 | event = 50 | How many kills in a row, as shown. |
| earned | record | event = 24 | Gold earned. |
| earned.gold | f32 | How much gold, as shown. | |
| earned.detail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| earned.subDetail | u32 | What it carries is not recorded for this range; a server writes zero. | |
| heal | record | event = 46 or 47 | How much health, and from what. |
| heal.byParent | u8 | Nonzero to credit it to the parent spell and its caster rather than to the spell and its source unit; where the parent caster is unknown, a client credits the source unit. | |
| heal.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| heal.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| heal.sourceObject | u32 | The unit it came from, or zero. | |
| heal.amount | f32 | How much health, as shown. | |
| heal.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| heal.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| heal.parent | 2-byte bits | Where the spell or effect came from. | |
| heal.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| heal.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| heal.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| heal.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| heal.parent.unused | bit 15 | Unused; a server writes zero. | |
| effect | record | event = 48 or 49 | The effect, and where it came from. |
| effect.byParent | u8 | Nonzero to credit it to the parent spell and its caster rather than to the spell and its source unit; where the parent caster is unknown, a client credits the source unit. | |
| effect.script | u32 | The spell, item or effect, by the number its name gives, shown by name. | |
| effect.sourceKind | u8 | What sort of source it was. Values: 0 spell, 1 item, 2 buff, 3 character, 4 basicAttack, 5 cheat, 6 unknown. | |
| effect.sourceObject | u32 | The unit it came from, or zero. | |
| effect.parentScript | u32 | The spell or effect it came from, by the number its name gives, shown by name. | |
| effect.parentCaster | u32 | The unit that cast that spell or effect, or zero. | |
| effect.parent | 2-byte bits | Where the spell or effect came from. | |
| effect.parent.source | bit 0 to 3 | What sort of source the parent is, numbered as sourceKind is. | |
| effect.parent.side | bit 4 to 7 | The side of the parent’s caster. | |
| effect.parent.category | bit 8 to 11 | What sort of unit cast the parent: 0 a champion, 1 a minion, 2 a turret, 3 a pet, 4 a clone, 5 unknown. A client sums two entries where this, the source kind and the spell match. | |
| effect.parent.spellLevel | bit 12 to 14 | The rank of the spell, as shown. | |
| effect.parent.unused | bit 15 | Unused; a server writes zero. | |
| buff | record | event = 49 | What an effect of this sort carries. |
| buff.buffType | i32 | What sort of effect. | |
| buff.duration | f32 | How long it lasted, in seconds. | |
| assist | record | event = 69 | What one unit did toward a death. |
| assist.lastHit | f32 | When it last dealt damage, in match seconds. | |
| assist.physical | f32 | Physical damage it dealt. | |
| assist.magical | f32 | Magical damage it dealt. | |
| assist.true | f32 | True damage it dealt. | |
| assist.share | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.gold | f32 | What it carries is not recorded for this range; a server writes zero. | |
| assist.credited | u32 | What it carries is not recorded for this range; a server writes zero. | |
| kill | record | event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | The reward, and who shared it. |
| kill.gold | f32 | The gold the kill gave. | |
| kill.assistCount | u32 | How many of the twelve places below name a unit. | |
| kill.assists | 12 × u32 | The units that helped, then zeros. | |
| monster | record | event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 | Who took the monster. |
| monster.skinHash | u32 | The number the name of the killer’s look gives. | |
| monster.skin | i32 | Which look the killer wears. | |
| monster.side | u32 | The side that took it. | |
| callout | record | event = 95 | The item a player pointed out, shown as the second name followed by the first in brackets. |
| callout.item | u32 | The item, shown by name and number. | |
| callout.quantity | u32 | How many, shown as two digits. | |
| callout.first | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.second | bytes, 24 | As a client lays a short text out: up to fifteen characters ended by a zero byte in the first sixteen, the length as a u32, then 15 as a u32. | |
| callout.side | u32 | The side of the player who pointed it out. | |
| substitution | record | event = 98 | An item the shop shows another in place of. |
| substitution.enabled | u8 | Nonzero to show the substitute in place of the original from now on; zero to stop. | |
| substitution.original | u32 | The item replaced. | |
| substitution.substitute | u32 | The item shown in its place. A client reads it only where enabled is nonzero; a server otherwise repeats original. | |
| undo | record | event = 94 | A purchase taken back. |
| undo.item | u32 | What it carries is not recorded for this range; a client does not show it. | |
| undo.parts | 7 × u32 | What they carry is not recorded for this range; a client does not show them. | |
| undo.refund | f32 | The gold given back. A client takes it off the gold the unit is counted as having spent. |
Vectors (38)
altar-captured-on-4-20, altar-captured-watched-on-4-20, baron-killed-on-4-20, baron-killed-watched-on-4-20, baron-stolen-on-4-20, buff-on-4-20, consumable-bought-on-4-20, critical-strike-on-4-20, crowd-control-on-4-20, damage-dealt-on-4-20, damage-taken-on-4-20, death-assist-on-4-20, died-on-4-20, dragon-killed-on-4-20, dragon-killed-watched-on-4-20, dragon-stolen-on-4-20, gold-earned-on-4-20, gold-spent-on-4-20, heal-cast-on-4-20, heal-on-4-20, item-bought-on-4-20, item-callout-on-4-20, item-changed-on-4-20, item-removed-on-4-20, item-sold-on-4-20, item-substituted-on-4-20, item-undone-on-4-20, killing-spree-on-4-20, minion-killed-on-4-20, monster-killed-on-4-20, one-on-4-20, removed-on-4-20, spawned-on-4-20, spider-killed-on-4-20, spider-killed-watched-on-4-20, turret-damaged-on-4-20, turret-died-on-4-20, undo-changed-on-4-20
DragonBuffCount
What a server sends to say how many dragon buffs a side holds. The header carries zero.
In 4.20
Command 300 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | |
| flags.order | bit 0 | Set for side 100, clear for side 200. |
| flags.unused | bit 1 to 7 | Unused; a server writes zero. |
| counter | u32 | Which count it sets. A client takes only 0, and drops the message otherwise. |
| count | i32 | How many buffs the side holds. Both sides start at -1, which hides the counts; once either is 0 or more, a client shows both, a negative one as 0. |
Vectors (1)
Communication
Chat, pings, emotes, and the sound and music a server can drive.
Chat
Players chat with Chat, which carries a line to everyone or to a side. A
server puts a line of its own in a client’s chat with SystemMessage. A server
can limit how many more lines a player can send with ChatAllowance.
In 4.1–4.19
A client shows how many lines
ChatAllowanceleaves its player.
Pings and emotes
A client marks a point on the map with MapPing, and a server shows the ping to
everyone meant to see it with PingPlaced. A client asks to play an emote with
PlayEmote, and a server shows it with EmotePlayed. A server can also tell
clients of a voice command a champion gave (VoiceCommand) and of an emote a
champion played for the moment (ContextEmote).
In 4.1–4.19
A client shows no ping its server marks as throttled, and notes in its own chat that the player is pinging too often.
VoiceCommandandContextEmotechange nothing a client shows.
Sound and music
A server can play a sound once (SoundPlayed) or a voice event (VoiceEvent),
which a client can report done with VoiceEventDone. A server can also set a
champion’s skin music (ThemeMusic), drive the music (MusicCue), mute or
unmute a kind of sound (VolumeMuted) and fade sound effects out
(FadeSounds).
Where a VoiceEvent asks for an answer, a client sends VoiceEventDone once
it has played the event, or at once where it cannot play it.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
Chat
Text one player sends the others during a match. Messages players exchange outside a match do not travel on this connection at all.
In 4.1–4.17
Command 104 on chat, sent by either side, reliable.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the sender. |
| netId | u32 | The entity a receiving end attributes the text to where the seat does not name one. Where the seat names a speaker, that is what a receiving end uses instead. |
| localized | u8 | Whether the text is a phrase to show as it stands, or a key naming one the receiving end looks up and fills in from the parameters. Both ends send it clear. |
| audience | i32 | Who the message reaches. Values: 0 everyone, 1 team. |
| paramsLength | u32 | How many bytes of the run that follows carry meaning. |
| textLength | u32 | The length of the text, counted in bytes and excluding the byte that ends it. A 4.17 client sends at most 255 bytes of text. A client shows the text to its first zero byte. |
| params | bytes, 32 | Thirty two bytes holding text that fills in a key, ended by a zero byte within them. The bytes after that zero byte carry no meaning, so two messages otherwise alike can differ in them. |
| text | text, sized by textLength | The text, textLength bytes of it. |
| terminator | bytes, 1 | A zero byte closing the text. |
Vectors (2)
In 4.18–4.20
Command 104 on chat, sent by either side, reliable.
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the sender. |
| netId | u32 | The entity a receiving end attributes the text to where the seat does not name one. Where the seat names a speaker, that is what a receiving end uses instead. |
| localized | u8 | Whether the text is a phrase to show as it stands, or a key naming one the receiving end looks up and fills in from the parameters. Both ends send it clear. |
| audience | i32 | Who the message reaches. Values: 0 everyone, 1 team. |
| paramsLength | u32 | How many bytes of the run that follows carry meaning. |
| textLength | u32 | The length of the text, counted in bytes and excluding the byte that ends it. |
| params | bytes, 32 | Thirty two bytes holding text that fills in a key, ended by a zero byte within them. The bytes after that zero byte carry no meaning, so two messages otherwise alike can differ in them. |
| text | text, sized by textLength | The text, textLength bytes of it. |
| terminator | bytes, 1 | A zero byte closing the text. |
Vectors (2)
SystemMessage
What a server sends to put a line of its own in a client’s chat. The header names no object: it carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 246 |
| 4.11–4.20 | 247 |
| Field | Type | What it is |
|---|---|---|
| source | u32 | The unit the line is credited to, or zero where none is. |
| text | text, 512 bytes | The line itself. Written out in full and padded with zero bytes to the width above. |
Vectors (4)
ChatAllowance
What a server sends to limit a player’s chat, showing how many lines they have left. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 248 |
| 4.11–4.20 | 249 |
| Field | Type | What it is |
|---|---|---|
| linesLeft | i32 | How many lines are left. A client shows this number as sent. |
Vectors (3)
MapPing
What a client sends to mark a point on the map for the others. The header names no object: it carries zero.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 86 |
| 4.11–4.20 | 87 |
| Field | Type | What it is |
|---|---|---|
| x | f32 | Where on the map, along one ground axis, in world units. |
| z | f32 | Where on the map, along the other ground axis, in world units. |
| target | u32 | A network object the mark is on, or zero where it is on open ground. |
| kind | u8 | Which mark it is. A client sends any of the seven below, and 1 where the mark shows a direction of attack. Values: 0 here, 1 attackDirection, 2 danger, 3 targetUnaccountedFor, 4 onMyWay, 5 fallBack, 6 comeHere. |
PingPlaced
What a server sends to show a ping on the map to everyone meant to see it.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 63 |
| 4.11–4.17 | 64 |
A client drops the whole message where category is past its own list of categories. The header names the champion that placed the ping, as source does.
| Field | Type | What it is |
|---|---|---|
| atX | f32 | Where the ping sits, along one ground axis, in world units. |
| atZ | f32 | Where it sits, along the other, in world units. |
| target | u32 | The unit pinged, or zero where a place was pinged instead. |
| source | u32 | The unit that placed it. |
| how | 1-byte bits | |
| how.category | bit 0 to 3 | Which sort of ping. |
| how.playSound | bit 4 | Set where the client plays a sound for it. |
| how.showInChat | bit 5 | Set where the client writes a line about it. |
| how.throttled | bit 6 | Set where the player is pinging too often: a client places no ping, plays nothing and announces nothing, and only writes a notice in its own chat. |
| how.speak | bit 7 | Set where the unit says something about it. |
Vectors (2)
In 4.18–4.20
Command 64 on events, sent by the server, reliable.
The header names the champion that placed the ping, as source does.
| Field | Type | What it is |
|---|---|---|
| atX | f32 | Where the ping sits, along one ground axis, in world units. |
| atZ | f32 | Where it sits, along the other, in world units. |
| target | u32 | The unit pinged, or zero where a place was pinged instead. |
| source | u32 | The unit that placed it. |
| category | u8 | Which sort of ping, under the values MapPing’s kind takes. A server repeats the kind of the request it answers. Values: 0 here, 1 attackDirection, 2 danger, 3 targetUnaccountedFor, 4 onMyWay, 5 fallBack, 6 comeHere. |
| does | 1-byte bits | |
| does.playSound | bit 0 | Set where the client plays a sound for it. |
| does.showInChat | bit 1 | Set where the client writes a line about it. |
| does.wasThrottled | bit 2 | Set where the sender was pinging faster than allowed. |
| does.speak | bit 3 | Set where the unit says something about it. |
| does.unused | bit 4 to 7 | Unused; a server writes zero. |
Vectors (2)
PlayEmote
What a client sends to play an emote. The header names the sender’s champion.
In 4.1–4.17
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 71 |
| 4.11–4.17 | 72 |
| Field | Type | What it is |
|---|---|---|
| emote | u8 | Which emote, by the number the client knows it as. Its four emote keys send 3, 1, 0 and 2, the numbers EmotePlayed plays. |
Vectors (2)
In 4.18–4.20
Command 72 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| emote | u8 | Which emote, by the number the client knows it as. |
Vectors (1)
EmotePlayed
What a server sends to say a unit played an emote. The header names the champion playing the emote.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 65 |
| 4.11–4.17 | 66 |
| Field | Type | What it is |
|---|---|---|
| emote | u8 | Which emote, by the number the client knows it as. A client plays an animation on the champion for 0, 1 and 2, a different one each, and none for 3. |
Vectors (2)
In 4.18–4.20
Command 66 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| emote | u8 | Which emote, by the number the client knows it as. |
Vectors (2)
VoiceCommand
What a server sends about a voice command a champion gave. The header names the champion.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 67 |
| 4.11–4.17 | 68 |
A client accepts it on a champion only, and it has no effect.
| Field | Type | What it is |
|---|---|---|
| padding1 | u16 | Padding before call. Unused; a server writes zero. |
| padding2 | u8 | Padding before call. Unused; a server writes zero. |
| call | u32 | Which call. |
| target | u32 | The unit the call is about. |
| flags | 1-byte bits | How it is shown. |
| flags.highlight | bit 0 | Set where the player’s icon is highlighted. |
| flags.ping | bit 1 | Set where it marks a ping. |
| flags.unused | bit 2 to 7 | Unused; a server writes zero. |
| padding3 | u16 | Padding after flags. Unused; a server writes zero. |
| padding4 | u8 | Padding after flags. Unused; a server writes zero. |
Vectors (2)
In 4.18–4.20
Command 68 on events, sent by the server, reliable.
A client accepts it on a champion only, and it has no effect.
| Field | Type | What it is |
|---|---|---|
| call | u32 | Which call. |
| target | u32 | The unit the call is about. |
| flags | 1-byte bits | How it is shown. |
| flags.highlight | bit 0 | Set where the player’s icon is highlighted. |
| flags.ping | bit 1 | Set where it marks a ping. |
| flags.unused | bit 2 to 7 | Unused; a server writes zero. |
Vectors (1)
ContextEmote
What a server sends about an emote a champion played for the moment. It changes nothing a client shows. The header names the champion.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 242 |
| 4.11–4.20 | 243 |
| Field | Type | What it is |
|---|---|---|
| emote | u8 | Which emote. |
| parameter | u32 | A hashed parameter. |
| flags | u8 | Flags with no meaning given. |
Vectors (3)
SoundPlayed
What a server sends to play a sound once. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 66 |
| 4.11–4.20 | 67 |
| Field | Type | What it is |
|---|---|---|
| sound | text, 1024 bytes | The sound event’s name. The text ends at its first zero byte, which falls within the field. |
| owner | u32 | The object to play it at, where a client knows one by this id; otherwise, or for zero, the sound has no place. |
Vectors (4)
VoiceEvent
What a server sends to play a voice event. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 120 |
| 4.11–4.20 | 121 |
| Field | Type | What it is |
|---|---|---|
| folder | text, 64 bytes | The event’s folder. It has no effect where kind is 1. |
| event | text, 64 bytes | The event’s name; for kind 1, the conversation’s. |
| callback | u8 | For kind 0, nonzero asks the client to send VoiceEventDone once the event has played. A client sends it at once where it cannot play the event, whatever this holds. |
| kind | u8 | What sort of event. A client does nothing for any other value. Values: 0 general, 1 champion. |
| handle | u32 | For kind 0, a number a client returns in VoiceEventDone; for kind 1, the champion. |
Vectors (3)
VoiceEventDone
What a client sends once a voice event (VoiceEvent) that asked for it has played. The header carries zero.
In every range of this book
Command 5 on requests, sent by the client, reliable.
It answers only a voice event of kind 0, and a client sends it at once where it could not play the event.
| Field | Type | What it is |
|---|---|---|
| handle | u32 | The number the VoiceEvent carried. |
Vectors (2)
ThemeMusic
What a server sends to set a champion’s skin music. A client plays it only for its own champion, and does nothing where the id names no champion or the track is past the skin’s list. The header carries zero.
In 4.17
Command 96 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| champion | u32 | The champion. |
| track | u32 | Which of the skin’s music tracks, counting from zero. |
Vectors (1)
In 4.18–4.20
Command 96 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| champion | u32 | The champion. |
| track | u32 | Which of the skin’s music tracks, counting from zero. |
| secondTrack | u32 | A second track, counting from zero, or 268435455 for none. A client takes a value past the skin’s tracks as none. |
Vectors (1)
MusicCue
What a server sends to drive the music a client plays.
In 4.1–4.10
Command 219 on events, sent by the server, reliable.
The header names the champion of the player it is sent to.
| Field | Type | What it is |
|---|---|---|
| cue | u8 | What to do. A client takes any other value and does nothing. Values: 0 prepare, 1 begin, 2 end, 3 changeState. |
| event | u32 | Which cue or event. |
| parameter | u32 | Which state, where the state changes. |
Vectors (1)
In 4.11–4.20
Command 220 on events, sent by the server, reliable.
The header names the champion of the player it is sent to.
| Field | Type | What it is |
|---|---|---|
| cue | u8 | What to do. Values: 0 prepare, 1 begin, 2 end, 3 changeState, 4 trigger. |
| event | u32 | Which cue or event. |
| parameter | u32 | Which state, where the state changes. |
Vectors (2)
VolumeMuted
What a server sends to mute or unmute one kind of sound. The header carries zero.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 38 |
| 4.11–4.17 | 39 |
| Field | Type | What it is |
|---|---|---|
| category | u8 | Which kind. A client ignores the message from 7 up. Values: 0 all, 1 music, 2 effects, 3 announcer, 4 unitResponses, 5 environment, 6 mainEffects. |
| state | 1-byte bits | Whether it is muted. |
| state.muted | bit 0 | Set to mute, clear to unmute. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
In 4.18–4.20
Command 39 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| category | u8 | Which kind. A client ignores the message from 8 up. Values: 0 all, 1 music, 2 effects, 3 announcer, 4 unitResponses, 5 environment, 6 mainEffects, 7 pings. |
| state | 1-byte bits | Whether it is muted. |
| state.muted | bit 0 | Set to mute, clear to unmute. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (1)
FadeSounds
What a server sends to fade a client’s sound effects out. The header carries zero.
In 4.1–4.14
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 94 |
| 4.11–4.14 | 95 |
| Field | Type | What it is |
|---|---|---|
| time | f32 | How long the sounds take to fade; the unit is not recorded. |
Vectors (2)
In 4.15–4.20
Command 95 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| time | f32 | How long the fade takes, in seconds. |
Vectors (2)
UnitSpoke
What a client sends when a unit says something on its screen. A server need do nothing with it. The header names the unit speaking.
In 4.1–4.9
Command 24 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| unknown | u32 | A client writes 1073741824. |
| unknownToo | u32 | A client writes zero. |
| kind | u8 | A client writes zero. |
| unused | u8 | A client writes zero. |
| unusedToo | u32 | A client writes zero. |
| length | u32 | The text’s length in bytes, counting its zero byte; at most 1024. |
| text | text, sized by length | What the unit says. |
Vectors (1)
Votes
Surrender votes, and a vote on evening out a match.
Surrender
A server tells a side a surrender vote has been called with
SurrenderVoteCalled. A client answers with SurrenderVote, and a server tells
the side where the vote stands with SurrenderStatus. SurrenderAllowed says
whether a champion’s player can call a vote, turning the choice in the client’s
menu on or off.
SurrenderVoteCalled shows the caller’s vote to that side and, where it says
the vote opens, opens the vote’s panel for that side.
In 4.1–4.19
A client ignores
SurrenderVoteCalledthat arrives before its own champion is on the field.
Evening out a match
A server can hold a vote on giving the side behind gold, experience and
turrets. BalanceVote opens the vote’s panel for the voting side and adds one
voter with each message; a client answers with
BalanceVoteAnswer from the panel or as its player types /equalize, once per
vote. BalanceResult says how the vote ended, or why it could not be held.
In 4.1–4.19
Where the version answer’s features turn the commands on, a client also sends
BalanceVoteRefused, a vote against, as its player types/noequalize.
BalanceVote opens the panel on the first vote.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
SurrenderVoteCalled
What a server sends to open a surrender vote, or to report one already open. The header names no object: it carries zero.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 200 |
| 4.11–4.17 | 201 |
A client ignores it unless its menu and its own champion both exist.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.countAsYes | bit 0 | Applies only where side is the client’s own: set shows caller voting yes, clear voting no, opening the menu or not. |
| how.openTheMenu | bit 1 | Set where the vote opens: a client of side opens the vote’s panel from seats and closesIn, which have no other effect; every client is told a vote began, with caller, inFavour, against and side. |
| how.unused | bit 2 to 7 | Unused; a server writes zero. |
| caller | u32 | The unit that called the vote. |
| inFavour | u8 | How many have voted for. |
| against | u8 | How many have voted against. |
| seats | u8 | How many seats can vote. |
| side | u32 | Which side is voting. |
| closesIn | f32 | How long the vote stays open, in seconds. |
Vectors (2)
In 4.18–4.20
Command 201 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.countAsYes | bit 0 | Set where the receiving seat is taken to have voted for. |
| how.openTheMenu | bit 1 | Set where the client shows the vote to the seat. |
| how.unused | bit 2 to 7 | Unused; a server writes zero. |
| caller | u32 | The unit that called the vote. |
| inFavour | u8 | How many have voted for. |
| against | u8 | How many have voted against. |
| seats | u8 | How many seats can vote. |
| side | u32 | Which side is voting. |
| closesIn | f32 | How long the vote stays open, in seconds. |
Vectors (1)
SurrenderVote
What a client sends to vote on surrendering. The header names no object: it carries zero.
In 4.1–4.17
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 163 |
| 4.11–4.17 | 164 |
It answers a call to surrender.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.inFavour | bit 0 | Set where the answer is yes. A client sends it clear. |
| how.unused | bit 1 to 7 | Always clear. |
Vectors (2)
In 4.18–4.20
Command 164 on requests, sent by the client, reliable.
It answers a call to surrender.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.inFavour | bit 0 | Set where the answer is yes. |
| how.unused | bit 1 to 7 | Unused; a client may leave any value here, and a server ignores it. |
Vectors (1)
SurrenderStatus
What a server sends to tell a side where its surrender vote stands. The header names no object: it carries zero.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 164 |
| 4.11–4.17 | 165 |
| Field | Type | What it is |
|---|---|---|
| reason | u8 | Why the vote stands where it does. |
| inFavour | u8 | How many voted for. |
| against | u8 | How many voted against. |
| side | u32 | Which side. |
Vectors (2)
In 4.18–4.20
Command 165 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| reason | u32 | Why the vote is where it is. |
| inFavour | u8 | How many voted for. |
| against | u8 | How many voted against. |
| side | u16 | Which side. |
Vectors (1)
SurrenderAllowed
What a server sends to say whether a champion’s player can call a surrender vote. The header names the champion.
In every range of this book
Command 270 on events, sent by the server, reliable.
A client turns the surrender choice in its menu on or off, and does nothing before the menu exists.
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | Whether it is allowed. |
| flags.allowed | bit 0 | Set where a vote can be called. |
| flags.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (2)
BalanceVote
What a server sends as a side votes on evening out a match: on the first vote it opens the vote’s panel for that side, and each message adds one voter. A client sends BalanceVoteAnswer as its player votes. A client with no champion of its own ignores it. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 249 |
| 4.11–4.20 | 250 |
| Field | Type | What it is |
|---|---|---|
| flags | 1-byte bits | This vote. |
| flags.inFavour | bit 0 | Set where this voter voted for. |
| flags.first | bit 1 | Set where this vote opens a new vote. |
| flags.unused | bit 2 to 7 | Unused; a server writes zero. |
| voter | u32 | The voter’s champion. |
| inFavour | u8 | How many voted for. |
| against | u8 | How many voted against. |
| voters | u8 | How many can vote. It applies only on the first vote. |
| side | i32 | The voting side. |
| closesIn | f32 | Seconds until the vote closes. It applies only on the first vote. |
| gold | f32 | Gold the losing side would be given. |
| experience | i32 | Experience it would be given. |
| turrets | i32 | Turrets it would be given. |
Vectors (3)
BalanceVoteAnswer
What a client sends as its player answers a vote on evening out a match (BalanceVote), once per vote, from the vote’s panel or by typing /equalize. The header carries zero.
In 4.1–4.17
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 250 |
| 4.11–4.17 | 251 |
| Field | Type | What it is |
|---|---|---|
| vote | 1-byte bits | The answer. |
| vote.inFavour | bit 0 | Set for yes, clear for no. |
| vote.unused | bit 1 to 7 | Unused; a client writes zero. |
Vectors (2)
In 4.18–4.20
Command 251 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| vote | 1-byte bits | The answer. |
| vote.inFavour | bit 0 | Set for yes, clear for no. |
| vote.unused | bit 1 to 7 | Unused; a client may leave any value here, and a server ignores it. |
Vectors (1)
BalanceResult
What a server sends when a vote on evening out a match ends, or cannot be held. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 251 |
| 4.11–4.20 | 252 |
| Field | Type | What it is |
|---|---|---|
| result | u8 | What came of it. Values: 0 failed, 1 notYet, 2 notAheadInGold, 3 notAheadInLevels, 4 tooSoon, 5 alreadyVoted, 6 agreed. |
| inFavour | u8 | How many voted for. |
| against | u8 | How many voted against. |
| side | i32 | The side that voted. |
| gold | f32 | Gold given. |
| experience | i32 | Experience given. |
| turrets | i32 | Turrets given. |
Vectors (3)
BalanceVoteRefused
What a client sends as its player types /noequalize, where the version answer’s features have bit 0 set, outside the tutorial: a vote against, laid out as BalanceVote with only its first fields filled. The header carries zero.
In 4.1–4.17
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 249 |
| 4.11–4.17 | 250 |
| Field | Type | What it is |
|---|---|---|
| flags | u8 | Zero: a vote against. |
| voter | u32 | Zero. |
| unset | 23 × u8 | The rest of BalanceVote’s layout. Unused; its bytes carry no meaning. |
Vectors (2)
In 4.18–4.20
Command 250 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| flags | u8 | A vote against: the lowest bit is clear. The other bits carry no meaning, and a server ignores them. |
| voter | u32 | Zero. |
| unset | 23 × u8 | The rest of BalanceVote’s layout. Unused; its bytes carry no meaning. |
Vectors (1)
The interface
What a client shows its player besides the field: the view and camera, input locks, the minimap and text over the screen. Tips, quests, highlights and the tutorial are in Tutorial and guidance.
The view
A client reports where its view sits and which way it faces with Camera,
which a server answers (see Ordering). A client tells a server what it has
selected with SelectObject, and as it locks its view to its champion or
releases it with CameraLock.
A server carries a client’s view from one place to another with MoveCamera. A
server can also lock or free a client’s camera with CameraLockSet, which the
client answers with CameraLock except while it holds its camera itself, and
set a point a player’s view keeps to with CameraBehaviour.
In 4.20
A client reports a view drawn further out than it allows with
ZoomReport; a server MAY ignore it.
Input
A server locks or unlocks kinds of input, such as movement, spells or the
shop, with InputLock or InputLockToggled.
The minimap and text on screen
MinimapIcon changes what a client draws for a unit on its map. A server can
float text over a unit (FloatingText, UnitText), warn a player who seems
to be away (AfkWarning), and take the interface down (HudDisabled).
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
Camera
What a client sends to say where its view sits and which way it faces. Each report is sent once where a server answers it, and again and again where a server does not. The header names no object: it carries zero.
In every range of this book
Carried on requests, sent by the client, unreliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 45 |
| 4.11–4.20 | 46 |
| Field | Type | What it is |
|---|---|---|
| positionX | f32 | |
| positionY | f32 | |
| positionZ | f32 | |
| directionX | f32 | |
| directionY | f32 | |
| directionZ | f32 | |
| clientId | u32 | The client id of the client the view belongs to. |
| syncId | u8 | Names this report, counting up as the view moves. A client sends the report again until a server returns the name. |
Vectors (4)
looking-down-on-4-10, one-on-4-10, one-on-4-17, looking-down-on-4-20
SelectObject
What a client sends as the object it has selected changes. The header names no object: it carries zero.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 174 |
| 4.11–4.20 | 175 |
| Field | Type | What it is |
|---|---|---|
| clientId | u32 | The client id of the client selecting: the one its Registered gave it. Zero is a client id like any other rather than an absence. |
| selected | u32 | The network object now selected, or zero where none is. |
Vectors (4)
one-on-4-10, one-on-4-17, an-object-on-4-20, nothing-on-4-20
CameraLock
What a client sends as it locks its view to a unit or releases it. The header names no object: it carries zero.
In 4.1–4.17
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 128 |
| 4.11–4.17 | 129 |
A client sends it whenever its lock changes: by the player, or as the game forces a lock or lifts one. It sends none while playing a replay.
| Field | Type | What it is |
|---|---|---|
| state | 1-byte bits | |
| state.locked | bit 0 | Set while the view follows a unit. |
| state.unused | bit 1 to 7 | Unused; a client writes zero. |
| clientId | u32 | The client id of the client locking. Zero is a client id like any other rather than an absence. |
Vectors (2)
In 4.18–4.20
Command 129 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| state | 1-byte bits | |
| state.locked | bit 0 | Set while the view follows a unit. |
| state.unused | bit 1 to 7 | Unused; a client may leave any value here, and a server ignores it. |
| clientId | u32 | The client id of the client locking. Zero is a client id like any other rather than an absence. |
Vectors (2)
MoveCamera
What a server sends to carry a client’s view from one place to another. The header names the champion of the player it is sent to.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 36 |
| 4.11–4.17 | 37 |
Where the header names a champion, only the client whose own champion it is moves its view; others take the message and do nothing. Where the header carries zero, a client moves its view to to over travelTime, how and from having no effect.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.fromWhereItIs | bit 0 | Set to start from where the camera stands, fromX, fromY and fromZ having no effect; clear to start from them. |
| how.unused1 | bit 1 | Unused; a server writes zero. |
| how.unused | bit 2 to 7 | Unused; a server writes zero. |
| fromX | f32 | Where the view starts, along one ground axis, in world units. |
| fromY | f32 | Where the view starts, in height, in world units. |
| fromZ | f32 | Where the view starts, along the other ground axis, in world units. |
| toX | f32 | Where the view ends, along one ground axis, in world units. |
| toY | f32 | Where the view ends, in height, in world units. |
| toZ | f32 | Where the view ends, along the other ground axis, in world units. |
| travelTime | f32 | How long the view takes to get there, in seconds. The view moves at an even speed over the distance along the ground. |
Vectors (2)
In 4.18–4.20
Command 37 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.fromWhereItIs | bit 0 | Set where the view starts from where it already is rather than from the place below. |
| how.unlock | bit 1 | Set where the view is left free once it arrives. |
| how.unused | bit 2 to 7 | Unused; a server writes zero. |
| fromX | f32 | Where the view starts, along one ground axis, in world units. |
| fromY | f32 | Where the view starts, in height, in world units. |
| fromZ | f32 | Where the view starts, along the other ground axis, in world units. |
| toX | f32 | Where the view ends, along one ground axis, in world units. |
| toY | f32 | Where the view ends, in height, in world units. |
| toZ | f32 | Where the view ends, along the other ground axis, in world units. |
| travelTime | f32 | How long the view takes to get there, in seconds. The view moves at an even speed over the distance along the ground. |
Vectors (2)
CameraLockSet
What a server sends to lock the camera to the champion or free it. A client answers with CameraLock. The header names no object: a server writes zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 119 |
| 4.11–4.20 | 120 |
A client ignores the message while something of its own holds the camera. It sends no CameraLock while playing a replay.
| Field | Type | What it is |
|---|---|---|
| state | 1-byte bits | Whether the camera is locked. |
| state.locked | bit 0 | Set to lock the camera, clear to free it. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (3)
CameraBehaviour
What a server sends to set a point a champion’s player’s view keeps to. The header names the champion.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 114 |
| 4.11–4.20 | 115 |
| Field | Type | What it is |
|---|---|---|
| x | f32 | Along one ground axis, in world units. |
| y | f32 | In height, in world units. |
| z | f32 | Along the other ground axis, in world units. |
Vectors (4)
ZoomReport
What a client sends when it notices it has drawn its view further out than it allows itself. It sends one and no more, and sends none while watching a match back. The header names the sender’s champion.
In 4.20
Command 125 on requests, sent by the client, reliable.
| Field | Type | What it is |
|---|---|---|
| signal | u32 | What was noticed. A client sends zero. |
| flags | u32 | How it was noticed. A client sends zero. |
Vectors (1)
InputLock
What a server sends to lock or unlock a kind of input on a client. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 131 |
| 4.11–4.20 | 132 |
A client ignores it while playing a replay.
| Field | Type | What it is |
|---|---|---|
| category | u32 | Which input, as a set of bits. Values: 1 cameraLocking, 2 movement, 4 abilities, 8 summonerSpells, 16 shop, 32 chat, 64 minimapMovement, 128 cameraMovement. |
| state | 1-byte bits | Whether to lock. |
| state.locked | bit 0 | Set to lock, clear to unlock. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (4)
InputLockToggled
What a server sends to turn kinds of input off where they are on, or on where they are off. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 154 |
| 4.11–4.20 | 155 |
A client acts on the change at once only where exactly one lock is set; any other value still changes what is locked, and takes effect as the player next tries.
| Field | Type | What it is |
|---|---|---|
| locks | u32 | Each lock set flips. Values: 1 cameraLock, 2 movement, 4 spells, 8 summonerSpells, 16 shop, 32 chat, 64 minimapMovement, 128 cameraMovement. |
Vectors (3)
MinimapIcon
What a server sends to change what a client draws for a unit on its map. The header names no object: it carries zero.
In 4.1–4.13
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 215 |
| 4.11–4.13 | 216 |
A client does nothing unless unit is a unit it holds that can be attacked.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit this is about. |
| changeIcon | u8 | 1 to replace the unit’s minimap icon with icon; 0 leaves it, and icon has no effect. |
| icon | text, 64 bytes | The name the client loads the mark under. Written out in full and padded with zero bytes to the width above. |
| changeBorder | u8 | 1 to replace the unit’s ring with border, and what it does with borderScript; 0 leaves both, and neither has any effect. |
| border | text, 64 bytes | The name the client loads the ring around the mark under, written and padded as above. |
Vectors (2)
In 4.14–4.17
Command 216 on events, sent by the server, reliable.
A client does nothing unless unit is a unit it holds that can be attacked.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit this is about. |
| changeIcon | u8 | 1 to replace the unit’s minimap icon with icon; 0 leaves it, and icon has no effect. |
| icon | text, 64 bytes | The name the client loads the mark under. Written out in full and padded with zero bytes to the width above. |
| changeBorder | u8 | 1 to replace the unit’s ring with border, and what it does with borderScript; 0 leaves both, and neither has any effect. |
| border | text, 64 bytes | The name the client loads the ring around the mark under, written and padded as above. |
| borderScript | text, 64 bytes | The name the client loads the ring’s own doings under, written and padded as above. |
Vectors (1)
In 4.18–4.20
Command 216 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit this is about. |
| changeIcon | 1-byte bits | |
| changeIcon.change | bit 0 | Set where the mark below replaces what the client draws. |
| changeIcon.unused | bit 1 to 7 | Unused; a server writes zero. |
| icon | text, 64 bytes | The name the client loads the mark under. Written out in full and padded with zero bytes to the width above. |
| changeBorder | 1-byte bits | |
| changeBorder.change | bit 0 | Set where the ring below replaces what the client draws. |
| changeBorder.unused | bit 1 to 7 | Unused; a server writes zero. |
| border | text, 64 bytes | The name the client loads the ring around the mark under, written and padded as above. |
| borderScript | text, 64 bytes | The name the client loads the ring’s own doings under, written and padded as above. |
Vectors (2)
FloatingText
What a server sends to show text floating over a unit. The header names the unit.
In every range of this book
Command 24 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| delay | f32 | Unused; a server writes 2. |
| slot | i32 | Where the text goes. 0 floats it over the unit while the unit is in the client’s own view, the text looked up as a key into the client’s own text. 1 to 50 writes it, in colour, to that line of a debugging display, only where the unit is the one the player has selected. A client does nothing for any other value. |
| error | u8 | Nonzero has a client ignore the whole message. |
| colour | u8 | The text’s colour on the debugging display; it has no effect for slot 0. |
| style | u32 | Which style of floating text. |
| length | u32 | The text’s length in bytes, counting its zero byte. |
| text | text, sized by length | The text. |
Vectors (2)
UnitText
What a server sends to float a line of the client’s own text over a unit, as combat text floats. A client shows it only where the unit is in its sight, and not while playing a replay. The header carries zero.
In 4.1–4.13
Command 25 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit to float it over: one that can be damaged. |
| style | u8 | How the line looks, from 0 to 25. A client shows debug lines to nobody. Values: 0 invulnerable, 1 special, 2 heal, 3 manaHeal, 4 manaDamage, 5 dodge, 6 critical, 7 magicCritical, 8 experience, 9 gold, 10 level, 11 disable, 12 questReceived, 13 questComplete, 14 score, 15 physicalDamage, 16 magicDamage, 17 trueDamage, 18 enemyPhysicalDamage, 19 enemyMagicDamage, 20 enemyTrueDamage, 21 enemyCritical, 22 countdown, 23 onMyWay, 24 absorbed, 25 debug. |
| number | i32 | A number put into the text where it asks for one. |
| text | text, 128 bytes | A key into the client’s own text. The text ends at its first zero byte, which falls within the field. |
Vectors (1)
In 4.14–4.17
Command 25 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit to float it over: one that can be damaged. |
| style | u8 | How the line looks. Values: 0 invulnerable, 1 special, 2 heal, 3 manaHeal, 4 manaDamage, 5 dodge, 6 physicalCritical, 7 magicCritical, 8 trueCritical, 9 experience, 10 gold, 11 level, 12 disable, 13 questReceived, 14 questComplete, 15 score, 16 physicalDamage, 17 magicDamage, 18 trueDamage, 19 enemyPhysicalDamage, 20 enemyMagicDamage, 21 enemyTrueDamage, 22 enemyPhysicalCritical, 23 enemyMagicCritical, 24 enemyTrueCritical, 25 countdown, 26 onMyWay, 27 absorbed, 28 debug. |
| number | i32 | A number put into the text where it asks for one. |
| text | text, 128 bytes | A key into the client’s own text. The text ends at its first zero byte, which falls within the field. |
Vectors (1)
In 4.18–4.20
Command 25 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit to float it over: one that can be damaged. |
| style | u32 | How the line looks. Values: 0 invulnerable, 1 special, 2 heal, 3 manaHeal, 4 manaDamage, 5 dodge, 6 physicalCritical, 7 magicCritical, 8 trueCritical, 9 experience, 10 gold, 11 level, 12 disable, 13 questReceived, 14 questComplete, 15 score, 16 physicalDamage, 17 magicDamage, 18 trueDamage, 19 enemyPhysicalDamage, 20 enemyMagicDamage, 21 enemyTrueDamage, 22 enemyPhysicalCritical, 23 enemyMagicCritical, 24 enemyTrueCritical, 25 countdown, 26 onMyWay, 27 absorbed, 28 debug. |
| number | i32 | A number put into the text where it asks for one. |
| text | text, 128 bytes | A key into the client’s own text. The text ends at its first zero byte, which falls within the field. |
Vectors (1)
AfkWarning
What a server sends to warn the player that they seem to be away, in a popup with one button that only closes it. It carries nothing of its own. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 183 |
| 4.11–4.20 | 184 |
No body.
Vectors (3)
HudDisabled
What a server sends to take down a client’s interface as the match ends. The header names no object: it carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 187 |
| 4.11–4.20 | 188 |
No body.
Vectors (3)
CameraAck
What a server returns for a view report, naming the report it answers. A server names in the header the champion of the player it is sent to.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 43 |
| 4.11–4.20 | 44 |
| Field | Type | What it is |
|---|---|---|
| syncId | u8 | The name the report carried. A client sends the report again until this comes back. |
Vectors (4)
FloatingTextOnMap
What a server sends to float text over a unit, to the clients that can see it. The header names the unit.
In 4.20
Command 296 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| delay | f32 | Unused; a server writes 2. |
| slot | i32 | Where the text goes. 0 floats it over the unit while the unit is in the client’s own view, the text looked up as a key into the client’s own text. 1 to 50 writes it, in colour, to that line of a debugging display, only where the unit is the one the player has selected. A client does nothing for any other value. |
| error | u8 | Nonzero has a client ignore the whole message. |
| colour | u8 | The text’s colour on the debugging display; it has no effect for slot 0. |
| style | u32 | Which style of floating text. |
| length | u32 | The text’s length in bytes, counting its zero byte. |
| text | text, sized by length | The text. |
Vectors (1)
Tutorial and guidance
What a server shows a player to lead them: tips, quests, objectives and text at the side of the screen, highlights, and the tutorial.
A server tells a champion something has come about with Situation.
Highlights
A server lights up parts of the screen and units with HudHighlighted,
HudHighlightToggled, UiHighlight, UnitHighlighted and
UnitHighlightRemoved, and makes part of the minimap or of the shop blink with
MinimapHighlighted and ShopHighlighted.
Tips, quests and objectives
A server puts a tip in front of a player with TipShown, addressed to that
player’s champion, and a client reports a click on it, or the tip being closed,
with TipEvent. A server can add, complete and remove quests in the quest
tracker with QuestUpdated, and a client reports the pointer passing over a
quest, and a click on it, with QuestEvent. A server can also show, change
and hide an objective panel (ObjectiveShown, ObjectiveReplaced,
ObjectiveHidden) and a box of text at the side of the screen
(SideTextShown, SideTextRefreshed, SideTextHidden).
The tutorial
A client is in the tutorial where VersionSync names the mode TUTORIAL, in
any case, and the data the client installs for the map turns the tutorial
on. Of the maps, only map 12’s data does.
In the tutorial, a server can put lines of the client’s own text in its chat
(TutorialChatLine) and open the tutorial’s popup (TutorialPopup), which the
client answers with TutorialPopupClosed.
A client takes TutorialChatLine in any match.
In 4.17–4.20
A client takes
TutorialPopupin any match.
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
Situation
What a server sends to tell a champion something has come about. The header names the champion.
In 4.7–4.20
Command 289 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| situation | u32 | What came about, by a number a name gives. |
Vectors (2)
HudHighlighted
What a server sends to light up part of the screen, as a tutorial does. Only HudHighlightToggled turns it off. The header carries zero.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 60 |
| 4.11–4.17 | 61 |
| Field | Type | What it is |
|---|---|---|
| part | u8 | Which part of the screen. A client ignores any other value. Values: 0 hud, 2 minimap. |
| element | u8 | What to light up on the main controls. A client ignores any value above 8. Values: 0 spell, 1 spellUpgrade, 2 summonerSpell, 3 recall, 4 shop, 5 gold, 6 experience, 7 health, 8 mana. |
| number | u8 | Which slot, for a spell or a summoner spell; it has no effect otherwise. A client accepts any value, and a slot beyond those named has no defined effect. |
| unused | u8 | Unused; a server writes zero. |
Vectors (2)
In 4.18–4.20
Command 61 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| part | u8 | Which part of the screen. A client ignores any other value, 0 and 2 among them. Values: 1 hud, 3 minimap. |
| element | u8 | What to light up on the main controls. A client ignores any value above 8. Values: 0 spell, 1 spellUpgrade, 2 summonerSpell, 3 recall, 4 shop, 5 gold, 6 experience, 7 health, 8 mana. |
| number | u8 | Which slot, for a spell or a summoner spell; it has no effect otherwise. A client accepts any value, and a slot beyond those named has no defined effect. |
| unused | u8 | Unused; a server writes zero. |
Vectors (1)
HudHighlightToggled
What a server sends to light up part of the screen, or to put it out. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 78 |
| 4.11–4.20 | 79 |
| Field | Type | What it is |
|---|---|---|
| part | u8 | Which part of the screen. A client ignores any other value. Values: 1 hud, 3 minimap. |
| element | u8 | What to light up, as in HudHighlighted. A value beyond those named does nothing. |
| number | u8 | Which slot, as in HudHighlighted. |
| unused | u8 | Unused; a server writes zero. |
| state | 1-byte bits | Whether it is lit. |
| state.on | bit 0 | Set to light it up, clear to put it out. |
| state.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (3)
UiHighlight
What a server sends to place an animated highlight over one element of the screen, or to take one away. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 201 |
| 4.11–4.20 | 202 |
| Field | Type | What it is |
|---|---|---|
| action | u8 | What to do. A client takes 2 to 14 and does nothing, and ignores the message from 15 up. Values: 0 show, 1 remove. |
| element | u8 | Which element. Showing a value above 14 has no defined effect. Values: 0 minimap, 1 quests, 2 tips, 3 characterInfo, 4 effects, 5 ultimate, 6 recall, 7 shop, 8 spellPoint1, 9 gold, 10 assists, 11 passive, 12 spellPoint2, 13 spellPoint3, 14 spellPoint4. |
Vectors (3)
UnitHighlighted
What a server sends to outline a unit with a pulsing light, as a tutorial does, until UnitHighlightRemoved. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 88 |
| 4.11–4.20 | 89 |
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit: one that can be damaged. |
Vectors (3)
UnitHighlightRemoved
What a server sends to take away the light UnitHighlighted put on a unit. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 179 |
| 4.11–4.20 | 180 |
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit. Where it has no light, nothing happens. |
Vectors (3)
TipShown
What a server sends to put a note in front of a seat. The header names the champion of the player it is sent to.
In 4.1–4.17
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 84 |
| 4.11–4.17 | 85 |
| Field | Type | What it is |
|---|---|---|
| body | text, 128 bytes | What the note says. Written out in full and padded with zero bytes to the width above. |
| heading | text, 128 bytes | What the note is headed with, written and padded as above. |
| image | text, 128 bytes | The name the client loads a picture for the note under, written and padded as above. |
| what | u8 | What the client does with the note. |
| tip | u32 | The name this note answers to, so a later message can name it. |
Vectors (2)
In 4.18–4.20
Command 85 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| body | text, 128 bytes | What the note says. Written out in full and padded with zero bytes to the width above. |
| heading | text, 128 bytes | What the note is headed with, written and padded as above. A server sends the label here and the value it labels in the run above. |
| image | text, 128 bytes | The name the client loads a picture for the note under, written and padded as above. |
| what | u8 | What the client does with the note. |
| tip | u32 | The name this note answers to, so a later message can name it. |
Vectors (2)
TipEvent
What a client sends about a tip it has shown or dismissed.
In 4.1–4.17
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 108 |
| 4.11–4.17 | 109 |
The header names the sender’s champion.
| Field | Type | What it is |
|---|---|---|
| what | u8 | What happened to the tip. Values: 0 clicked, 1 closed. |
| tip | u32 | Which tip, as TipShown named it. |
Vectors (2)
In 4.18–4.20
Command 109 on requests, sent by the client, reliable.
The header names the sender’s champion.
| Field | Type | What it is |
|---|---|---|
| what | u8 | What happened to the tip. |
| tip | u32 | Which tip: the value TipShown carried. |
Vectors (1)
QuestUpdated
What a server sends to add a quest to the quest tracker, complete it or remove it. The header carries zero.
In 4.1–4.7
Command 139 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | A key into the client’s own text for the quest. It applies to activate only. |
| icon | text, 128 bytes | The quest’s icon. It applies to activate only. |
| tooltip | text, 128 bytes | A key into the client’s own text for its tooltip. It applies to activate only. |
| kind | u8 | Which tracker it goes in. A tracker that is full holds a new quest back until it has room. Values: 0 primary, 1 secondary, 2 objective. |
| action | u8 | What to do. A client ignores any other value. Values: 0 activate, 1 complete, 2 remove. |
| flags | 1-byte bits | What a flag means depends on action. |
| flags.first | bit 0 | For activate, set to have the client report the pointer passing over the quest (QuestEvent); for complete, set where the quest succeeded. |
| flags.unused | bit 1 to 7 | Unused; a server writes zero. |
| quest | i32 | The quest’s number, which QuestEvent returns. |
Vectors (1)
In 4.8–4.10
Command 139 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | A key into the client’s own text for the quest. It applies to activate only. |
| icon | text, 128 bytes | The quest’s icon. It applies to activate only. |
| tooltip | text, 128 bytes | A key into the client’s own text for its tooltip. It applies to activate only. |
| reward | text, 128 bytes | A key into the client’s own text for its reward. It applies to activate only. |
| kind | u8 | Which tracker it goes in. A tracker that is full holds a new quest back until it has room. Values: 0 primary, 1 secondary, 2 objective. |
| action | u8 | What to do. A client ignores any other value. Values: 0 activate, 1 complete, 2 remove. |
| flags | 1-byte bits | What a flag means depends on action. |
| flags.first | bit 0 | For activate, set to have the client report the pointer passing over the quest (QuestEvent); for complete, set where the quest succeeded. |
| flags.second | bit 1 | Unused; a server writes zero. |
| flags.unused | bit 2 to 7 | Unused; a server writes zero. |
| quest | i32 | The quest’s number, which QuestEvent returns. |
Vectors (2)
In 4.11–4.17
Command 140 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | A key into the client’s own text for the quest. It applies to activate only. |
| icon | text, 128 bytes | The quest’s icon. It applies to activate only. |
| tooltip | text, 128 bytes | A key into the client’s own text for its tooltip. It applies to activate only. |
| reward | text, 128 bytes | A key into the client’s own text for its reward. It applies to activate only. |
| kind | u8 | Which tracker it goes in. A tracker that is full holds a new quest back until it has room. Values: 0 primary, 1 secondary, 2 objective. |
| action | u8 | What to do. A client ignores any other value. Values: 0 activate, 1 complete, 2 remove. |
| flags | 1-byte bits | What a flag means depends on action. |
| flags.first | bit 0 | For activate, set to have the client report the pointer passing over the quest (QuestEvent); for complete, set where the quest succeeded. |
| flags.second | bit 1 | For activate, set to show the quest arriving. |
| flags.unused | bit 2 to 7 | Unused; a server writes zero. |
| quest | i32 | The quest’s number, which QuestEvent returns. |
Vectors (1)
In 4.18–4.20
Command 140 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | A key into the client’s own text for the quest. It applies to activate only. |
| icon | text, 128 bytes | The quest’s icon. It applies to activate only. |
| tooltip | text, 128 bytes | A key into the client’s own text for its tooltip. It applies to activate only. |
| reward | text, 128 bytes | A key into the client’s own text for its reward. It applies to activate only. |
| kind | u8 | Which tracker it goes in. A tracker that is full holds a new quest back until it has room. Values: 0 primary, 1 secondary, 2 objective. |
| action | u8 | What to do. A client ignores any other value. Values: 0 activate, 1 complete, 2 remove. |
| flags | 1-byte bits | What a flag means depends on action. |
| flags.first | bit 0 | For activate, set to have the client report the pointer passing over the quest (QuestEvent). |
| flags.second | bit 1 | For activate, set to show the quest arriving. |
| flags.succeeded | bit 2 | For complete, set where the quest succeeded, clear where it failed; only success shows floating text. |
| flags.unused | bit 3 to 7 | Unused; a server writes zero. |
| quest | i32 | The quest’s number, which QuestEvent returns. |
Vectors (1)
QuestEvent
What a client sends as its player points at a quest in the tracker (QuestUpdated), stops pointing at it, or clicks it. The header names the sender’s champion.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 204 |
| 4.11–4.20 | 205 |
| Field | Type | What it is |
|---|---|---|
| event | u8 | What the player did. Pointing and leaving are sent only for a quest activated with its first flag set; a click at most once in three seconds. Values: 0 enter, 1 leave, 2 click. |
| quest | i32 | The quest’s number, as QuestUpdated gave it. |
Vectors (4)
ObjectiveShown
What a server sends to show the objective panel with a text. The header carries zero.
In 4.1–4.10
Command 53 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | The objective. The text ends at its first zero byte, which falls within the field. |
Vectors (1)
In 4.11–4.12
Command 54 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | The objective. The text ends at its first zero byte, which falls within the field. |
| option | 1-byte bits | One option for how the text is shown. |
| option.on | bit 0 | A client shows the text with an option of its own set; what that changes on screen is not recorded. |
| option.unused | bit 1 to 7 | Unused; a server writes zero. |
Vectors (1)
In 4.13–4.20
Command 54 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | The objective. The text ends at its first zero byte, which falls within the field. |
Vectors (2)
ObjectiveReplaced
What a server sends to replace the text of the objective panel, showing the panel if it is hidden. The header carries zero.
In every range of this book
Command 13 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | The objective. The text ends at its first zero byte, which falls within the field. |
Vectors (2)
ObjectiveHidden
What a server sends to hide the objective panel. It carries nothing of its own. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 161 |
| 4.11–4.20 | 162 |
No body.
Vectors (3)
SideTextShown
What a server sends to show a box of text at the right edge of the screen. The header names no object: a server writes zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 159 |
| 4.11–4.20 | 160 |
The box sits halfway down the screen.
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | A key into the client’s own text, which it looks up and shows. The text ends at its first zero byte, which falls within the field. |
Vectors (3)
SideTextRefreshed
What a server sends to change the text in the box SideTextShown opened, in place. The header names no object: a server writes zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 176 |
| 4.11–4.20 | 177 |
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | A key into the client’s own text, which it looks up and shows. The text ends at its first zero byte, which falls within the field. |
Vectors (3)
SideTextHidden
What a server sends to close the box of text SideTextShown opened. It carries nothing of its own. The header names no object: a server writes zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 166 |
| 4.11–4.20 | 167 |
No body.
Vectors (3)
TutorialChatLine
What a server sends to put a line of the client’s own text in its chat, as a line from the game. The header carries zero.
In every range of this book
Command 2 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | A key into the client’s own text, which it looks up and shows. The text ends at its first zero byte, which falls within the field. |
Vectors (2)
TutorialPopup
What a server sends to open the tutorial’s popup: a caption, this text and a single button, which a client answers with TutorialPopupClosed. A client has one such popup; a second message replaces its text. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 178 |
| 4.11–4.20 | 179 |
| Field | Type | What it is |
|---|---|---|
| text | text, 128 bytes | A key into the client’s own text for the popup’s body. The text ends at its first zero byte, which falls within the field. |
Vectors (3)
TutorialPopupClosed
What a client sends as its player presses the button of the tutorial’s popup (TutorialPopup). It carries nothing of its own. The header carries zero.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 203 |
| 4.11–4.20 | 204 |
A client also sends it as its player closes a tip in the tutorial.
No body.
Vectors (3)
Watching a match
How a client is started to watch a match rather than play in it, and how the match reaches it.
A client can watch a match that a server streams to it over the same connection a player uses, rather than playing in it.
What marks a watching client
Nothing on the wire does. A client watches because it was started to watch: it
is given the word spectator where a player’s client is given its server’s
address. Its key can be given as more than 16 characters of base64: the first
24 bytes it encodes, deciphered as Blowfish ECB under the match number written
out, give the key as their first 16 bytes.
The word is followed by the address, the port, the key, a match number and a player number. The key works as a player’s does, with one difference: it can instead be given as base64, deciphered under the match number written out in decimal.
A watching client registers as a player’s client does (see
Joining a match), and is answered the same way, save for the
client id. A server MUST answer a watching client with a client id that no
player in the streamed match holds: a watching client given a player’s client
id takes that player’s champion as its own, and fails as soon as it has caught
up with the stream. From then on it takes only StreamMetadata,
StreamChunkRange and StreamChunk, on any channel, and drops every other
message a server sends it directly, VersionSync included. Of what a player’s
client sends while joining, it sends only JoinSide, once the stream’s own
VersionSync has played, then GameOptions, CharacterSelected and
ClientReady: no ClientVersion, no QueryStatus and no LoadingProgress.
The order of the stream
-
A client answered on registration sends
StreamRequest. -
A server sends
StreamMetadata, within 30 seconds: until it arrives the client waits. -
A server sends
StreamChunkRange, with the match’s end left at zero while it runs. -
A server sends the chunks, each cut into
StreamChunkfragments sent in order and not mixed with another chunk’s. It either sends every chunk from chunk 1 upward, or joins the client late:- the chunks of setting up, from 1 to the last of them (the chunk of kind 3), and no chunk after it;
- then the key frame nearest the present, the first key frame sent on the connection;
- then the chunks from the one that key frame leads to.
Either way it skips none after that. A client takes a key frame only where it is the first one sent and arrives before the chunk after the last chunk of setting up; otherwise it keeps it but plays on from that chunk. A server SHOULD join a client late once a match is more than a few minutes in: a client sent every chunk from 1 fails partway through a long catch-up.
-
As the match ends, a server sends
StreamChunkRangeagain naming its last chunk, then that chunk. Once it has arrived the client takes no more of the stream.
The stream’s chunks run for StreamMetadata’s chunkTimeInterval each and its
key frames for its keyFrameTimeInterval, both in milliseconds.
What a chunk holds
A chunk is the messages a server sent the players of the match, one record after another.
In 4.17
Each record is a
StreamRecord, written against the one before it to save space. A reader keeps the last record’s time, command and object, and recovers a record’s own:
- its time, from a time difference, as the last record’s time plus that many milliseconds;
- its command, where the record leaves it out, as the last record’s;
- its object, from an object difference, as the last record’s object plus that signed difference.
A message is the command, the object and the body, laid out as a game message is (see Messages). A record never holds a container.
A client plays records as the stream’s clock reaches their time, records of time zero at once, and the first record with a time above zero sets its clock. It skips a record of command 0 on the events channel.
The chunks of setting up carry what a player’s client is sent from its version
answer on: VersionSync first. A client holds the stream back while it loads after
VersionSync, and again while it builds the world after SpawnStart, and
goes on by itself afterwards.
A client whose own build differs from the one VersionSync names leaves.
A key frame is laid out as a chunk is, and holds the whole world as it stands
at that point. A client joined late goes on after it from the chunk the key
frame names, or, where it names none, from the chunk its number implies (see
StreamChunk).
Messages
Each message of this system in this book, with each layout it has across the book’s patches and every note its definition carries. A layout is the message’s body, after the header its channel’s family puts in front (see Messages).
StreamMetadata
What a server streaming a match to a watching client sends first, within 30 seconds of the client’s request: how long its chunks and key frames run. A client waits on it, and stops taking the stream’s messages once the last chunk has arrived. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 234 |
| 4.11–4.20 | 235 |
| Field | Type | What it is |
|---|---|---|
| unused | u32 | Unused; a server writes zero. |
| text | text, sized by remaining | A JSON object with integer members chunkTimeInterval and keyFrameTimeInterval, in milliseconds, to the end of the message. A server sends both. |
Vectors (3)
StreamChunkRange
What a server streaming a match sends to say where the match proper begins in its chunks, and, once known, where it ends. The header carries zero.
In every range of this book
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 235 |
| 4.11–4.20 | 236 |
| Field | Type | What it is |
|---|---|---|
| startGameChunk | u32 | The chunk the match proper begins with. |
| endGameChunk | u32 | The match’s last chunk, or zero while it runs. |
Vectors (4)
StreamChunk
What a server streaming a match sends to carry one fragment of a chunk or key frame of recorded messages (see Watching a match). A chunk’s facts come from its fragment 0. The fragments of a chunk come in order from 0, and the chunk is complete at index fragments − 1. A new fragment 0 drops an unfinished chunk, and a fragment with no chunk begun has no effect. The header carries zero.
In 4.1–4.13
Carried on events, sent by the server, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 236 |
| 4.11–4.13 | 237 |
| Field | Type | What it is |
|---|---|---|
| chunk | u32 | The chunk’s id, or the key frame’s. Chunk 0 is dropped; chunks play in order from the one a client starts at, and a missing one after it stalls the stream. Key frames count separately, from 1. |
| fragments | u32 | How many fragments the chunk is cut into. |
| index | u32 | This fragment’s place, from 0. |
| kind | u8 | What the chunk is. Values: 1 ordinary, 2 keyFrame, 3 endOfStartup, 4 gameStart, 5 startup. |
| size | u32 | The whole chunk’s size in bytes. |
| duration | i32 | Seconds the chunk covers. A client reads it only from fragment 0, and uses it only for the match’s last chunk: the match ends that many seconds after that chunk starts. A value too large holds a client that joins near the end on its loading screen. |
| nextChunk | u32 | For a key frame, the ordinary chunk to go on from. Where zero or less, a client takes key frame interval over chunk interval, times the key frame’s id less one, plus the start-game chunk: the one StreamChunkRange names, or the last chunk of kind 4 to arrive. |
| data | bytes, sized by remaining | This fragment’s bytes of the chunk, to the end of the message. |
Vectors (2)
In 4.14–4.17
Command 237 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| chunk | u32 | The chunk’s id, or the key frame’s. Chunk 0 is dropped; chunks play in order from the one a client starts at, and a missing one after it stalls the stream. Key frames count separately, from 1. |
| fragments | u32 | How many fragments the chunk is cut into. |
| index | u32 | This fragment’s place, from 0. |
| kind | u8 | What the chunk is. Values: 1 ordinary, 2 keyFrame, 3 endOfStartup, 4 gameStart, 5 startup. |
| size | u32 | The whole chunk’s size in bytes. |
| duration | u32 | Seconds the chunk covers. A client reads it only from fragment 0, and uses it only for the match’s last chunk: the match ends that many seconds after that chunk starts. A value too large holds a client that joins near the end on its loading screen. |
| nextChunk | u32 | For a key frame, the ordinary chunk to go on from. Where zero or less, a client takes key frame interval over chunk interval, times the key frame’s id less one, plus the start-game chunk: the one StreamChunkRange names, or the last chunk of kind 4 to arrive. |
| data | bytes, sized by remaining | This fragment’s bytes of the chunk, to the end of the message. |
Vectors (1)
In 4.18–4.20
Command 237 on events, sent by the server, reliable.
| Field | Type | What it is |
|---|---|---|
| chunk | u32 | The chunk’s id, or the key frame’s. Chunk 0 is dropped; chunks play in order from the one a client starts at, and a missing one after it stalls the stream. Key frames count separately, from 1. |
| fragments | u32 | How many fragments the chunk is cut into. |
| index | u32 | This fragment’s place, from 0. |
| kind | u8 | What the chunk is. Values: 1 ordinary, 2 keyFrame, 3 endOfStartup, 4 gameStart, 5 startup. |
| size | u32 | The whole chunk’s size in bytes. |
| duration | i32 | Seconds the chunk covers. A client reads it only from fragment 0, and uses it only for the match’s last chunk: the match ends that many seconds after that chunk starts. A value too large holds a client that joins near the end on its loading screen. |
| nextChunk | u32 | For a key frame, the ordinary chunk to go on from. Where zero or less, a client takes key frame interval over chunk interval, times the key frame’s id less one, plus the start-game chunk: the one StreamChunkRange names, or the last chunk of kind 4 to arrive. |
| data | bytes, sized by remaining | This fragment’s bytes of the chunk, to the end of the message. |
Vectors (1)
StreamRequest
What a client watching a match streamed over its connection (see Watching a match) sends each time the server answers its registration, asking for the stream from a point. The header carries zero.
In every range of this book
Carried on requests, sent by the client, reliable, under these commands:
| Builds | Command |
|---|---|
| 4.1–4.10 | 233 |
| 4.11–4.20 | 234 |
| Field | Type | What it is |
|---|---|---|
| wantsMetadata | u8 | One: the client wants StreamMetadata. |
| jumpToLatest | u8 | One where the client has no key frame yet and nothing past the end of the startup chunks: a client that can be joined late (see Watching a match). |
| fromChunk | u32 | The first chunk wanted: one past the highest the client holds, 1 at first. |
| fromKeyFrame | u32 | The first key frame wanted: one past the latest the client holds, 1 at first. |
Vectors (3)
Structs
The groups of fields messages hold, each with the layout it has across the book’s patches.
AnimationOverride
One set of movements standing in for another.
In every range of this book
| Field | Type | What it is |
|---|---|---|
| fromLength | u32 | How many bytes the name below occupies, where it is from 1 to 2147483647. |
| from | text, sized by fromLength | The name of what is replaced. It is not padded and carries nothing closing it. |
| toLength | u32 | How many bytes the name below occupies, where it is from 1 to 2147483647. |
| to | text, sized by toLength | The name of what replaces it, written as above. |
Appearance
One layer of what a unit looks like. Layers are stated in the order a client lays them on.
In every range of this book
| Field | Type | What it is |
|---|---|---|
| assetSize | u32 | How many bytes the name below occupies. |
| asset | text, sized by assetSize | The name the client loads this layer’s art under. It is not padded, and it carries no terminator. |
| skin | u32 | Which look within that art. |
| how | 1-byte bits | |
| how.overrideSpells | bit 0 | Set where this layer replaces the unit’s spells as well as its art. |
| how.modelOnly | bit 1 | Set where it replaces the shape alone. |
| how.replacePackage | bit 2 | Set where it replaces the whole set of art and sound. |
| how.unused | bit 3 to 7 | Unused; a server writes zero. |
| layer | u32 | The name this layer answers to, so a later message can take it off. |
CarriedMessage
One whole message carried inside another, behind the count of its bytes.
In every range of this book
| Field | Type | What it is |
|---|---|---|
| size | u16 | How many bytes the message occupies. |
| body | bytes, sized by size | The message itself, taking effect as though it had arrived on its own on the channel that carried the message holding it. |
Choice
One choice made before the match, and how far it was taken.
In every range of this book
| Field | Type | What it is |
|---|---|---|
| choice | u32 | Which choice, by the number the client knows it as. Zero where the place stands empty. |
| rank | u8 | How far it was taken. |
Death
How a unit died: who did it, with what, and how long it stays down.
In 4.18–4.20
| Field | Type | What it is |
|---|---|---|
| how | 1-byte bits | |
| how.zombie | bit 0 | Set to leave the champion standing in a zombie state rather than dead: no death animation and no death screen. |
| how.unused | bit 1 to 7 | Unused; a server writes zero. |
| kind | u32 | What sort of death this is. |
| killer | u32 | The unit credited with it, or zero where nothing is. |
| damageType | u8 | The sort of damage that finished it. |
| damageSource | u8 | Where that damage came from. |
| stayDown | f32 | How long the unit stays down, in seconds. |
EffectStack
How many of a lasting effect are stacked in one of a unit’s effect slots.
In every range of this book
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot. |
| count | u32 | How many are stacked there. |
HeldItem
One item a unit holds, as it is stated when the unit first comes into sight.
In every range of this book
| Field | Type | What it is |
|---|---|---|
| slot | u8 | Which slot it sits in. |
| inSlot | u8 | How many of it are in that slot. |
| charges | u8 | How many uses it carries. |
| item | u32 | Which item, by the number the client knows it as. |
Movement
What one unit is told to do, in the compact shape: a path of points on the ground plane, each after the first stated against the one before it. Other shapes of movement exist, and which one a payload holds is settled by the message carrying it rather than by anything inside the movement.
In every range of this book
| Field | Type | Present when | What it is |
|---|---|---|---|
| header | 1-byte bits | ||
| header.hasTeleportToken | bit 0 | Set where a token sits beside the unit. A client sends it clear, so a token travels only from a server. | |
| header.pointCount | bit 1 to 7 | How many points the path holds; a sending end writes at least one. A receiving end refuses a movement claiming none and takes nothing further from it. | |
| path | record | Everything the movement carries beyond its first byte. | |
| path.unit | u32 | The unit the path belongs to. | |
| path.teleportToken | u8 | header.hasTeleportToken set | Tells one relocation from another. Movement says what a receiving end does with it. |
| path.flags | bits, count in header.pointCount minus 1 | One pair for each point after the first, in the order the points follow. Pairs run on from the low bits of the first byte, and the run reaches to the byte holding the last pair. The bits past it are clear. | |
| path.flags.xIsStep | bit 0 | Set where this point states its first coordinate as a step. | |
| path.flags.zIsStep | bit 1 | Set where this point states its second coordinate as a step. | |
| path.firstX | i16 | The first point, along one ground axis, in the units Movement gives. | |
| path.firstZ | i16 | The first point, along the other. | |
| path.steps | count in header.pointCount minus 1 × record | ||
| path.steps[].xStep | i8 | flags[step].xIsStep set | Added to the first coordinate of the point before, as that point resolved. |
| path.steps[].xWhole | i16 | flags[step].xIsStep = 0 | The first coordinate, stated without reference to the point before. |
| path.steps[].zStep | i8 | flags[step].zIsStep set | Added to the second coordinate of the point before, as that point resolved. |
| path.steps[].zWhole | i16 | flags[step].zIsStep = 0 | The second coordinate, stated without reference to the point before. |
MovementAtSpeed
What one unit is told to do where a server states how it travels: the same path of points as the compact shape, with the terms of its travel stated before them.
In every range of this book
| Field | Type | Present when | What it is |
|---|---|---|---|
| header | 1-byte bits | ||
| header.hasTeleportToken | bit 0 | Set where a token sits beside the unit. A client sends it clear, so a token travels only from a server. | |
| header.pointCount | bit 1 to 7 | How many points the path holds; a sending end writes at least one. A receiving end refuses a movement claiming none and takes nothing further from it. | |
| path | record | Everything the movement carries beyond its first byte. | |
| path.unit | u32 | The unit the path belongs to. | |
| path.teleportToken | u8 | header.hasTeleportToken set | Tells one relocation from another, as in the compact shape (see Movement). |
| path.terms | SpeedParams | How the unit is made to travel. | |
| path.flags | bits, count in header.pointCount minus 1 | One pair for each point after the first, in the order the points follow. Pairs run on from the low bits of the first byte, and the run reaches to the byte holding the last pair. The bits past it are clear. | |
| path.flags.xIsStep | bit 0 | Set where this point states its first coordinate as a step. | |
| path.flags.zIsStep | bit 1 | Set where this point states its second coordinate as a step. | |
| path.firstX | i16 | The first point, along one ground axis, in the units Movement gives. | |
| path.firstZ | i16 | The first point, along the other. | |
| path.steps | count in header.pointCount minus 1 × record | ||
| path.steps[].xStep | i8 | flags[step].xIsStep set | Added to the first coordinate of the point before, as that point resolved. |
| path.steps[].xWhole | i16 | flags[step].xIsStep = 0 | The first coordinate, stated without reference to the point before. |
| path.steps[].zStep | i8 | flags[step].zIsStep set | Added to the second coordinate of the point before, as that point resolved. |
| path.steps[].zWhole | i16 | flags[step].zIsStep = 0 | The second coordinate, stated without reference to the point before. |
Particle
One drawn particle: where it sits, what it hangs off, and how far into its run it is.
In every range of this book
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit the particle is aimed at, or zero. |
| particle | u32 | The name this particle answers to, so later messages can name it. |
| caster | u32 | The unit that made the particle, or zero. |
| boundTo | u32 | The unit the particle hangs off, or zero. |
| settingsFrom | u32 | A second unit the particle takes unit-specific settings from, where a 4.17 client knows it: its skin picks the particle’s skin-specific version where caster is zero or unknown, and, where it is not boundTo, the particle’s substitutions come from it. Zero or unknown is ignored. |
| atX | i16 | Where the particle sits, along one ground axis. Carried in the units a path uses rather than in world units. |
| atY | f32 | Where it sits, in height, in world units. |
| atZ | i16 | Where it sits, along the other ground axis. It shares the reading of the first. |
| towardX | i16 | Where the particle is aimed, along one ground axis, in the form of the first pair above. |
| towardY | f32 | Where it is aimed, in height, in world units. |
| towardZ | i16 | Where it is aimed, along the other ground axis. |
| ownerX | i16 | Where the unit that made it stood, along one ground axis, in the form of the first pair above. |
| ownerY | f32 | Where that unit stood, in height, in world units. |
| ownerZ | i16 | Where that unit stood, along the other ground axis. |
| facingX | f32 | Which way the particle faces, along one ground axis. |
| facingY | f32 | Which way it faces, in height. |
| facingZ | f32 | Which way it faces, along the other ground axis. |
| runningFor | f32 | How far into its run the particle already is, in seconds. |
| scale | f32 | What the particle’s drawn size is scaled by. |
ParticleGroup
A set of drawn particles that share the art, the sound, and the place on a unit they hang from.
In every range of this book
| Field | Type | What it is |
|---|---|---|
| package | u32 | Which set of art and sound the client draws them with. |
| particle | u32 | Which particle, by the number its name gives, as Objects and identifiers works it out. |
| flags | u16 | How each particle of the group behaves, one bit each, on a 4.17 client: 1 kept alive, not ending by itself; 2 of no effect; 4 scaled to the bound unit’s bounding box and its effect scale (to 1 where the bound object cannot be attacked); 8 placed at the positions given rather than hung on bone and targetBone, made even where a nonzero boundTo is unknown and with an unknown target; 16 not turned to follow its direction; 32 simulated while off screen; 64 laid flat on the ground’s slope, facing as forward (+Z where facing is zero); 128 facing its target; 256 driven by the bound unit’s resource bar. Bits 9 to 15 have no effect. |
| targetBone | u32 | Where on the unit aimed at they hang, by the number the name of that place gives, as Objects and identifiers works it out. |
| bone | u32 | Where on the unit that made them they hang, by the same reading. |
| particleCount | u8 | How many particles follow. |
| particles | count in particleCount × Particle | The particles themselves. |
Replication
What has changed about one unit. A flag byte says which groups of values follow, and each group that follows says which of its values it holds and carries them as a run of bytes. The groups follow in a fixed order that is not the order of the flags: the last flag’s values come before the one before it, and the rest run in flag order. Replication says what settles the reading of a run, and records what a champion’s groups carry.
In every range of this book
| Field | Type | Present when | What it is |
|---|---|---|---|
| present | 1-byte bits | ||
| present.group0 | bit 0 | Set where this group’s values follow. | |
| present.group1 | bit 1 | Set where this group’s values follow. | |
| present.group2 | bit 2 | Set where this group’s values follow. | |
| present.group3 | bit 3 | Set where this group’s values follow. | |
| present.group4 | bit 4 | Set where this group’s values follow. They come after every other group’s, whatever the flags. A server sends it clear. | |
| present.group5 | bit 5 | Set where this group’s values follow. They come before group 4’s. | |
| present.unused | bit 6 to 7 | Unused; a server writes zero. A presence byte with no group set is valid. | |
| unit | u32 | The unit whose values these are. | |
| group0 | record | present.group0 set | The values of group 0, where the flag says they follow. |
| group0.which | u32 | Says which of the group’s values the run below holds, one bit each, lowest first. | |
| group0.length | u8 | How many bytes the run below holds. | |
| group0.values | bytes, sized by length | The values themselves, one after another in the order the bits above name them, lowest first. What each one is, and which of the two shapes it takes, is settled by the kind of unit rather than by anything here. Replication says so, and records what a champion’s groups carry. | |
| group1 | record | present.group1 set | The values of group 1, where the flag says they follow. |
| group1.which | u32 | Says which of the group’s values the run below holds, one bit each, lowest first. | |
| group1.length | u8 | How many bytes the run below holds. | |
| group1.values | bytes, sized by length | The values themselves, one after another in the order the bits above name them, lowest first. What each one is, and which of the two shapes it takes, is settled by the kind of unit rather than by anything here. Replication says so, and records what a champion’s groups carry. | |
| group2 | record | present.group2 set | The values of group 2, where the flag says they follow. |
| group2.which | u32 | Says which of the group’s values the run below holds, one bit each, lowest first. | |
| group2.length | u8 | How many bytes the run below holds. | |
| group2.values | bytes, sized by length | The values themselves, one after another in the order the bits above name them, lowest first. What each one is, and which of the two shapes it takes, is settled by the kind of unit rather than by anything here. Replication says so, and records what a champion’s groups carry. | |
| group3 | record | present.group3 set | The values of group 3, where the flag says they follow. |
| group3.which | u32 | Says which of the group’s values the run below holds, one bit each, lowest first. | |
| group3.length | u8 | How many bytes the run below holds. | |
| group3.values | bytes, sized by length | The values themselves, one after another in the order the bits above name them, lowest first. What each one is, and which of the two shapes it takes, is settled by the kind of unit rather than by anything here. Replication says so, and records what a champion’s groups carry. | |
| group5 | record | present.group5 set | The values of group 5, where the flag says they follow. |
| group5.which | u32 | Says which of the group’s values the run below holds, one bit each, lowest first. | |
| group5.length | u8 | How many bytes the run below holds. | |
| group5.values | bytes, sized by length | The values themselves, one after another in the order the bits above name them, lowest first. What each one is, and which of the two shapes it takes, is settled by the kind of unit rather than by anything here. Replication says so, and records what a champion’s groups carry. | |
| group4 | record | present.group4 set | The values of group 4, where the flag says they follow. For a 4.17 client it comes last, after group 5. A server sends its flag clear. |
| group4.which | u32 | Says which of the group’s values the run below holds, one bit each, lowest first. | |
| group4.length | u8 | How many bytes the run below holds. What comes next starts after this many bytes, whatever the values inside take. | |
| group4.values | bytes, sized by length | The values themselves, as for the other groups. |
Seat
One place at the match: who holds it, what they brought, and what the client shows for them.
In every range of this book
| Field | Type | What it is |
|---|---|---|
| player | i64 | Which player holds the place, or a negative number where it stands empty. It has a player identifier’s width. |
| level | u16 | The level the seat holder has reached across matches. A 4.17 client does not draw it on the loading screen. |
| summoner | u32 | The spell in one of the seat’s summoner slots, as the name hash of the spell; drawn as its icon on the loading screen. It has no effect on a bot’s seat. |
| otherSummoner | u32 | The spell in the other. |
| flags | u8 | How the seat is treated. Two bits take effect on a 4.17 client: bit 0, set where a bot holds the seat, which the loading screen then shows from the bot fields below as already loaded; and bit 1, set to show the seat’s champion on the loading screen in its skin’s vintage art. The others have no effect. |
| side | u32 | The side the seat is on, or zero where it stands empty. |
| botName | text, 64 bytes | What the seat is called where nobody holds it, written and padded as above. A 4.17 client shows its own name for a bot of the champion instead. |
| botAsset | text, 64 bytes | The name the client loads art for it under where nobody holds it, written and padded as above. |
| standing | text, 16 bytes | What the seat’s standing across matches is called, written and padded as above. A 4.17 client frames the seat’s loading-screen card with its own image of that name, where it has one; UNRANKED and BRONZE draw nothing. |
| botSkin | i32 | Which look it wears where nobody holds it. |
| botDifficulty | i32 | How well it plays where nobody holds it: 0 beginner, 1 intermediate, 2 advanced, 3 top, 4 tutorial, 5 intro. A 4.17 client draws it nowhere and picks the bot’s summoner spells by it. |
| icon | i32 | Which profile icon the client shows on the seat’s loading-screen card; a negative number, or one with no art, shows icon 0’s. |
| allyBadge | u8 | The badge a 4.17 client shows on the seat’s card to the seat’s own side (and to a client on neither side), where it is one of the badges the client’s own data names. |
| enemyBadge | u8 | The badge it shows where the ally badge is not shown and this is nonzero. |
SpeedParams
How a unit is made to travel, in place of what a receiving end would otherwise choose for it.
In every range of this book
| Field | Type | What it is |
|---|---|---|
| speed | f32 | How fast the unit travels along the path, in world units a second, standing in for its own pace. |
| gravity | f32 | How sharply the unit arcs through the air along the way. Zero where it keeps to the ground. |
| fromX | f32 | Where the unit starts, along one ground axis, in world units. It holds the same place the path’s first point states, and is carried whether the unit arcs or not. |
| fromZ | f32 | Where it starts, along the other. |
| keepFacing | u8 | 0 to face the way the unit travels, 1 to keep its facing. Values: 0 faceTheWayItGoes, 1 holdItsFacing. |
| follows | u32 | The unit this one is made to follow, or zero where it follows none. |
| followDistance | f32 | How far from that unit it is made to stay, in world units. |
| followBackDistance | f32 | How far behind that unit it is made to stay, in world units. |
| followTime | f32 | Seconds to reach the followed unit, from when a client applies the message; it applies only where follows is nonzero. Above zero, a client sets the speed each update to the ground distance left to the followed unit (moved back by followBackDistance) over the time left, at least 0.0001 seconds, overriding speed, and keeps the last speed once the time is up; an arcing unit takes it as its first flight time. Zero or below does nothing. |
SpellCast
One casting of a spell: which spell, who cast it, at what, and the timings a client plays it out with.
In every range of this book
| Field | Type | What it is |
|---|---|---|
| size | u16 | How many bytes the casting takes, this field included. Where it differs from the bytes the casting takes, a client gives the cast no spell. |
| spell | u32 | Which spell, by the number its name gives, as Objects and identifiers works it out. |
| cast | u32 | The name this casting answers to, so later messages can name it. |
| level | u8 | The rank the spell stands at, counting from 1: a spell at its first rank carries 1. |
| attackSpeed | f32 | What the caster’s attack rhythm is scaled by while this runs. |
| caster | u32 | The unit casting. |
| chainOwner | u32 | The unit the casting is credited to, where a chain of casts leads back to another. |
| package | u32 | Which set of art and sound the client draws it with. |
| missile | u32 | The name the missile this casting throws will answer to, or zero where it throws none. |
| targetX | f32 | Where the casting is aimed, along one ground axis, in world units. |
| targetY | f32 | Where the casting is aimed, in height, in world units. |
| targetZ | f32 | Where the casting is aimed, along the other ground axis, in world units. |
| targetEndX | f32 | Where the casting stops being aimed, for a spell that sweeps, along one ground axis, in world units. |
| targetEndY | f32 | Where the casting stops being aimed, for a spell that sweeps, in height, in world units. |
| targetEndZ | f32 | Where the casting stops being aimed, for a spell that sweeps, along the other ground axis, in world units. |
| hitCount | u8 | How many units the casting names as hit. |
| hits | count in hitCount × SpellHit | The units the casting hits, each a unit then a one-byte result; a 4.17 client takes at most 32. |
| castTime | f32 | How long the casting takes before it takes effect, in seconds. |
| extraCastTime | f32 | What is added to that, in seconds. |
| totalTime | f32 | How long the whole casting runs, in seconds. |
| cooldown | f32 | How long until the spell can be cast again, in seconds. |
| startedAt | f32 | When the casting began, in seconds. |
| how | 1-byte bits | |
| how.basicAttack | bit 0 | Set where the casting is the caster’s own swing rather than a spell. |
| how.secondBasicAttack | bit 1 | Set where the swing is the second of a pair. |
| how.forced | bit 2 | Set where the casting was not asked for by whoever holds the caster. |
| how.overrideCastPosition | bit 3 | Set where the aim above replaces the one the caster would have used. |
| how.clicked | bit 4 | Set where a click on the spell’s own button started the casting. A client does nothing with it. |
| how.unused | bit 5 to 7 | Unused; a server writes zero. |
| slot | u8 | Which of the caster’s slots the spell sits in. |
| cost | f32 | What the casting spends from the caster’s resource. |
| launchX | f32 | Where what the casting throws leaves from, along one ground axis, in world units. |
| launchY | f32 | Where what the casting throws leaves from, in height, in world units. |
| launchZ | f32 | Where what the casting throws leaves from, along the other ground axis, in world units. |
| ammoUsed | i32 | How many charges the casting spends. |
| ammoRecharge | f32 | How long until a spent charge returns, in seconds. |
SpellHit
One unit a casting names as hit, and how it was hit.
In 4.1–4.16
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit hit. |
| atX | f32 | Where the hit is, along one ground axis, in world units. A client gives it to the missile it makes for this hit. |
| atY | f32 | Where the hit is, in height, in world units. A client gives it to the missile it makes for this hit. |
| atZ | f32 | Where the hit is, along the other ground axis, in world units. A client gives it to the missile it makes for this hit. |
| result | u8 | How the hit landed. |
Vectors (1)
In 4.17–4.20
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit hit. |
| result | u8 | How the hit landed. |
SpellNumberSet
The numbers a client shows beside one of a unit’s spells, and which of them it keeps from the other side.
In 4.7–4.20
| Field | Type | What it is |
|---|---|---|
| unit | u32 | The unit whose spell this is. |
| slot | u8 | Which slot. |
| values | 16 × f32 | The numbers themselves, one place each. |
| hidden | 16 × u8 | Which of those places the other side is not shown, one for each. |
Strike
One swing of a unit’s own weapon: what it is aimed at, when it lands, and the missile it throws.
In 4.18–4.20
| Field | Type | What it is |
|---|---|---|
| target | u32 | The unit swung at. A server sends a nonzero unit. |
| timing | u8 | A shift in time: the value less 128, in hundredths of a second, from -1.28 to 1.27; 128 shifts nothing. It moves when the swing lets go and ends, and when the unit may next attack. |
| missile | u32 | The name the missile this swing throws will answer to. |
| slot | u8 | Which of the unit’s attacks this is. |
| targetX | f32 | Where the unit swung at stands, along one ground axis. Carried in the units a path uses rather than in world units, and a server sends a whole number. Movement says how the two relate. |
| targetY | f32 | Where it stands, in height. Carried in world units. |
| targetZ | f32 | Where it stands, along the other ground axis. It shares the reading of the first. |
Patches
What is particular to each patch this book covers: the builds it shipped, the live checks that ran on them, every message it carries, what the specification leaves unrecorded there, and how it differs from the patch before it. Where builds of two patches are held to the same facts, they share a section.
No build of this book has these, though the chapters name them, so what the chapters say of them says nothing of this book: CapturePointValue, CooldownSet, InhibitorDied, InputLockChanged, InputLocksFlipped, MinimapHighlighted, PlaceTurret, RegionAttached, ResyncEnded, ShopHighlighted, SpellIconChanged, SpellNameChanged, SpellOffsetTargetChanged, SpellRangeChanged, SpellTargetingChanged, SurrenderFailed.
4.1
Client builds from 4.1.0.171 up to, not including, 4.2.0.2718. Patch notes: V4.1.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.1.0.171 | 11 | 0 | 3 | d25f524 | 2026-10-23 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, AttackSpeedBounds, CampMarker, CharacterPreload, FloatingTextOnMap, InventorySnapshotOnMap, MinionKillCount, RegionMoved, Situation, SpawnTurret, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (267)
4.2
Client builds from 4.2.0.2718 up to, not including, 4.3.0.495. Patch notes: V4.2.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.2.0.2718 | 11 | 0 | 3 | 843692c | 2026-10-23 |
| 4.2.0.2726 | 11 | 0 | 5 | 63b6eaf | 2026-10-19 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, AttackSpeedBounds, CampMarker, CharacterPreload, FloatingTextOnMap, InventorySnapshotOnMap, MinionKillCount, RegionMoved, Situation, SpawnTurret, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (267)
Against 4.1
Where a build from 4.2.0.2718 up to, not including, 4.3.0.495 differs from one from 4.1.0.171 up to, not including, 4.2.0.2718. Anything not named here is the same in both.
Laid out differently
CampOpened(vectors: a-third-on-4-2, another-on-4-2, one-on-4-2)spawnDurationis in 4.2 (f32), aftercampIcon, and not in 4.1.proximityAnimationsis in 4.1 and not in 4.2.
CreateNeutral(vectors: inactive-on-4-2)spawnAnimationis in 4.2 (text, 64 bytes), aftercampIcon, and not in 4.1.spawnDurationis in 4.2 (f32), afterlevel, and not in 4.1.spawnElapsedis in 4.2 (f32), afterspawnDuration, and not in 4.1.proximityAnimationsis in 4.1 and not in 4.2.
VersionSync(vectors: one-on-4-2)variantsis 2 × string in 4.1 and 8 × string in 4.2.featureshaslagMetricsat bit 18 in 4.2, and not in 4.1.featureshaslogServerAddressat bit 19 in 4.2, and not in 4.1.features.unusedis at bit 18, 14 bits wide, in 4.1 and at bit 20, 12 bits wide, in 4.2.
4.3
Client builds from 4.3.0.495 up to, not including, 4.4.0.1858. Patch notes: V4.3.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.3.0.495 | 11 | 0 | 3 | aa0fd03 | 2026-10-23 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, AttackSpeedBounds, CampMarker, CharacterPreload, FloatingTextOnMap, InventorySnapshotOnMap, RegionMoved, Situation, SpawnTurret, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (268)
Against 4.2
Where a build from 4.3.0.495 up to, not including, 4.4.0.1858 differs from one from 4.2.0.2718 up to, not including, 4.3.0.495. Anything not named here is the same in both.
In 4.3, not in 4.2
| Message | Sent by | Command | What it does |
|---|---|---|---|
MinionKillCount | server | 287 on events | Add one to a champion’s count of minions killed |
Laid out differently
VersionSync(vectors: one-on-4-3)featureshasbit18at bit 18 in 4.3, and not in 4.2.features.lagMetricsis at bit 18 in 4.2 and at bit 19 in 4.3.featureshaseventReportsat bit 20 in 4.3, and not in 4.2.features.logServerAddressis at bit 19 in 4.2 and at bit 21 in 4.3.featureshasparticleOptionat bit 22 in 4.3, and not in 4.2.features.unusedis at bit 20, 12 bits wide, in 4.2 and at bit 23, 9 bits wide, in 4.3.reportingMessagesis in 4.3 (8 × u8), afterdisabledItems, and not in 4.2.
4.4
Client builds from 4.4.0.1858 up to, not including, 4.5.0.260. Patch notes: V4.4.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.4.0.1858 | 11 | 0 | 3 | d0fa7b0 | 2026-10-23 |
| 4.4.0.1885 | 11 | 0 | 5 | 63b6eaf | 2026-10-19 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, CampMarker, CharacterPreload, FloatingTextOnMap, InventorySnapshotOnMap, RegionMoved, Situation, SpawnTurret, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (269)
Against 4.3
Where a build from 4.4.0.1858 up to, not including, 4.5.0.260 differs from one from 4.3.0.495 up to, not including, 4.4.0.1858. Anything not named here is the same in both.
In 4.4, not in 4.3
| Message | Sent by | Command | What it does |
|---|---|---|---|
AttackSpeedBounds | server | 288 on events | Put a ceiling or a floor on how fast a unit attacks |
Laid out differently
CampCleared(vectors: one-on-4-4)doeshasfirstSideat bit 1 in 4.4, and not in 4.3.does.unusedis at bit 1, 7 bits wide, in 4.3 and at bit 2, 6 bits wide, in 4.4.
GameEndedresulthassurrenderedat bit 1 in 4.4, and not in 4.3.result.unusedis at bit 1, 7 bits wide, in 4.3 and at bit 2, 6 bits wide, in 4.4.
StartGamerules.unusedis at bit 2, 6 bits wide, in 4.3 and at bit 1, 7 bits wide, in 4.4.ruleshasnoticeat bit 1 in 4.3, and not in 4.4.
4.5
Client builds from 4.5.0.260 up to, not including, 4.6.0.193. Patch notes: V4.5.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.5.0.260 | 11 | 0 | 3 | 781bbd4 | 2026-10-23 |
| 4.5.0.266 | 11 | 0 | 5 | 63b6eaf | 2026-10-19 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, CampMarker, CharacterPreload, FloatingTextOnMap, InventorySnapshotOnMap, RegionMoved, Situation, SpawnTurret, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (267)
Against 4.4
Where a build from 4.5.0.260 up to, not including, 4.6.0.193 differs from one from 4.4.0.1858 up to, not including, 4.5.0.260. Anything not named here is the same in both.
In 4.4, not in 4.5
| Message | Sent by | Command it had |
|---|---|---|
ModuleData | server | 220 on events |
ModulePacket | client | 222 on requests |
Laid out differently
AppearancePushedhowhasreplacePackageat bit 2 in 4.5, and not in 4.4.how.unusedis at bit 2, 6 bits wide, in 4.4 and at bit 3, 5 bits wide, in 4.5.
ClientReadymaskedStatusis in 4.4 and not in 4.5.maskis in 4.4 and not in 4.5.
SpellLevellevelis in 4.5 (u32), afterslot, and not in 4.4.
StatsRequest(vectors: another-on-4-5, one-on-4-5)moduleOneis in 4.5 (u32) at the start, and not in 4.4.
VersionSync(vectors: one-on-4-5)featuresnames bit 15skinParticlesin 4.4 andbit15in 4.5.featureshasrecommendedPagesat bit 9 in 4.5, and not in 4.4.features.skillshotOutlineis at bit 9 in 4.4 and at bit 10 in 4.5.features.championIndicatoris at bit 10 in 4.4 and at bit 11 in 4.5.features.altBountyis at bit 11 in 4.4 and at bit 12 in 4.5.features.waveOrderis at bit 12 in 4.4 and at bit 13 in 4.5.features.turretRangeis at bit 13 in 4.4 and at bit 14 in 4.5.featureshasnetworkMetricsat bit 17 in 4.5, and not in 4.4.features.hardwareMetricsis at bit 17 in 4.4 and at bit 18 in 4.5.featureshasbit19at bit 19 in 4.5, and not in 4.4.features.lagMetricsis at bit 19 in 4.4 and at bit 20 in 4.5.features.eventReportsis at bit 20 in 4.4 and at bit 21 in 4.5.features.logServerAddressis at bit 21 in 4.4 and at bit 22 in 4.5.features.particleOptionis at bit 22 in 4.4 and at bit 23 in 4.5.features.unusedis at bit 23, 9 bits wide, in 4.4 and at bit 24, 8 bits wide, in 4.5.featureshasbit14at bit 14 in 4.4, and not in 4.5.featureshasbit18at bit 18 in 4.4, and not in 4.5.reportingMessagesis 8 × u8 in 4.4 and 10 × u8 in 4.5.
4.6
Client builds from 4.6.0.193 up to, not including, 4.7.0.296. Patch notes: V4.6.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.6.0.193 | 11 | 0 | 3 | 4f1d169 | 2026-10-22 |
| 4.6.0.204 | 11 | 0 | 5 | 63b6eaf | 2026-10-19 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, CampMarker, FloatingTextOnMap, InventorySnapshotOnMap, RegionMoved, Situation, SpawnTurret, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (268)
Against 4.5
Where a build from 4.6.0.193 up to, not including, 4.7.0.296 differs from one from 4.5.0.260 up to, not including, 4.6.0.193. Anything not named here is the same in both.
In 4.6, not in 4.5
| Message | Sent by | Command | What it does |
|---|---|---|---|
CharacterPreload | server | 137 on events | Have a character and a skin of it loaded ahead of need |
Laid out differently
ClientEvent(vectors: altar-captured-on-4-6, altar-captured-watched-on-4-6, baron-killed-on-4-6, baron-killed-watched-on-4-6, baron-stolen-on-4-6, buff-on-4-6, consumable-bought-on-4-6, critical-strike-on-4-6, crowd-control-on-4-6, damage-dealt-on-4-6, damage-taken-on-4-6, death-assist-on-4-6, died-on-4-6, dragon-killed-on-4-6, dragon-killed-watched-on-4-6, dragon-stolen-on-4-6, gold-earned-on-4-6, gold-spent-on-4-6, heal-cast-on-4-6, heal-on-4-6, item-bought-on-4-6, item-callout-on-4-6, item-changed-on-4-6, item-removed-on-4-6, item-sold-on-4-6, item-substituted-on-4-6, killing-spree-on-4-6, minion-killed-on-4-6, monster-killed-on-4-6, one-on-4-6, removed-on-4-6, spawned-on-4-6, spider-killed-on-4-6, spider-killed-watched-on-4-6, turret-damaged-on-4-6, turret-died-on-4-6, undo-changed-on-4-6)eventtakes 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 144 dragonKilled, 145 dragonKilledWatched, 146 dragonStolen, 147 baronKilled, 148 baronKilledWatched, 149 baronStolen, 150 spiderKilled, 151 spiderKilledWatched, 152 altarCaptured, 153 altarCapturedWatched, 154 wardPlaced, 155 wardKilled in 4.6 and not in 4.5.eventtakes 29 inhibitorKilled, 30 inhibitorDied, 31 inhibitorRespawningSoon, 34 turretKilled, 35 turretDied, 36 turretDamaged, 37 minionKilled, 38 minionDenied, 39 monsterKilled, 40 largeMonsterKilled, 41 redBuffTaken, 42 blueBuffTaken, 43 nexusKilled, 44 nexusDied, 45 heal, 46 healCast, 47 buff, 48 crowdControl, 49 killingSpree, 56 killDuringSpree, 63 doubleKillDuringSpree, 64 tripleKillDuringSpree, 65 quadraKillDuringSpree, 68 deathAssist, 69 playerQuit, 70 playerLeft, 71 playerReconnected, 86 itemBought, 87 itemSold, 88 itemRemoved, 89 itemCallout, 90 itemChanged, 91 undoChanged, 92 itemSubstituted, 111 minionsSpawned, 112 welcome, 113 startNoticeTwo, 114 startNoticeThree, 118 scoreboardOpened, 143 dragonKilled, 144 dragonKilledWatched, 145 dragonStolen, 146 baronKilled, 147 baronKilledWatched, 148 baronStolen, 149 spiderKilled, 150 spiderKilledWatched, 151 altarCaptured, 152 altarCapturedWatched, 153 wardPlaced, 154 wardKilled in 4.5 and not in 4.6.valueis present when event = 25 or 86 or 87 or 88 or 90 or 91 or 151 or 152 in 4.5, and present when event = 25 or 87 or 88 or 89 or 91 or 92 or 152 or 153 in 4.6.spreeis present when event = 49 in 4.5, and present when event = 50 in 4.6.healis present when event = 45 or 46 in 4.5, and present when event = 46 or 47 in 4.6.effectis present when event = 47 or 48 in 4.5, and present when event = 48 or 49 in 4.6.buffis present when event = 48 in 4.5, and present when event = 49 in 4.6.assistis present when event = 68 in 4.5, and present when event = 69 in 4.6.killis present when event = 1 or 2 or 35 or 36 or 37 or 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 in 4.5, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.6.monsteris present when event = 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 in 4.5, and present when event = 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.6.calloutis present when event = 89 in 4.5, and present when event = 90 in 4.6.substitutionis present when event = 92 in 4.5, and present when event = 93 in 4.6.
DeathHistory(vectors: one-on-4-6)entries[].eventtakes 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 144 dragonKilled, 145 dragonKilledWatched, 146 dragonStolen, 147 baronKilled, 148 baronKilledWatched, 149 baronStolen, 150 spiderKilled, 151 spiderKilledWatched, 152 altarCaptured, 153 altarCapturedWatched, 154 wardPlaced, 155 wardKilled in 4.6 and not in 4.5.entries[].eventtakes 29 inhibitorKilled, 30 inhibitorDied, 31 inhibitorRespawningSoon, 34 turretKilled, 35 turretDied, 36 turretDamaged, 37 minionKilled, 38 minionDenied, 39 monsterKilled, 40 largeMonsterKilled, 41 redBuffTaken, 42 blueBuffTaken, 43 nexusKilled, 44 nexusDied, 45 heal, 46 healCast, 47 buff, 48 crowdControl, 49 killingSpree, 56 killDuringSpree, 63 doubleKillDuringSpree, 64 tripleKillDuringSpree, 65 quadraKillDuringSpree, 68 deathAssist, 69 playerQuit, 70 playerLeft, 71 playerReconnected, 86 itemBought, 87 itemSold, 88 itemRemoved, 89 itemCallout, 90 itemChanged, 91 undoChanged, 92 itemSubstituted, 111 minionsSpawned, 112 welcome, 113 startNoticeTwo, 114 startNoticeThree, 118 scoreboardOpened, 143 dragonKilled, 144 dragonKilledWatched, 145 dragonStolen, 146 baronKilled, 147 baronKilledWatched, 148 baronStolen, 149 spiderKilled, 150 spiderKilledWatched, 151 altarCaptured, 152 altarCapturedWatched, 153 wardPlaced, 154 wardKilled in 4.5 and not in 4.6.entries[].valueis present when event = 25 or 86 or 87 or 88 or 90 or 91 or 151 or 152 in 4.5, and present when event = 25 or 87 or 88 or 89 or 91 or 92 or 152 or 153 in 4.6.entries[].spreeis present when event = 49 in 4.5, and present when event = 50 in 4.6.entries[].healis present when event = 45 or 46 in 4.5, and present when event = 46 or 47 in 4.6.entries[].effectis present when event = 47 or 48 in 4.5, and present when event = 48 or 49 in 4.6.entries[].buffis present when event = 48 in 4.5, and present when event = 49 in 4.6.entries[].assistis present when event = 68 in 4.5, and present when event = 69 in 4.6.entries[].killis present when event = 1 or 2 or 35 or 36 or 37 or 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 in 4.5, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.6.entries[].monsteris present when event = 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 in 4.5, and present when event = 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.6.entries[].calloutis present when event = 89 in 4.5, and present when event = 90 in 4.6.entries[].substitutionis present when event = 92 in 4.5, and present when event = 93 in 4.6.
VersionSync(vectors: one-on-4-6)reportingMessagesis 10 × u8 in 4.5 and 11 × u8 in 4.6.
WorldEvent(vectors: a-third-on-4-6, altar-captured-on-4-6, altar-captured-watched-on-4-6, another-on-4-6, baron-killed-on-4-6, baron-killed-watched-on-4-6, baron-stolen-on-4-6, buff-on-4-6, consumable-bought-on-4-6, critical-strike-on-4-6, crowd-control-on-4-6, damage-dealt-on-4-6, damage-taken-on-4-6, death-assist-on-4-6, died-on-4-6, dragon-killed-on-4-6, dragon-killed-watched-on-4-6, dragon-stolen-on-4-6, gold-earned-on-4-6, gold-spent-on-4-6, heal-cast-on-4-6, heal-on-4-6, inhibitor-died-on-4-6, item-bought-on-4-6, item-callout-on-4-6, item-changed-on-4-6, item-removed-on-4-6, item-sold-on-4-6, item-substituted-on-4-6, killing-spree-on-4-6, minion-killed-on-4-6, monster-killed-on-4-6, one-on-4-6, removed-on-4-6, spawned-on-4-6, spider-killed-on-4-6, spider-killed-watched-on-4-6, start-notice-three-on-4-6, start-notice-two-on-4-6, turret-damaged-on-4-6, turret-died-on-4-6, undo-changed-on-4-6, welcome-on-4-6)eventtakes 30 inhibitorKilled, 31 inhibitorDied, 32 inhibitorRespawningSoon, 35 turretKilled, 36 turretDied, 37 turretDamaged, 38 minionKilled, 39 minionDenied, 40 monsterKilled, 41 largeMonsterKilled, 42 redBuffTaken, 43 blueBuffTaken, 44 nexusKilled, 45 nexusDied, 46 heal, 47 healCast, 48 buff, 49 crowdControl, 50 killingSpree, 57 killDuringSpree, 64 doubleKillDuringSpree, 65 tripleKillDuringSpree, 66 quadraKillDuringSpree, 69 deathAssist, 70 playerQuit, 71 playerLeft, 72 playerReconnected, 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 121 nexusCrystalStarted, 144 dragonKilled, 145 dragonKilledWatched, 146 dragonStolen, 147 baronKilled, 148 baronKilledWatched, 149 baronStolen, 150 spiderKilled, 151 spiderKilledWatched, 152 altarCaptured, 153 altarCapturedWatched, 154 wardPlaced, 155 wardKilled in 4.6 and not in 4.5.eventtakes 29 inhibitorKilled, 30 inhibitorDied, 31 inhibitorRespawningSoon, 34 turretKilled, 35 turretDied, 36 turretDamaged, 37 minionKilled, 38 minionDenied, 39 monsterKilled, 40 largeMonsterKilled, 41 redBuffTaken, 42 blueBuffTaken, 43 nexusKilled, 44 nexusDied, 45 heal, 46 healCast, 47 buff, 48 crowdControl, 49 killingSpree, 56 killDuringSpree, 63 doubleKillDuringSpree, 64 tripleKillDuringSpree, 65 quadraKillDuringSpree, 68 deathAssist, 69 playerQuit, 70 playerLeft, 71 playerReconnected, 86 itemBought, 87 itemSold, 88 itemRemoved, 89 itemCallout, 90 itemChanged, 91 undoChanged, 92 itemSubstituted, 111 minionsSpawned, 112 welcome, 113 startNoticeTwo, 114 startNoticeThree, 118 scoreboardOpened, 120 nexusCrystalStarted, 143 dragonKilled, 144 dragonKilledWatched, 145 dragonStolen, 146 baronKilled, 147 baronKilledWatched, 148 baronStolen, 149 spiderKilled, 150 spiderKilledWatched, 151 altarCaptured, 152 altarCapturedWatched, 153 wardPlaced, 154 wardKilled in 4.5 and not in 4.6.valueis present when event = 25 or 86 or 87 or 88 or 90 or 91 or 151 or 152 in 4.5, and present when event = 25 or 87 or 88 or 89 or 91 or 92 or 152 or 153 in 4.6.spreeis present when event = 49 in 4.5, and present when event = 50 in 4.6.healis present when event = 45 or 46 in 4.5, and present when event = 46 or 47 in 4.6.effectis present when event = 47 or 48 in 4.5, and present when event = 48 or 49 in 4.6.buffis present when event = 48 in 4.5, and present when event = 49 in 4.6.assistis present when event = 68 in 4.5, and present when event = 69 in 4.6.killis present when event = 1 or 2 or 35 or 36 or 37 or 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 in 4.5, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.6.monsteris present when event = 39 or 143 or 144 or 145 or 146 or 147 or 148 or 149 or 150 in 4.5, and present when event = 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.6.calloutis present when event = 89 in 4.5, and present when event = 90 in 4.6.substitutionis present when event = 92 in 4.5, and present when event = 93 in 4.6.mapis present when event = 112 or 113 or 114 or 115 or 116 in 4.5, and present when event = 113 or 114 or 115 or 116 or 117 in 4.6.inhibitorGoldis present when event = 30 in 4.5, and present when event = 31 in 4.6.inhibitorAssistCountis present when event = 30 in 4.5, and present when event = 31 in 4.6.inhibitorAssistsis present when event = 30 in 4.5, and present when event = 31 in 4.6.
4.7
Client builds from 4.7.0.296 up to, not including, 4.8.0.189. Patch notes: V4.7.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.7.0.296 | 11 | 0 | 3 | 42edced | 2026-10-22 |
| 4.7.0.298 | 11 | 0 | 5 | 63b6eaf | 2026-10-19 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, CampMarker, FloatingTextOnMap, InventorySnapshotOnMap, RegionMoved, SpawnTurret, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (269)
Against 4.6
Where a build from 4.7.0.296 up to, not including, 4.8.0.189 differs from one from 4.6.0.193 up to, not including, 4.7.0.296. Anything not named here is the same in both.
In 4.7, not in 4.6
| Message | Sent by | Command | What it does |
|---|---|---|---|
Situation | server | 289 on events | Tell a champion something has come about |
Laid out differently
InventorySnapshot(vectors: one-on-4-7)itemsis 9 × record in 4.6 and 10 × record in 4.7.cooldownsis 9 × f32 in 4.6 and 10 × f32 in 4.7.
SpellNumbersentriesis count in entryCount × record in 4.6 and count in entryCount × SpellNumberSet in 4.7.entries[].unitis in 4.6 and not in 4.7.entries[].slotis in 4.6 and not in 4.7.entries[].valuesis in 4.6 and not in 4.7.entries[].hiddenis in 4.6 and not in 4.7.
VersionSync(vectors: one-on-4-7)features.unusedis at bit 24, 8 bits wide, in 4.6 and at bit 23, 9 bits wide, in 4.7.featureshasparticleOptionat bit 23 in 4.6, and not in 4.7.
Structs
SpellNumberSetis in 4.7 and not in 4.6.
Chapters
- In the values chapter, a passage holds for 4.6 and not 4.7: A champion’s own book ends at slot 60.
- In the values chapter, a passage holds for 4.7 and not 4.6: A champion’s own book runs on to slot 62: slot 61 is using an object on the field (see
UseObject), and slot 62 the champion’s passive. - In the values chapter, a passage holds for 4.6 and not 4.7: A champion’s inventory ends at slot 38.
- In the values chapter, a passage holds for 4.7 and not 4.6: A champion’s inventory ends at slot 39.
4.8
Client builds from 4.8.0.189 up to, not including, 4.9.0.239. Patch notes: V4.8.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.8.0.189 | 11 | 0 | 3 | a6e9f3a | 2026-10-22 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, CampMarker, FloatingTextOnMap, InventorySnapshotOnMap, RegionMoved, SpawnTurret, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (269)
Against 4.7
Where a build from 4.8.0.189 up to, not including, 4.9.0.239 differs from one from 4.7.0.296 up to, not including, 4.8.0.189. Anything not named here is the same in both.
Laid out differently
QuestUpdatedrewardis in 4.8 (text, 128 bytes), aftertooltip, and not in 4.7.flagshassecondat bit 1 in 4.8, and not in 4.7.flags.unusedis at bit 1, 7 bits wide, in 4.7 and at bit 2, 6 bits wide, in 4.8.
StatsRequestappearanceis in 4.8 (u32), aftermoduleOne, and not in 4.7.appearanceCheckis in 4.8 (u32), afterappearance, and not in 4.7.
VersionSync(vectors: one-on-4-8)featuresnames bit 15bit15in 4.7 andskinParticlesin 4.8.features.shopUndois at bit 8 in 4.7 and at bit 7 in 4.8.features.recommendedPagesis at bit 9 in 4.7 and at bit 8 in 4.8.features.skillshotOutlineis at bit 10 in 4.7 and at bit 9 in 4.8.features.championIndicatoris at bit 11 in 4.7 and at bit 10 in 4.8.features.altBountyis at bit 12 in 4.7 and at bit 11 in 4.8.features.waveOrderis at bit 13 in 4.7 and at bit 12 in 4.8.features.turretRangeis at bit 14 in 4.7 and at bit 13 in 4.8.featureshasbit14at bit 14 in 4.8, and not in 4.7.features.hardwareMetricsis at bit 18 in 4.7 and at bit 17 in 4.8.featureshasbit18at bit 18 in 4.8, and not in 4.7.features.lagMetricsis at bit 20 in 4.7 and at bit 19 in 4.8.features.eventReportsis at bit 21 in 4.7 and at bit 20 in 4.8.features.logServerAddressis at bit 22 in 4.7 and at bit 21 in 4.8.features.unusedis at bit 23, 9 bits wide, in 4.7 and at bit 22, 10 bits wide, in 4.8.featureshasaltControlsat bit 7 in 4.7, and not in 4.8.featureshasnetworkMetricsat bit 17 in 4.7, and not in 4.8.featureshasbit19at bit 19 in 4.7, and not in 4.8.reportingMessagesis 11 × u8 in 4.7 and 13 × u8 in 4.8.
4.9
Client builds from 4.9.0.239 up to, not including, 4.10.0.369. Patch notes: V4.9.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.9.0.239 | 11 | 0 | 3 | a94e534 | 2026-10-22 |
| 4.9.0.253 | 11 | 0 | 5 | 63b6eaf | 2026-10-19 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, FloatingTextOnMap, InventorySnapshotOnMap, RegionMoved, SpawnTurret, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (269)
Against 4.8
Where a build from 4.9.0.239 up to, not including, 4.10.0.369 differs from one from 4.8.0.189 up to, not including, 4.9.0.239. Anything not named here is the same in both.
In 4.9, not in 4.8
| Message | Sent by | Command | What it does |
|---|---|---|---|
CampMarker | server | 290 on events | Place a camp on the map and say how it is drawn |
In 4.8, not in 4.9
| Message | Sent by | Command it had |
|---|---|---|
FacePosition | client | 79 on requests |
Laid out differently
CampClearedtimerKindis in 4.9 (i32), afterdoes, and not in 4.8.returnsAtis in 4.9 (f32), aftertimerKind, and not in 4.8.
CampOpenedtimerKindis in 4.9 (i32), aftercamp, and not in 4.8.campIconis in 4.8 and not in 4.9.
CreateNeutral(vectors: inactive-on-4-9)spawnAtis in 4.9 (f32), afterspawnDuration, and not in 4.8.campIconis in 4.8 and not in 4.9.spawnElapsedis in 4.8 and not in 4.9.
VersionSync(vectors: one-on-4-9)featuresis 4-byte bits in 4.8 and 8-byte bits in 4.9.featuresnames bit 16bit16in 4.8 andnetworkMetricsin 4.9.features.lagMetricsis at bit 19 in 4.8 and at bit 18 in 4.9.features.eventReportsis at bit 20 in 4.8 and at bit 19 in 4.9.features.logServerAddressis at bit 21 in 4.8 and at bit 20 in 4.9.featureshasbit21at bit 21 in 4.9, and not in 4.8.featureshasbit22at bit 22 in 4.9, and not in 4.8.featureshastracerouteat bit 23 in 4.9, and not in 4.8.features.unusedis at bit 22, 10 bits wide, in 4.8 and at bit 24, 32 bits wide, in 4.9.featureshasunusedHighat bit 56 in 4.9, and not in 4.8.featureshasbit18at bit 18 in 4.8, and not in 4.9.reportingMessagesis 13 × u8 in 4.8 and 14 × u8 in 4.9.
4.10
Client builds from 4.10.0.369 up to, not including, 4.11.0.386. Patch notes: V4.10.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.10.0.369 | 11 | 0 | 3 | 2126c0c | 2026-10-22 |
| 4.10.0.379 | 11 | 0 | 5 | 63b6eaf | 2026-10-19 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, FloatingTextOnMap, InventorySnapshotOnMap, MissileReport, RegionMoved, SpawnTurret, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (267)
Against 4.9
Where a build from 4.10.0.369 up to, not including, 4.11.0.386 differs from one from 4.9.0.239 up to, not including, 4.10.0.369. Anything not named here is the same in both.
In 4.9, not in 4.10
| Message | Sent by | Command it had |
|---|---|---|
MissileReport | client | 58 on requests |
UnitSpoke | client | 24 on requests |
Laid out differently
VersionSync(vectors: one-on-4-10)featuresnames bit 22bit22in 4.9 andjungleTimersin 4.10.
4.11
Client builds from 4.11.0.386 up to, not including, 4.12.0.356. Patch notes: V4.11.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.11.0.386 | 11 | 0 | 3 | 4eadc39 | 2026-10-22 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, FloatingTextOnMap, InventorySnapshotOnMap, MissileCourse, MissileReport, SpawnTurret, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (267)
Against 4.10
Where a build from 4.11.0.386 up to, not including, 4.12.0.356 differs from one from 4.10.0.369 up to, not including, 4.11.0.386. Anything not named here is the same in both.
In 4.11, not in 4.10
| Message | Sent by | Command | What it does |
|---|---|---|---|
RegionMoved | server | 36 on events | Move a region of sight, keeping all else about it |
In 4.10, not in 4.11
| Message | Sent by | Command it had |
|---|---|---|
MissileCourse | server | 59 on events |
Commands
These differ only in their command. Each row is a run of commands moved by the same amount:
Laid out differently
CapturePointChanged- Its command is 210 in 4.10 and 211 in 4.11.
resourceKindtakes 8 gnarFury, 9 ferocity, 10 bloodWell, 11 wind, 12 other in 4.11 and not in 4.10.resourceKindtakes 8 ferocity, 9 bloodWell, 10 wind, 11 other in 4.10 and not in 4.11.
InventorySnapshotmaxCooldownsis in 4.11 (10 × f32), aftercooldowns, and not in 4.10.
MatchIdentity(vectors: one-on-4-11)- Its command is 145 in 4.10 and 146 in 4.11.
labelis in 4.11 (text, 32 bytes), aftergame, and not in 4.10.nameis in 4.10 and not in 4.11.
MusicCue- Its command is 219 in 4.10 and 220 in 4.11.
cuetakes 4 trigger in 4.11 and not in 4.10.
ObjectiveShown(vectors: one-on-4-11)- Its command is 53 in 4.10 and 54 in 4.11.
optionis in 4.11 (1-byte bits), aftertext, and not in 4.10.
ResourceKindChangedkindtakes 8 gnarFury, 9 ferocity, 10 bloodWell, 11 wind, 12 other in 4.11 and not in 4.10.kindtakes 8 ferocity, 9 bloodWell, 10 wind, 11 other in 4.10 and not in 4.11.
4.12
Client builds from 4.12.0.356 up to, not including, 4.13.0.265. Patch notes: V4.12.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.12.0.356 | 11 | 0 | 3 | 741f51d | 2026-10-22 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, FloatingTextOnMap, InventorySnapshotOnMap, MissileCourse, MissileReport, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (268)
Against 4.11
Where a build from 4.12.0.356 up to, not including, 4.13.0.265 differs from one from 4.11.0.386 up to, not including, 4.12.0.356. Anything not named here is the same in both.
In 4.12, not in 4.11
| Message | Sent by | Command | What it does |
|---|---|---|---|
SpawnTurret | server | 291 on events | Create a turret of its own choosing |
Laid out differently
ClientEvent(vectors: altar-captured-on-4-12, altar-captured-watched-on-4-12, baron-killed-on-4-12, baron-killed-watched-on-4-12, baron-stolen-on-4-12, buff-on-4-12, consumable-bought-on-4-12, critical-strike-on-4-12, crowd-control-on-4-12, damage-dealt-on-4-12, damage-taken-on-4-12, death-assist-on-4-12, died-on-4-12, dragon-killed-on-4-12, dragon-killed-watched-on-4-12, dragon-stolen-on-4-12, gold-earned-on-4-12, gold-spent-on-4-12, heal-cast-on-4-12, heal-on-4-12, item-bought-on-4-12, item-callout-on-4-12, item-changed-on-4-12, item-removed-on-4-12, item-sold-on-4-12, item-substituted-on-4-12, killing-spree-on-4-12, minion-killed-on-4-12, monster-killed-on-4-12, one-on-4-12, removed-on-4-12, spawned-on-4-12, spider-killed-on-4-12, spider-killed-watched-on-4-12, turret-damaged-on-4-12, turret-died-on-4-12, undo-changed-on-4-12)eventtakes 145 dragonKilled, 146 dragonKilledWatched, 147 dragonStolen, 148 baronKilled, 149 baronKilledWatched, 150 baronStolen, 151 spiderKilled, 152 spiderKilledWatched, 153 altarCaptured, 154 altarCapturedWatched, 155 wardPlaced, 156 wardKilled in 4.12 and not in 4.11.eventtakes 144 dragonKilled, 145 dragonKilledWatched, 146 dragonStolen, 147 baronKilled, 148 baronKilledWatched, 149 baronStolen, 150 spiderKilled, 151 spiderKilledWatched, 152 altarCaptured, 153 altarCapturedWatched, 154 wardPlaced, 155 wardKilled in 4.11 and not in 4.12.valueis present when event = 25 or 87 or 88 or 89 or 91 or 92 or 152 or 153 in 4.11, and present when event = 25 or 87 or 88 or 89 or 91 or 92 or 153 or 154 in 4.12.killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.11, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12.monsteris present when event = 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.11, and present when event = 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12.
CreateNeutral(vectors: inactive-on-4-12)behaviouris in 4.12 (u8), afterspawnAt, and not in 4.11.
DeathHistory(vectors: one-on-4-12)entries[].eventtakes 145 dragonKilled, 146 dragonKilledWatched, 147 dragonStolen, 148 baronKilled, 149 baronKilledWatched, 150 baronStolen, 151 spiderKilled, 152 spiderKilledWatched, 153 altarCaptured, 154 altarCapturedWatched, 155 wardPlaced, 156 wardKilled in 4.12 and not in 4.11.entries[].eventtakes 144 dragonKilled, 145 dragonKilledWatched, 146 dragonStolen, 147 baronKilled, 148 baronKilledWatched, 149 baronStolen, 150 spiderKilled, 151 spiderKilledWatched, 152 altarCaptured, 153 altarCapturedWatched, 154 wardPlaced, 155 wardKilled in 4.11 and not in 4.12.entries[].valueis present when event = 25 or 87 or 88 or 89 or 91 or 92 or 152 or 153 in 4.11, and present when event = 25 or 87 or 88 or 89 or 91 or 92 or 153 or 154 in 4.12.entries[].killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.11, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12.entries[].monsteris present when event = 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.11, and present when event = 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12.
MatchIdentitynameis in 4.12 (text, 128 bytes), aftergame, and not in 4.11.labelis in 4.11 and not in 4.12.platformis in 4.11 and not in 4.12.
StatsRequestmoduleTwois in 4.12 (u32), aftermoduleOne, and not in 4.11.moduleThreeis in 4.12 (u32), aftermoduleTwo, and not in 4.11.
VersionSync(vectors: one-on-4-12)platformis in 4.12 (text, 32 bytes), aftermode, and not in 4.11.featuresnames bit 8recommendedPagesin 4.11 andbit8in 4.12.features.jungleTimersis at bit 22 in 4.11 and at bit 21 in 4.12.features.tracerouteis at bit 23 in 4.11 and at bit 22 in 4.12.features.unusedis at bit 24 in 4.11 and at bit 23 in 4.12.features.unusedHighis at bit 56, 8 bits wide, in 4.11 and at bit 55, 9 bits wide, in 4.12.featureshasbit21at bit 21 in 4.11, and not in 4.12.reportingMessagesis 14 × u8 in 4.11 and 18 × u8 in 4.12.
WorldEvent(vectors: a-third-on-4-12, altar-captured-on-4-12, altar-captured-watched-on-4-12, another-on-4-12, baron-killed-on-4-12, baron-killed-watched-on-4-12, baron-stolen-on-4-12, buff-on-4-12, consumable-bought-on-4-12, critical-strike-on-4-12, crowd-control-on-4-12, damage-dealt-on-4-12, damage-taken-on-4-12, death-assist-on-4-12, died-on-4-12, dragon-killed-on-4-12, dragon-killed-watched-on-4-12, dragon-stolen-on-4-12, gold-earned-on-4-12, gold-spent-on-4-12, heal-cast-on-4-12, heal-on-4-12, inhibitor-died-on-4-12, item-bought-on-4-12, item-callout-on-4-12, item-changed-on-4-12, item-removed-on-4-12, item-sold-on-4-12, item-substituted-on-4-12, killing-spree-on-4-12, minion-killed-on-4-12, monster-killed-on-4-12, one-on-4-12, removed-on-4-12, spawned-on-4-12, spider-killed-on-4-12, spider-killed-watched-on-4-12, start-notice-three-on-4-12, start-notice-two-on-4-12, turret-damaged-on-4-12, turret-died-on-4-12, undo-changed-on-4-12, welcome-on-4-12)eventtakes 145 dragonKilled, 146 dragonKilledWatched, 147 dragonStolen, 148 baronKilled, 149 baronKilledWatched, 150 baronStolen, 151 spiderKilled, 152 spiderKilledWatched, 153 altarCaptured, 154 altarCapturedWatched, 155 wardPlaced, 156 wardKilled in 4.12 and not in 4.11.eventtakes 144 dragonKilled, 145 dragonKilledWatched, 146 dragonStolen, 147 baronKilled, 148 baronKilledWatched, 149 baronStolen, 150 spiderKilled, 151 spiderKilledWatched, 152 altarCaptured, 153 altarCapturedWatched, 154 wardPlaced, 155 wardKilled in 4.11 and not in 4.12.valueis present when event = 25 or 87 or 88 or 89 or 91 or 92 or 152 or 153 in 4.11, and present when event = 25 or 87 or 88 or 89 or 91 or 92 or 153 or 154 in 4.12.killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.11, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12.monsteris present when event = 40 or 144 or 145 or 146 or 147 or 148 or 149 or 150 or 151 in 4.11, and present when event = 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12.
4.13
Client builds from 4.13.0.265 up to, not including, 4.14.0.362. Patch notes: V4.13.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.13.0.265 | 11 | 0 | 3 | 745b4d9 | 2026-10-22 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, FloatingTextOnMap, InventorySnapshotOnMap, MissileCourse, MissileReport, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (268)
Against 4.12
Where a build from 4.13.0.265 up to, not including, 4.14.0.362 differs from one from 4.12.0.356 up to, not including, 4.13.0.265. Anything not named here is the same in both.
Laid out differently
ClientEvent(vectors: altar-captured-on-4-13, altar-captured-watched-on-4-13, baron-killed-on-4-13, baron-killed-watched-on-4-13, baron-stolen-on-4-13, buff-on-4-13, consumable-bought-on-4-13, critical-strike-on-4-13, crowd-control-on-4-13, damage-dealt-on-4-13, damage-taken-on-4-13, death-assist-on-4-13, died-on-4-13, dragon-killed-on-4-13, dragon-killed-watched-on-4-13, dragon-stolen-on-4-13, gold-earned-on-4-13, gold-spent-on-4-13, heal-cast-on-4-13, heal-on-4-13, item-bought-on-4-13, item-callout-on-4-13, item-changed-on-4-13, item-removed-on-4-13, item-sold-on-4-13, item-substituted-on-4-13, item-undone-on-4-13, killing-spree-on-4-13, minion-killed-on-4-13, monster-killed-on-4-13, one-on-4-13, removed-on-4-13, spawned-on-4-13, spider-killed-on-4-13, spider-killed-watched-on-4-13, turret-damaged-on-4-13, turret-died-on-4-13, undo-changed-on-4-13)eventtakes 90 itemUndone, 91 itemCallout, 92 itemChanged, 93 undoChanged, 94 itemSubstituted, 113 minionsSpawned, 114 welcome, 115 startNoticeTwo, 116 startNoticeThree, 120 scoreboardOpened, 146 dragonKilled, 147 dragonKilledWatched, 148 dragonStolen, 149 baronKilled, 150 baronKilledWatched, 151 baronStolen, 152 spiderKilled, 153 spiderKilledWatched, 154 altarCaptured, 155 altarCapturedWatched, 156 wardPlaced, 157 wardKilled in 4.13 and not in 4.12.eventtakes 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 145 dragonKilled, 146 dragonKilledWatched, 147 dragonStolen, 148 baronKilled, 149 baronKilledWatched, 150 baronStolen, 151 spiderKilled, 152 spiderKilledWatched, 153 altarCaptured, 154 altarCapturedWatched, 155 wardPlaced, 156 wardKilled in 4.12 and not in 4.13.valueis present when event = 25 or 87 or 88 or 89 or 91 or 92 or 153 or 154 in 4.12, and present when event = 25 or 87 or 88 or 89 or 92 or 93 or 154 or 155 in 4.13.killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13.monsteris present when event = 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12, and present when event = 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13.calloutis present when event = 90 in 4.12, and present when event = 91 in 4.13.substitutionis present when event = 93 in 4.12, and present when event = 94 in 4.13.undois in 4.13 (record), aftersubstitution.substitute, and not in 4.12.
ClientReadymoduleOneis in 4.13 (u32) at the start, and not in 4.12.moduleTwois in 4.13 (u32), aftersettings, and not in 4.12.moduleThreeis in 4.13 (u32), aftermoduleTwo, and not in 4.12.
DeathHistory(vectors: one-on-4-13)entries[].eventtakes 90 itemUndone, 91 itemCallout, 92 itemChanged, 93 undoChanged, 94 itemSubstituted, 113 minionsSpawned, 114 welcome, 115 startNoticeTwo, 116 startNoticeThree, 120 scoreboardOpened, 146 dragonKilled, 147 dragonKilledWatched, 148 dragonStolen, 149 baronKilled, 150 baronKilledWatched, 151 baronStolen, 152 spiderKilled, 153 spiderKilledWatched, 154 altarCaptured, 155 altarCapturedWatched, 156 wardPlaced, 157 wardKilled in 4.13 and not in 4.12.entries[].eventtakes 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 145 dragonKilled, 146 dragonKilledWatched, 147 dragonStolen, 148 baronKilled, 149 baronKilledWatched, 150 baronStolen, 151 spiderKilled, 152 spiderKilledWatched, 153 altarCaptured, 154 altarCapturedWatched, 155 wardPlaced, 156 wardKilled in 4.12 and not in 4.13.entries[].valueis present when event = 25 or 87 or 88 or 89 or 91 or 92 or 153 or 154 in 4.12, and present when event = 25 or 87 or 88 or 89 or 92 or 93 or 154 or 155 in 4.13.entries[].killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13.entries[].monsteris present when event = 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12, and present when event = 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13.entries[].calloutis present when event = 90 in 4.12, and present when event = 91 in 4.13.entries[].substitutionis present when event = 93 in 4.12, and present when event = 94 in 4.13.entries[].undois in 4.13 (record), afterentries[].substitution.substitute, and not in 4.12.
ObjectiveShownoptionis in 4.12 and not in 4.13.
PlayAnimationspeedis in 4.13 (f32), afterstartProgress, and not in 4.12.
ShopEnabledflagshasforceat bit 1 in 4.13, and not in 4.12.flags.unusedis at bit 1, 7 bits wide, in 4.12 and at bit 2, 6 bits wide, in 4.13.
WorldEvent(vectors: a-third-on-4-13, altar-captured-on-4-13, altar-captured-watched-on-4-13, another-on-4-13, baron-killed-on-4-13, baron-killed-watched-on-4-13, baron-stolen-on-4-13, buff-on-4-13, consumable-bought-on-4-13, critical-strike-on-4-13, crowd-control-on-4-13, damage-dealt-on-4-13, damage-taken-on-4-13, death-assist-on-4-13, died-on-4-13, dragon-killed-on-4-13, dragon-killed-watched-on-4-13, dragon-stolen-on-4-13, gold-earned-on-4-13, gold-spent-on-4-13, heal-cast-on-4-13, heal-on-4-13, inhibitor-died-on-4-13, item-bought-on-4-13, item-callout-on-4-13, item-changed-on-4-13, item-removed-on-4-13, item-sold-on-4-13, item-substituted-on-4-13, item-undone-on-4-13, killing-spree-on-4-13, minion-killed-on-4-13, monster-killed-on-4-13, one-on-4-13, removed-on-4-13, spawned-on-4-13, spider-killed-on-4-13, spider-killed-watched-on-4-13, start-notice-three-on-4-13, start-notice-two-on-4-13, turret-damaged-on-4-13, turret-died-on-4-13, undo-changed-on-4-13, welcome-on-4-13)eventtakes 90 itemUndone, 91 itemCallout, 92 itemChanged, 93 undoChanged, 94 itemSubstituted, 113 minionsSpawned, 114 welcome, 115 startNoticeTwo, 116 startNoticeThree, 120 scoreboardOpened, 122 nexusCrystalStarted, 146 dragonKilled, 147 dragonKilledWatched, 148 dragonStolen, 149 baronKilled, 150 baronKilledWatched, 151 baronStolen, 152 spiderKilled, 153 spiderKilledWatched, 154 altarCaptured, 155 altarCapturedWatched, 156 wardPlaced, 157 wardKilled in 4.13 and not in 4.12.eventtakes 90 itemCallout, 91 itemChanged, 92 undoChanged, 93 itemSubstituted, 112 minionsSpawned, 113 welcome, 114 startNoticeTwo, 115 startNoticeThree, 119 scoreboardOpened, 121 nexusCrystalStarted, 145 dragonKilled, 146 dragonKilledWatched, 147 dragonStolen, 148 baronKilled, 149 baronKilledWatched, 150 baronStolen, 151 spiderKilled, 152 spiderKilledWatched, 153 altarCaptured, 154 altarCapturedWatched, 155 wardPlaced, 156 wardKilled in 4.12 and not in 4.13.valueis present when event = 25 or 87 or 88 or 89 or 91 or 92 or 153 or 154 in 4.12, and present when event = 25 or 87 or 88 or 89 or 92 or 93 or 154 or 155 in 4.13.killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13.monsteris present when event = 40 or 145 or 146 or 147 or 148 or 149 or 150 or 151 or 152 in 4.12, and present when event = 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13.calloutis present when event = 90 in 4.12, and present when event = 91 in 4.13.substitutionis present when event = 93 in 4.12, and present when event = 94 in 4.13.undois in 4.13 (record), aftersubstitution.substitute, and not in 4.12.mapis present when event = 113 or 114 or 115 or 116 or 117 in 4.12, and present when event = 114 or 115 or 116 or 117 or 118 in 4.13.
4.14
Client builds from 4.14.0.362 up to, not including, 4.15.0.238. Patch notes: V4.14.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.14.0.362 | 11 | 0 | 3 | 816573d | 2026-10-22 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: AscendedUnit, FloatingTextOnMap, InventorySnapshotOnMap, MissileCourse, MissileReport, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (268)
Against 4.13
Where a build from 4.14.0.362 up to, not including, 4.15.0.238 differs from one from 4.13.0.265 up to, not including, 4.14.0.362. Anything not named here is the same in both.
Laid out differently
ClientEvent(vectors: altar-captured-on-4-14, altar-captured-watched-on-4-14, baron-killed-on-4-14, baron-killed-watched-on-4-14, baron-stolen-on-4-14, buff-on-4-14, consumable-bought-on-4-14, critical-strike-on-4-14, crowd-control-on-4-14, damage-dealt-on-4-14, damage-taken-on-4-14, death-assist-on-4-14, died-on-4-14, dragon-killed-on-4-14, dragon-killed-watched-on-4-14, dragon-stolen-on-4-14, gold-earned-on-4-14, gold-spent-on-4-14, heal-cast-on-4-14, heal-on-4-14, item-bought-on-4-14, item-callout-on-4-14, item-changed-on-4-14, item-removed-on-4-14, item-sold-on-4-14, item-substituted-on-4-14, item-undone-on-4-14, killing-spree-on-4-14, minion-killed-on-4-14, monster-killed-on-4-14, one-on-4-14, removed-on-4-14, spawned-on-4-14, spider-killed-on-4-14, spider-killed-watched-on-4-14, turret-damaged-on-4-14, turret-died-on-4-14, undo-changed-on-4-14)eventtakes 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 117 minionsSpawned, 118 welcome, 119 startNoticeTwo, 120 startNoticeThree, 124 scoreboardOpened, 150 dragonKilled, 151 dragonKilledWatched, 152 dragonStolen, 153 baronKilled, 154 baronKilledWatched, 155 baronStolen, 156 spiderKilled, 157 spiderKilledWatched, 158 altarCaptured, 159 altarCapturedWatched, 160 wardPlaced, 161 wardKilled in 4.14 and not in 4.13.eventtakes 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemUndone, 91 itemCallout, 92 itemChanged, 93 undoChanged, 94 itemSubstituted, 113 minionsSpawned, 114 welcome, 115 startNoticeTwo, 116 startNoticeThree, 120 scoreboardOpened, 146 dragonKilled, 147 dragonKilledWatched, 148 dragonStolen, 149 baronKilled, 150 baronKilledWatched, 151 baronStolen, 152 spiderKilled, 153 spiderKilledWatched, 154 altarCaptured, 155 altarCapturedWatched, 156 wardPlaced, 157 wardKilled in 4.13 and not in 4.14.valueis present when event = 25 or 87 or 88 or 89 or 92 or 93 or 154 or 155 in 4.13, and present when event = 25 or 91 or 92 or 93 or 96 or 97 or 158 or 159 in 4.14.killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.14.monsteris present when event = 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13, and present when event = 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.14.calloutis present when event = 91 in 4.13, and present when event = 95 in 4.14.substitutionis present when event = 94 in 4.13, and present when event = 98 in 4.14.undois present when event = 90 in 4.13, and present when event = 94 in 4.14.
DeathHistory(vectors: one-on-4-14)entries[].eventtakes 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 117 minionsSpawned, 118 welcome, 119 startNoticeTwo, 120 startNoticeThree, 124 scoreboardOpened, 150 dragonKilled, 151 dragonKilledWatched, 152 dragonStolen, 153 baronKilled, 154 baronKilledWatched, 155 baronStolen, 156 spiderKilled, 157 spiderKilledWatched, 158 altarCaptured, 159 altarCapturedWatched, 160 wardPlaced, 161 wardKilled in 4.14 and not in 4.13.entries[].eventtakes 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemUndone, 91 itemCallout, 92 itemChanged, 93 undoChanged, 94 itemSubstituted, 113 minionsSpawned, 114 welcome, 115 startNoticeTwo, 116 startNoticeThree, 120 scoreboardOpened, 146 dragonKilled, 147 dragonKilledWatched, 148 dragonStolen, 149 baronKilled, 150 baronKilledWatched, 151 baronStolen, 152 spiderKilled, 153 spiderKilledWatched, 154 altarCaptured, 155 altarCapturedWatched, 156 wardPlaced, 157 wardKilled in 4.13 and not in 4.14.entries[].valueis present when event = 25 or 87 or 88 or 89 or 92 or 93 or 154 or 155 in 4.13, and present when event = 25 or 91 or 92 or 93 or 96 or 97 or 158 or 159 in 4.14.entries[].killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.14.entries[].monsteris present when event = 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13, and present when event = 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.14.entries[].calloutis present when event = 91 in 4.13, and present when event = 95 in 4.14.entries[].substitutionis present when event = 94 in 4.13, and present when event = 98 in 4.14.entries[].undois present when event = 90 in 4.13, and present when event = 94 in 4.14.
MinimapIconborderScriptis in 4.14 (text, 64 bytes), afterborder, and not in 4.13.
StreamChunkdurationis i32 in 4.13 and u32 in 4.14.
UnitTextstyletakes 6 physicalCritical, 8 trueCritical, 9 experience, 10 gold, 11 level, 12 disable, 13 questReceived, 14 questComplete, 15 score, 16 physicalDamage, 17 magicDamage, 18 trueDamage, 19 enemyPhysicalDamage, 20 enemyMagicDamage, 21 enemyTrueDamage, 22 enemyPhysicalCritical, 23 enemyMagicCritical, 24 enemyTrueCritical, 25 countdown, 26 onMyWay, 27 absorbed, 28 debug in 4.14 and not in 4.13.styletakes 6 critical, 8 experience, 9 gold, 10 level, 11 disable, 12 questReceived, 13 questComplete, 14 score, 15 physicalDamage, 16 magicDamage, 17 trueDamage, 18 enemyPhysicalDamage, 19 enemyMagicDamage, 20 enemyTrueDamage, 21 enemyCritical, 22 countdown, 23 onMyWay, 24 absorbed, 25 debug in 4.13 and not in 4.14.
VersionSync(vectors: one-on-4-14)featureshasbit23at bit 23 in 4.14, and not in 4.13.featureshasbit24at bit 24 in 4.14, and not in 4.13.featureshasbit25at bit 25 in 4.14, and not in 4.13.featureshasclockSyncat bit 26 in 4.14, and not in 4.13.features.unusedis at bit 23 in 4.13 and at bit 27 in 4.14.features.unusedHighis at bit 55, 9 bits wide, in 4.13 and at bit 59, 5 bits wide, in 4.14.
WorldEvent(vectors: a-third-on-4-14, altar-captured-on-4-14, altar-captured-watched-on-4-14, another-on-4-14, baron-killed-on-4-14, baron-killed-watched-on-4-14, baron-stolen-on-4-14, buff-on-4-14, consumable-bought-on-4-14, critical-strike-on-4-14, crowd-control-on-4-14, damage-dealt-on-4-14, damage-taken-on-4-14, death-assist-on-4-14, died-on-4-14, dragon-killed-on-4-14, dragon-killed-watched-on-4-14, dragon-stolen-on-4-14, gold-earned-on-4-14, gold-spent-on-4-14, heal-cast-on-4-14, heal-on-4-14, inhibitor-died-on-4-14, item-bought-on-4-14, item-callout-on-4-14, item-changed-on-4-14, item-removed-on-4-14, item-sold-on-4-14, item-substituted-on-4-14, item-undone-on-4-14, killing-spree-on-4-14, minion-killed-on-4-14, monster-killed-on-4-14, one-on-4-14, removed-on-4-14, spawned-on-4-14, spider-killed-on-4-14, spider-killed-watched-on-4-14, start-notice-three-on-4-14, start-notice-two-on-4-14, turret-damaged-on-4-14, turret-died-on-4-14, undo-changed-on-4-14, welcome-on-4-14)eventtakes 91 itemBought, 92 itemSold, 93 itemRemoved, 94 itemUndone, 95 itemCallout, 96 itemChanged, 97 undoChanged, 98 itemSubstituted, 117 minionsSpawned, 118 welcome, 119 startNoticeTwo, 120 startNoticeThree, 124 scoreboardOpened, 126 nexusCrystalStarted, 150 dragonKilled, 151 dragonKilledWatched, 152 dragonStolen, 153 baronKilled, 154 baronKilledWatched, 155 baronStolen, 156 spiderKilled, 157 spiderKilledWatched, 158 altarCaptured, 159 altarCapturedWatched, 160 wardPlaced, 161 wardKilled in 4.14 and not in 4.13.eventtakes 87 itemBought, 88 itemSold, 89 itemRemoved, 90 itemUndone, 91 itemCallout, 92 itemChanged, 93 undoChanged, 94 itemSubstituted, 113 minionsSpawned, 114 welcome, 115 startNoticeTwo, 116 startNoticeThree, 120 scoreboardOpened, 122 nexusCrystalStarted, 146 dragonKilled, 147 dragonKilledWatched, 148 dragonStolen, 149 baronKilled, 150 baronKilledWatched, 151 baronStolen, 152 spiderKilled, 153 spiderKilledWatched, 154 altarCaptured, 155 altarCapturedWatched, 156 wardPlaced, 157 wardKilled in 4.13 and not in 4.14.valueis present when event = 25 or 87 or 88 or 89 or 92 or 93 or 154 or 155 in 4.13, and present when event = 25 or 91 or 92 or 93 or 96 or 97 or 158 or 159 in 4.14.killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.14.monsteris present when event = 40 or 146 or 147 or 148 or 149 or 150 or 151 or 152 or 153 in 4.13, and present when event = 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.14.calloutis present when event = 91 in 4.13, and present when event = 95 in 4.14.substitutionis present when event = 94 in 4.13, and present when event = 98 in 4.14.undois present when event = 90 in 4.13, and present when event = 94 in 4.14.mapis present when event = 114 or 115 or 116 or 117 or 118 in 4.13, and present when event = 118 or 119 or 120 or 121 or 122 in 4.14.
4.15
Client builds from 4.15.0.238 up to, not including, 4.16.0.238. Patch notes: V4.15.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.15.0.238 | 11 | 0 | 3 | 81c5a5a | 2026-10-22 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: FloatingTextOnMap, InventorySnapshotOnMap, MissileCourse, MissileReport, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (269)
Against 4.14
Where a build from 4.15.0.238 up to, not including, 4.16.0.238 differs from one from 4.14.0.362 up to, not including, 4.15.0.238. Anything not named here is the same in both.
In 4.15, not in 4.14
| Message | Sent by | Command | What it does |
|---|---|---|---|
AscendedUnit | server | 292 on events | Name the unit that holds the Ascension |
Laid out differently
PathWithSpeed(vectors: along-on-4-15)facingis i8 in 4.14 and u8 in 4.15.
SpawnTurret(vectors: one-on-4-15)skinis in 4.15 (i32), aftercharacter, and not in 4.14.
VersionSync(vectors: one-on-4-15)features.animatedCursorsis at bit 6 in 4.14 and at bit 5 in 4.15.features.shopUndois at bit 7 in 4.14 and at bit 6 in 4.15.featureshasbit7at bit 7 in 4.15, and not in 4.14.features.skillshotOutlineis at bit 9 in 4.14 and at bit 8 in 4.15.features.championIndicatoris at bit 10 in 4.14 and at bit 9 in 4.15.features.altBountyis at bit 11 in 4.14 and at bit 10 in 4.15.featureshasbit11at bit 11 in 4.15, and not in 4.14.features.turretRangeis at bit 13 in 4.14 and at bit 12 in 4.15.featureshasbit13at bit 13 in 4.15, and not in 4.14.features.skinParticlesis at bit 15 in 4.14 and at bit 14 in 4.15.features.networkMetricsis at bit 16 in 4.14 and at bit 15 in 4.15.features.hardwareMetricsis at bit 17 in 4.14 and at bit 16 in 4.15.features.lagMetricsis at bit 18 in 4.14 and at bit 17 in 4.15.features.eventReportsis at bit 19 in 4.14 and at bit 18 in 4.15.features.logServerAddressis at bit 20 in 4.14 and at bit 19 in 4.15.features.jungleTimersis at bit 21 in 4.14 and at bit 20 in 4.15.features.tracerouteis at bit 22 in 4.14 and at bit 21 in 4.15.featureshasbit22at bit 22 in 4.15, and not in 4.14.features.clockSyncis at bit 26 in 4.14 and at bit 25 in 4.15.features.unusedis at bit 27 in 4.14 and at bit 26 in 4.15.features.unusedHighis at bit 59, 5 bits wide, in 4.14 and at bit 58, 6 bits wide, in 4.15.featureshasaudioBackendat bit 5 in 4.14, and not in 4.15.featureshasbit8at bit 8 in 4.14, and not in 4.15.featureshaswaveOrderat bit 12 in 4.14, and not in 4.15.featureshasbit14at bit 14 in 4.14, and not in 4.15.featureshasbit25at bit 25 in 4.14, and not in 4.15.
Only notes
These read the same on the wire, and only their notes change. What each says in 4.15:
FadeSounds,time: “How long the fade takes, in seconds.”, where 4.14 has “How long the sounds take to fade; the unit is not recorded.”
4.16
Client builds from 4.16.0.238 up to, not including, 4.17.0.233. Patch notes: V4.16.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.16.0.238 | 11 | 0 | 3 | 8be7fd9 | 2026-10-22 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: FloatingTextOnMap, InventorySnapshotOnMap, MissileCourse, MissileReport, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, ThemeMusic, UnitDiedOnMap.
Every message of this range (269)
Against 4.15
Where a build from 4.16.0.238 up to, not including, 4.17.0.233 differs from one from 4.15.0.238 up to, not including, 4.16.0.238. Anything not named here is the same in both.
Laid out differently
ClientEvent(vectors: altar-captured-on-4-16, altar-captured-watched-on-4-16, baron-killed-on-4-16, baron-killed-watched-on-4-16, baron-stolen-on-4-16, buff-on-4-16, consumable-bought-on-4-16, critical-strike-on-4-16, crowd-control-on-4-16, damage-dealt-on-4-16, damage-taken-on-4-16, death-assist-on-4-16, died-on-4-16, dragon-killed-on-4-16, dragon-killed-watched-on-4-16, dragon-stolen-on-4-16, gold-earned-on-4-16, gold-spent-on-4-16, heal-cast-on-4-16, heal-on-4-16, item-bought-on-4-16, item-callout-on-4-16, item-changed-on-4-16, item-removed-on-4-16, item-sold-on-4-16, item-substituted-on-4-16, item-undone-on-4-16, killing-spree-on-4-16, minion-killed-on-4-16, monster-killed-on-4-16, one-on-4-16, removed-on-4-16, spawned-on-4-16, spider-killed-on-4-16, spider-killed-watched-on-4-16, turret-damaged-on-4-16, turret-died-on-4-16, undo-changed-on-4-16)eventtakes 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled in 4.16 and not in 4.15.eventtakes 117 minionsSpawned, 118 welcome, 119 startNoticeTwo, 120 startNoticeThree, 124 scoreboardOpened, 150 dragonKilled, 151 dragonKilledWatched, 152 dragonStolen, 153 baronKilled, 154 baronKilledWatched, 155 baronStolen, 156 spiderKilled, 157 spiderKilledWatched, 158 altarCaptured, 159 altarCapturedWatched, 160 wardPlaced, 161 wardKilled in 4.15 and not in 4.16.valueis present when event = 25 or 91 or 92 or 93 or 96 or 97 or 158 or 159 in 4.15, and present when event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 in 4.16.killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.15, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 in 4.16.monsteris present when event = 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.15, and present when event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 in 4.16.undo.partsis in 4.16 (7 × u32), afterundo.item, and not in 4.15.undo.partis in 4.15 and not in 4.16.
DeathHistory(vectors: one-on-4-16)entries[].eventtakes 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled in 4.16 and not in 4.15.entries[].eventtakes 117 minionsSpawned, 118 welcome, 119 startNoticeTwo, 120 startNoticeThree, 124 scoreboardOpened, 150 dragonKilled, 151 dragonKilledWatched, 152 dragonStolen, 153 baronKilled, 154 baronKilledWatched, 155 baronStolen, 156 spiderKilled, 157 spiderKilledWatched, 158 altarCaptured, 159 altarCapturedWatched, 160 wardPlaced, 161 wardKilled in 4.15 and not in 4.16.entries[].valueis present when event = 25 or 91 or 92 or 93 or 96 or 97 or 158 or 159 in 4.15, and present when event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 in 4.16.entries[].killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.15, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 in 4.16.entries[].monsteris present when event = 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.15, and present when event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 in 4.16.entries[].undo.partsis in 4.16 (7 × u32), afterentries[].undo.item, and not in 4.15.entries[].undo.partis in 4.15 and not in 4.16.
SpawnTurret(vectors: one-on-4-16)deathDelayis in 4.16 (f32), afterz, and not in 4.15.
VersionSync(vectors: one-on-4-16)featureshasbit26at bit 26 in 4.16, and not in 4.15.featureshasfarmBountyat bit 27 in 4.16, and not in 4.15.featureshasturretsPersistat bit 28 in 4.16, and not in 4.15.featureshasstateFlagsat bit 29 in 4.16, and not in 4.15.features.unusedis at bit 26 in 4.15 and at bit 30 in 4.16.features.unusedHighis at bit 58, 6 bits wide, in 4.15 and at bit 62, 2 bits wide, in 4.16.
WorldEvent(vectors: a-third-on-4-16, altar-captured-on-4-16, altar-captured-watched-on-4-16, another-on-4-16, baron-killed-on-4-16, baron-killed-watched-on-4-16, baron-stolen-on-4-16, buff-on-4-16, consumable-bought-on-4-16, critical-strike-on-4-16, crowd-control-on-4-16, damage-dealt-on-4-16, damage-taken-on-4-16, death-assist-on-4-16, died-on-4-16, dragon-killed-on-4-16, dragon-killed-watched-on-4-16, dragon-stolen-on-4-16, gold-earned-on-4-16, gold-spent-on-4-16, heal-cast-on-4-16, heal-on-4-16, inhibitor-died-on-4-16, item-bought-on-4-16, item-callout-on-4-16, item-changed-on-4-16, item-removed-on-4-16, item-sold-on-4-16, item-substituted-on-4-16, item-undone-on-4-16, killing-spree-on-4-16, minion-killed-on-4-16, monster-killed-on-4-16, one-on-4-16, removed-on-4-16, spawned-on-4-16, spider-killed-on-4-16, spider-killed-watched-on-4-16, start-notice-three-on-4-16, start-notice-two-on-4-16, turret-damaged-on-4-16, turret-died-on-4-16, undo-changed-on-4-16, welcome-on-4-16)eventtakes 118 minionsSpawned, 119 welcome, 120 startNoticeTwo, 121 startNoticeThree, 125 scoreboardOpened, 127 nexusCrystalStarted, 151 dragonKilled, 152 dragonKilledWatched, 153 dragonStolen, 154 baronKilled, 155 baronKilledWatched, 156 baronStolen, 157 spiderKilled, 158 spiderKilledWatched, 159 altarCaptured, 160 altarCapturedWatched, 161 wardPlaced, 162 wardKilled in 4.16 and not in 4.15.eventtakes 117 minionsSpawned, 118 welcome, 119 startNoticeTwo, 120 startNoticeThree, 124 scoreboardOpened, 126 nexusCrystalStarted, 150 dragonKilled, 151 dragonKilledWatched, 152 dragonStolen, 153 baronKilled, 154 baronKilledWatched, 155 baronStolen, 156 spiderKilled, 157 spiderKilledWatched, 158 altarCaptured, 159 altarCapturedWatched, 160 wardPlaced, 161 wardKilled in 4.15 and not in 4.16.valueis present when event = 25 or 91 or 92 or 93 or 96 or 97 or 158 or 159 in 4.15, and present when event = 25 or 91 or 92 or 93 or 96 or 97 or 159 or 160 in 4.16.killis present when event = 1 or 2 or 36 or 37 or 38 or 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.15, and present when event = 1 or 2 or 36 or 37 or 38 or 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 in 4.16.monsteris present when event = 40 or 150 or 151 or 152 or 153 or 154 or 155 or 156 or 157 in 4.15, and present when event = 40 or 151 or 152 or 153 or 154 or 155 or 156 or 157 or 158 in 4.16.undo.partsis in 4.16 (7 × u32), afterundo.item, and not in 4.15.mapis present when event = 118 or 119 or 120 or 121 or 122 in 4.15, and present when event = 119 or 120 or 121 or 122 or 123 in 4.16.undo.partis in 4.15 and not in 4.16.
4.17
Client builds from 4.17.0.233 up to, not including, 4.18.0.271. Patch notes: V4.17.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.17.0.233 | 11 | 0 | 3 | 710df24 | 2026-10-22 |
| 4.17.0.267 | 11 | 0 | 5 | 60a7c4c | 2026-10-19 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: FloatingTextOnMap, InventorySnapshotOnMap, MissileCourse, MissileReport, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, UnitDiedOnMap.
Every message of this range (270)
Against 4.16
Where a build from 4.17.0.233 up to, not including, 4.18.0.271 differs from one from 4.16.0.238 up to, not including, 4.17.0.233. Anything not named here is the same in both.
In 4.17, not in 4.16
| Message | Sent by | Command | What it does |
|---|---|---|---|
ThemeMusic | server | 96 on events | Set a champion’s skin music |
Laid out differently
Attack(vectors: one-on-4-17)targetXis in 4.17 (f32), aftertarget, and not in 4.16.targetYis in 4.17 (f32), aftertargetX, and not in 4.16.targetZis in 4.17 (f32), aftertargetY, and not in 4.16.
AttackFrom(vectors: one-on-4-17)targetXis in 4.17 (f32), aftertarget, and not in 4.16.targetYis in 4.17 (f32), aftertargetX, and not in 4.16.targetZis in 4.17 (f32), aftertargetY, and not in 4.16.
ClientEvent(vectors: altar-captured-on-4-17, altar-captured-watched-on-4-17, baron-killed-on-4-17, baron-killed-watched-on-4-17, baron-stolen-on-4-17, buff-on-4-17, consumable-bought-on-4-17, critical-strike-on-4-17, crowd-control-on-4-17, damage-dealt-on-4-17, damage-taken-on-4-17, death-assist-on-4-17, died-on-4-17, dragon-killed-on-4-17, dragon-killed-watched-on-4-17, dragon-stolen-on-4-17, gold-earned-on-4-17, gold-spent-on-4-17, heal-cast-on-4-17, heal-on-4-17, item-bought-on-4-17, item-callout-on-4-17, item-changed-on-4-17, item-removed-on-4-17, item-sold-on-4-17, item-substituted-on-4-17, item-undone-on-4-17, killing-spree-on-4-17, minion-killed-on-4-17, monster-killed-on-4-17, one-on-4-17, removed-on-4-17, spawned-on-4-17, spider-killed-on-4-17, spider-killed-watched-on-4-17, turret-damaged-on-4-17, turret-died-on-4-17, undo-changed-on-4-17)damage.sourceKindtakes 1 item, 2 buff, 3 character, 6 unknown in 4.17 and not in 4.16.damage.sourceKindtakes 1 named, 2 script, 3 passive in 4.16 and not in 4.17.damage.sourceObjectis in 4.17 (u32), afterdamage.sourceKind, and not in 4.16.heal.sourceKindtakes 1 item, 2 buff, 3 character, 6 unknown in 4.17 and not in 4.16.heal.sourceKindtakes 1 named, 2 script, 3 passive in 4.16 and not in 4.17.heal.sourceObjectis in 4.17 (u32), afterheal.sourceKind, and not in 4.16.effect.sourceKindtakes 1 item, 2 buff, 3 character, 6 unknown in 4.17 and not in 4.16.effect.sourceKindtakes 1 named, 2 script, 3 passive in 4.16 and not in 4.17.effect.sourceObjectis in 4.17 (u32), aftereffect.sourceKind, and not in 4.16.
DeathHistory(vectors: one-on-4-17)entries[].damage.sourceKindtakes 1 item, 2 buff, 3 character, 6 unknown in 4.17 and not in 4.16.entries[].damage.sourceKindtakes 1 named, 2 script, 3 passive in 4.16 and not in 4.17.entries[].damage.sourceObjectis in 4.17 (u32), afterentries[].damage.sourceKind, and not in 4.16.entries[].heal.sourceKindtakes 1 item, 2 buff, 3 character, 6 unknown in 4.17 and not in 4.16.entries[].heal.sourceKindtakes 1 named, 2 script, 3 passive in 4.16 and not in 4.17.entries[].heal.sourceObjectis in 4.17 (u32), afterentries[].heal.sourceKind, and not in 4.16.entries[].effect.sourceKindtakes 1 item, 2 buff, 3 character, 6 unknown in 4.17 and not in 4.16.entries[].effect.sourceKindtakes 1 named, 2 script, 3 passive in 4.16 and not in 4.17.entries[].effect.sourceObjectis in 4.17 (u32), afterentries[].effect.sourceKind, and not in 4.16.blobLengthis in 4.16 and not in 4.17.
FadeRemoved(vectors: one-on-4-17)fadeis i16 in 4.16 and u16 in 4.17.
PathWithSpeed(vectors: along-on-4-17)facingis u8 in 4.16 and i8 in 4.17.
SpawnUnit(vectors: one-on-4-17)onlyVisibleTois in 4.17 (u32), afterlevel, and not in 4.16.
VersionSync(vectors: one-on-4-17)features.unusedis at bit 30, 32 bits wide, in 4.16 and at bit 30, 2 bits wide, in 4.17.features.unusedHighis at bit 62, 2 bits wide, in 4.16 and at bit 32, 32 bits wide, in 4.17.reportingMessagesis 18 × u8 in 4.16 and 19 × u8 in 4.17.
WorldEvent(vectors: a-third-on-4-17, altar-captured-on-4-17, altar-captured-watched-on-4-17, another-on-4-17, baron-killed-on-4-17, baron-killed-watched-on-4-17, baron-stolen-on-4-17, buff-on-4-17, consumable-bought-on-4-17, critical-strike-on-4-17, crowd-control-on-4-17, damage-dealt-on-4-17, damage-taken-on-4-17, death-assist-on-4-17, died-on-4-17, dragon-killed-on-4-17, dragon-killed-watched-on-4-17, dragon-stolen-on-4-17, gold-earned-on-4-17, gold-spent-on-4-17, heal-cast-on-4-17, heal-on-4-17, inhibitor-died-on-4-17, item-bought-on-4-17, item-callout-on-4-17, item-changed-on-4-17, item-removed-on-4-17, item-sold-on-4-17, item-substituted-on-4-17, item-undone-on-4-17, killing-spree-on-4-17, minion-killed-on-4-17, monster-killed-on-4-17, one-on-4-17, removed-on-4-17, spawned-on-4-17, spider-killed-on-4-17, spider-killed-watched-on-4-17, start-notice-three-on-4-17, start-notice-two-on-4-17, turret-damaged-on-4-17, turret-died-on-4-17, undo-changed-on-4-17, welcome-on-4-17)damage.sourceKindtakes 1 item, 2 buff, 3 character, 6 unknown in 4.17 and not in 4.16.damage.sourceKindtakes 1 named, 2 script, 3 passive in 4.16 and not in 4.17.damage.sourceObjectis in 4.17 (u32), afterdamage.sourceKind, and not in 4.16.heal.sourceKindtakes 1 item, 2 buff, 3 character, 6 unknown in 4.17 and not in 4.16.heal.sourceKindtakes 1 named, 2 script, 3 passive in 4.16 and not in 4.17.heal.sourceObjectis in 4.17 (u32), afterheal.sourceKind, and not in 4.16.effect.sourceKindtakes 1 item, 2 buff, 3 character, 6 unknown in 4.17 and not in 4.16.effect.sourceKindtakes 1 named, 2 script, 3 passive in 4.16 and not in 4.17.effect.sourceObjectis in 4.17 (u32), aftereffect.sourceKind, and not in 4.16.
Structs
SpellHitatXis in 4.16 and not in 4.17.atYis in 4.16 and not in 4.17.atZis in 4.16 and not in 4.17.
StreamRecordis in 4.17 and not in 4.16.
Chapters
- In the time chapter, a passage holds for 4.17 and not 4.16: The time between two of a stream’s records (
StreamRecord) is in milliseconds. - In the guidance chapter, a passage holds for 4.17 and not 4.16: A client takes
TutorialPopupin any match. - In the spectating chapter, a passage holds for 4.17 and not 4.16: Each record is a
StreamRecord, written against the one before it to save space.
4.18–4.19
Client builds from 4.18.0.271 up to, not including, 4.20.0.315. Patch notes: V4.18, V4.19.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.18.0.271 | 11 | 0 | 3 | 041bb6b | 2026-10-23 |
| 4.18.0.274 | 11 | 0 | 5 | 60a7c4c | 2026-10-19 |
| 4.18.0.279 | 11 | 0 | 5 | 60a7c4c | 2026-10-19 |
| 4.18.0.282 | 11 | 0 | 5 | 60a7c4c | 2026-10-19 |
| 4.19.0.435 | 11 | 0 | 5 | 60a7c4c | 2026-10-19 |
| 4.19.0.446 | 11 | 0 | 5 | 60a7c4c | 2026-10-19 |
| 4.19.0.452 | 11 | 0 | 5 | 60a7c4c | 2026-10-19 |
| 4.19.0.454 | 11 | 0 | 5 | 60a7c4c | 2026-10-19 |
| 4.19.0.457 | 11 | 0 | 5 | 60a7c4c | 2026-10-19 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: FloatingTextOnMap, InventorySnapshotOnMap, MissileCourse, MissileReport, SpellSlotChangedForOwner, SpellTargeterHidden, SpellTargeterShown, UnitDiedOnMap.
Every message of this range (270)
Against 4.17
Where a build from 4.18.0.271 up to, not including, 4.20.0.315 differs from one from 4.17.0.233 up to, not including, 4.18.0.271. Anything not named here is the same in both.
Laid out differently
AppearancePushed(vectors: one-on-4-18)- The same fields come in another order in 4.18–4.19.
Attackstrikeis in 4.18–4.19 (Strike) at the start, and not in 4.17.targetis in 4.17 and not in 4.18–4.19.targetXis in 4.17 and not in 4.18–4.19.targetYis in 4.17 and not in 4.18–4.19.targetZis in 4.17 and not in 4.18–4.19.timingis in 4.17 and not in 4.18–4.19.missileis in 4.17 and not in 4.18–4.19.slotis in 4.17 and not in 4.18–4.19.
AttackFromstrikeis in 4.18–4.19 (Strike) at the start, and not in 4.17.targetis in 4.17 and not in 4.18–4.19.targetXis in 4.17 and not in 4.18–4.19.targetYis in 4.17 and not in 4.18–4.19.targetZis in 4.17 and not in 4.18–4.19.timingis in 4.17 and not in 4.18–4.19.missileis in 4.17 and not in 4.18–4.19.slotis in 4.17 and not in 4.18–4.19.
AttackIndicatorsshowis u8 in 4.17 and 1-byte bits in 4.18–4.19.showhasshowat bit 0 in 4.18–4.19, and not in 4.17.showhasminimapat bit 1 in 4.18–4.19, and not in 4.17.showhasunusedat bit 2 in 4.18–4.19, and not in 4.17.minimapis in 4.17 and not in 4.18–4.19.
AttackSpeedBoundsoverridesis in 4.18–4.19 (1-byte bits) at the start, and not in 4.17.useCeilingis in 4.17 and not in 4.18–4.19.useFlooris in 4.17 and not in 4.18–4.19.
BotKickactionis u8 in 4.17 and u32 in 4.18–4.19.actiontakes 5 leave in 4.18–4.19 and not in 4.17.actiontakes 4 leave in 4.17 and not in 4.18–4.19.
CampCleareddoes.unusedis at bit 2, 6 bits wide, in 4.17 and at bit 1, 7 bits wide, in 4.18–4.19.doeshasfirstSideat bit 1 in 4.17, and not in 4.18–4.19.
CancelTargetingslotis in 4.18–4.19 (u8) at the start, and not in 4.17.which.summonerSpellis at bit 6 in 4.17 and at bit 0 in 4.18–4.19.which.unusedis at bit 7, 1 bits wide, in 4.17 and at bit 1, 7 bits wide, in 4.18–4.19.whichhasslotat bit 0 in 4.17, and not in 4.18–4.19.
CapturePointChangedresourceKindtakes 7 heat, 8 gnarFury, 9 ferocity, 10 bloodWell, 11 wind, 12 other in 4.17 and not in 4.18–4.19.sideis i32 in 4.17 and u32 in 4.18–4.19.changetakes 0 bind, 1 ignored in 4.17 and not in 4.18–4.19.
CastSpellhowhasfromSummonerSlotsat bit 0 in 4.18–4.19, and not in 4.17.howhasfromHudat bit 1 in 4.18–4.19, and not in 4.17.howhasunusedat bit 2 in 4.18–4.19, and not in 4.17.howhasslotat bit 0 in 4.17, and not in 4.18–4.19.howhassummonerSpellat bit 6 in 4.17, and not in 4.18–4.19.howhasclickedat bit 7 in 4.17, and not in 4.18–4.19.slotis in 4.18–4.19 (u8), afterhow, and not in 4.17.
ChampionDieddeathis in 4.18–4.19 (Death) at the start, and not in 4.17.killeris in 4.17 and not in 4.18–4.19.damageTypeis in 4.17 and not in 4.18–4.19.damageSourceis in 4.17 and not in 4.18–4.19.stayDownis in 4.17 and not in 4.18–4.19.howis in 4.17 and not in 4.18–4.19.kindis in 4.17 and not in 4.18–4.19.
CreateChampionwhois in 4.18–4.19 (1-byte bits), afterskillLevel, and not in 4.17.deathKindis in 4.18–4.19 (u32), afterdownFor, and not in 4.17.how.swapis at bit 3 in 4.17 and at bit 0 in 4.18–4.19.howhashiddenat bit 1 in 4.18–4.19, and not in 4.17.how.unusedis at bit 4, 4 bits wide, in 4.17 and at bit 2, 6 bits wide, in 4.18–4.19.howhasdownat bit 0 in 4.17, and not in 4.18–4.19.sideis in 4.17 and not in 4.18–4.19.botis in 4.17 and not in 4.18–4.19.
CreateNeutral(vectors: still-on-4-18)roamingtakes 0 still in 4.18–4.19 and not in 4.17.roamingtakes 0 inactive in 4.17 and not in 4.18–4.19.behaviouris in 4.17 and not in 4.18–4.19.
CreateTurrethownames bit 1unusedin 4.17 andunknownin 4.18–4.19.
Damageresultis in 4.18–4.19 (u8) at the start, and not in 4.17.unusedis in 4.18–4.19 (u8), afterresult, and not in 4.17.kindis in 4.18–4.19 (u8), afterunused, and not in 4.17.howis in 4.17 and not in 4.18–4.19.
DeathHistory(vectors: one-on-4-18)causeis in 4.18–4.19 (u8) at the start, and not in 4.17.sourceTypeis in 4.17 and not in 4.18–4.19.
EmitterPausegroupOperationis u8 in 4.17 and u32 in 4.18–4.19.groupOperationtakes 1 emission, 2 restart in 4.18–4.19 and not in 4.17.groupOperationtakes 0 emission in 4.17 and not in 4.18–4.19.
EnterLocalSightcarriedis 2-byte bits in 4.17 and u16 in 4.18–4.19.carriedhassizeat bit 0 in 4.17, and not in 4.18–4.19.carriedhasunusedat bit 13 in 4.17, and not in 4.18–4.19.messagesis sized by carried.size × CarriedMessage in 4.17 and sized by carried × CarriedMessage in 4.18–4.19.
EnterSightcarriedis 2-byte bits in 4.17 and u16 in 4.18–4.19.carriedhassizeat bit 0 in 4.17, and not in 4.18–4.19.carriedhasunusedat bit 13 in 4.17, and not in 4.18–4.19.messagesis sized by carried.size × CarriedMessage in 4.17 and sized by carried × CarriedMessage in 4.18–4.19.
FaceDirection- The same fields come in another order in 4.18–4.19.
FadeRemovedfadeis u16 in 4.17 and i16 in 4.18–4.19.
GameEndedresult.unusedis at bit 2, 6 bits wide, in 4.17 and at bit 1, 7 bits wide, in 4.18–4.19.resulthassurrenderedat bit 1 in 4.17, and not in 4.18–4.19.
HudHighlighted(vectors: one-on-4-18)parttakes 1 hud, 3 minimap in 4.18–4.19 and not in 4.17.parttakes 0 hud, 2 minimap in 4.17 and not in 4.18–4.19.
InhibitorStatestateis 2-byte bits in 4.17 and u8 in 4.18–4.19.statehasdurationat bit 0 in 4.17, and not in 4.18–4.19.statehasaliveat bit 15 in 4.17, and not in 4.18–4.19.durationis in 4.18–4.19 (u16), afterstate, and not in 4.17.
ItemAddedhowhastellTheClientat bit 0 in 4.18–4.19, and not in 4.17.how.unusedis at bit 0, 6 bits wide, in 4.17 and at bit 1, 7 bits wide, in 4.18–4.19.howhasannounceat bit 6 in 4.17, and not in 4.18–4.19.howhasunused7at bit 7 in 4.17, and not in 4.18–4.19.
LoadingProgressstatus.pingis at bit 16, 15 bits wide, in 4.17 and at bit 16, 16 bits wide, in 4.18–4.19.statushasloadedat bit 31 in 4.17, and not in 4.18–4.19.stateis in 4.18–4.19 (1-byte bits), afterstatus, and not in 4.17.
LoadoutsummonersAgainis in 4.18–4.19 (2 × u32), aftersummoners, and not in 4.17.
MapPropsideis 2-byte bits in 4.17 and u16 in 4.18–4.19.sidehassideat bit 0 in 4.17, and not in 4.18–4.19.sidehasunusedat bit 9 in 4.17, and not in 4.18–4.19.kindis u8 in 4.17 and u32 in 4.18–4.19.kindtakes 0 active, 1 scenery in 4.17 and not in 4.18–4.19.
MapPropChangedstartsAtis in 4.18–4.19 (f32), aftername, and not in 4.17.lastsis in 4.18–4.19 (f32), afterstartsAt, and not in 4.17.flagsis in 4.18–4.19 (u32), afterprop, and not in 4.17.kindis in 4.18–4.19 (u32), afterflags, and not in 4.17.byteAis in 4.18–4.19 (u8), afterkind, and not in 4.17.byteBis in 4.18–4.19 (u8), afterbyteA, and not in 4.17.byteCis in 4.18–4.19 (u8), afterbyteB, and not in 4.17.firstis in 4.17 and not in 4.18–4.19.secondis in 4.17 and not in 4.18–4.19.valueis in 4.17 and not in 4.18–4.19.changeis in 4.17 and not in 4.18–4.19.optionis in 4.17 and not in 4.18–4.19.effectis in 4.17 and not in 4.18–4.19.pointis in 4.17 and not in 4.18–4.19.
MinimapIconchangeIconis u8 in 4.17 and 1-byte bits in 4.18–4.19.changeIconhaschangeat bit 0 in 4.18–4.19, and not in 4.17.changeIconhasunusedat bit 1 in 4.18–4.19, and not in 4.17.changeBorderis u8 in 4.17 and 1-byte bits in 4.18–4.19.changeBorderhaschangeat bit 0 in 4.18–4.19, and not in 4.17.changeBorderhasunusedat bit 1 in 4.18–4.19, and not in 4.17.
MoveCamerahownames bit 1unused1in 4.17 andunlockin 4.18–4.19.
ParticleSourcesourceis u8 in 4.17 and u32 in 4.18–4.19.sourcetakes 1 capturePoint, 2 resource, 3 resourceSmoothed in 4.18–4.19 and not in 4.17.sourcetakes 0 capturePoint, 1 resource, 2 resourceSmoothed in 4.17 and not in 4.18–4.19.
PathWithSpeedfacingis i8 in 4.17 and u8 in 4.18–4.19.
Pausehownames bit 0tournamentin 4.17 andunlimitedin 4.18–4.19.
Pausedhownames bit 0tournamentin 4.17 andunlimitedin 4.18–4.19.
PingPlacedcategoryis in 4.18–4.19 (u8), aftersource, and not in 4.17.doesis in 4.18–4.19 (1-byte bits), aftercategory, and not in 4.17.howis in 4.17 and not in 4.18–4.19.
PlayAnimation(vectors: one-on-4-18)flagsis 4-byte bits in 4.17 and 1-byte bits in 4.18–4.19.flags.unusedis at bit 5, 27 bits wide, in 4.17 and at bit 5, 3 bits wide, in 4.18–4.19.
QuestUpdated(vectors: primary-on-4-18)flagshassucceededat bit 2 in 4.18–4.19, and not in 4.17.flags.unusedis at bit 2, 6 bits wide, in 4.17 and at bit 3, 5 bits wide, in 4.18–4.19.
RegionAdded(vectors: circle-on-4-18)otherUnitis in 4.18–4.19 (u32), afterclientId, and not in 4.17.
RemoveItemslotis in 4.18–4.19 (u8) at the start, and not in 4.17.howis in 4.18–4.19 (1-byte bits), afterslot, and not in 4.17.whichis in 4.17 and not in 4.18–4.19.
RemoveItemAnswerslotis in 4.18–4.19 (u8) at the start, and not in 4.17.howis in 4.18–4.19 (1-byte bits), afterleft, and not in 4.17.whichis in 4.17 and not in 4.18–4.19.
Replication- The other channels it may come on change.
SeatLoadProgresscountis in 4.18–4.19 (u16), aftersecondsLeft, and not in 4.17.pingis in 4.18–4.19 (u16), aftercount, and not in 4.17.stateis in 4.18–4.19 (1-byte bits), afterping, and not in 4.17.statusis in 4.17 and not in 4.18–4.19.
SoftReconnectstageis 1-byte bits in 4.17 and u32 in 4.18–4.19.stagetakes 1 mark in 4.18–4.19 and not in 4.17.stagehasstageat bit 0 in 4.17, and not in 4.18–4.19.stagehasunusedat bit 2 in 4.17, and not in 4.18–4.19.
SpawnFromBarracks(vectors: one-on-4-18)damageBonusis i16 in 4.17 and u16 in 4.18–4.19.healthBonusis i16 in 4.17 and u16 in 4.18–4.19.
SpawnStartfirstCountis in 4.18–4.19 (u8) at the start, and not in 4.17.secondCountis in 4.18–4.19 (u8), afterfirstCount, and not in 4.17.botsOnOneSideis in 4.17 and not in 4.18–4.19.botsOnTheOtheris in 4.17 and not in 4.18–4.19.
SpawnTurret(vectors: one-on-4-18)flagsis 2-byte bits in 4.17 and 1-byte bits in 4.18–4.19.flagshasunusedLowat bit 0 in 4.18–4.19, and not in 4.17.flags.invulnerableis at bit 9 in 4.17 and at bit 1 in 4.18–4.19.flags.unusedis at bit 10 in 4.17 and at bit 2 in 4.18–4.19.flagshassideat bit 0 in 4.17, and not in 4.18–4.19.sideis in 4.18–4.19 (u16), afterflags, and not in 4.17.
SpawnUnitteamis in 4.18–4.19 (u16), afterclone, and not in 4.17.flagsis 2-byte bits in 4.17 and 1-byte bits in 4.18–4.19.flags.ignoreCollisionis at bit 9 in 4.17 and at bit 0 in 4.18–4.19.flags.wardis at bit 10 in 4.17 and at bit 1 in 4.18–4.19.flags.laneMinionis at bit 11 in 4.17 and at bit 2 in 4.18–4.19.flags.botis at bit 12 in 4.17 and at bit 3 in 4.18–4.19.flags.unusedis at bit 13, 3 bits wide, in 4.17 and at bit 4, 4 bits wide, in 4.18–4.19.flagshasteamat bit 0 in 4.17, and not in 4.18–4.19.unusedis in 4.18–4.19 (u32), afterflags, and not in 4.17.targetableToTeamis in 4.17 and not in 4.18–4.19.
SpellChargeflags.summonerSpellis at bit 6 in 4.17 and at bit 0 in 4.18–4.19.flags.endis at bit 7 in 4.17 and at bit 1 in 4.18–4.19.flagshasunusedat bit 2 in 4.18–4.19, and not in 4.17.flagshasslotat bit 0 in 4.17, and not in 4.18–4.19.slotis in 4.18–4.19 (u8), afterflags, and not in 4.17.
SpellCooldownslotis in 4.18–4.19 (u8) at the start, and not in 4.17.howis in 4.18–4.19 (1-byte bits), afterslot, and not in 4.17.whichis in 4.17 and not in 4.18–4.19.
SpellCostChanged(vectors: flat-on-4-18)costTypetakes 1 flat, 2 multiplier in 4.18–4.19 and not in 4.17.costTypetakes 0 flat, 1 multiplier in 4.17 and not in 4.18–4.19.
SpellSlotChangedslotis in 4.18–4.19 (u8) at the start, and not in 4.17.whatis in 4.18–4.19 (1-byte bits), afterslot, and not in 4.17.kindis u8 in 4.17 and u32 in 4.18–4.19.kindtakes 1 targeting, 2 name, 3 range, 4 maxRange, 5 shownRange, 6 icon, 7 targets in 4.18–4.19 and not in 4.17.kindtakes 0 targeting, 1 name, 2 range, 3 maxRange, 4 shownRange, 5 icon, 6 offsetTargets in 4.17 and not in 4.18–4.19.targetingis present when kind = 0 in 4.17, and present when kind = 1 in 4.18–4.19.nameis present when kind = 1 in 4.17, and present when kind = 2 in 4.18–4.19.rangeis present when kind = 2 in 4.17, and present when kind = 3 in 4.18–4.19.maxRangeis present when kind = 3 in 4.17, and present when kind = 4 in 4.18–4.19.shownRangeis present when kind = 4 in 4.17, and present when kind = 5 in 4.18–4.19.iconis present when kind = 5 in 4.17, and present when kind = 6 in 4.18–4.19.targetCountis present when kind = 6 in 4.17, and present when kind = 7 in 4.18–4.19.targetsis present when kind = 6 in 4.17, and present when kind = 7 in 4.18–4.19.whichis in 4.17 and not in 4.18–4.19.
SpellToggledstateis u8 in 4.17 and 1-byte bits in 4.18–4.19.statehasonat bit 0 in 4.18–4.19, and not in 4.17.statehasunusedat bit 1 in 4.18–4.19, and not in 4.17.
StopAttackhownames bit 1forceCastin 4.17 andfinishSwingin 4.18–4.19.hownames bit 2forceStopin 4.17 andforcedin 4.18–4.19.
StreamChunk(vectors: startup-on-4-18)durationis u32 in 4.17 and i32 in 4.18–4.19.
SurrenderStatusreasonis u8 in 4.17 and u32 in 4.18–4.19.sideis u32 in 4.17 and u16 in 4.18–4.19.
TeamScoresideis i32 in 4.17 and u32 in 4.18–4.19.
ThemeMusic(vectors: one-on-4-18)secondTrackis in 4.18–4.19 (u32), aftertrack, and not in 4.17.
TipEventwhattakes 0 clicked, 1 closed in 4.17 and not in 4.18–4.19.
UnitDieddeathis in 4.18–4.19 (Death) at the start, and not in 4.17.killeris in 4.17 and not in 4.18–4.19.damageTypeis in 4.17 and not in 4.18–4.19.damageSourceis in 4.17 and not in 4.18–4.19.stayDownis in 4.17 and not in 4.18–4.19.howis in 4.17 and not in 4.18–4.19.kindis in 4.17 and not in 4.18–4.19.
UnitTextstyleis u8 in 4.17 and u32 in 4.18–4.19.
VersionSync(vectors: one-on-4-18)agreementnames bit 1reportsToFilein 4.17 andlogMetricsin 4.18–4.19.tipFlagsis 1-byte bits in 4.17 and i8 in 4.18–4.19.tipFlagshasenabledat bit 0 in 4.17, and not in 4.18–4.19.tipFlagshasreplayat bit 1 in 4.17, and not in 4.18–4.19.tipFlagshasloadingScreenat bit 2 in 4.17, and not in 4.18–4.19.tipFlagshasinGameat bit 3 in 4.17, and not in 4.18–4.19.tipFlagshascycleat bit 4 in 4.17, and not in 4.18–4.19.tipFlagshasunusedat bit 5 in 4.17, and not in 4.18–4.19.featuresis 8-byte bits in 4.17 and u64 in 4.18–4.19.featureshasbalanceVoteCommandsat bit 0 in 4.17, and not in 4.18–4.19.featureshasmenuBackat bit 1 in 4.17, and not in 4.18–4.19.featureshasmenuBack2at bit 2 in 4.17, and not in 4.18–4.19.featureshasquickChatat bit 3 in 4.17, and not in 4.18–4.19.featureshasmissileWarningat bit 4 in 4.17, and not in 4.18–4.19.featureshasanimatedCursorsat bit 5 in 4.17, and not in 4.18–4.19.featureshasshopUndoat bit 6 in 4.17, and not in 4.18–4.19.featureshasbit7at bit 7 in 4.17, and not in 4.18–4.19.featureshasskillshotOutlineat bit 8 in 4.17, and not in 4.18–4.19.featureshaschampionIndicatorat bit 9 in 4.17, and not in 4.18–4.19.featureshasaltBountyat bit 10 in 4.17, and not in 4.18–4.19.featureshasbit11at bit 11 in 4.17, and not in 4.18–4.19.featureshasturretRangeat bit 12 in 4.17, and not in 4.18–4.19.featureshasbit13at bit 13 in 4.17, and not in 4.18–4.19.featureshasskinParticlesat bit 14 in 4.17, and not in 4.18–4.19.featureshasnetworkMetricsat bit 15 in 4.17, and not in 4.18–4.19.featureshashardwareMetricsat bit 16 in 4.17, and not in 4.18–4.19.featureshaslagMetricsat bit 17 in 4.17, and not in 4.18–4.19.featureshaseventReportsat bit 18 in 4.17, and not in 4.18–4.19.featureshaslogServerAddressat bit 19 in 4.17, and not in 4.18–4.19.featureshasjungleTimersat bit 20 in 4.17, and not in 4.18–4.19.featureshastracerouteat bit 21 in 4.17, and not in 4.18–4.19.featureshasbit22at bit 22 in 4.17, and not in 4.18–4.19.featureshasbit23at bit 23 in 4.17, and not in 4.18–4.19.featureshasbit24at bit 24 in 4.17, and not in 4.18–4.19.featureshasclockSyncat bit 25 in 4.17, and not in 4.18–4.19.featureshasbit26at bit 26 in 4.17, and not in 4.18–4.19.featureshasfarmBountyat bit 27 in 4.17, and not in 4.18–4.19.featureshasturretsPersistat bit 28 in 4.17, and not in 4.18–4.19.featureshasstateFlagsat bit 29 in 4.17, and not in 4.18–4.19.featureshasunusedat bit 30 in 4.17, and not in 4.18–4.19.featureshasunusedHighat bit 32 in 4.17, and not in 4.18–4.19.
VoiceCommandpadding1is in 4.17 and not in 4.18–4.19.padding2is in 4.17 and not in 4.18–4.19.padding3is in 4.17 and not in 4.18–4.19.padding4is in 4.17 and not in 4.18–4.19.
VoiceOverride(vectors: one-on-4-18)- Its layout changes in a detail.
VolumeMuted(vectors: music-on-4-18)categorytakes 7 pings in 4.18–4.19 and not in 4.17.
Structs
Deathis in 4.18–4.19 and not in 4.17.StreamRecordis in 4.17 and not in 4.18–4.19.Strikeis in 4.18–4.19 and not in 4.17.
Chapters
- In the objects chapter, a passage holds for 4.17 and not 4.18–4.19: The stage of
SoftReconnectthat marks is 0. - In the objects chapter, a passage holds for 4.18–4.19 and not 4.17: The stage of
SoftReconnectthat marks is 1. - In the space chapter, a passage holds for 4.18–4.19 and not 4.17: A client also has data for map 11, a second Summoner’s Rift, whose paths have their origin at 7358, 7412.
- In the time chapter, a passage holds for 4.17 and not 4.18–4.19: The time between two of a stream’s records (
StreamRecord) is in milliseconds. - In the time chapter, a passage holds for 4.18–4.19 and not 4.17:
MapPropChangedgives when its change begins in milliseconds of match time. - In the data chapter, a passage holds for 4.17 and not 4.18–4.19: The client has maps 1, 8, 10 and 12, and no map 11.
- In the data chapter, a passage holds for 4.18–4.19 and not 4.17: The client has maps 1, 8, 10, 11 and 12.
- In the match chapter, a passage holds for 4.17 and not 4.18–4.19: A client names no one in
PauseorResume. - In the match chapter, a passage holds for 4.18–4.19 and not 4.17: A client puts 0 in the client id of
PauseandResume, the same id as the first seat’s, so a server takes no seat from that field. - In the match chapter, a passage holds for 4.17 and not 4.18–4.19: The action of
BotKickthat means leave is 4. - In the match chapter, a passage holds for 4.18–4.19 and not 4.17: The action of
BotKickthat means leave is 5. - In the spectating chapter, a passage holds for 4.17 and not 4.18–4.19: Each record is a
StreamRecord, written against the one before it to save space.
Only notes
These read the same on the wire, and only their notes change. What each says in 4.18–4.19:
BalanceVoteAnswer,vote.unused: “Unused; a client may leave any value here, and a server ignores it.”, where 4.17 has “Unused; a client writes zero.”BalanceVoteRefused,flags: “A vote against: the lowest bit is clear. The other bits carry no meaning, and a server ignores them.”, where 4.17 has “Zero: a vote against.”CameraLock, its layout: no note, where 4.17 has “A client sends it whenever its lock changes: by the player, or as the game forces a lock or lifts one. It sends none while playing a replay.”CameraLock,state.unused: “Unused; a client may leave any value here, and a server ignores it.”, where 4.17 has “Unused; a client writes zero.”ChampionStats,values: “The figures themselves, one after another with nothing between. Which they are comes from the client’s own data for the match’s mode. In a classic match there are 76, in this order: assists, inhibitors destroyed, champion kills, consumables bought, double kills, experience (f32), own inhibitors lost, own nexus lost, own turrets lost, gold earned (f32), gold spent (f32), nexus destroyed, player id, the items in slots 0 to 6, items bought, killing sprees, largest critical strike (f32), largest killing spree, largest multikill, level, longest time alive (f32), magic damage dealt (f32), magic damage to champions (f32), magic damage taken (f32), minions killed, name (text), neutral monsters killed, monsters killed in the enemy’s jungle, monsters killed in the side’s own jungle, never entered the game, deaths, penta kills, physical damage dealt, to champions and taken (f32 each), ping, quadra kills, sight wards bought, skin, casts of spells 1 to 4, casts of summoner spells 1 and 2, epic monsters killed, side, a teammate never entered the game, time since the last disconnection (f32), time played (f32), time disconnected (f32), total damage dealt, to champions and taken (f32 each), total healing, crowd control dealt (f32), time dead (f32), units healed, triple kills, true damage dealt, to champions and taken (f32 each), turrets destroyed, unreal kills, vision wards bought, wards destroyed, wards placed, away from the keyboard, away after a failed surrender, and win (text). Every one not marked otherwise is an i32; a text is a 16-bit length and that many bytes, at most 63, with nothing to end it. ARAM, First Blood and One for All leave out the two jungle counts. The tutorial also leaves out never entered the game, sight wards bought, a teammate never entered the game, crowd control dealt, the three true damage figures, vision wards bought, wards destroyed, wards placed and away after a failed surrender. Dominion and Ascension have 75, in this order: assists, champion kills, combat score (f32), consumables bought, double kills, experience (f32), gold earned (f32), gold spent (f32), player id, the items in slots 0 to 6, items bought, killing sprees, largest critical strike (f32), largest killing spree, largest multikill, level, longest time alive (f32), magic damage dealt, to champions and taken (f32 each), minions killed, name (text), neutral monsters killed, never entered the game, node captures, node capture assists, node neutralizations, node neutralization assists, deaths, objective score (f32), penta kills, physical damage dealt, to champions and taken (f32 each), ping, quadra kills, sight wards bought, skin, casts of spells 1 to 4, casts of summoner spells 1 and 2, side, a teammate never entered the game, team objective, time since the last disconnection (f32), time played (f32), time disconnected (f32), total damage dealt, to champions and taken (f32 each), total healing, total score (f32), total score rank, crowd control dealt (f32), time dead (f32), units healed, triple kills, true damage dealt, to champions and taken (f32 each), unreal kills, victory points (f32), vision wards bought, away from the keyboard, away after a failed surrender, and win (text).”, where 4.17 has “One value per tally of the match’s mode, the tallies in ascending byte order of their names. An int takes 4 bytes, a float 4, a bool 1, a 64-bit int 8, and text a 16-bit length below 255 then that many bytes. Bytes left over have no effect. A nonzero count of champion kills marks first blood taken.”Chat,textLength: “The length of the text, counted in bytes and excluding the byte that ends it.”, where 4.17 has “The length of the text, counted in bytes and excluding the byte that ends it. A 4.17 client sends at most 255 bytes of text. A client shows the text to its first zero byte.”ClientReady, its layout: no note, where 4.17 has “The tip fields carry VersionSync’s tip bytes, each one outside its valid range negated (0 as -128), and tips cleared where any is. Playing a replay, a client sends all four as zero. The three module fields are always zero.”ClientReady,tipDuration: “How long it stays.”, where 4.17 has “How long it stays, as an entry among the display times in the client’s own settings rather than a length of time.”ClientReady,settings.unused: “Unused; a client may leave any value here, and a server ignores it.”, where 4.17 has “A client returns them as the server sent them.”EffectRemoved,timeLeft: “How long the effect had left to run when it was taken off, in seconds. An effect that ran out carries a value at or near zero, which can fall just below it.”, where 4.17 has “How long the effect had left to run when it was taken off, in seconds.”EmotePlayed,emote: “Which emote, by the number the client knows it as.”, where 4.17 has “Which emote, by the number the client knows it as. A client plays an animation on the champion for 0, 1 and 2, a different one each, and none for 3.”Exit, its layout: “The header names no object: it carries zero.”, where 4.17 has “A client sends it only as it quits by abandoning the match; a match that reaches its end sends none. The header names no object: it carries zero.”GameOptions,options.unused: “Unused; a client writes zero.”, where 4.17 has “Always clear: a client writes the whole byte as 0 or 1.”GreyscaleWhenDead,state.enabled: “Set where the world is drawn without colour.”, where 4.17 has “Set where the world is drawn without colour. Clear, it does not stop a client drawing the world without colour while its champion is down.”MissileState, its layout: “The header names the unit casting, as the casting inside does.”, where 4.17 has “Where the end lies on walkable ground, a client takes the ground’s height there for endY. Where age is not zero, it moves the missile’s trail on by age seconds. The header names the unit casting, as the casting inside does.”MissileState,how.bounced: “Set where the missile has already turned off something it struck.”, where 4.17 has “Set where the missile has bounced. It applies only where age is above zero: a client then moves the missile to its position and places it again from the caster’s position, the end and the facing.”PlayEmote,emote: “Which emote, by the number the client knows it as.”, where 4.17 has “Which emote, by the number the client knows it as. Its four emote keys send 3, 1, 0 and 2, the numbers EmotePlayed plays.”Register,version: “The build the client runs, with each part written out and run together, so 4.20.0.315 arrives as 42000315. A client always carries it, and the answer a server carries back repeats the same number.”, where 4.17 has “The build the client runs, with each part written out and run together, so 4.17.0.233 arrives as 41700233 and 4.17.0.267 as 41700267. A client always carries it, and the answer a server carries back repeats the same number.”Register,proof: “The player identifier and nothing else, enciphered under the key both ends already hold. Deciphering it and finding the identifier beside it is what shows the sender holds the key. A client enciphers the player identifier the request carries.”, where 4.17 has “The player id enciphered with the 16-byte key; a plain copy where the client has no key.”Registered,leading: “Unused; a server writes zero. It occupies the same three bytes a request uses.”, where 4.17 has “Unused; a server writes zero.”Registered,clientId: “The client id the named player holds, counted from zero. A watching client takes the champion of the player holding this client id as its own, so a server answers one with a client id no player in the streamed match holds (see Watching a match).”, where 4.17 has “The client id playerId holds. Where playerId is the client’s own, the client takes this client id as its own and goes on. A watching client takes the champion of the player holding this client id as its own, so a server answers one with a client id no player in the streamed match holds (see Watching a match).”Resume, its layout: no note, where 4.17 has “A client writes only delayed in how; the rest of the byte carries whatever it held there.”Resume,clientId: “A client writes zero; a server ignores it.”, where 4.17 has “A client writes 4294967295, the client id of no client.”Resume,how: “A client clears its lowest bit; the others vary from send to send, and a server ignores them.”, where 4.17 has noneResume,how.delayed: “Set where the match is to start again after a countdown rather than at once.”, where 4.17 has “A client sends it clear.”Resume,how.unused: “Unused; a client may leave any value here, and a server ignores it.”, where 4.17 has “A client leaves these bits unwritten; they carry no meaning, and a server ignores them.”Resumed, its layout: no note, where 4.17 has “The header has no effect. Resuming after the countdown, it keeps input locked and the pause panel open until a countdown of its own ends; resuming at once, it unlocks input and closes the panel.”Resumed,clientId: “The client id of the client that lifted the hold.”, where 4.17 has “The client id of the player who resumed the match, announced in chat in their side’s colour where their champion is known; 4294967295 announces no one.”SpellCastAnswer,syncId: “The movement sync id the cast was made against. Where it is the unit’s latest or newer, a client moves the caster to the cast’s launch point.”, where 4.17 has “It settles whether a client brings the caster’s position in line for this cast, and nothing else.”SpellCastAnswer,how.endCharge: “Set where it ends a charged cast; a client acts on it only while that spell is charging. Clear, a charged cast by the client’s own champion starts the charge display.”, where 4.17 has “Set where the cast ends a charge: a client drops the message unless the caster is charging that same spell. Clear lets a client charge a spell that charges, sending SpellCharge as it does.”StartGame, its layout: no note, where 4.17 has “A client past spawning ignores it.”SurrenderVote,how.inFavour: “Set where the answer is yes.”, where 4.17 has “Set where the answer is yes. A client sends it clear.”SurrenderVote,how.unused: “Unused; a client may leave any value here, and a server ignores it.”, where 4.17 has “Always clear.”SurrenderVoteCalled, its layout: no note, where 4.17 has “A client ignores it unless its menu and its own champion both exist.”SurrenderVoteCalled,how.countAsYes: “Set where the receiving seat is taken to have voted for.”, where 4.17 has “Applies only where side is the client’s own: set shows caller voting yes, clear voting no, opening the menu or not.”SurrenderVoteCalled,how.openTheMenu: “Set where the client shows the vote to the seat.”, where 4.17 has “Set where the vote opens: a client of side opens the vote’s panel from seats and closesIn, which have no other effect; every client is told a vote began, with caller, inFavour, against and side.”SwapItems,from: “The slot the item leaves, which a 4.20 client sends only from 0 to 5.”, where 4.17 has “The slot the item leaves, which a 4.17 client sends only from 0 to 9.”SwapItems,to: “The slot it goes to, never the one from names; a 4.20 client sends only 0 to 5.”, where 4.17 has “The slot it goes to, never the one from names; a 4.17 client sends only 0 to 9.”TipShown,heading: “What the note is headed with, written and padded as above. A server sends the label here and the value it labels in the run above.”, where 4.17 has “What the note is headed with, written and padded as above.”UpgradeSpell,how.evolve: “Set where the point changes the spell rather than raising it.”, where 4.17 has “Set where the player spends an evolution point on the slot rather than levelling it.”UpgradeSpell,how.unused: “Unused; a client may leave any value here, and a server ignores it.”, where 4.17 has “Always clear.”WaypointAck,relocationCount: “How many relocations follow. It counts every movement in the group that carried a token, whether or not the token moved anything.”, where 4.17 has “How many relocations follow.”
4.20
Client builds from 4.20.0.315 up to, not including, 4.21.0.0. Patch notes: V4.20.
| Build checked | Passed | Failed | Skipped | Commit | Date |
|---|---|---|---|---|---|
| 4.20.0.315 | 11 | 0 | 3 | 1bf6d51 | 2026-10-22 |
Other ranges of this book have these, and this one does not, so what the chapters say of them says nothing of it: MissileCourse, MissileReport, SpawnBot.
Every message of this range (278)
Against 4.18–4.19
Where a build from 4.20.0.315 up to, not including, 4.21.0.0 differs from one from 4.18.0.271 up to, not including, 4.20.0.315. Anything not named here is the same in both.
Transport
- The packet header differ: see protocol.json.
In 4.20, not in 4.18–4.19
| Message | Sent by | Command | What it does |
|---|---|---|---|
AnimationUnlocked | server | 303 on events | Let a unit’s locked animation be replaced again |
DragonBuffCount | server | 300 on events | Say how many dragon buffs a side holds |
FloatingTextOnMap | server | 296 on events | Float text over a unit, to the clients that can see it |
InventorySnapshotOnMap | server | 295 on events | State a unit’s whole inventory at once, with each slot’s cooldown, to the clients that can see the unit |
SpellSlotChangedForOwner | server | 293 on events | What a server sends only to the client whose unit a spell slot belongs to, to change something about the spell in it, as SpellSlotChanged does for every client |
SpellTargeterHidden | server | 298 on events | Take a spell’s targeter away |
SpellTargeterShown | server | 297 on events | Show a spell’s targeter on the client’s own champion |
UnitDiedOnMap | server | 294 on events | Say a unit died, for what the client draws on its map rather than on the field |
ZoomReport | client | 125 on requests | What a client sends when it notices it has drawn its view further out than it allows itself |
In 4.18–4.19, not in 4.20
| Message | Sent by | Command it had |
|---|---|---|
SpawnBot | server | 207 on events |
Laid out differently
ChainTargets(vectors: one-on-4-20)countis i32 in 4.18–4.19 and u32 in 4.20.targetsis 32 × u32 in 4.18–4.19 and count in count × u32 in 4.20.
ClientEvent(vectors: altar-captured-on-4-20, altar-captured-watched-on-4-20, baron-killed-on-4-20, baron-killed-watched-on-4-20, baron-stolen-on-4-20, buff-on-4-20, consumable-bought-on-4-20, critical-strike-on-4-20, crowd-control-on-4-20, damage-dealt-on-4-20, damage-taken-on-4-20, death-assist-on-4-20, died-on-4-20, dragon-killed-on-4-20, dragon-killed-watched-on-4-20, dragon-stolen-on-4-20, gold-earned-on-4-20, gold-spent-on-4-20, heal-cast-on-4-20, heal-on-4-20, item-bought-on-4-20, item-callout-on-4-20, item-changed-on-4-20, item-removed-on-4-20, item-sold-on-4-20, item-substituted-on-4-20, item-undone-on-4-20, killing-spree-on-4-20, minion-killed-on-4-20, monster-killed-on-4-20, one-on-4-20, removed-on-4-20, spawned-on-4-20, spider-killed-on-4-20, spider-killed-watched-on-4-20, turret-damaged-on-4-20, turret-died-on-4-20, undo-changed-on-4-20)damage.byParentis in 4.20 (u8), afterdamage, and not in 4.18–4.19.heal.byParentis in 4.20 (u8), afterheal, and not in 4.18–4.19.effect.byParentis in 4.20 (u8), aftereffect, and not in 4.18–4.19.
DeathHistory(vectors: one-on-4-20)entries[].damage.byParentis in 4.20 (u8), afterentries[].damage, and not in 4.18–4.19.entries[].heal.byParentis in 4.20 (u8), afterentries[].heal, and not in 4.18–4.19.entries[].effect.byParentis in 4.20 (u8), afterentries[].effect, and not in 4.18–4.19.
HealthBar(vectors: one-on-4-20)barTypeis present when flags.changeType set in 4.18–4.19, and always present in 4.20.
RegionAdded(vectors: another-on-4-20, one-on-4-20)kindtakes 0 circle in 4.18–4.19 and not in 4.20.objectis in 4.20 (u32), afterkind, and not in 4.18–4.19.doesis 4-byte bits in 4.18–4.19 and 1-byte bits in 4.20.does.unusedis at bit 3, 29 bits wide, in 4.18–4.19 and at bit 3, 5 bits wide, in 4.20.clientIdis in 4.18–4.19 and not in 4.20.otherUnitis in 4.18–4.19 and not in 4.20.
SpawnPet(vectors: one-on-4-20)flagshasstartFadedat bit 3 in 4.20, and not in 4.18–4.19.flags.unusedis at bit 3, 5 bits wide, in 4.18–4.19 and at bit 4, 4 bits wide, in 4.20.
VersionSync(vectors: one-on-4-20)reportingMessagesis 19 × u8 in 4.18–4.19 and 18 × u8 in 4.20.
WorldEvent(vectors: a-third-on-4-20, altar-captured-on-4-20, altar-captured-watched-on-4-20, another-on-4-20, baron-killed-on-4-20, baron-killed-watched-on-4-20, baron-stolen-on-4-20, buff-on-4-20, consumable-bought-on-4-20, critical-strike-on-4-20, crowd-control-on-4-20, damage-dealt-on-4-20, damage-taken-on-4-20, death-assist-on-4-20, died-on-4-20, dragon-killed-on-4-20, dragon-killed-watched-on-4-20, dragon-stolen-on-4-20, gold-earned-on-4-20, gold-spent-on-4-20, heal-cast-on-4-20, heal-on-4-20, inhibitor-died-on-4-20, item-bought-on-4-20, item-callout-on-4-20, item-changed-on-4-20, item-removed-on-4-20, item-sold-on-4-20, item-substituted-on-4-20, item-undone-on-4-20, killing-spree-on-4-20, minion-killed-on-4-20, monster-killed-on-4-20, one-on-4-20, removed-on-4-20, spawned-on-4-20, spider-killed-on-4-20, spider-killed-watched-on-4-20, start-notice-three-on-4-20, start-notice-two-on-4-20, turret-damaged-on-4-20, turret-died-on-4-20, undo-changed-on-4-20, welcome-on-4-20)damage.byParentis in 4.20 (u8), afterdamage, and not in 4.18–4.19.heal.byParentis in 4.20 (u8), afterheal, and not in 4.18–4.19.effect.byParentis in 4.20 (u8), aftereffect, and not in 4.18–4.19.
Chapters
- In the messages chapter, a passage holds for 4.18–4.19 and not 4.20: A client given the quick chat bit fails while loading.
- In the objects chapter, a passage holds for 4.18–4.19 and not 4.20:
RegionRemovedfor a region a client does not hold does nothing. - In the objects chapter, a passage holds for 4.18–4.19 and not 4.20: How each kind leaves a client’s world: | Kind | Removed | Its death | | –––––––––– | ———————————————————————————————————————————————————————————–– | ———————————————————————– | | Champion | by
ChampionRemoved, at once | kills it; it is held, and comes back | | Minion, monster, pet | by the client, once it has been dead for its death time, 4 seconds unless its character says otherwise; a newSpawnPetfor an owner removes that owner’s pet before it | starts that wait; a death naming no killer does nothing | | Turret | by the client, 1.2 seconds after its death, or after the time itsSpawnTurretgives; a lane turret is held whereVersionSync’s features keep destroyed turrets (turretsPersist) | kills it | | Inhibitor, nexus | never |BuildingDiedplays its death; it is held, and an inhibitor comes back | | Missile | byDestroyMissile, by its flight ending, or once its caster is removed | | | Particle | byKillParticle, naming it in its body, or once its effect ends | | | Follower | once the unit it follows is removed | | | Marker | only by a soft reconnect | | | Region | byRegionRemoved, once its lifetime runs out (a lifetime of 0 never does), or once the unit it follows is removed | | - In the objects chapter, a passage holds for 4.18–4.19 and not 4.20: A client fails on a
RegionMovednaming a region it does not hold, one whose lifetime has run out included, and a server MUST NOT send one. - In the time chapter, a passage holds for 4.18–4.19 and not 4.20: A client takes the round trip
ClockConvergencereports into its allowance for lateness. - In the time chapter, a passage holds for 4.18–4.19 and not 4.20: A client’s match clock does not run until the first
ClockSyncarrives, which sets it. - In the time chapter, a passage holds for 4.18–4.19 and not 4.20: ## The game clock A client also runs a game clock of its own, whose pace
GameSpeedsets, from 0 to 10 times normal, and whichClockSyncdoes not set. - In the data chapter, a passage holds for 4.18–4.19 and not 4.20: The client has maps 1, 8, 10, 11 and 12.
- In the data chapter, a passage holds for 4.18–4.19 and not 4.20: Each object’s file is
.scoas text or.SCBas binary, and gives its name on itsName=line. - In the data chapter, a passage holds for 4.18–4.19 and not 4.20:
CreateTurretnames a building by its name with_Aafter it. - In the data chapter, a passage holds for 4.18–4.19 and not 4.20: A
CreateTurretnaming no building does nothing. - In the data chapter, a passage holds for 4.18–4.19 and not 4.20: A name’s opening says what the object is:
Turreta turret,BarrackswithoutSpawnan inhibitor,HQ_a nexus. - In the data chapter, a passage holds for 4.18–4.19 and not 4.20: A champion begins at its side’s spawn point moved by an offset from
DATA/Characters/HeroSpawnOffsets.inibin, read from the sectionOrder<n>orChaos<n>under the keysPos<i>andFacing<i>, where i is one more thanCreateChampion’s spawn index. - In the data chapter, a passage holds for 4.18–4.19 and not 4.20: In the section’s name, n is how many players and bots the side has.
- In the data chapter, a passage holds for 4.18–4.19 and not 4.20:
LEVELS/Map1/Scene/MapObjects.mobholds the objects that are not buildings: each side’s spawn point, the minion spawners, navigation points, the marker of the level’s size and the props. - In the data chapter, a passage holds for 4.18–4.19 and not 4.20: The grid’s name is the one the mode’s navigation setting gives.
- In the data chapter, a passage holds for 4.18–4.19 and not 4.20: Map 1 adds
LEVELS/Map1/Items.inibinto the items, and figures for a whole mode are inDATA/Globals/, such asCLASSIC_Stats.inibinandHealthGain.inibin. - In the data chapter, a passage holds for 4.18–4.19 and not 4.20: A champion’s spells and attacks are in
DATA/Characters/<Champion>/Spells/<Spell>.inibin. - In the joining chapter, a passage holds for 4.18–4.19 and not 4.20: The first answer for a client id stands, and a later one for the same client id changes nothing.
- In the joining chapter, a passage holds for 4.18–4.19 and not 4.20: A client uses which client id stands for which player for names, sides and loading cards.
- In the joining chapter, a passage holds for 4.18–4.19 and not 4.20: A client loads only where
VersionSyncsetsagreement.buildMatches. - In the joining chapter, a passage holds for 4.18–4.19 and not 4.20: A client never compares the two otherwise: the message’s build text appears only in that notice.
- In the joining chapter, a passage holds for 4.18–4.19 and not 4.20: Every seat a player holds needs its place in
Roster, itsSeatNameand itsSeatChampion; a client shows a seat it lacks them for as an empty card. - In the joining chapter, a passage holds for 4.18–4.19 and not 4.20: ## The loading screen What a client draws while it loads comes from what it has been sent by then (see the spawn run below for what it takes before
CharacterSelected). - In the joining chapter, a passage holds for 4.18–4.19 and not 4.20: Each
SeatLoadProgressupdates the card of the seat it names, and a client draws its own card only as a server returns its own reports. - In the joining chapter, a passage holds for 4.18–4.19 and not 4.20: Between
ClientReadyandStartGamea client keeps its loading screen up with its own progress full, and sendsLoadingProgressagain about every half a second. - In the units chapter, a passage holds for 4.18–4.19 and not 4.20: A client drops a
CreateChampionor aCreateNeutralthat arrives before it sendsCharacterSelected, reconnecting included. - In the vision chapter, a passage holds for 4.18–4.19 and not 4.20: A client makes only circular regions.
- In the vision chapter, a passage holds for 4.18–4.19 and not 4.20: A client’s regions see over walls or not as the region says.
- In the vision chapter, a passage holds for 4.18–4.19 and not 4.20: A client draws its fog of war, or the map with no darkening, as
FogSetandFogToggledsay. - In the vision chapter, a passage holds for 4.18–4.19 and not 4.20:
UnitDiedOnMap,InventorySnapshotOnMap,FloatingTextOnMapandSpellSlotChangedForOwnerdo not exist, so a server sends both audiences ofUnitDied,InventorySnapshot,FloatingTextandSpellSlotChangedunder the one command each. - In the vision chapter, a passage holds for 4.20 and not 4.18–4.19: Some messages exist in more than one form, each for its own audience, laid out alike: | For every client | For the clients that can see the unit | For the unit’s own client | | —————–– | ———————————–– | ––––––––––––– | |
UnitDied|UnitDiedOnMap| | |InventorySnapshot|InventorySnapshotOnMap| | |FloatingText|FloatingTextOnMap| | |SpellSlotChanged| |SpellSlotChangedForOwner| A server sends the narrower audience as a message of its own, and sends the wider form only where every client is to know. - In the movement chapter, a passage holds for 4.18–4.19 and not 4.20: Where its player has movement prediction on, a client starts its champion toward the point it asked for, and puts it back where it was if no path arrives within 2 seconds.
- In the match chapter, a passage holds for 4.18–4.19 and not 4.20: A client shows the speed
GameSpeedsets over its champion. - In the match chapter, a passage holds for 4.18–4.19 and not 4.20: Sent during a hold,
GameSpeedtakes effect as the match resumes. - In the match chapter, a passage holds for 4.18–4.19 and not 4.20: A client puts 0 in the client id of
PauseandResume, the same id as the first seat’s, so a server takes no seat from that field. - In the match chapter, a passage holds for 4.18–4.19 and not 4.20: A client begins a hold only where the time
Pausedcarries is above zero and the match is not already held. - In the match chapter, a passage holds for 4.18–4.19 and not 4.20: A client shows a tournament’s hold, crediting the seat that asked, where the message says it is one.
- In the match chapter, a passage holds for 4.18–4.19 and not 4.20: A client that receives
GameEndedwhile still loading leaves at once. - In the match chapter, a passage holds for 4.18–4.19 and not 4.20: A client shows a notice in chat for
PlayerDisconnected. - In the match chapter, a passage holds for 4.18–4.19 and not 4.20:
Reconnectedannounces that another player came back. - In the match chapter, a passage holds for 4.18–4.19 and not 4.20: A client’s view report,
Camera, goes out as its view moves at least 200 units, at most every tenth of a second, and never while its view is locked. - In the match chapter, a passage holds for 4.18–4.19 and not 4.20: Before loading is done, a client waits 60 seconds for an acknowledgement rather than 15.
- In the match chapter, a passage holds for 4.18–4.19 and not 4.20: In play a client sends nothing on its own to show it is still there: what it sends answers what it is sent (
ClockReply,TransientAck,WaypointAck) or follows from its player, andCameragoes out only as its view moves. - In the combat chapter, a passage holds for 4.18–4.19 and not 4.20: After
StopAttack, a client clears the unit’s attack whatever the message’s flags ask besides. - In the combat chapter, a passage holds for 4.18–4.19 and not 4.20: How long a swing takes comes from the champion’s data and its attack speed.
- In the combat chapter, a passage holds for 4.18–4.19 and not 4.20:
Damageshows a figure for the results that carry one, normal and critical; zero is the result that shows the unit as invulnerable, not a plain hit. - In the combat chapter, a passage holds for 4.18–4.19 and not 4.20: A client never walks its champion into range by itself: a server sends the
WaypointGroupthat takes it there. - In the combat chapter, a passage holds for 4.18–4.19 and not 4.20: Each
Attackplays one swing, cutting off any swing still under way. - In the combat chapter, a passage holds for 4.18–4.19 and not 4.20: A melee swing carries a missile id of zero.
- In the combat chapter, a passage holds for 4.18–4.19 and not 4.20: A client shows nothing at all for
Damageunless it holds both the unit hurt and the unit dealing it. - In the combat chapter, a passage holds for 4.18–4.19 and not 4.20: A client ignores
UnitDiedorChampionDiednaming a unit already dead, and puts a unit down only where a killer is named. - In the combat chapter, a passage holds for 4.18–4.19 and not 4.20: A client ignores
ChampionDiedthat credits no killer. - In the combat chapter, a passage holds for 4.20 and not 4.18–4.19: A server also reports a death for what a client draws on its map with
UnitDiedOnMap. - In the spells chapter, a passage holds for 4.18–4.19 and not 4.20: A client casts nothing for a casting record whose length disagrees with its count of targets.
- In the spells chapter, a passage holds for 4.18–4.19 and not 4.20: The casting record names the spell by the hash of its name, and a client casts nothing for a spell it has not loaded.
- In the spells chapter, a passage holds for 4.18–4.19 and not 4.20:
SpellCastAnsweris both the answer to the client that asked and what every client sees of the cast; there is nothing else to send it. - In the spells chapter, a passage holds for 4.18–4.19 and not 4.20: A client spends the point as it sends
UpgradeSpell. - In the spells chapter, a passage holds for 4.18–4.19 and not 4.20: A client asks only where the champion has a point to spend, is of the level the slot requires, and the spell is below its highest level.
- In the shop chapter, a passage holds for 4.18–4.19 and not 4.20:
ItemAddedplaces the item and removes nothing: a server sends aRemoveItemAnswerfor each part an item built from others takes up. - In the shop chapter, a passage holds for 4.18–4.19 and not 4.20: A purchase a server never answers still plays the sound of buying.
- In the shop chapter, a passage holds for 4.18–4.19 and not 4.20: A purchase a server never answers still lists the item among recent purchases.
- In the objectives chapter, a passage holds for 4.18–4.19 and not 4.20: Everything a client shows of a capture point (who holds it, where it stands, how far it is taken) comes from the unit
CapturePointChangedbinds it to, so a server hands a point over by changing the unit’s side and moves it toward capture by changing the unit’s resource. - In the objectives chapter, a passage holds for 4.18–4.19 and not 4.20: A client acts on
RespawnPointonly where it shows the capture point panel. - In the communication chapter, a passage holds for 4.18–4.19 and not 4.20: A client shows how many lines
ChatAllowanceleaves its player. - In the communication chapter, a passage holds for 4.18–4.19 and not 4.20: A client shows no ping its server marks as throttled, and notes in its own chat that the player is pinging too often.
- In the votes chapter, a passage holds for 4.18–4.19 and not 4.20: A client ignores
SurrenderVoteCalledthat arrives before its own champion is on the field. - In the votes chapter, a passage holds for 4.18–4.19 and not 4.20: Where the version answer’s features turn the commands on, a client also sends
BalanceVoteRefused, a vote against, as its player types/noequalize. - In the interface chapter, a passage holds for 4.20 and not 4.18–4.19: A client reports a view drawn further out than it allows with
ZoomReport; a server MAY ignore it.
Index of messages
| Message | Sent by | System | Ranges |
|---|---|---|---|
AfkWarning | server | interface | 4.1–4.20 |
AnimationAdvanced | server | effects | 4.1–4.20 |
AnimationOverrides | server | effects | 4.1–4.20 |
AnimationUnlocked | server | effects | 4.20 |
AppearanceCleared | server | effects | 4.1–4.20 |
AppearancePopped | server | effects | 4.1–4.20 |
AppearancePushed | server | effects | 4.1–4.20 |
AscendedUnit | server | objectives | 4.15–4.20 |
Attack | server | combat | 4.1–4.20 |
AttackFrom | server | combat | 4.1–4.20 |
AttackIndicators | server | combat | 4.1–4.20 |
AttackSpeedBounds | server | combat | 4.4–4.20 |
Autocast | server | spells | 4.1–4.20 |
BalanceResult | server | votes | 4.1–4.20 |
BalanceVote | server | votes | 4.1–4.20 |
BalanceVoteAnswer | client | votes | 4.1–4.20 |
BalanceVoteRefused | client | votes | 4.1–4.20 |
BotDebug | server | units | 4.1–4.20 |
BotKick | server | match | 4.1–4.20 |
BotState | server | units | 4.1–4.20 |
BotTargets | server | units | 4.1–4.20 |
BounceMissile | server | spells | 4.1–4.20 |
BuildingDied | server | combat | 4.1–4.20 |
BuyItem | client | shop | 4.1–4.20 |
Camera | client | interface | 4.1–4.20 |
CameraAck | server | interface | 4.1–4.20 |
CameraBehaviour | server | interface | 4.1–4.20 |
CameraLock | client | interface | 4.1–4.20 |
CameraLockSet | server | interface | 4.1–4.20 |
CampCleared | server | objectives | 4.1–4.20 |
CampMarker | server | objectives | 4.9–4.20 |
CampOpened | server | objectives | 4.1–4.20 |
CampTimer | server | objectives | 4.1–4.20 |
CancelTargeting | server | spells | 4.1–4.20 |
CapturePointChanged | server | objectives | 4.1–4.20 |
CastSpell | client | spells | 4.1–4.20 |
ChainTargets | server | spells | 4.1–4.20 |
ChampionDied | server | combat | 4.1–4.20 |
ChampionRemoved | server | units | 4.1–4.20 |
ChampionStats | server | replication | 4.1–4.20 |
CharacterPreload | server | units | 4.6–4.20 |
CharacterSelected | client | joining | 4.1–4.20 |
Chat | both | communication | 4.1–4.20 |
ChatAllowance | server | communication | 4.1–4.20 |
ClientEvent | server | objectives | 4.1–4.20 |
ClientFinished | client | match | 4.1–4.20 |
ClientReady | client | joining | 4.1–4.20 |
ClientVersion | client | joining | 4.1–4.20 |
ClockConvergence | server | match | 4.1–4.20 |
ClockReply | client | match | 4.1–4.20 |
ClockSync | server | match | 4.1–4.20 |
CloseShop | server | shop | 4.1–4.20 |
ContextEmote | server | communication | 4.1–4.20 |
CreateChampion | server | units | 4.1–4.20 |
CreateFollower | server | units | 4.1–4.20 |
CreateNeutral | server | units | 4.1–4.20 |
CreateTurret | server | units | 4.1–4.20 |
CursorRings | server | spells | 4.1–4.20 |
Damage | server | combat | 4.1–4.20 |
DeathHistory | server | combat | 4.1–4.20 |
DeathTimer | server | combat | 4.1–4.20 |
DestroyMissile | server | spells | 4.1–4.20 |
DragonBuffCount | server | objectives | 4.20 |
DrawPath | client | movement | 4.1–4.20 |
DrawPathMode | server | movement | 4.1–4.20 |
EffectAdded | server | effects | 4.1–4.20 |
EffectAddedGroup | server | effects | 4.1–4.20 |
EffectCount | server | effects | 4.1–4.20 |
EffectCounter | server | effects | 4.1–4.20 |
EffectCountGroup | server | effects | 4.1–4.20 |
EffectRemoved | server | effects | 4.1–4.20 |
EffectRemovedGroup | server | effects | 4.1–4.20 |
EffectReplaced | server | effects | 4.1–4.20 |
EffectReplacedGroup | server | effects | 4.1–4.20 |
EmitterPause | server | effects | 4.1–4.20 |
EmotePlayed | server | communication | 4.1–4.20 |
Empty | server | match | 4.1–4.20 |
EnterLocalSight | server | vision | 4.1–4.20 |
EnterSight | server | vision | 4.1–4.20 |
EnterTeamSight | server | vision | 4.1–4.20 |
Exit | client | match | 4.1–4.20 |
ExperienceGained | server | replication | 4.1–4.20 |
FaceDirection | server | movement | 4.1–4.20 |
FacePosition | client | movement | 4.1–4.8 |
FadeMinions | server | effects | 4.1–4.20 |
FadeRemoved | server | effects | 4.1–4.20 |
FadeSounds | server | communication | 4.1–4.20 |
FadeTo | server | effects | 4.1–4.20 |
FloatingText | server | interface | 4.1–4.20 |
FloatingTextOnMap | server | interface | 4.20 |
FogSet | server | vision | 4.1–4.20 |
FogToggled | server | vision | 4.1–4.20 |
FollowerMaster | server | units | 4.1–4.20 |
ForceDeath | server | combat | 4.1–4.20 |
GameEnded | server | match | 4.1–4.20 |
GameOptions | client | joining | 4.1–4.20 |
GameSpeed | server | match | 4.1–4.20 |
GoldEarned | server | replication | 4.1–4.20 |
GoldGained | server | replication | 4.1–4.20 |
GoldRedirect | server | replication | 4.1–4.20 |
GoldSourcesLog | server | replication | 4.1–4.20 |
GreyscaleWhenDead | server | combat | 4.1–4.20 |
GroundAttackMode | server | combat | 4.1–4.20 |
HealthBar | server | replication | 4.1–4.20 |
HoverIndicator | server | combat | 4.1–4.20 |
HoverTarget | server | combat | 4.1–4.20 |
HudDisabled | server | interface | 4.1–4.20 |
HudHighlighted | server | guidance | 4.1–4.20 |
HudHighlightToggled | server | guidance | 4.1–4.20 |
InhibitorState | server | combat | 4.1–4.20 |
InputLock | server | interface | 4.1–4.20 |
InputLockToggled | server | interface | 4.1–4.20 |
InventorySlot | server | shop | 4.1–4.20 |
InventorySnapshot | server | shop | 4.1–4.20 |
InventorySnapshotOnMap | server | shop | 4.20 |
ItemAdded | server | shop | 4.1–4.20 |
ItemCharges | server | shop | 4.1–4.20 |
ItemSubstitution | server | shop | 4.1–4.20 |
ItemUsed | server | shop | 4.1–4.20 |
JoinSide | client | joining | 4.1–4.20 |
KillParticle | server | effects | 4.1–4.20 |
LeaveLocalSight | server | vision | 4.1–4.20 |
LeaveSight | server | vision | 4.1–4.20 |
LeaveTeamSight | server | vision | 4.1–4.20 |
LevelCap | server | replication | 4.1–4.20 |
LevelUp | server | replication | 4.1–4.20 |
LoadingProgress | client | joining | 4.1–4.20 |
Loadout | server | shop | 4.1–4.20 |
MapPing | client | communication | 4.1–4.20 |
MapProp | server | units | 4.1–4.20 |
MapPropChanged | server | units | 4.1–4.20 |
MarkerMoved | server | units | 4.1–4.20 |
MatchIdentity | server | joining | 4.1–4.20 |
MatchStarted | server | joining | 4.1–4.20 |
MinimapIcon | server | interface | 4.1–4.20 |
MinionKillCount | server | replication | 4.3–4.20 |
MissileCourse | server | spells | 4.1–4.10 |
MissileHits | server | spells | 4.1–4.20 |
MissileLaunched | server | spells | 4.1–4.20 |
MissileReport | client | spells | 4.1–4.9 |
MissileRetarget | server | spells | 4.1–4.20 |
MissileSpeed | server | spells | 4.1–4.20 |
MissileState | server | spells | 4.1–4.20 |
ModuleData | server | joining | 4.1–4.4 |
ModulePacket | client | joining | 4.1–4.4 |
MoveCamera | server | interface | 4.1–4.20 |
MovementBounds | server | movement | 4.1–4.20 |
MoveOrder | client | movement | 4.1–4.20 |
MultikillCount | server | replication | 4.1–4.20 |
MusicCue | server | communication | 4.1–4.20 |
NavigationFlags | server | movement | 4.1–4.20 |
NexusIdle | server | effects | 4.1–4.20 |
NexusSkin | server | effects | 4.1–4.20 |
ObjectiveHidden | server | guidance | 4.1–4.20 |
ObjectiveReplaced | server | guidance | 4.1–4.20 |
ObjectiveShown | server | guidance | 4.1–4.20 |
ParticleEnterTeamSight | server | vision | 4.1–4.20 |
ParticleLeaveTeamSight | server | vision | 4.1–4.20 |
ParticlesCreated | server | effects | 4.1–4.20 |
ParticleSource | server | effects | 4.1–4.20 |
Path | server | movement | 4.1–4.20 |
PathWithSpeed | server | movement | 4.1–4.20 |
Pause | client | match | 4.1–4.20 |
PauseAnimation | server | effects | 4.1–4.20 |
Paused | server | match | 4.1–4.20 |
PingPlaced | server | communication | 4.1–4.20 |
PlayAnimation | server | effects | 4.1–4.20 |
PlayEmote | client | communication | 4.1–4.20 |
PlayerDisconnected | server | match | 4.1–4.20 |
QueryStatus | client | joining | 4.1–4.20 |
QueryStatusAnswer | server | joining | 4.1–4.20 |
QuestEvent | client | guidance | 4.1–4.20 |
QuestUpdated | server | guidance | 4.1–4.20 |
Reconnected | server | match | 4.1–4.20 |
ReconnectedInMatch | client | match | 4.1–4.20 |
RegionAdded | server | vision | 4.1–4.20 |
RegionMoved | server | vision | 4.11–4.20 |
RegionRemoved | server | vision | 4.1–4.20 |
Register | client | joining | 4.1–4.20 |
Registered | server | joining | 4.1–4.20 |
RemoveItem | client | shop | 4.1–4.20 |
RemoveItemAnswer | server | shop | 4.1–4.20 |
Replication | server | replication | 4.1–4.20 |
ResourceDisplay | server | replication | 4.1–4.20 |
ResourceKindChanged | server | replication | 4.1–4.20 |
Respawned | server | combat | 4.1–4.20 |
RespawnPoint | server | objectives | 4.1–4.20 |
Resume | client | match | 4.1–4.20 |
Resumed | server | match | 4.1–4.20 |
Revived | server | combat | 4.1–4.20 |
Roster | server | joining | 4.1–4.20 |
ScoreAdded | server | replication | 4.1–4.20 |
ScreenTint | server | effects | 4.1–4.20 |
SeatChampion | server | joining | 4.1–4.20 |
SeatLoadProgress | server | joining | 4.1–4.20 |
SeatName | server | joining | 4.1–4.20 |
SelectObject | client | interface | 4.1–4.20 |
ShieldAdded | server | replication | 4.1–4.20 |
ShopEnabled | server | shop | 4.1–4.20 |
ShopUndo | client | shop | 4.1–4.20 |
ShopUndoCount | server | shop | 4.1–4.20 |
Shutdown | server | match | 4.1–4.20 |
SideTextHidden | server | guidance | 4.1–4.20 |
SideTextRefreshed | server | guidance | 4.1–4.20 |
SideTextShown | server | guidance | 4.1–4.20 |
Situation | server | guidance | 4.7–4.20 |
SoftReconnect | server | match | 4.1–4.20 |
SoundPlayed | server | communication | 4.1–4.20 |
SpawnBot | server | units | 4.1–4.19 |
SpawnEnd | server | joining | 4.1–4.20 |
SpawnFromBarracks | server | units | 4.1–4.20 |
SpawnMarker | server | units | 4.1–4.20 |
SpawnPet | server | units | 4.1–4.20 |
SpawnStart | server | joining | 4.1–4.20 |
SpawnTurret | server | units | 4.12–4.20 |
SpawnUnit | server | units | 4.1–4.20 |
SpellCastAnswer | server | spells | 4.1–4.20 |
SpellCharge | client | spells | 4.1–4.20 |
SpellCharges | server | spells | 4.1–4.20 |
SpellCooldown | server | spells | 4.1–4.20 |
SpellCostChanged | server | spells | 4.1–4.20 |
SpellInSlot | server | spells | 4.1–4.20 |
SpellLevel | server | spells | 4.1–4.20 |
SpellNumbers | server | spells | 4.1–4.20 |
SpellRankLimits | server | spells | 4.1–4.20 |
SpellSlotChanged | server | spells | 4.1–4.20 |
SpellSlotChangedForOwner | server | spells | 4.20 |
SpellTargeterHidden | server | spells | 4.20 |
SpellTargeterShown | server | spells | 4.20 |
SpellToggled | server | spells | 4.1–4.20 |
SpellUpgraded | server | spells | 4.1–4.20 |
StartGame | server | joining | 4.1–4.20 |
StatisticIncremented | server | replication | 4.1–4.20 |
StatsRequest | client | joining | 4.1–4.20 |
StatTick | server | replication | 4.1–4.20 |
StopAnimation | server | effects | 4.1–4.20 |
StopAttack | server | combat | 4.1–4.20 |
StreamChunk | server | spectating | 4.1–4.20 |
StreamChunkRange | server | spectating | 4.1–4.20 |
StreamMetadata | server | spectating | 4.1–4.20 |
StreamRequest | client | spectating | 4.1–4.20 |
SubstitutionCleared | server | shop | 4.1–4.20 |
SurrenderAllowed | server | votes | 4.1–4.20 |
SurrenderStatus | server | votes | 4.1–4.20 |
SurrenderVote | client | votes | 4.1–4.20 |
SurrenderVoteCalled | server | votes | 4.1–4.20 |
SwapItems | client | shop | 4.1–4.20 |
SwapItemsAnswer | server | shop | 4.1–4.20 |
SystemMessage | server | communication | 4.1–4.20 |
TargetHeldChampion | server | combat | 4.1–4.20 |
TargetUnit | server | combat | 4.1–4.20 |
TeamChanged | server | units | 4.1–4.20 |
TeamScore | server | objectives | 4.1–4.20 |
ThemeMusic | server | communication | 4.17–4.20 |
TipEvent | client | guidance | 4.1–4.20 |
TipShown | server | guidance | 4.1–4.20 |
TransientAck | client | replication | 4.1–4.20 |
TutorialChatLine | server | guidance | 4.1–4.20 |
TutorialPopup | server | guidance | 4.1–4.20 |
TutorialPopupClosed | client | guidance | 4.1–4.20 |
TutorialShopOpened | client | shop | 4.1–4.20 |
UiHighlight | server | guidance | 4.1–4.20 |
Unhandled286 | server | match | 4.1–4.20 |
UnitDied | server | combat | 4.1–4.20 |
UnitDiedOnMap | server | combat | 4.20 |
UnitHighlighted | server | guidance | 4.1–4.20 |
UnitHighlightRemoved | server | guidance | 4.1–4.20 |
UnitLookAt | server | movement | 4.1–4.20 |
UnitSpoke | client | communication | 4.1–4.9 |
UnitStopped | server | movement | 4.1–4.20 |
UnitText | server | interface | 4.1–4.20 |
UpgradeSpell | client | spells | 4.1–4.20 |
UseObject | client | combat | 4.1–4.20 |
VersionSync | server | joining | 4.1–4.20 |
VictoryDance | server | match | 4.1–4.20 |
VoiceCommand | server | communication | 4.1–4.20 |
VoiceEvent | server | communication | 4.1–4.20 |
VoiceEventDone | client | communication | 4.1–4.20 |
VoiceOverride | server | effects | 4.1–4.20 |
VolumeMuted | server | communication | 4.1–4.20 |
WaypointAck | client | movement | 4.1–4.20 |
WaypointGroup | server | movement | 4.1–4.20 |
WaypointGroupAtSpeed | server | movement | 4.1–4.20 |
WorldEvent | server | objectives | 4.1–4.20 |
ZoomReport | client | interface | 4.20 |