Class: Lich::DragonRealms::Game
- Inherits:
-
GameBase::Game
- Object
- GameBase::Game
- Lich::DragonRealms::Game
- Defined in:
- documented/games.rb
Overview
Game class for DragonRealms
Constant Summary
Constants inherited from GameBase::Game
GameBase::Game::MAX_CONSECUTIVE_READ_TIMEOUTS, GameBase::Game::READ_TIMEOUT, GameBase::Game::READ_TIMEOUT_SECONDS, GameBase::Game::SERVER_QUEUE_CAPACITY
Class Method Summary collapse
-
.initialize ⇒ void
private
Initializes the DragonRealms game class: sets up buffers and the game instance.
Methods inherited from GameBase::Game
_gets, _puts, autostarted?, check_stream_desync!, close, closed?, connection_disruption_log_message, display_ruby_warning, enqueue_server_string, fix_invalid_settings_info, gets, handle_autostart, handle_thread_error, initialize_buffers, intentional_shutdown_close_error?, log_error, open, open_with_timeout, prefix_origin_sentinel, process_downstream_hooks, process_room_information, process_server_string, process_xml_data, puts, read_server_string, recognized_connection_disruption?, record_server_parser_timing, record_server_queue_dequeue, record_server_queue_enqueue, record_server_reader_timing, record_shutdown_reason, remote_eof?, repair_malformed_attributes_and_reparse, reset_server_queue_stats!, send_to_client, server_queue_stats, set_game_instance, settings_init_needed?, shutdown_log, shutdown_reason_for_thread_exit, start_cli_scripts, start_main_thread, start_server_processor_thread, start_socket_reader_thread, start_wrap_thread, total_read_timeout_seconds, unwrap_server_queue_item
Class Method Details
.initialize ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
Initializes the DragonRealms game class: sets up buffers and the game instance.
1959 1960 1961 1962 |
# File 'documented/games.rb', line 1959 def initialize initialize_buffers set_game_instance('DR') end |