infini – InfiniCraft

Protocols and factories for InfiniCraft.


bravo.infini.packets.InfiniPacket(name, identifier, subconstruct)[source]

Common header structure for packets.

This is possibly not the best way to go about building these kinds of things.


UTF-8 length-prefixed string.

bravo.infini.packets.make_packet(packet, *args, **kwargs)[source]

Constructs a packet bytestream from a packet header and payload.

The payload should be passed as keyword arguments. Additional containers or dictionaries to be added to the payload may be passed positionally, as well.



Project Versions

Table Of Contents

Previous topic

ibravo – Interfaces

Next topic

inventory – Inventories

This Page