Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.

A client sends no Camera while its camera is locked: a server that needs a client’s view reports frees its camera with CameraLockSet.

In 1.0.0.130–1.0.0.140

A client keeps a CameraLockSet that arrives while it holds its camera itself, and applies and answers it once the hold ends.

Input

A server locks or unlocks kinds of input, such as movement, spells or the shop, with InputLock or InputLockToggled.

A client keeps every lock a message sets or clears, and later input obeys them, but it acts on a lock at once only where the message’s mask is exactly one of 1, 4, 8, 16, 32 or 128.

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.

Definition.

In every range of this book

Carried on requests, sent by the client, unreliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.14348
1.0.0.144–3.1.0.045
FieldTypeWhat it is
positionXf32
positionYf32
positionZf32
directionXf32
directionYf32
directionZf32
clientIdu32The client id of the client the view belongs to.
syncIdu8Names this report, counting up as the view moves. A client sends the report again until a server returns the name.
Vectors (1)

one-on-1-0-0-143

SelectObject

What a client sends as the object it has selected changes. The header names no object: it carries zero.

Definition.

In every range of this book

Carried on requests, sent by the client, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131183
1.0.0.132–1.0.0.134184
1.0.0.135186
1.0.0.136–1.0.0.137184
1.0.0.138186
1.0.0.139–1.0.0.140185
1.0.0.141–1.0.0.143187
1.0.0.144–1.0.0.149175
1.0.0.150–3.1.0.0172
FieldTypeWhat it is
clientIdu32The client id of the client selecting: the one its Registered gave it. Zero is a client id like any other rather than an absence.
selectedu32The network object now selected, or zero where none is.
Vectors (9)

one-on-1-0-0-131, one-on-1-0-0-134, one-on-1-0-0-135, one-on-1-0-0-136, one-on-1-0-0-138, one-on-1-0-0-140, one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

CameraLock

What a client sends as it locks its view to a unit or releases it. The header names no object: it carries zero.

Definition.

In 1.0.0.130–1.0.0.138

Carried on requests, sent by the client, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131134
1.0.0.132–1.0.0.137135
1.0.0.138137

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.

FieldTypeWhat it is
state1-byte bits
state.lockedbit 0Set while the view follows a unit.
state.unusedbit 1 to 7Unused; a client writes zero.
clientIdu32The client id of the client locking. Zero is a client id like any other rather than an absence.
Vectors (3)

one-on-1-0-0-131, one-on-1-0-0-136, one-on-1-0-0-138

In 1.0.0.139–1.0.0.143

Command 136 on requests, sent by the client, reliable.

A client sends it every time its lock is set, even to the same value: by the player, by CameraLockSet, or as the game forces a lock or lifts one.

FieldTypeWhat it is
state1-byte bits
state.lockedbit 0Set while the view follows a unit.
state.unusedbit 1 to 7A client sends back the whole byte it holds: after CameraLockSet, the byte it received, unchanged.
clientIdu32The client id of the client locking. Zero is a client id like any other rather than an absence.
Vectors (1)

one-on-1-0-0-143

In 1.0.0.144–3.1.0.0

Carried on requests, sent by the client, reliable, under these commands:

BuildsCommand
1.0.0.144–1.0.0.149130
1.0.0.150–3.1.0.0127

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.

FieldTypeWhat it is
state1-byte bits
state.lockedbit 0Set while the view follows a unit.
state.unusedbit 1 to 7Unused; a client writes zero.
clientIdu32The client id of the client locking. Zero is a client id like any other rather than an absence.
Vectors (2)

one-on-1-0-0-149, one-on-1-0-0-154

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.

Definition.

In every range of this book

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.14339
1.0.0.144–3.1.0.036

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.

FieldTypeWhat it is
how1-byte bits
how.fromWhereItIsbit 0Set to start from where the camera stands, fromX, fromY and fromZ having no effect; clear to start from them.
how.unused1bit 1Unused; a server writes zero.
how.unusedbit 2 to 7Unused; a server writes zero.
fromXf32Where the view starts, along one ground axis, in world units.
fromYf32Where the view starts, in height, in world units.
fromZf32Where the view starts, along the other ground axis, in world units.
toXf32Where the view ends, along one ground axis, in world units.
toYf32Where the view ends, in height, in world units.
toZf32Where the view ends, along the other ground axis, in world units.
travelTimef32How long the view takes to get there, in seconds. The view moves at an even speed over the distance along the ground.
Vectors (1)

one-on-1-0-0-143

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.

Definition.

In 1.0.0.130–1.0.0.137

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131124
1.0.0.132–1.0.0.137125

