18 enum class RaidState :
int {
20 PickingSpawnPoint = 1,
28 enum class RaidStatus :
int {
34 using ActorIDCollection = ::std::unordered_set<::ActorUniqueID>;
36 using ActorRemovedFromRaidCallback = ::std::function<void(
::ActorUniqueID const&)>;
38 using ApplyHeroOfTheVillageCallback = ::std::function<void(
::ActorUniqueID const&)>;
40 using CallbackCallCountType = uint64;
42 using DoesActorExistCallback = ::std::function<bool(
::ActorUniqueID const&)>;
44 using DurationType = int;
46 using FailureCountType = uchar;
48 using GroupNumberType = uchar;
50 using IsVillageDefeatedCallback = ::std::function<bool()>;
52 using NotificationCallback = ::std::function<void(
::Raid const&)>;
54 using PickSpawnPointCallback = ::std::function<bool(uint64,
::Vec3&)>;
56 using RaiderCountType = uchar;
58 using RaiderHealthCallback = ::std::function<float(
::ActorUniqueID const&)>;
60 using SpawnGroupCallback = ::std::function<bool(uint64,
::Vec3, uchar, ::std::unordered_set<::ActorUniqueID>&)>;
65 ::ll::TypedStorage<4, 4, ::Raid::RaidState> mCurrentRaidState;
66 ::ll::TypedStorage<4, 4, ::Raid::RaidStatus> mRaidStatus;
67 ::ll::TypedStorage<1, 1, uchar> mCurrentGroupNumber;
68 ::ll::TypedStorage<1, 1, uchar> mNumGroupsInRaid;
69 ::ll::TypedStorage<8, 8, ::Tick> mGameTick;
70 ::ll::TypedStorage<8, 8, ::Tick> mTicksInState;
71 ::ll::TypedStorage<4, 4, int> mRaidPreparationTime;
72 ::ll::TypedStorage<4, 4, int const> mGroupCompleteDelay;
73 ::ll::TypedStorage<4, 4, int> mTicksUntilGroupComplete;
74 ::ll::TypedStorage<4, 4, int const> mLocationHelpDelay;
75 ::ll::TypedStorage<4, 4, int> mTicksUntilLocationHelp;
76 ::ll::TypedStorage<4, 4, int const> mFinishedDelay;
77 ::ll::TypedStorage<4, 12, ::Vec3> mCurrentGroupSpawnPoint;
78 ::ll::TypedStorage<8, 64, ::std::unordered_set<::ActorUniqueID>> mRaiders;
79 ::ll::TypedStorage<1, 1, uchar> mNumRaidersSpawnedInCurrentGroup;
80 ::ll::TypedStorage<4, 4, float> mCurrentGroupTotalMaxHealth;
81 ::ll::TypedStorage<1, 1, uchar const> mAllowedSpawnFailures;
82 ::ll::TypedStorage<1, 1, uchar> mSpawnFailures;
83 ::ll::TypedStorage<8, 64, ::std::unordered_set<::ActorUniqueID>> mHeroesOfTheVillage;
84 ::ll::TypedStorage<8, 64, ::std::function<bool(uint64,
::Vec3&)>
const> mPickSpawnPointCallback;
86 TypedStorage<8, 64, ::std::function<bool(uint64,
::Vec3, uchar, ::std::unordered_set<::ActorUniqueID>&)>
const>
88 ::ll::TypedStorage<8, 64, ::std::function<bool(
::ActorUniqueID const&)>
const> mDoesActorExistCallback;
89 ::ll::TypedStorage<8, 64, ::std::function<bool()>
const> mIsVillageDefeatedCallback;
90 ::ll::TypedStorage<8, 64, ::std::function<void(
::Raid const&)>> mOnSpawnPointChosenCallback;
91 ::ll::TypedStorage<8, 64, ::std::function<void(
::Raid const&)>> mOnGroupSpawnedCallback;
92 ::ll::TypedStorage<8, 64, ::std::function<void(
::Raid const&)>> mOnAwardRewardsCallback;
93 ::ll::TypedStorage<8, 64, ::std::function<void(
::Raid const&)>> mOnHelpLocateRaidersCallback;
94 ::ll::TypedStorage<8, 64, ::std::function<void(
::Raid const&)>> mOnVillageDefeatedCallback;
95 ::ll::TypedStorage<8, 64, ::std::function<void(
::ActorUniqueID const&)>> mApplyHeroOfTheVillageCallback;
96 ::ll::TypedStorage<8, 64, ::std::function<void(
::ActorUniqueID const&)>> mOnActorRemovedFromRaidCallback;
97 ::ll::TypedStorage<8, 64, ::std::function<float(
::ActorUniqueID const&)>> mGetRaiderHealthCallback;
103 MCAPI
void addPlayerToHeroList(
::Actor const& actor);
105 MCAPI
float getBossBarFilledFraction()
const;