Expand description
Rust library for working with the Blaze packet system this is the networking solution used by games such as Mass Effect 3, Battlefield 3, another Other EA games.
Modules§
- codec
- Traits for implementing encoding (
Encodable) and decoding (Decodable) for different types andValueTypetrait for specifying the Tdf type of a type - error
- Error type used when decoding packets
DecodeErrorand result type aliasDecodeResult - packet
- Packet implementation for creating
Packets along with types used by the router for creating and decoding contents / responses - reader
- Buffer reading wrapper to provided a way to easily read data from packet buffers provides easy functions for all the different tdf types
- router
- Router implementation for routing packet components to different functions and automatically decoding the packet contents to the function type
- serialize
- Serde serialization This module contains the serde Serialize implementations for the structures created by Pocket Relay
- tag
- Implementation for
Tags andTdfTypes - types
- Types implementation for custom types used while encoding values with Blaze packets
- writer
- Writer buffer implementation for writing different kinds of tdf values
to byte form without creating a new structure
TdfWriter
Macros§
- value_
type - Macro for generating the ValueType implementation for a type
Derive Macros§
- Packet
Component - Re-exports for derive macros Macro for deriving a component any enum that wants to implement PacketComponent must also implement Debug, Hash, PartialEq, and Eq these traits are required for routing
- Packet
Components - Re-exports for derive macros Macro for deriving components any enum that wants to implement PacketComponents must also implement Debug, Hash, PartialEq, and Eq these traits are required for routing