class Rosegold::EnchantmentWorkflow

Defined in:

rosegold/inventory/enchantment_workflow.cr

Constant Summary

INTERRUPTED = "Manual control or a session change interrupted the enchantment"

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : Client) #

[View source]

Instance Method Detail

def end_play_session : Nil #

Retires a cancelled opening when its PLAY session ends, since its reply and acknowledgement can no longer arrive. Closes no menu.


[View source]
def run(spec, option : Int32, timeout : Time::Span, &open) : Slot #

One enchant per client, whichever Bot wraps it. The reservation is taken before anything can yield and released only by the caller that took it.


[View source]