# clarity
**Repository Path**: hao_ling/clarity
## Basic Information
- **Project Name**: clarity
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: BSD-3-Clause
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-07-05
- **Last Updated**: 2021-07-05
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Clarity 2
Clarity is a parser for Dota 2 and CSGO replay files written in Java.
# Version 2.4 released
Today (Febuary 21, 2019) version 2.4 has been released. It contains fixes and improvements, while being
backwards compatible with code running on 2.3.
# Replay Data
clarity produces the following data you might be interested in from a replay. Choose from:
* **combat log**: a detailed log of events that happened in the game
* **entities**: in-game things like heroes, players, and creeps
* **modifiers**: auras and effects on in-game entities
* **temporary entities**: fire-and-forget things the game server tells the client about*
* **user messages**: many different things, including spectator clicks, global chat messages, overhead events (like last-hit gold, and much more), particle systems, etc.*
* **game events**: lower-level messages like Dota TV control (directed camera commands, for example), etc.*
* **voice data**: commentary in pro matches*
* **sounds**: sounds that occur in the game*
* **overview**: end-of-game summary, including players, game winner, match id, duration, and often picks/bans
\* **unprocessed**: data is provided as original protobuf message object
# Requirements
* Java 7 or 8
* Maven
# Usage
Fetch the current stable version (2.4) from Maven Central with
```XML
com.skadistats
clarity
2.4
```
Clarity 2.5 is work in progress and only available as a snapshot, so you got to add a pointer to the
repository to your pom.xml (see the [pom.xml of clarity-examples](https://github.com/skadistats/clarity-examples/blob/master/pom.xml), which already does that)
To add the snapshot repository, add the following:
```XML
sonatype.oss.snapshots
Sonatype OSS Snapshot Repository
http://oss.sonatype.org/content/repositories/snapshots
false
true
```
and then fetch the dependency with:
```XML
com.skadistats
clarity
2.5-SNAPSHOT
```
# Example Code
For example code, please see the the separate project [clarity-examples](https://github.com/skadistats/clarity-examples).
# License
See LICENSE in the project root.