Module: RuneRb::Network::RS317::PingMessage

Includes:
System::Log
Defined in:
app/network/protocol/rs317/incoming/ping.rb

Overview

Since:

  • 0.9.3

Instance Method Summary collapse

Methods included from System::Log

#class_name, #err, #err!, #log, #log!, #symbolize_file

Instance Method Details

#parse(_) ⇒ Object

Parses the PingMessage

Since:

  • 0.9.3


5
6
7
# File 'app/network/protocol/rs317/incoming/ping.rb', line 5

def parse(_)
  log "Ping Received! [#{@header[:op_code]}]" if RuneRb::GLOBAL[:DEBUG] # Ping
end