Module: RuneRb::Network::RS377::HeartbeatMessage

Includes:
System::Log
Defined in:
app/network/protocol/rs377/incoming/heartbeat.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 HeartbeatMessage

Since:

  • 0.9.3


5
6
7
# File 'app/network/protocol/rs377/incoming/heartbeat.rb', line 5

def parse(_)
  log! RuneRb::GLOBAL[:COLOR].magenta.bold "Received heartbeat" if RuneRb::GLOBAL[:DEBUG]
end