VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
SchemaDump.hpp
Go to the documentation of this file.
1#pragma once
2
5#include <networksystem/inetworkserializer.h>
6#include <string_view>
7
8namespace VoltMod::Schema
9{
10
11/**
12 * Write @p server merged over @p global to @p path as `voltmod framework schemagen` input, stamped with
13 * @p gameBuild; @p network marks the fields the engine sends to clients.
14 */
16 const CNetworkSerializerCodeGenDatabase& network, std::string_view path,
17 std::string_view gameBuild);
18
19} // namespace VoltMod::Schema
Status WriteDumpFile(CSchemaSystemTypeScope *global, CSchemaSystemTypeScope *server, const CNetworkSerializerCodeGenDatabase &network, std::string_view path, std::string_view gameBuild)
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56
std::expected< void, Error > Status
Definition Result.hpp:67