A client ignores the message while something of its own holds the camera.

FieldTypeWhat it is
lockedu8Set to lock the camera, clear to free it. Any nonzero value sets it.
Vectors (2)

one-on-1-0-0-131, one-on-1-0-0-136

In 1.0.0.138–1.0.0.143

Command 127 on events, sent by the server, reliable.

A client answers at once with CameraLock, returning the byte as it arrived. While the game holds the camera itself, it keeps the byte, and applies it and sends CameraLock only as that hold ends.

FieldTypeWhat it is
lockedu8Set to lock the camera, clear to free it. Any nonzero value sets it.
Vectors (1)

one-on-1-0-0-143

In 1.0.0.144–1.0.0.146

Command 121 on events, sent by the server, reliable.

A client ignores the message while something of its own holds the camera. It sends no CameraLock while playing a replay.

FieldTypeWhat it is
lockedu8Set to lock the camera, clear to free it. Any nonzero value sets it.
Vectors (1)

one-on-1-0-0-146

In 1.0.0.147–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.147–1.0.0.149121
1.0.0.150–3.1.0.0118

A client ignores the message while something of its own holds the camera. It sends no CameraLock while playing a replay.

FieldTypeWhat it is
state1-byte bitsWhether the camera is locked.
state.lockedbit 0Set to lock the camera, clear to free it.
state.unusedbit 1 to 7Unused; a server writes zero.
Vectors (2)

one-on-1-0-0-149, one-on-1-0-0-154

CameraBehaviour

What a server sends to set a point a champion’s player’s view keeps to. The header names the champion.

Definition.

In every range of this book

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131118
1.0.0.132–1.0.0.137119
1.0.0.138–1.0.0.143121
1.0.0.144–1.0.0.149115
1.0.0.150–3.1.0.0112
FieldTypeWhat it is
xf32Along one ground axis, in world units.
yf32In height, in world units.
zf32Along the other ground axis, in world units.
Vectors (5)

one-on-1-0-0-131, one-on-1-0-0-136, one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

InputLock

What a server sends to lock or unlock a kind of input on a client. The header carries zero.

Definition.

In 1.0.0.130–1.0.0.146

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131137
1.0.0.132–1.0.0.137138
1.0.0.138140
1.0.0.139–1.0.0.143139
1.0.0.144–1.0.0.146133

A client ignores it while playing a replay.

FieldTypeWhat it is
categoryu32Which input, as a set of bits. Values: 1 cameraLocking, 2 movement, 4 abilities, 8 summonerSpells, 16 shop, 32 chat, 64 minimapMovement, 128 cameraMovement.
lockedu8Set to lock, clear to unlock. Any nonzero value sets it.
Vectors (5)

camera-locking-on-1-0-0-131, camera-locking-on-1-0-0-136, camera-locking-on-1-0-0-138, camera-locking-on-1-0-0-143, camera-locking-on-1-0-0-146

In 1.0.0.147–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.147–1.0.0.149133
1.0.0.150–3.1.0.0130

A client ignores it while playing a replay.

FieldTypeWhat it is
categoryu32Which input, as a set of bits. Values: 1 cameraLocking, 2 movement, 4 abilities, 8 summonerSpells, 16 shop, 32 chat, 64 minimapMovement, 128 cameraMovement.
state1-byte bitsWhether to lock.
state.lockedbit 0Set to lock, clear to unlock.
state.unusedbit 1 to 7Unused; a server writes zero.
Vectors (2)

camera-locking-on-1-0-0-149, camera-locking-on-1-0-0-154

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.

Definition.

In 1.0.0.130–1.0.0.131

Command 163 on events, sent by the server, reliable.

A client acts on the change at once only where locks is 1, 4, 8, 16, 32 or 128; any other value still changes what is locked, and takes effect as the player next tries.

FieldTypeWhat it is
locksu32Each lock set flips. Values: 1 cameraLock, 2 movement, 4 spells, 8 summonerSpells, 16 shop, 32 chat, 64 minimapMovement, 128 cameraMovement.
Vectors (1)

shop-on-1-0-0-131

In 1.0.0.132–1.0.0.138

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.132–1.0.0.134164
1.0.0.135166
1.0.0.136–1.0.0.137164
1.0.0.138166

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.

FieldTypeWhat it is
locksu32Each lock set flips. Values: 1 cameraLock, 2 movement, 4 spells, 8 summonerSpells, 16 shop, 32 chat, 64 minimapMovement, 128 cameraMovement.
Vectors (4)

