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
3
#include <
VoltMod/Core/Result.hpp
>
4
#include <
VoltMod/Engine/EngineTypes.hpp
>
5
#include <networksystem/inetworkserializer.h>
6
#include <string_view>
7
8
namespace
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
*/
15
Status
WriteDumpFile
(
CSchemaSystemTypeScope
*
global
,
CSchemaSystemTypeScope
* server,
16
const
CNetworkSerializerCodeGenDatabase
&
network
, std::string_view path,
17
std::string_view
gameBuild
);
18
19
}
// namespace VoltMod::Schema
EngineTypes.hpp
Result.hpp
VoltMod::Schema
Definition
CBaseAnimGraph.hpp:10
VoltMod::Schema::WriteDumpFile
Status WriteDumpFile(CSchemaSystemTypeScope *global, CSchemaSystemTypeScope *server, const CNetworkSerializerCodeGenDatabase &network, std::string_view path, std::string_view gameBuild)
Definition
SchemaDump.cpp:214
VoltMod::ReadFile
static std::string ReadFile(const std::filesystem::path &path)
Definition
Loader.cpp:56
VoltMod::Status
std::expected< void, Error > Status
Definition
Result.hpp:67
src
Host
Schema
SchemaDump.hpp
Generated by
1.9.8