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

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 TutorialPopup in 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.

Definition.

In 4.7–4.20

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

FieldTypeWhat it is
situationu32What came about, by a number a name gives.
Vectors (2)

one-on-4-17, one-on-4-20

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.

Definition.

In 4.1–4.17

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

BuildsCommand
4.1–4.1060
4.11–4.1761
FieldTypeWhat it is
partu8Which part of the screen. A client ignores any other value. Values: 0 hud, 2 minimap.
elementu8What 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.
numberu8Which 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.
unusedu8Unused; a server writes zero.
Vectors (2)

one-on-4-10, one-on-4-17

In 4.18–4.20

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

FieldTypeWhat it is
partu8Which part of the screen. A client ignores any other value, 0 and 2 among them. Values: 1 hud, 3 minimap.
elementu8What 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.
numberu8Which 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.
unusedu8Unused; a server writes zero.
Vectors (1)

one-on-4-18

HudHighlightToggled

What a server sends to light up part of the screen, or to put it out. The header carries zero.

Definition.

In every range of this book

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

BuildsCommand
4.1–4.1078
4.11–4.2079
FieldTypeWhat it is
partu8Which part of the screen. A client ignores any other value. Values: 1 hud, 3 minimap.
elementu8What to light up, as in HudHighlighted. A value beyond those named does nothing.
numberu8Which slot, as in HudHighlighted.
unusedu8Unused; a server writes zero.
state1-byte bitsWhether it is lit.
state.onbit 0Set to light it up, clear to put it out.
state.unusedbit 1 to 7Unused; a server writes zero.
Vectors (3)

one-on-4-10, one-on-4-17, one-on-4-20

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.

Definition.

In every range of this book

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

BuildsCommand
4.1–4.10201
4.11–4.20202
FieldTypeWhat it is
actionu8What to do. A client takes 2 to 14 and does nothing, and ignores the message from 15 up. Values: 0 show, 1 remove.
elementu8Which 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)

one-on-4-10, one-on-4-17, one-on-4-20

UnitHighlighted

What a server sends to outline a unit with a pulsing light, as a tutorial does, until UnitHighlightRemoved. The header carries zero.

Definition.

In every range of this book

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

BuildsCommand
4.1–4.1088
4.11–4.2089
FieldTypeWhat it is
unitu32The unit: one that can be damaged.
Vectors (3)

one-on-4-10, one-on-4-17, one-on-4-20

UnitHighlightRemoved

What a server sends to take away the light UnitHighlighted put on a unit. The header carries zero.

Definition.

In every range of this book

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

BuildsCommand
4.1–4.10179
4.11–4.20180
FieldTypeWhat it is
unitu32The unit. Where it has no light, nothing happens.
Vectors (3)

one-on-4-10, one-on-4-17, one-on-4-20

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.

Definition.

In 4.1–4.17

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

BuildsCommand
4.1–4.1084
4.11–4.1785
FieldTypeWhat it is
bodytext, 128 bytesWhat the note says. Written out in full and padded with zero bytes to the width above.
headingtext, 128 bytesWhat the note is headed with, written and padded as above.
imagetext, 128 bytesThe name the client loads a picture for the note under, written and padded as above.
whatu8What the client does with the note.
tipu32The name this note answers to, so a later message can name it.
Vectors (2)

one-on-4-10, one-on-4-17

In 4.18–4.20

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

FieldTypeWhat it is
bodytext, 128 bytesWhat the note says. Written out in full and padded with zero bytes to the width above.
headingtext, 128 bytesWhat 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.
imagetext, 128 bytesThe name the client loads a picture for the note under, written and padded as above.
whatu8What the client does with the note.
tipu32The name this note answers to, so a later message can name it.
Vectors (2)

another-on-4-20, one-on-4-20

TipEvent

What a client sends about a tip it has shown or dismissed.

Definition.

In 4.1–4.17

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

BuildsCommand
4.1–4.10108
4.11–4.17109

The header names the sender’s champion.

FieldTypeWhat it is
whatu8What happened to the tip. Values: 0 clicked, 1 closed.
tipu32Which tip, as TipShown named it.
Vectors (2)

one-on-4-10, one-on-4-17

In 4.18–4.20

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

The header names the sender’s champion.

FieldTypeWhat it is
whatu8What happened to the tip.
tipu32Which tip: the value TipShown carried.
Vectors (1)

one-tip-on-4-20

QuestUpdated

What a server sends to add a quest to the quest tracker, complete it or remove it. The header carries zero.

Definition.

In 4.1–4.7

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

FieldTypeWhat it is
texttext, 128 bytesA key into the client’s own text for the quest. It applies to activate only.
icontext, 128 bytesThe quest’s icon. It applies to activate only.
tooltiptext, 128 bytesA key into the client’s own text for its tooltip. It applies to activate only.
kindu8Which 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.
actionu8What to do. A client ignores any other value. Values: 0 activate, 1 complete, 2 remove.
flags1-byte bitsWhat a flag means depends on action.
flags.firstbit 0For activate, set to have the client report the pointer passing over the quest (QuestEvent); for complete, set where the quest succeeded.
flags.unusedbit 1 to 7Unused; a server writes zero.
questi32The quest’s number, which QuestEvent returns.
Vectors (1)

primary-on-4-1

In 4.8–4.10

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

