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
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&);
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCNAPI bool canGetAngry(::Mob& owner, ::Mob* testMob, ::Actor* target, bool allowInvulnerable, bool mustSee) const;
43
44 MCNAPI ::AngryComponent& operator=(::AngryComponent&&);
45
46 MCNAPI void restartTimer(::Mob& owner);
47
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCNAPI void $dtor();
55 // NOLINTEND
56};
Definition ActorFilterGroup.h:16
Definition Actor.h:103
Definition AngryComponent.h:17
MCAPI bool canGetAngry(::Mob &owner, ::Mob *testMob, ::Actor *target, bool allowInvulnerable, bool mustSee) const
MCAPI void $dtor()
MCAPI ~AngryComponent()
MCAPI::AngryComponent & operator=(::AngryComponent &&)
MCAPI void restartTimer(::Mob &owner)
Definition Mob.h:47
Definition Tick.h:5