NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
archive.hpp
1
#pragma once
2
#include <lib/rvl/arc/ARC.h>
3
4
namespace
EGG {
5
class
Archive
{
6
public
:
7
struct
FileInfo
{
8
FileInfo
() : mFileOffset(0), mFileSize(0) {}
9
int
mFileOffset;
10
int
mFileSize;
11
};
12
13
typedef
void (*searchCallback)(
void
*,
void
*,
const
ARCDirEntry
*,
const
char
*);
14
15
void
unmount();
16
int
countFile();
17
18
void
getFileArray(u8 **files,
unsigned
long
numFiles);
19
void
searchInside(searchCallback callback,
void
*callbackParam);
20
21
long
convertPathToEntryID(
const
char
*path);
22
void
*getFile(
const
char
*path,
FileInfo
*fileInfo);
23
void
*getFileFast(
long
entryID,
FileInfo
*fileInfo);
24
};
25
}
EGG::Archive
Definition
archive.hpp:5
ARCDirEntry
Definition
ARC.h:18
EGG::Archive::FileInfo
Definition
archive.hpp:7
include
lib
egg
archive.hpp
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.12.0