Class: Lich::Common::OrderlyShutdown::Result

Inherits:
Struct
  • Object
show all
Includes:
ShutdownResultPredicates
Defined in:
documented/common/orderly_shutdown.rb

Overview

Result for one orderly-shutdown attempt.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ShutdownResultPredicates

#completed?, #failed?, #scripts_drained?, #vars_saved?

Instance Attribute Details

#completedObject

Returns the value of attribute completed

Returns:

  • (Object)

    the current value of completed



24
25
26
# File 'documented/common/orderly_shutdown.rb', line 24

def completed
  @completed
end

#failuresObject

Returns the value of attribute failures

Returns:

  • (Object)

    the current value of failures



24
25
26
# File 'documented/common/orderly_shutdown.rb', line 24

def failures
  @failures
end

#game_closedObject

Returns the value of attribute game_closed

Returns:

  • (Object)

    the current value of game_closed



24
25
26
# File 'documented/common/orderly_shutdown.rb', line 24

def game_closed
  @game_closed
end

#script_shutdown_resultObject

Returns the value of attribute script_shutdown_result

Returns:

  • (Object)

    the current value of script_shutdown_result



24
25
26
# File 'documented/common/orderly_shutdown.rb', line 24

def script_shutdown_result
  @script_shutdown_result
end

#scripts_drainedObject

Returns the value of attribute scripts_drained

Returns:

  • (Object)

    the current value of scripts_drained



24
25
26
# File 'documented/common/orderly_shutdown.rb', line 24

def scripts_drained
  @scripts_drained
end

#vars_savedObject

Returns the value of attribute vars_saved

Returns:

  • (Object)

    the current value of vars_saved



24
25
26
# File 'documented/common/orderly_shutdown.rb', line 24

def vars_saved
  @vars_saved
end

Instance Method Details

#game_closed?Boolean

Returns whether the game connection close step ran.

Returns:

  • (Boolean)

    whether the game connection close step ran



36
37
38
# File 'documented/common/orderly_shutdown.rb', line 36

def game_closed?
  game_closed
end