infini – InfiniCraft¶
Protocols and factories for InfiniCraft.
- bravo.infini.packets.InfiniPacket(name, identifier, subconstruct)¶
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)¶
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.
- class bravo.infini.factory.InfiniClientFactory(config, name)¶
A Factory that serves as an InfiniCraft client.
- class bravo.infini.factory.InfiniNodeFactory(config, name)¶
A Factory that serves as an InfiniCraft node.