library hltv-demo-parser
Парсер данных с демки HLTV
vitalyart/hltv-demo-parser
Парсер данных с демки HLTV
- Friday, July 28, 2017
- by VitalyArt
- Repository
- 1 Watchers
- 2 Stars
- 1 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
HLTV Demo Parser
, (*1)
This package is designed to obtain information from the demo of the servers or games on the Half-Life 1 engine.
Installation is possible in two versions:
1. Install with composer, either run, (*2)
$ php composer.phar require vitalyart/hltv-demo-parser "*"
or add, (*3)
"vitalyart/hltv-demo-parser": "*"
to the require section of your composer.json file., (*4)
$parser = new \VitalyArt\DemoParser\Parser();
$parser->setDemoFile('/path/to/demo/pub-1609152130-de_dust2_2x2.dem');
$demo = $parser->getDemo();
$demo->getDemoProtocol();
$demo->getNetProtocol();
$demo->getMapName();
$demo->getClientName();
$demo->getStartTime();
$demo->getEndTime();
$demo->getDuration();
foreach($demo->getEntries() as $entry) {
$entry->getTypeString();
$entry->getType();
$entry->getDescription();
$entry->getFlags();
$entry->getCDTrack();
$entry->getTrackTime();
$entry->getFrames();
$entry->getOffset();
$entry->getFileLength();
}
dev-master
9999999-dev
Парсер данных с демки HLTV
Sources
Download
The Requires
The Development Requires
v2.0.1
2.0.1.0
Парсер данных с демки HLTV
Sources
Download
The Requires
The Development Requires
v2
2.0.0.0
Парсер данных с демки HLTV
Sources
Download
The Requires
The Development Requires