Method: Table#_dump

Defined in:
lib/rgss_db/model/rpg_maker_data/vx/rgss/table.rb,
lib/rgss_db/model/rpg_maker_data/xp/rgss/table.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rgss/table.rb

#_dumpString

Dumps this instance into a binary string

Note: needed for Marshal module support

Returns:

  • (String)


41
42
43
44
# File 'lib/rgss_db/model/rpg_maker_data/vx/rgss/table.rb', line 41

def _dump(*)
  # int32_t, int32_t, int32_t, int32_t, int32_t, int16_t *
  [@dim, @x, @y, @z, @x * @y * @z, *@data].pack("llllls*")
end