VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
SchemaDump.cpp File Reference
#include "Host/Schema/SchemaDump.hpp"
#include "Host/Schema/SchemaFields.hpp"
#include <VoltMod/Core/Files/File.hpp>
#include <VoltMod/Core/Text/EnumNames.hpp>
#include <VoltMod/Core/Text/Json.hpp>
#include <cstdint>
#include <map>
#include <optional>
#include <schemasystem/schemasystem.h>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

struct  VoltMod::Schema::TypeInfo
struct  VoltMod::Schema::FieldInfo
struct  VoltMod::Schema::ClassInfo
struct  VoltMod::Schema::EnumItem
struct  VoltMod::Schema::EnumInfo
struct  VoltMod::Schema::SchemaDoc

Namespaces

namespace  VoltMod
namespace  VoltMod::Schema

Functions

static std::string VoltMod::Schema::TypeName (CSchemaType *type)
static TypeInfo VoltMod::Schema::DescribeType (CSchemaType *type)
static ClassInfo VoltMod::Schema::DescribeClass (const CSchemaClassInfo *klass, const CNetworkSerializerClassInfo *network)
static EnumInfo VoltMod::Schema::DescribeEnum (const CSchemaEnumInfo *enumeration)
static const CNetworkSerializerClassInfo * VoltMod::Schema::NetworkClass (const CNetworkSerializerCodeGenDatabase &network, const char *name)
template<class T, class Hash>
static std::vector< T > VoltMod::Schema::HashElements (Hash &hash)
static void VoltMod::Schema::MergeScope (SchemaDoc &doc, CSchemaSystemTypeScope *scope, const CNetworkSerializerCodeGenDatabase &network)
Status VoltMod::Schema::WriteDumpFile (CSchemaSystemTypeScope *global, CSchemaSystemTypeScope *server, const CNetworkSerializerCodeGenDatabase &network, std::string_view path, std::string_view gameBuild)