|
RuneHive-Game
|
Holds file system related constants. More...
Static Public Attributes | |
| static final int | ARCHIVE_COUNT = 9 |
| The number of archives in cache 0. | |
| static final int | BLOCK_SIZE = HEADER_SIZE + CHUNK_SIZE |
| The size of a block. | |
| static final int | CACHE_COUNT = 5 |
| The number of caches. | |
| static final int | CHUNK_SIZE = 512 |
| The size of a chunk. | |
| static final int | HEADER_SIZE = 8 |
| The size of a header. | |
| static final int | INDEX_SIZE = 6 |
| The size of an index. | |
Private Member Functions | |
| FileSystemConstants () | |
| Default private constructor to prevent instantiation. | |
Holds file system related constants.
Definition at line 7 of file FileSystemConstants.java.
|
private |
Default private constructor to prevent instantiation.
Definition at line 42 of file FileSystemConstants.java.
|
static |
The number of archives in cache 0.
Definition at line 17 of file FileSystemConstants.java.
|
static |
The size of a block.
Definition at line 37 of file FileSystemConstants.java.
Referenced by dev.advo.fs.fs.IndexedFileSystem.getFile().
|
static |
The number of caches.
Definition at line 12 of file FileSystemConstants.java.
|
static |
The size of a chunk.
Definition at line 32 of file FileSystemConstants.java.
Referenced by dev.advo.fs.fs.IndexedFileSystem.getFile().
|
static |
The size of a header.
Definition at line 27 of file FileSystemConstants.java.
Referenced by dev.advo.fs.fs.IndexedFileSystem.getFile().
|
static |
The size of an index.
Definition at line 22 of file FileSystemConstants.java.
Referenced by dev.advo.fs.fs.Index.decode(), dev.advo.fs.fs.IndexedFileSystem.getFileCount(), and dev.advo.fs.fs.IndexedFileSystem.getIndex().