mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-05-05 14:03:51 +00:00
feat(build): implement Clangd support && add lua symbols
This commit is contained in:
parent
6163593844
commit
e79ee08905
78 changed files with 399 additions and 5445 deletions
|
|
@ -1,20 +1,23 @@
|
|||
#ifndef BC_FILE_STREAM_H
|
||||
#define BC_FILE_STREAM_H
|
||||
|
||||
#include "bc/file/info.h"
|
||||
|
||||
DECLARE_STRUCT(Blizzard__File__StreamRecord);
|
||||
|
||||
// Stream is defined as a pointer to StreamRecord
|
||||
typedef Blizzard__File__StreamRecord* Blizzard__File__Stream;
|
||||
|
||||
#include "bc/file/fileinfo.h"
|
||||
#include "bc/file/streaminginfo.h"
|
||||
|
||||
struct Blizzard__File__StreamRecord {
|
||||
void* filehandle;
|
||||
int32_t mode;
|
||||
bool haveinfo;
|
||||
uint32_t unk0C;
|
||||
Blizzard__File__FileInfo info;
|
||||
// GetFileInfo only gets a size if this is null or points to a zero value
|
||||
int32_t* unk48;
|
||||
char* name; // name is a pointer to &filehandle (0x00) + sizeof(StreamRecord)
|
||||
// extra buffer that holds the actual data of name
|
||||
void* fileHandle;
|
||||
int32_t mode;
|
||||
bool infoValid;
|
||||
uint32_t unk0C; // not present in Diablo 3 Switch
|
||||
Blizzard__File__FileInfo info;
|
||||
Blizzard__File__StreamingInfo* streaming; // GetFileInfo only gets a size if this is null or points to a zero value
|
||||
char* pathname; // name is a pointer to &filehandle (0x00) + sizeof(StreamRecord)
|
||||
// extra buffer that holds the actual data of name
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue