-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add API reference (with mkdocstrings)
- Loading branch information
Showing
15 changed files
with
235 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Utility Abstract Base Classes | ||
|
||
These are some internal ABC classes that we utilize in various places. | ||
|
||
::: mcproto.utils.abc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Internal components for authentication | ||
|
||
These are the utility components related to / used in the authentication module. | ||
|
||
<!-- TODO: https://github.com/mkdocstrings/mkdocstrings/discussions/699 | ||
--> | ||
|
||
::: mcproto.auth.msa.MSAAccount | ||
options: | ||
show_root_heading: true | ||
show_root_toc_entry: true | ||
filters: | ||
- "^_[^_]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Deprecation utilities | ||
|
||
::: mcproto.utils.deprecation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Private API Reference | ||
|
||
This is the reference documentation page for **private** mcproto API. | ||
|
||
!!! warning | ||
|
||
Private here means that the functions/classes documented here are only meant to be used internally by the library, | ||
**you shouldn't use these in your code** if you're just a user of this library. This page is here mainly as a | ||
reference for contributors and for providing proper linkable references. The backwards compatibility of these | ||
components will not be guarranteed, which means breaking changes may be introduced between patch versinos without | ||
any warnings. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Internal components for protocol | ||
|
||
These are the utility components related to / used in the protocol module. | ||
|
||
::: mcproto.protocol.utils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Internal components for types | ||
|
||
These are the utility components related to / used in the types module. | ||
|
||
::: mcproto.types.nbt | ||
options: | ||
show_submodules: true | ||
filters: | ||
- "^_[^_]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Authentication | ||
|
||
::: mcproto.auth.account | ||
|
||
::: mcproto.auth.yggdrasil | ||
|
||
::: mcproto.auth.msa | ||
|
||
::: mcproto.auth.microsoft.oauth | ||
|
||
::: mcproto.auth.microsoft.xbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Encryption utilities | ||
|
||
The following components are used for encryption related interacions (generally needed during the communication with | ||
the server, after an encryption request during the login process) | ||
|
||
::: mcproto.encryption |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Multiplayer utilities | ||
|
||
The following components are used for various multiplayer interacions (generally needed during the server joining process). | ||
|
||
::: mcproto.multiplayer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Packets | ||
|
||
## Base classes and interaction functions | ||
|
||
::: mcproto.packets | ||
options: | ||
heading_level: 3 | ||
|
||
## Handshaking gamestate | ||
|
||
::: mcproto.packets.handshaking.handshake | ||
options: | ||
heading_level: 3 | ||
|
||
## Status gamestate | ||
|
||
::: mcproto.packets.status.ping | ||
options: | ||
heading_level: 3 | ||
|
||
::: mcproto.packets.status.status | ||
options: | ||
heading_level: 3 | ||
|
||
## Login gamestate | ||
|
||
::: mcproto.packets.login.login | ||
options: | ||
heading_level: 3 | ||
|
||
## Play gamestate | ||
|
||
!!! bug "Work In Progress" | ||
|
||
Packets for the Play gamestate aren't yet implemented. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Protocol documentation | ||
|
||
This is the documentation for components related to interactions with the minecraft protocol and connection establishing. | ||
|
||
::: mcproto.protocol.base_io | ||
|
||
::: mcproto.buffer.Buffer | ||
|
||
::: mcproto.connection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Types | ||
|
||
::: mcproto.types | ||
options: | ||
show_submodules: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters