Class: Lich::Gemstone::Game

Inherits:
Lich::GameBase::Game show all
Defined in:
documented/games.rb

Overview

Game class for Gemstone

Constant Summary

Constants inherited from Lich::GameBase::Game

Lich::GameBase::Game::MAX_CONSECUTIVE_READ_TIMEOUTS, Lich::GameBase::Game::READ_TIMEOUT, Lich::GameBase::Game::READ_TIMEOUT_SECONDS, Lich::GameBase::Game::SERVER_QUEUE_CAPACITY

Class Method Summary collapse

Methods inherited from Lich::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

.initializeObject



1703
1704
1705
1706
# File 'documented/games.rb', line 1703

def initialize
  initialize_buffers
  set_game_instance('GS')
end