FieldTypeWhat it is
texttext, 128 bytesA key into the client’s own text for the quest. It applies to activate only.
icontext, 128 bytesThe quest’s icon. It applies to activate only.
tooltiptext, 128 bytesA key into the client’s own text for its tooltip. It applies to activate only.
rewardtext, 128 bytesA key into the client’s own text for its reward. It applies to activate only.
kindu8Which 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.
actionu8What to do. A client ignores any other value. Values: 0 activate, 1 complete, 2 remove.
flags1-byte bitsWhat a flag means depends on action.
flags.firstbit 0For activate, set to have the client report the pointer passing over the quest (QuestEvent); for complete, set where the quest succeeded.
flags.secondbit 1Unused; a server writes zero.
flags.unusedbit 2 to 7Unused; a server writes zero.
questi32The quest’s number, which QuestEvent returns.
Vectors (2)

another-on-4-10, one-on-4-10

In 4.11–4.17

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

FieldTypeWhat it is
texttext, 128 bytesA key into the client’s own text for the quest. It applies to activate only.
icontext, 128 bytesThe quest’s icon. It applies to activate only.
tooltiptext, 128 bytesA key into the client’s own text for its tooltip. It applies to activate only.
rewardtext, 128 bytesA key into the client’s own text for its reward. It applies to activate only.
kindu8Which 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.
actionu8What to do. A client ignores any other value. Values: 0 activate, 1 complete, 2 remove.
flags1-byte bitsWhat a flag means depends on action.
flags.firstbit 0For activate, set to have the client report the pointer passing over the quest (QuestEvent); for complete, set where the quest succeeded.
flags.secondbit 1For activate, set to show the quest arriving.
flags.unusedbit 2 to 7Unused; a server writes zero.
questi32The quest’s number, which QuestEvent returns.
Vectors (1)

one-on-4-17

In 4.18–4.20

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

FieldTypeWhat it is
texttext, 128 bytesA key into the client’s own text for the quest. It applies to activate only.
icontext, 128 bytesThe quest’s icon. It applies to activate only.
tooltiptext, 128 bytesA key into the client’s own text for its tooltip. It applies to activate only.
rewardtext, 128 bytesA key into the client’s own text for its reward. It applies to activate only.
kindu8Which 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.
actionu8What to do. A client ignores any other value. Values: 0 activate, 1 complete, 2 remove.
flags1-byte bitsWhat a flag means depends on action.
flags.firstbit 0For activate, set to have the client report the pointer passing over the quest (QuestEvent).
flags.secondbit 1For activate, set to show the quest arriving.
flags.succeededbit 2For complete, set where the quest succeeded, clear where it failed; only success shows floating text.
flags.unusedbit 3 to 7Unused; a server writes zero.
questi32The quest’s number, which QuestEvent returns.
Vectors (1)

primary-on-4-18

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.

Definition.

In every range of this book

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

BuildsCommand
4.1–4.10204
4.11–4.20205
FieldTypeWhat it is
eventu8What 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.
questi32The quest’s number, as QuestUpdated gave it.
Vectors (4)

another-on-4-10, one-on-4-10, one-on-4-17, one-on-4-20

ObjectiveShown

What a server sends to show the objective panel with a text. The header carries zero.

Definition.

In 4.1–4.10

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

FieldTypeWhat it is
texttext, 128 bytesThe objective. The text ends at its first zero byte, which falls within the field.
Vectors (1)

one-on-4-10

In 4.11–4.12

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

FieldTypeWhat it is
texttext, 128 bytesThe objective. The text ends at its first zero byte, which falls within the field.
option1-byte bitsOne option for how the text is shown.
option.onbit 0A client shows the text with an option of its own set; what that changes on screen is not recorded.
option.unusedbit 1 to 7Unused; a server writes zero.
Vectors (1)

one-on-4-11

In 4.13–4.20

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

FieldTypeWhat it is
texttext, 128 bytesThe objective. The text ends at its first zero byte, which falls within the field.
Vectors (2)

one-on-4-17, one-on-4-20

ObjectiveReplaced

What a server sends to replace the text of the objective panel, showing the panel if it is hidden. The header carries zero.

Definition.

In every range of this book

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

FieldTypeWhat it is
texttext, 128 bytesThe objective. The text ends at its first zero byte, which falls within the field.
Vectors (2)

one-on-4-17, one-on-4-20

ObjectiveHidden

What a server sends to hide the objective panel. 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
4.1–4.10161
4.11–4.20162

No body.

Vectors (3)

one-on-4-10, one-on-4-17, one-on-4-20

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.

Definition.

In every range of this book

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

BuildsCommand
4.1–4.10159
4.11–4.20160

The box sits halfway down the screen.

FieldTypeWhat it is
texttext, 128 bytesA 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)

one-on-4-10, one-on-4-17, one-on-4-20

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.

Definition.

In every range of this book

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

BuildsCommand
4.1–4.10176
4.11–4.20177
FieldTypeWhat it is
texttext, 128 bytesA 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)

one-on-4-10, one-on-4-17, one-on-4-20

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.

Definition.

In every range of this book

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

BuildsCommand
4.1–4.10166
4.11–4.20167

No body.

Vectors (3)

one-on-4-10, one-on-4-17, one-on-4-20

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.

Definition.

In every range of this book

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

FieldTypeWhat it is
texttext, 128 bytesA 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)

one-on-4-17, one-on-4-20

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.

Definition.

In every range of this book

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

BuildsCommand
4.1–4.10178
4.11–4.20179
FieldTypeWhat it is
texttext, 128 bytesA 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)

one-on-4-10, one-on-4-17, one-on-4-20

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.

Definition.

In every range of this book

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

BuildsCommand
4.1–4.10203
4.11–4.20204

A client also sends it as its player closes a tip in the tutorial.

No body.

Vectors (3)

one-on-4-10, one-on-4-17, one-on-4-20