Class: Bayonetta::MOT2File::Key8

Inherits:
LibBin::Structure
  • Object
show all
Defined in:
lib/bayonetta/mot.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



300
301
302
# File 'lib/bayonetta/mot.rb', line 300

def index
  @index_proxy.pack("C2").unpack("S>").first
end

#index=(v) ⇒ Object



304
305
306
307
# File 'lib/bayonetta/mot.rb', line 304

def index=(v)
  @index_proxy = [v].pack("S>").unpack("C2")
  v
end