Class: Lich::Common::OrderlyShutdown::Result
- Inherits:
-
Struct
- Object
- Struct
- Lich::Common::OrderlyShutdown::Result
- Includes:
- ShutdownResultPredicates
- Defined in:
- documented/common/orderly_shutdown.rb
Overview
Result for one orderly-shutdown attempt.
Instance Attribute Summary collapse
-
#completed ⇒ Object
Returns the value of attribute completed.
-
#failures ⇒ Object
Returns the value of attribute failures.
-
#game_closed ⇒ Object
Returns the value of attribute game_closed.
-
#script_shutdown_result ⇒ Object
Returns the value of attribute script_shutdown_result.
-
#scripts_drained ⇒ Object
Returns the value of attribute scripts_drained.
-
#vars_saved ⇒ Object
Returns the value of attribute vars_saved.
Instance Method Summary collapse
-
#game_closed? ⇒ Boolean
Whether the game connection close step ran.
Methods included from ShutdownResultPredicates
#completed?, #failed?, #scripts_drained?, #vars_saved?
Instance Attribute Details
#completed ⇒ Object
Returns the value of attribute completed
24 25 26 |
# File 'documented/common/orderly_shutdown.rb', line 24 def completed @completed end |
#failures ⇒ Object
Returns the value of attribute failures
24 25 26 |
# File 'documented/common/orderly_shutdown.rb', line 24 def failures @failures end |
#game_closed ⇒ Object
Returns the value of attribute game_closed
24 25 26 |
# File 'documented/common/orderly_shutdown.rb', line 24 def game_closed @game_closed end |
#script_shutdown_result ⇒ Object
Returns the value of attribute script_shutdown_result
24 25 26 |
# File 'documented/common/orderly_shutdown.rb', line 24 def script_shutdown_result @script_shutdown_result end |
#scripts_drained ⇒ Object
Returns the value of attribute scripts_drained
24 25 26 |
# File 'documented/common/orderly_shutdown.rb', line 24 def scripts_drained @scripts_drained end |
#vars_saved ⇒ Object
Returns the value of attribute 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.
36 37 38 |
# File 'documented/common/orderly_shutdown.rb', line 36 def game_closed? game_closed end |