Crate terraria_protocol

Source
Expand description

This library contains all the packet definitions needed to work with Terraria’s multiplayer network protocol, and it can be used to build a client, a robot, or even a custom Terraria server.

Note that the library itself only contains the packets and mechanisms to serialize and deserialize them, along with basic protocol management. If you want it to do anything interesting, you should build that yourself.

Modules§

  • Basic, threaded network implementation.
  • This module contains type definitions for all the possible packets in a Terraria vanilla client-server communication.
  • Structures, unlike packets, are separate types commonly used within the packets, such as position vectors, tiles and so on.