Module: RuneRb::Network::RS377::ArrowKeyMessage

Defined in:
app/network/protocol/rs377/incoming/arrow.rb

Overview

Since:

  • 0.9.3

Defined Under Namespace

Classes: Rotation

Instance Method Summary collapse

Instance Method Details

#parse(_) ⇒ Object

Parses the ArrowKeyMessage

Since:

  • 0.9.3


15
16
17
# File 'app/network/protocol/rs377/incoming/arrow.rb', line 15

def parse(_)
  Rotation.new(read_short(false, :STD, :LITTLE), read_short(false, :STD, :LITTLE)).inspect
end