|
Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
|
#include <file.h>
Public Member Functions | |
| File () | |
| Constructs a new File object. | |
| File (std::string path) | |
| Construct a new File object. | |
| ~File () | |
| Destroy the File object. | |
| bool | load () |
| Loads the data of the file into ram. | |
| const std::string & | getPath () const |
| Get the Path object. | |
| const char * | getPointer () const |
| Get the pointer to the data. | |
| int | getSize () const |
| Get the size of the file stored. | |
File Loader Wrapper.
| File::File | ( | ) |
Constructs a new File object.
Constructs an empty file object, really just used for the config or placeholder objects.
| File::File | ( | std::string | path | ) |
| const std::string & File::getPath | ( | ) | const |
Get the Path object.
Get the pointer to the data.
| int File::getSize | ( | ) | const |
Get the size of the file stored.
| bool File::load | ( | ) |
Loads the data of the file into ram.