Class: OsuRuby::Database::ReplayData

Inherits:
BaseDB
  • Object
show all
Defined in:
(osu-ruby2 0.0.2) osu-ruby2/database/file.rb

Overview

Representation of osu replay data.

Constant Summary collapse

VERSION_REPLAY_ID =

inclusion of score ID

20121008
VERSION_REPLAY_IDBIG =
20140721
VERSION_MOD_TARGET =
20140307

Instance Attribute Summary

Attributes inherited from BaseDB

#version

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseDB

#determine_struct_bytes, #initialize, #initialize_copy, #inspect, #read_file, #read_structs, #version!, #write_structs, #write_to_file

Methods included from Interface::MultiplexerInterface

extended

Constructor Details

This class inherits a constructor from OsuRuby::Database::BaseDB

Class Method Details

.load(io) ⇒ ReplayData

Returns:

Instance Method Details

#discard_replay_infoReplayData

Safely discards replay info by creating a similar instance beforehand.

Returns:

  • (ReplayData)

    a discarded replay of ReplayData

See Also:

#discard_replay_info!self

Destructively discards replay info from the replay data.

Returns:

  • (self)

See Also: