LeviLamina
Loading...
Searching...
No Matches
Bedrock::PlatformBootstrap Class Referenceabstract
Inheritance diagram for Bedrock::PlatformBootstrap:

Classes

struct  CreateDirectoryResult
struct  LoadResult
struct  SaveResult

Public Types

enum class  CreateDirectoryResultCode : int { Success = 0 , Failure = 1 }
enum class  LoadResultCode : int { Success = 0 , FailedToOpen = 1 , FailedToRead = 2 , BufferTooSmall = 3 }
enum class  SaveResultCode : int { Success = 0 , FailedToOpen = 1 , FailedToWrite = 2 , IncorrectBytesWrittenCount = 3 }

Public Member Functions

virtual void initialize ()=0
virtual::std::string_view getAssetRoot ()=0
virtual::std::string_view getSaveDataRoot ()=0
virtual::Bedrock::PlatformBootstrap::LoadResult rawLoadAssetFile (char *, uint64, char const *, char *, uint64)=0
virtual::Bedrock::PlatformBootstrap::LoadResult rawLoadDataFile (char *, uint64, char const *, char *, uint64)=0
virtual::Bedrock::PlatformBootstrap::SaveResult rawSaveDataFile (char const *, uint64, char const *, bool, char *, uint64)=0
virtual::Bedrock::PlatformBootstrap::LoadResult rawLoadFromCustomRoot (char *, uint64, char const *, char *, uint64)=0
virtual::Bedrock::PlatformBootstrap::CreateDirectoryResult rawCreateDirectory (char const *, char *, uint64)=0
MCAPI::Bedrock::PlatformBootstrap::CreateDirectoryResult _rawCreateDirectory_std (char const *path, char *errorBuffer, uint64 errorBufferSize)
MCAPI::Bedrock::PlatformBootstrap::LoadResult _rawLoadFile_cstdio (char *buffer, uint64 bufferSize, ::std::string_view root, char const *path, char *errorBuffer, uint64 errorBufferSize)
MCNAPI_C::Bedrock::PlatformBootstrap::SaveResult _rawSaveFile_cstdio (char const *buffer, uint64 bufferSize, ::std::string_view root, char const *path, char *errorBuffer, uint64 errorBufferSize)

Static Public Member Functions

static MCAPI ::Bedrock::PlatformBootstrap::CreateDirectoryResult _makeCreateDirectoryError (::Bedrock::PlatformBootstrap::CreateDirectoryResultCode, char *, uint64, char const *,...)
static MCAPI ::Bedrock::PlatformBootstrap::LoadResult _makeLoadError (::Bedrock::PlatformBootstrap::LoadResultCode, char *, uint64, char const *,...)
static MCAPI ::Bedrock::PlatformBootstrap::SaveResult _makeSaveError (::Bedrock::PlatformBootstrap::SaveResultCode, char *, uint64, char const *,...)

Member Function Documentation

◆ _rawCreateDirectory_std()

MCAPI::Bedrock::PlatformBootstrap::CreateDirectoryResult Bedrock::PlatformBootstrap::_rawCreateDirectory_std ( char const * path,
char * errorBuffer,
uint64 errorBufferSize )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _rawLoadFile_cstdio()

MCAPI::Bedrock::PlatformBootstrap::LoadResult Bedrock::PlatformBootstrap::_rawLoadFile_cstdio ( char * buffer,
uint64 bufferSize,
::std::string_view root,
char const * path,
char * errorBuffer,
uint64 errorBufferSize )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _makeCreateDirectoryError()

MCAPI ::Bedrock::PlatformBootstrap::CreateDirectoryResult Bedrock::PlatformBootstrap::_makeCreateDirectoryError ( ::Bedrock::PlatformBootstrap::CreateDirectoryResultCode ,
char * ,
uint64 ,
char const * ,
... )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _makeLoadError()

MCAPI ::Bedrock::PlatformBootstrap::LoadResult Bedrock::PlatformBootstrap::_makeLoadError ( ::Bedrock::PlatformBootstrap::LoadResultCode ,
char * ,
uint64 ,
char const * ,
... )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _makeSaveError()

MCAPI ::Bedrock::PlatformBootstrap::SaveResult Bedrock::PlatformBootstrap::_makeSaveError ( ::Bedrock::PlatformBootstrap::SaveResultCode ,
char * ,
uint64 ,
char const * ,
... )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: