Skip to content
项目

关于

用 Java 编写的超快 Dota 2、CSGO、CS2 和 Deadlock 回放解析器,快得令人难以置信。

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Clarity

Clarity is an open-source parser for Dota 2, CSGO, CS2 and Deadlock replay files, written in Java.

Changelog

see the Changelog for recent project activity.

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 (21 and above)
  • Gradle (for building)

Usage

Depending on your project build, use one of the following.

Maven

<dependency>
	<groupId>com.skadistats</groupId>
	<artifactId>clarity</artifactId>
	<version>5.0.1</version>
</dependency>

Gradle (Groovy)

    implementation group: 'com.skadistats', name: 'clarity', version: '5.0.1'

Gradle (Kotlin)

    implementation("com.skadistats:clarity:5.0.1")

Example Code

For example code, please see the separate project clarity-examples.

License

See LICENSE in the project root.

探索相关项目

加载中…