Module: GG::PACKET_LIST_EMPTY

Defined in:
lib/GRuby/GG_packets.rb

Instance Method Summary collapse

Instance Method Details

#lengthObject


203
204
205
# File 'lib/GRuby/GG_packets.rb', line 203

def length
  0
end

#packedObject


207
208
209
# File 'lib/GRuby/GG_packets.rb', line 207

def packed
  pack 'II'
end

#packetObject


196
197
198
199
200
201
# File 'lib/GRuby/GG_packets.rb', line 196

def packet
  [
    type,
    length
  ]
end

#typeObject


193
194
195
# File 'lib/GRuby/GG_packets.rb', line 193

def type
  LIST_EMPTY
end