-
Notifications
You must be signed in to change notification settings - Fork 10
/
AlignmentUnion.bkp.hpp
75 lines (75 loc) · 2.71 KB
/
AlignmentUnion.bkp.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include <stdint.h>
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ValueType
#include "System/ValueType.hpp"
// Completed includes
namespace System::Net::NetworkInformation {
// Forward declaring type: AlignmentUnion
struct AlignmentUnion;
}
#include "extern/beatsaber-hook/shared/utils/il2cpp-type-check.hpp"
DEFINE_IL2CPP_ARG_TYPE(System::Net::NetworkInformation::AlignmentUnion, "System.Net.NetworkInformation", "AlignmentUnion");
// Type namespace: System.Net.NetworkInformation
namespace System::Net::NetworkInformation {
// Size: 0x8
#pragma pack(push, 1)
// WARNING Layout: Explicit may not be correctly taken into account!
// Autogenerated type: System.Net.NetworkInformation.AlignmentUnion
// [TokenAttribute] Offset: FFFFFFFF
struct AlignmentUnion/*, public System::ValueType*/ {
public:
struct __InternalUnionData {
// public System.Int32 Length
// Size: 0x4
// Offset: 0x0
int Length;
// Field size check
static_assert(sizeof(int) == 0x4);
// public System.Int32 IfIndex
// Size: 0x4
// Offset: 0x4
int IfIndex;
// Field size check
static_assert(sizeof(int) == 0x4);
};
#ifdef USE_CODEGEN_FIELDS
public:
#else
protected:
#endif
// Creating union for fields at offset: 0x0
union {
// public System.UInt64 Alignment
// Size: 0x8
// Offset: 0x0
uint64_t Alignment;
// Field size check
static_assert(sizeof(uint64_t) == 0x8);
// WARNING: Manual union structure
__InternalUnionData data;
static_assert(sizeof(__InternalUnionData) == 0x8);
};
public:
// Creating value type constructor for type: AlignmentUnion
constexpr AlignmentUnion(uint64_t Alignment_ = {}) noexcept : Alignment{Alignment_} {}
// Creating interface conversion operator: operator System::ValueType
operator System::ValueType() noexcept {
return *reinterpret_cast<System::ValueType*>(this);
}
// Get instance field reference: public System.UInt64 Alignment
uint64_t& dyn_Alignment();
// Get instance field reference: public System.Int32 Length
int& dyn_Length();
// Get instance field reference: public System.Int32 IfIndex
int& dyn_IfIndex();
}; // System.Net.NetworkInformation.AlignmentUnion
#pragma pack(pop)
static check_size<sizeof(AlignmentUnion), 4 + sizeof(int)> __System_Net_NetworkInformation_AlignmentUnionSizeCheck;
static_assert(sizeof(AlignmentUnion) == 0x8);
}
#include "extern/beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"