shop-on-1-0-0-134, shop-on-1-0-0-135, shop-on-1-0-0-136, shop-on-1-0-0-138

In 1.0.0.139–1.0.0.143

Command 165 on events, sent by the server, reliable.

A client acts on the change at once only where the value is exactly one of 1, 4, 8, 16, 32 and 128; any other value, 2 and 64 among them, still changes what is locked, and takes effect as the player next tries.

FieldTypeWhat it is
locksu32Each lock set flips. Values: 1 cameraLock, 2 movement, 4 spells, 8 summonerSpells, 16 shop, 32 chat, 64 minimapMovement, 128 cameraMovement.
Vectors (1)

shop-on-1-0-0-143

In 1.0.0.144–3.1.0.0

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.144–1.0.0.149155
1.0.0.150–3.1.0.0152

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.

FieldTypeWhat it is
locksu32Each lock set flips. Values: 1 cameraLock, 2 movement, 4 spells, 8 summonerSpells, 16 shop, 32 chat, 64 minimapMovement, 128 cameraMovement.
Vectors (2)

shop-on-1-0-0-149, shop-on-1-0-0-154

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.

Definition.

In 1.0.0.130–1.0.0.153

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131225
1.0.0.132–1.0.0.134226
1.0.0.135228
1.0.0.136–1.0.0.137226
1.0.0.138228
1.0.0.139–1.0.0.140227
1.0.0.141–1.0.0.143229
1.0.0.144–1.0.0.149216
1.0.0.150–1.0.0.153213

A client does nothing unless unit is a unit it holds that can be attacked.

FieldTypeWhat it is
unitu32The unit this is about.
icontext, 64 bytesThe name the client loads the unit’s minimap mark under, which it changes only where the name differs from the one it shows. Written out in full and padded with zero bytes to the width above.
Vectors (9)

one-on-1-0-0-131, one-on-1-0-0-134, one-on-1-0-0-135, one-on-1-0-0-136, one-on-1-0-0-138, one-on-1-0-0-140, one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-152

In 1.0.0.154–3.1.0.0

Command 213 on events, sent by the server, reliable.

A client does nothing unless unit is a unit it holds that can be attacked.

FieldTypeWhat it is
unitu32The unit this is about.
changeIconu81 to replace the unit’s minimap icon with icon; 0 leaves it, and icon has no effect.
icontext, 64 bytesThe name the client loads the mark under. Written out in full and padded with zero bytes to the width above.
changeBorderu81 to replace the unit’s ring with border, and what it does with borderScript; 0 leaves both, and neither has any effect.
bordertext, 64 bytesThe name the client loads the ring around the mark under, written and padded as above.
Vectors (1)

one-on-1-0-0-154

FloatingText

What a server sends to show text floating over a unit. The header names the unit.

Definition.

In 1.0.0.130–1.0.0.137

Command 27 on events, sent by the server, reliable.

FieldTypeWhat it is
unusedu32Unused; a server writes zero.
delayf32Unused; a server writes 2.
sloti32Where 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.
erroru8Nonzero has a client ignore the whole message.
colouru8The text’s colour on the debugging display; it has no effect for slot 0.
texttext, ended by a zero byteThe text, ended by a zero byte; the two take at most 1024 bytes.
Vectors (1)

one-on-1-0-0-136

In 1.0.0.138–1.0.0.143

Command 27 on events, sent by the server, reliable.

FieldTypeWhat it is
unusedu32Unused; a server writes zero.
delayf32Unused; a server writes 2.
sloti32Where the text goes. 0 floats it over the unit while the unit is in the client’s own view. 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.
erroru8Nonzero has a client put the text on its list of on-screen messages for 10 seconds; slot, colour and style then have no effect.
colouru8The text’s colour on the debugging display; it has no effect for slot 0.
styleu32Which style of floating text.
texttext, ended by a zero byteThe text, ended by a zero byte; the two take at most 1024 bytes.
Vectors (1)

one-on-1-0-0-143

In 1.0.0.144–3.1.0.0

Command 24 on events, sent by the server, reliable.

FieldTypeWhat it is
unusedu32Unused; a server writes zero.
delayf32Unused; a server writes 2.
sloti32Where 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.
erroru8Nonzero has a client ignore the whole message.
colouru8The text’s colour on the debugging display; it has no effect for slot 0.
styleu32Which style of floating text.
texttext, ended by a zero byteThe text, ended by a zero byte; the two take at most 1024 bytes.

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.

Definition.

In 1.0.0.130–1.0.0.143

Command 28 on events, sent by the server, reliable.

