mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 08:24:24 -05:00
Checksum code fixed. Added DocBlocks to D2Classes. TODO: Fill in docblocks, refactor, code cleanup
This commit is contained in:
@@ -42,11 +42,23 @@
|
||||
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class D2Files {
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public $files = [];
|
||||
/**
|
||||
* @var
|
||||
*/
|
||||
public $charFiles;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function __construct() {
|
||||
$filesToIgnore = [
|
||||
"aiparms.txt",
|
||||
@@ -64,6 +76,9 @@ class D2Files {
|
||||
return $this->files;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
public function getSaveFiles() {
|
||||
$glob = glob($_SESSION['savepath'] . '*.d2s');
|
||||
|
||||
|
Reference in New Issue
Block a user