LeviLamina
Loading...
Searching...
No Matches
File.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/file/PathBuffer.h"
7
#include "mc/deps/core/string/BasicStackString.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
namespace
Core {
class
PathView
; }
12
namespace
Core {
class
Result
; }
13
namespace
brstd {
struct
source_location
; }
14
// clang-format on
15
16
namespace
Core {
17
18
class
File {
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::UntypedStorage<8, 8>
mUnk7813fc;
23
::ll::UntypedStorage<8, 8>
mUnk6dd4a2;
24
// NOLINTEND
25
26
public
:
27
// prevent constructor by default
28
File& operator=(File
const
&);
29
File(File
const
&);
30
File();
31
32
public
:
33
// member functions
34
// NOLINTBEGIN
35
MCNAPI ::Core::Result
close
();
36
37
MCNAPI
~File
();
38
// NOLINTEND
39
40
public
:
41
// static functions
42
// NOLINTBEGIN
43
MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>>
cleanPath
(
::Core::PathView
entryPath);
44
45
#ifdef LL_PLAT_C
46
MCNAPI static ::Core::PathBuffer<::Core::BasicStackString<char, 1024>>
47
cleanPathSeparators(
::Core::PathView
entryPath);
48
#endif
49
50
MCNAPI static ::Core::Result
writeCreateOrAppendFileData
(
51
::Core::PathView
path,
52
uint64 offset,
53
uint64 numBytesToWrite,
54
uchar
const
*
buffer
,
55
::brstd::source_location
sourceLocation
56
);
57
// NOLINTEND
58
59
public
:
60
// destructor thunk
61
// NOLINTBEGIN
62
MCNAPI
void
$dtor
();
63
// NOLINTEND
64
};
65
66
}
// namespace Core
Core::File::close
MCAPI::Core::Result close()
Core::File::$dtor
MCAPI void $dtor()
Core::File::writeCreateOrAppendFileData
static MCAPI ::Core::Result writeCreateOrAppendFileData(::Core::PathView path, uint64 offset, uint64 numBytesToWrite, uchar const *buffer, ::brstd::source_location sourceLocation)
Core::File::~File
MCAPI ~File()
Core::File::cleanPath
static MCAPI ::Core::PathBuffer<::Core::BasicStackString< char, 1024 > > cleanPath(::Core::PathView entryPath)
Core::PathView
Definition
PathView.h:19
Core::Result
Definition
Result.h:11
brstd::source_location
Definition
source_location.h:7
buffer
Definition
buffer.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
core
file
File.h
Generated on
for LeviLamina by
1.16.1