DeferredNpcInfoProtocolSupplier

A supplier for NPC info protocol to get around a circular dependency. Rather than re-design a significant portion of the classes around NPC info (and deal with backporting differences to previous revisions), it's easier to just use a supplier to get around the fact.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Gets the previously supplied protocol value, or throws an exception if it has not been supplied.

Link copied to clipboard
fun supply(protocol: NpcInfoProtocol)

Supplies the protocol value to this supplier.