class
Rosegold::HandSwap
- Rosegold::HandSwap
- Reference
- Object
Defined in:
rosegold/inventory/hand_swap.crConstructors
Instance Method Summary
-
#run(timeout : Time::Span, session : Client::PlaySession | Nil, authorized : -> Bool, &) : Nil
The block sends the swap in session and returns whether it was written.
Constructor Detail
Instance Method Detail
def run(timeout : Time::Span, session : Client::PlaySession | Nil, authorized : -> Bool, &) : Nil
#
The block sends the swap in session and returns whether it was written. authorized gates the container close and the swap; once it lapses or the session ends, nothing more is sent.