Sha256: c186d2b853765a07c0bd7277ba328947cc2f8318317edd245a331ae7d5531567
Contents?: true
Size: 447 Bytes
Versions: 8
Compression:
Stored size: 447 Bytes
Contents
# frozen_string_literal: true module Sc2 class Connection # Callbacks when game status changes module StatusListener # Called when game status changes # @param status [:launched, :in_game, :in_replay, :ended, :quit, :unknown] game state, i.e. :in_game, :ended, :launched # noinspection def on_status_change(status) Sc2.logger.debug { "#{self.class}.#{__method__} #{status}" } end end end end
Version data entries
8 entries across 8 versions & 1 rubygems