Module: CSstats
- Defined in:
- lib/csstats.rb,
lib/csstats/error.rb,
lib/csstats/client.rb,
lib/csstats/parser.rb,
lib/csstats/player.rb,
lib/csstats/columns.rb,
lib/csstats/players.rb,
lib/csstats/version.rb,
lib/csstats/parser/reader.rb,
lib/csstats/parser/writer.rb,
lib/csstats/parser/reader/player.rb,
lib/csstats/parser/writer/player.rb,
lib/csstats/parser/reader/players.rb,
lib/csstats/parser/writer/players.rb,
lib/csstats/parser/reader/file_reader.rb,
lib/csstats/parser/reader/file_streamer.rb,
lib/csstats/parser/writer/file_streamer.rb
Defined Under Namespace
Modules: Parser Classes: Client, Error, FileNotExist, Player, Players
Constant Summary collapse
- COLUMNS =
[ { name: :nick, type: :string }, { name: :uniq, type: :string }, { name: :teamkill, type: :integer }, { name: :damage, type: :integer }, { name: :deaths, type: :integer }, { name: :kills, type: :integer }, { name: :shots, type: :integer }, { name: :hits, type: :integer }, { name: :headshots, type: :integer }, { name: :defusions, type: :integer }, { name: :defused, type: :integer }, { name: :plants, type: :integer }, { name: :explosions, type: :integer }, {}, # Empty { name: :head, type: :integer }, { name: :chest, type: :integer }, { name: :stomach, type: :integer }, { name: :leftarm, type: :integer }, { name: :rightarm, type: :integer }, { name: :leftleg, type: :integer }, { name: :rightleg, type: :integer }, {} # Empty ].freeze
- COLUMN_KEYS =
COLUMNS.reject(&:empty?).flat_map { |column| column[:name] }
- VERSION =
'1.3.0'
Class Method Summary collapse
-
.new(options = {}) ⇒ Object
Alias for CSstats::Handler.new.