LeviLamina
Loading...
Searching...
No Matches
AngryComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/actor/ActorFilterGroup.h"
8#include "mc/world/level/Tick.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
14class Mob;
15struct Tick;
16// clang-format on
17
18class AngryComponent {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, int> mDuration;
23 ::ll::TypedStorage<1, 1, bool> mHasTicked;
24 ::ll::TypedStorage<1, 1, bool> mBroadcastAnger;
25 ::ll::TypedStorage<1, 1, bool> mBroadcastOnAttack;
26 ::ll::TypedStorage<1, 1, bool> mBroadcastOnBeingAttacked;
27 ::ll::TypedStorage<1, 1, bool> mBroadcastAngerWhenDying;
28 ::ll::TypedStorage<4, 4, int> mBroadcastRange;
29 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mBroadcastFilter;
30 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mSubjectFilter;
31 ::ll::TypedStorage<8, 8, ::Tick> mNextSoundEventTick;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 AngryComponent& operator=(AngryComponent const&);
37 AngryComponent();
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI AngryComponent(::AngryComponent&&);
43
44 MCAPI AngryComponent(::AngryComponent const&);
45
46 MCAPI bool canGetAngry(::Mob& owner, ::Mob* testMob, ::Actor* target, bool allowInvulnerable, bool mustSee) const;
47
48 MCAPI ::SharedTypes::Legacy::LevelSoundEvent const getAngrySound(::Mob const& mob) const;
49
50 MCAPI void restartTimer(::Mob& owner);
51
52 MCAPI void setNextSoundEventTick(::Mob const& mob);
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCFOLD void* $ctor(::AngryComponent&&);
59
60 MCFOLD void* $ctor(::AngryComponent const&);
61 // NOLINTEND
62};
Definition ActorFilterGroup.h:19
Definition Actor.h:113
Definition Mob.h:56
Definition Tick.h:5