MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / CreateVFS

Function CreateVFS

samples/application/chat/main.cpp:104–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104int CreateVFS()
105{
106 std::error_code ec = {};
107 auto resourceRoot = (skr::filesystem::current_path(ec) / "../resources").u8string();
108 skr_vfs_desc_t vfs_desc = {};
109 vfs_desc.mount_type = SKR_MOUNT_TYPE_CONTENT;
110 vfs_desc.override_mount_dir = resourceRoot.c_str();
111 resource_vfs = skr_create_vfs(&vfs_desc);
112 return 0;
113}
114
115static void DebugOutput(ESteamNetworkingSocketsDebugOutputType eType, const char* pszMsg);
116int InitializeChat();

Callers 2

initializeFunction · 0.85
InitializeMethod · 0.85

Calls 2

skr_create_vfsFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected