26class ScriptPrimitiveShape {
29 enum class Flags : uint {
39 UpdateLineEndLocation = 512,
40 UpdateArrowHeadLength = 1024,
41 UpdateArrowHeadRadius = 2048,
42 UpdateSegmentCount = 4096,
43 UpdateAttachedTo = 8192,
44 UpdateRenderDist = 16384,
45 UpdateCylinderData = 32768,
46 UpdatePyramidData = 65536,
47 UpdateEllipsoidData = 131072,
48 UpdateConeData = 262144,
49 SerializeAll = 4294967294,
52 using FlagsStorage = uint;
57 ::ll::TypedStorage<1, 1, ::ScriptModuleMinecraft::ScriptPrimitiveShapeType> mShapeType;
58 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptDimension>>
60 ::ll::TypedStorage<4, 4, ::DimensionType> mDimensionId;
61 ::ll::TypedStorage<4, 12, ::Vec3> mLocation;
62 ::ll::TypedStorage<4, 12, ::Vec3> mRotationDegrees;
63 ::ll::TypedStorage<4, 4, float> mScale;
64 ::ll::TypedStorage<8, 24, ::ScriptModuleMinecraft::ScriptRGBA> mColor;
65 ::ll::TypedStorage<4, 8, ::std::optional<float>> mTimeLeftSec;
66 ::ll::TypedStorage<4, 8, ::std::optional<float>> mTimeLeftTotalSec;
67 ::ll::TypedStorage<4, 8, ::std::optional<float>> mMaxRenderDistance;
69 TypedStorage<8, 24, ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPlayer>>>
71 ::ll::TypedStorage<8, 16, ::std::set<::NetworkIdentifierWithSubId>> mVisibleToClients;
72 ::ll::TypedStorage<8, 16, ::std::set<::NetworkIdentifierWithSubId>> mSentToClients;
73 ::ll::TypedStorage<8, 8, uint64> mNetworkId;
74 ::ll::TypedStorage<4, 4, uint> mFlags;
75 ::ll::TypedStorage<1, 1, bool> mExistsInWorld;
77 TypedStorage<8, 40, ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>>>
79 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mAttachedToId;
80 ::ll::TypedStorage<1, 1, bool> mAttachedEntityWasUnloaded;
81 ::ll::TypedStorage<1, 1, bool> mIsDebugShape;
86 ScriptPrimitiveShape();
91 virtual ~ScriptPrimitiveShape();
103 MCAPI ScriptPrimitiveShape(::ScriptModuleMinecraft::ScriptPrimitiveShapeType shapeType,
bool isDebugShape);
105 MCAPI ScriptPrimitiveShape(
106 ::ScriptModuleMinecraft::ScriptPrimitiveShapeType shapeType,
107 ::std::variant<::ScriptModuleMinecraft::ScriptDimensionLocation, ::Vec3>
const& location,
111 MCAPI ::ScriptModuleMinecraft::ScriptPrimitiveShape&
114 MCAPI
void setAttachedTo(
118 MCAPI
void setLocation(::std::variant<::ScriptModuleMinecraft::ScriptDimensionLocation, ::Vec3>
const& location);
120 MCAPI
void setMaxRenderDistance(::std::optional<float> dist);
122 MCAPI
void setTotalTimeLeft(::std::optional<float> timeSec);
124 MCAPI
void setVisibleTo(
132 MCAPI static ::Scripting::ClassBinding bind();
140 MCAPI
void* $ctor(::ScriptModuleMinecraft::ScriptPrimitiveShapeType shapeType,
bool isDebugShape);
143 ::ScriptModuleMinecraft::ScriptPrimitiveShapeType shapeType,
144 ::std::variant<::ScriptModuleMinecraft::ScriptDimensionLocation, ::Vec3>
const& location,