LeviLamina
Loading...
Searching...
No Matches
ScriptDebugShape.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
8#include "mc/scripting/modules/minecraft/ScriptRGB.h"
9#include "mc/scripting/modules/minecraft/debugdrawer/ScriptDebugShapeType.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace ScriptModuleDebugUtilities { struct PacketShapeData; }
14namespace ScriptModuleMinecraft { class ScriptPlayer; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleDebugUtilities {
19
21public:
22 // ScriptDebugShape inner types define
23 enum class Flags : uint {
24 Remove = 1,
25 New = 2,
26 UpdateLocation = 4,
27 UpdateScale = 8,
28 UpdateRotation = 16,
29 UpdateTimeleft = 32,
30 UpdateColor = 64,
31 UpdateText = 128,
32 UpdateBoxBound = 256,
33 UpdateLineEndLocation = 512,
34 UpdateArrowHeadLength = 1024,
35 UpdateArrowHeadRadius = 2048,
36 UpdateSegmentCount = 4096,
37 SerializeAll = 4294967294,
38 };
39
40 using FlagsStorage = uint;
41
42public:
43 // member variables
44 // NOLINTBEGIN
45 ::ll::TypedStorage<1, 1, ::ScriptModuleDebugUtilities::ScriptDebugShapeType> mShapeType;
46 ::ll::TypedStorage<4, 12, ::Vec3> mLocation;
47 ::ll::TypedStorage<4, 12, ::Vec3> mRotation;
48 ::ll::TypedStorage<4, 4, float> mScale;
49 ::ll::TypedStorage<4, 24, ::ScriptModuleMinecraft::ScriptRGB> mColor;
50 ::ll::TypedStorage<4, 8, ::std::optional<float>> mTimeLeftSec;
51 ::ll::TypedStorage<4, 8, ::std::optional<float>> mTimeLeftTotalSec;
52 ::ll::
53 TypedStorage<8, 24, ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>>>
54 mVisibleTo;
55 ::ll::TypedStorage<8, 8, uint64> mNetworkId;
56 ::ll::TypedStorage<4, 4, uint> mFlags;
57 ::ll::TypedStorage<4, 4, int> mSegments;
58 ::ll::TypedStorage<1, 1, bool> mExistsInWorld;
59 // NOLINTEND
60
61public:
62 // prevent constructor by default
64
65public:
66 // virtual functions
67 // NOLINTBEGIN
68 // vIndex: 0
69 virtual ~ScriptDebugShape();
70
71 // vIndex: 1
72 virtual void populatePacketData(::ScriptModuleDebugUtilities::PacketShapeData& packet) const;
73
74 // vIndex: 2
75 virtual void applyUpdatedData(::ScriptModuleDebugUtilities::PacketShapeData const& packet);
76 // NOLINTEND
77
78public:
79 // member functions
80 // NOLINTBEGIN
82
83 MCFOLD ::ScriptModuleDebugUtilities::ScriptDebugShape&
85
86 MCAPI void remove();
87 // NOLINTEND
88
89public:
90 // static functions
91 // NOLINTBEGIN
92 MCAPI static ::Scripting::ClassBinding bind();
93 // NOLINTEND
94
95public:
96 // constructor thunks
97 // NOLINTBEGIN
98 MCAPI void* $ctor(::ScriptModuleDebugUtilities::ScriptDebugShape const&);
99 // NOLINTEND
100
101public:
102 // destructor thunk
103 // NOLINTBEGIN
104 MCFOLD void $dtor();
105 // NOLINTEND
106
107public:
108 // virtual function thunks
109 // NOLINTBEGIN
110 MCAPI void $populatePacketData(::ScriptModuleDebugUtilities::PacketShapeData& packet) const;
111
112 MCAPI void $applyUpdatedData(::ScriptModuleDebugUtilities::PacketShapeData const& packet);
113 // NOLINTEND
114
115public:
116 // vftables
117 // NOLINTBEGIN
118 MCAPI static void** $vftable();
119 // NOLINTEND
120};
121
122} // namespace ScriptModuleDebugUtilities
Definition ScriptDebugShape.h:20
Definition PacketShapeData.h:12