Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ProjectileComponentDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/comprehensive/ParticleType.h"
7#include "mc/deps/core/math/Vec3.h"
8#include "mc/deps/shared_types/util/Reference.h"
9#include "mc/deps/shared_types/v1_21_120/actor/ActorDefinitionTrigger.h"
10#include "mc/deps/shared_types/v1_26_50/actor/OnHitCommandsStorage.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17namespace SharedTypes::v1_26_50 {
18
20public:
21 // ProjectileComponentDefinition inner types define
22 enum class ProjectileAnchor : uchar {
23 Origin = 0,
24 EyeHeight = 1,
25 Middle = 2,
26 };
27
28 enum class ShouldBounce : uchar {
29 No = 0,
30 IfInvulnerable = 1,
31 IfNoDamageDealt = 2,
32 };
33
34public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<4, 12, ::Vec3> mProjectileOffset;
38 ::ll::TypedStorage<4, 4, float> mProjectilePower;
39 ::ll::TypedStorage<1, 1, bool> mLightningOnHit;
40 ::ll::TypedStorage<4, 4, float> mGravity;
41 ::ll::TypedStorage<4, 4, float> mUpwardsAngleOffset;
42 ::ll::TypedStorage<4, 4, ::ParticleType> mHitParticle;
43 ::ll::TypedStorage<4, 4, float> mUncertaintyBase;
44 ::ll::TypedStorage<4, 4, float> mUncertaintyMultiplier;
45 ::ll::TypedStorage<4, 4, float> mOnFireTime;
46 ::ll::TypedStorage<4, 4, int> mPotionEffect;
47 ::ll::TypedStorage<4, 4, float> mSplashRange;
48 ::ll::TypedStorage<1, 1, bool> mCatchFire;
49 ::ll::TypedStorage<1, 1, bool> mSpreadFire;
50 ::ll::TypedStorage<4, 4, float> mInertiaMod;
51 ::ll::TypedStorage<4, 4, float> mLiquidInertia;
52 ::ll::TypedStorage<8, 32, ::std::string> mHitEntitySound;
53 ::ll::TypedStorage<8, 32, ::std::string> mHitGroundSound;
54 ::ll::TypedStorage<8, 32, ::std::string> mShootSound;
55 ::ll::TypedStorage<1, 1, ::SharedTypes::v1_26_50::ProjectileComponentDefinition::ProjectileAnchor> mAnchor;
56 ::ll::TypedStorage<8, 48, ::SharedTypes::v1_26_50::OnHitCommandsStorage> mOnHitCommands;
57 ::ll::TypedStorage<8, 272, ::SharedTypes::v1_21_120::ActorDefinitionTrigger> mOnHitEvent;
58 ::ll::TypedStorage<1, 1, bool> mIsDangerous;
59 ::ll::TypedStorage<1, 1, bool> mReflectOnHurt;
60 ::ll::TypedStorage<1, 1, bool> mDestroyOnHurt;
61 ::ll::TypedStorage<1, 1, bool> mStopOnHurt;
62 ::ll::TypedStorage<1, 1, bool> mCritParticleOnHurt;
63 ::ll::TypedStorage<1, 1, bool> mShootTarget;
64 ::ll::TypedStorage<1, 1, bool> mIsHoming;
65 ::ll::TypedStorage<1, 1, ::SharedTypes::v1_26_50::ProjectileComponentDefinition::ShouldBounce> mShouldBounce;
66 ::ll::TypedStorage<1, 1, bool> mHitWater;
67 ::ll::TypedStorage<1, 1, bool> mMultipleHits;
68 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::Reference<1>>> mIgnoredEntities;
69 ::ll::TypedStorage<1, 1, bool> mHitNearestPassenger;
70 ::ll::TypedStorage<1, 1, bool> mIsolatedPhysics;
71 ::ll::TypedStorage<4, 4, float> mReflectImmunityInSeconds;
72 // NOLINTEND
73
74public:
75 // member functions
76 // NOLINTBEGIN
78
80
82
83 MCNAPI ::SharedTypes::v1_26_50::ProjectileComponentDefinition&
85
86 MCNAPI ::SharedTypes::v1_26_50::ProjectileComponentDefinition&
88
90
92 // NOLINTEND
93
94public:
95 // static functions
96 // NOLINTBEGIN
97 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
98 // NOLINTEND
99
100public:
101 // static variables
102 // NOLINTBEGIN
103 MCNAPI static ::Vec3 const& DEFAULT_OFFSET();
104
105 MCNAPI static ::std::string_view const& NAME();
106 // NOLINTEND
107
108public:
109 // constructor thunks
110 // NOLINTBEGIN
111 MCNAPI void* $ctor();
112
114
116 // NOLINTEND
117
118public:
119 // destructor thunk
120 // NOLINTBEGIN
121 MCNAPI void $dtor();
122 // NOLINTEND
123};
124
125} // namespace SharedTypes::v1_26_50
Definition ProjectileComponentDefinition.h:19
MCAPI ProjectileComponentDefinition(::SharedTypes::v1_26_50::ProjectileComponentDefinition const &)
static MCAPI ::std::string_view const & NAME()
MCAPI bool operator==(::SharedTypes::v1_26_50::ProjectileComponentDefinition const &) const
MCAPI void * $ctor(::SharedTypes::v1_26_50::ProjectileComponentDefinition &&)
MCAPI ProjectileComponentDefinition(::SharedTypes::v1_26_50::ProjectileComponentDefinition &&)
MCAPI::SharedTypes::v1_26_50::ProjectileComponentDefinition & operator=(::SharedTypes::v1_26_50::ProjectileComponentDefinition &&)
MCAPI void * $ctor(::SharedTypes::v1_26_50::ProjectileComponentDefinition const &)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI::SharedTypes::v1_26_50::ProjectileComponentDefinition & operator=(::SharedTypes::v1_26_50::ProjectileComponentDefinition const &)
Definition ReflectionCtx.h:11
Definition ctx.h:5