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/world/actor/ActorFilterGroup.h"
7#include "mc/world/level/Tick.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
13class Mob;
14struct Tick;
15// clang-format on
16
17class AngryComponent {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, int> mDuration;
22 ::ll::TypedStorage<1, 1, bool> mHasTicked;
23 ::ll::TypedStorage<1, 1, bool> mBroadcastAnger;
24 ::ll::TypedStorage<1, 1, bool> mBroadcastOnAttack;
25 ::ll::TypedStorage<1, 1, bool> mBroadcastOnBeingAttacked;
26 ::ll::TypedStorage<1, 1, bool> mBroadcastAngerWhenDying;
27 ::ll::TypedStorage<4, 4, int> mBroadcastRange;
28 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mBroadcastFilter;
29 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mSubjectFilter;
30 ::ll::TypedStorage<8, 8, ::Tick> mNextSoundEventTick;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 AngryComponent& operator=(AngryComponent const&);
36 AngryComponent(AngryComponent const&);
37 AngryComponent();
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI bool canGetAngry(::Mob& owner, ::Mob* testMob, ::Actor* target, bool allowInvulnerable, bool mustSee) const;
43
44 MCAPI ::AngryComponent& operator=(::AngryComponent&&);
45
46 MCAPI void restartTimer(::Mob& owner);
47
48 MCAPI ~AngryComponent();
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCAPI void $dtor();
55 // NOLINTEND
56};
Definition ActorFilterGroup.h:19
Definition Actor.h:105
Definition Mob.h:50
Definition Tick.h:5