载入中...
搜索中...
未找到
PreparedFile.cpp 文件参考
#include "filesystem/PreparedFile.h"
#include <simplesquirrel/simplesquirrel.hpp>
#include "common/AsyncWork.h"
#include "common/Capability.h"
#include "common/Exception.h"
#include "common/Resource.h"
#include "common/SquirrelBinding.h"
#include "filesystem/FileData.h"
#include "filesystem/Filesystem.h"

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::filesystem
 

函数

Result< void > eve::filesystem::requestPreparedFile (const std::string &path)
 Queue immutable file bytes in the canonical ResourceManager cache.
 
Result< std::shared_ptr< const FileData > > eve::filesystem::readPreparedFile (const std::string &path, size_t limit)
 Join a queued read or synchronously read an immutable file snapshot.
 
void eve::filesystem::exposePreparedFileBindings (ssq::Class &cls)
 Install game-thread script submission bindings; retains no class borrow.
 

变量说明

◆ bytes

std::shared_ptr<const FileData> bytes

在文件 PreparedFile.cpp 第 17 行定义.