Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ExperienceRewardComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class CompoundTag;
10class ExpressionNode;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 24, ::std::vector<::ExpressionNode>> mOnBred;
18 ::ll::TypedStorage<8, 24, ::std::vector<::ExpressionNode>> mOnDeath;
19 ::ll::TypedStorage<1, 1, bool> mIsExperienceDropEnabled;
20 // NOLINTEND
21
22public:
23 // member functions
24 // NOLINTBEGIN
25 MCNAPI int getOnBredExperience(::Actor& owner) const;
26
27 MCNAPI int getOnDeathExperience(::Actor& owner) const;
28
30
32 // NOLINTEND
33
34public:
35 // static variables
36 // NOLINTBEGIN
37 MCNAPI static ::std::string const& mIsExperienceDropEnabledTag();
38 // NOLINTEND
39
40public:
41 // destructor thunk
42 // NOLINTBEGIN
43 MCNAPI void $dtor();
44 // NOLINTEND
45};
Definition Actor.h:116
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition ExperienceRewardComponent.h:13
static MCAPI ::std::string const & mIsExperienceDropEnabledTag()
MCAPI void readAdditionalSaveData(::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI int getOnBredExperience(::Actor &owner) const
MCAPI int getOnDeathExperience(::Actor &owner) const
Definition ExpressionNode.h:35