Fix issue reading enums

This commit is contained in:
a2x
2024-04-16 12:48:15 +10:00
parent 1e88a527a2
commit 23072c2456
77 changed files with 15104 additions and 262 deletions

View File

@@ -1,5 +1,5 @@
// Generated using https://github.com/a2x/cs2-dumper
// 2024-04-16 02:29:53.956513739 UTC
// 2024-04-16 02:45:41.243985329 UTC
#pragma once
@@ -9,8 +9,45 @@ namespace cs2_dumper {
namespace schemas {
// Module: libmaterialsystem2.so
// Classes count: 13
// Enums count: 0
// Enums count: 5
namespace libmaterialsystem2_so {
// Alignment: 4
// Members count: 4
enum class VertJustification_e : uint32_t {
VERT_JUSTIFICATION_TOP = 0x0,
VERT_JUSTIFICATION_CENTER = 0x1,
VERT_JUSTIFICATION_BOTTOM = 0x2,
VERT_JUSTIFICATION_NONE = 0x3
};
// Alignment: 4
// Members count: 3
enum class LayoutPositionType_e : uint32_t {
LAYOUTPOSITIONTYPE_VIEWPORT_RELATIVE = 0x0,
LAYOUTPOSITIONTYPE_FRACTIONAL = 0x1,
LAYOUTPOSITIONTYPE_NONE = 0x2
};
// Alignment: 4
// Members count: 3
enum class ViewFadeMode_t : uint32_t {
VIEW_FADE_CONSTANT_COLOR = 0x0,
VIEW_FADE_MODULATE = 0x1,
VIEW_FADE_MOD2X = 0x2
};
// Alignment: 4
// Members count: 3
enum class BloomBlendMode_t : uint32_t {
BLOOM_BLEND_ADD = 0x0,
BLOOM_BLEND_SCREEN = 0x1,
BLOOM_BLEND_BLUR = 0x2
};
// Alignment: 4
// Members count: 4
enum class HorizJustification_e : uint32_t {
HORIZ_JUSTIFICATION_LEFT = 0x0,
HORIZ_JUSTIFICATION_CENTER = 0x1,
HORIZ_JUSTIFICATION_RIGHT = 0x2,
HORIZ_JUSTIFICATION_NONE = 0x3
};
// Parent: None
// Fields count: 1
//