Definition at line 25 of file Archive.hh.
Public Member Functions | |
| void | unmount () |
| s32 | convertPathToEntryId (const char *path) const |
| void * | getFileFast (s32 entryId, Abstract::ArchiveHandle::FileInfo &info) const |
Static Public Member Functions | |
| static Archive * | FindArchive (void *archiveStart) |
| Checks to see if a given archive is already mounted. | |
| static Archive * | Mount (void *archiveStart) |
| Creates a new Archive object or increments the ref count for an already existing Archive. | |
Private Member Functions | |
| EGG_NEW_DELETE_FRIEND | Archive (void *archiveStart) |
| ~Archive () | |
| Removes the archive from the static list. | |
Static Private Member Functions | |
| static constexpr uintptr_t | GetLinkOffset () |
| Static Private Member Functions inherited from Kinoko::EGG::Disposer | |
| static constexpr u16 | getLinkOffset () |
Private Attributes | |
| Abstract::ArchiveHandle | m_handle |
| s32 | m_refCount = 1 |
| Abstract::Memory::MEMLink | m_link |
Static Private Attributes | |
| static Abstract::Memory::MEMList | s_archiveList |
| The linked list of all mounted archives. | |
|
privateInlined in 0x8020F768 |
Definition at line 69 of file Archive.cc.
|
private0x8020f6ec |
Removes the archive from the static list.
Called when the archive's reference count becomes 0.
Definition at line 11 of file Archive.cc.
|
nodiscard0x8020fa78 |
Definition at line 23 of file Archive.cc.
|
staticnodiscardInlined in 0x8020F768 |
Checks to see if a given archive is already mounted.
| archiveStart | The address of the archive to search for. |
Definition at line 37 of file Archive.cc.
|
0x8020fa80 |
Definition at line 28 of file Archive.cc.
|
inlinestaticnodiscardconstexprprivate |
Definition at line 42 of file Archive.hh.
|
staticnodiscard0x8020F768 |
Creates a new Archive object or increments the ref count for an already existing Archive.
| archiveStart | The address of the archive to mount. |
Definition at line 53 of file Archive.cc.
|
0x8020fa38 |
Definition at line 16 of file Archive.cc.
|
private |
Definition at line 47 of file Archive.hh.
|
private |
Definition at line 49 of file Archive.hh.
|
private |
Definition at line 48 of file Archive.hh.
|
staticprivate |
The linked list of all mounted archives.
Definition at line 51 of file Archive.hh.