diff --git a/docs/network protocol.md b/docs/network protocol.md index c3fc578a89..0f6a246c1d 100644 --- a/docs/network protocol.md +++ b/docs/network protocol.md @@ -647,6 +647,16 @@ class Version(NamedTuple): build: int ``` +If constructing version information as a dict for a custom client rather than as a NamedTuple built into the CommonClient, you must add the `class` key to allow Archipelago to compare version support. +``` +"version": { + "class": "Version", + "build": X, + "major": Y, + "minor": Z + } +``` + ### SlotType An enum representing the nature of a slot.