infini – InfiniCraft

Protocols and factories for InfiniCraft.

Packets

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.

bravo.infini.packets.String(name)[source]

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.

Protocols

Factories

Project Versions

Table Of Contents

Previous topic

ibravo – Interfaces

Next topic

inventory – Inventories

This Page