A client ignores it whenever it is watching a match.

FieldTypeWhat it is
unitu32The unit to float it over: one that can be damaged.
styleu8How the line looks, from 0 to 24. A client shows debug lines to nobody. Values: 0 invulnerable, 1 special, 2 heal, 3 manaHeal, 4 manaDamage, 5 dodge, 6 physicalCritical, 7 experience, 8 gold, 9 level, 10 disable, 11 questReceived, 12 questComplete, 13 score, 14 physicalDamage, 15 magicDamage, 16 trueDamage, 17 enemyPhysicalDamage, 18 enemyMagicDamage, 19 enemyTrueDamage, 20 enemyPhysicalCritical, 21 countdown, 22 damage, 23 critical, 24 debug.
numberi32A number put into the text where it asks for one.
texttext, 128 bytesA key into the client’s own text. The text ends at its first zero byte, which falls within the field.
Vectors (1)

disable-on-1-0-0-143

In 1.0.0.144–3.1.0.0

Command 25 on events, sent by the server, reliable.

FieldTypeWhat it is
unitu32The unit to float it over: one that can be damaged.
styleu8How the line looks, from 0 to 24. A client shows debug lines to nobody. Values: 0 invulnerable, 1 special, 2 heal, 3 manaHeal, 4 manaDamage, 5 dodge, 6 physicalCritical, 7 experience, 8 gold, 9 level, 10 disable, 11 questReceived, 12 questComplete, 13 score, 14 physicalDamage, 15 magicDamage, 16 trueDamage, 17 enemyPhysicalDamage, 18 enemyMagicDamage, 19 enemyTrueDamage, 20 enemyPhysicalCritical, 21 countdown, 22 damage, 23 critical, 24 debug.
numberi32A number put into the text where it asks for one.
texttext, 128 bytesA key into the client’s own text. The text ends at its first zero byte, which falls within the field.

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.

Definition.

In every range of this book

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131192
1.0.0.132–1.0.0.134193
1.0.0.135195
1.0.0.136–1.0.0.137193
1.0.0.138195
1.0.0.139–1.0.0.140194
1.0.0.141–1.0.0.143196
1.0.0.144–1.0.0.149184
1.0.0.150–3.1.0.0181

No body.

Vectors (9)

one-on-1-0-0-131, one-on-1-0-0-134, one-on-1-0-0-135, one-on-1-0-0-136, one-on-1-0-0-138, one-on-1-0-0-140, one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

HudDisabled

What a server sends to take down a client’s interface as the match ends. The header names no object: it carries zero.

Definition.

In every range of this book

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.131196
1.0.0.132–1.0.0.134197
1.0.0.135199
1.0.0.136–1.0.0.137197
1.0.0.138199
1.0.0.139–1.0.0.140198
1.0.0.141–1.0.0.143200
1.0.0.144–1.0.0.149188
1.0.0.150–3.1.0.0185

No body.

Vectors (9)

one-on-1-0-0-131, one-on-1-0-0-134, one-on-1-0-0-135, one-on-1-0-0-136, one-on-1-0-0-138, one-on-1-0-0-140, one-on-1-0-0-143, one-on-1-0-0-149, one-on-1-0-0-154

Announcement

What a server sends to show one of a client’s own fixed announcements for five seconds.

Definition.

In 1.0.0.130–1.0.0.131

Command 133 on events, sent by the server, reliable.

FieldTypeWhat it is
announcementu32Which of the client’s 28 announcements, 0 to 27. The text of each is the client’s own and is not recorded here. 4294967295 shows a fixed text of the client’s own that is none of them; any other value has no defined effect.
unitu32A unit whose name the announcement carries, or zero for an announcement that names none. A client shows nothing where it does not know the unit.
Vectors (1)

one-on-1-0-0-131

In 1.0.0.132–1.0.0.138

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.132–1.0.0.137134
1.0.0.138136
FieldTypeWhat it is
announcementu32Which of the client’s 28 announcements, 0 to 27. The text of each is the client’s own and is not recorded here; a client fails on any other value.
unitu32A unit whose name the announcement carries, or zero for an announcement that names none. A client shows nothing where it does not know the unit.
Vectors (2)

one-on-1-0-0-136, one-on-1-0-0-138

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.

Definition.

In every range of this book

Carried on events, sent by the server, reliable, under these commands:

BuildsCommand
1.0.0.130–1.0.0.14346
1.0.0.144–3.1.0.043
FieldTypeWhat it is
syncIdu8The name the report carried. A client sends the report again until this comes back.
Vectors (1)

one-on-1-0-0-143