Module: GG::PACKET_SEND_MSG_ACK

Defined in:
lib/GRuby/GG_packets.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#recipientObject (readonly)

numer odbiorcy */



98
99
100
# File 'lib/GRuby/GG_packets.rb', line 98

def recipient
  @recipient
end

#seqObject (readonly)

numer sekwencyjny */



99
100
101
# File 'lib/GRuby/GG_packets.rb', line 99

def seq
  @seq
end

#statusObject (readonly)

stan wiadomości */



97
98
99
# File 'lib/GRuby/GG_packets.rb', line 97

def status
  @status
end

Instance Method Details

#fields(data) ⇒ Object



105
106
107
108
109
110
# File 'lib/GRuby/GG_packets.rb', line 105

def fields(data)
  unpacked = data.unpack 'III'
  @status,
  @recipient,
  @seq = unpacked
end

#typeObject



101
102
103
# File 'lib/GRuby/GG_packets.rb', line 101

def type
  SEND_MSG_ACK
end