3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/world/level/storage/RealmsStoriesData.h"
5#include "mc/world/events/IRealmEventLogger.h"
8#include "mc/world/events/ActorEventListener.h"
9#include "mc/world/events/EventListenerDispatcher.h"
10#include "mc/world/events/EventResult.h"
11#include "mc/world/events/PlayerEventListener.h"
12#include "mc/world/level/storage/RealmEventId.h"
28namespace Json {
class Value; }
36 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, ::Vec3>> mLastPosChecked;
37 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::RealmsStoriesData>> mRealmsStoriesData;
38 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IRealmEventLogger>> mRealmEventLogger;
50 virtual ::EventResult onPlayerMove(
::Player& player) ;
57 virtual ::EventResult onPlayerPoweredBeacon(
::Player const& player,
int) ;
59 virtual ::EventResult onPlayerCraftedItem(
64 bool craftedAutomatically,
70 ::std::vector<short>
const& ingredientItemIDs
118 bool hadSearchString,
119 bool craftedAutomatically,
124 bool recipeBookShown,
125 ::std::vector<short>
const& ingredientItemIDs
Definition EventListenerDispatcher.h:6
Definition IRealmEventLogger.h:5
Definition ItemEnchants.h:13
Definition ItemInstance.h:15
Definition ItemStack.h:24
Definition RealmsStoriesData.h:13
Definition RealmsStoriesGameplayEventListener.h:32
MCAPI::EventResult $onPlayerEnchantedItem(::Player &player, ::ItemStack const &item, ::ItemEnchants const &enchants)
MCAPI::EventResult $onEvent(::ActorKilledEvent const &actorKilledEvent)
MCAPI void _publishLocationWorldEventIfFirstTime(::RealmEventId id, ::Player const &player)
MCAPI::EventResult $onEvent(::PlayerUseNameTagEvent const &playerUseNameTagEvent)
MCAPI::EventResult $onPlayerPortalUsed(::Player &player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCAPI::EventResult $onPlayerCraftedItem(::Player &player, ::ItemInstance const &craftedItem, bool recipeBook, bool hadSearchString, bool craftedAutomatically, int startingTabId, int endingTabId, int numTabsChanged, bool filterOn, bool recipeBookShown, ::std::vector< short > const &ingredientItemIDs)
static MCAPI ::std::set<::std::string > _getXuidsInKillProximity(::Actor const &killedActor, float xz, float y)
MCAPI::EventResult $onPlayerMove(::Player &player)
static MCAPI ::std::string _playerXuidsToString(::std::set<::std::string > const &xuids)
MCAPI::EventResult $onPlayerPortalBuilt(::Player &player, ::DimensionType dimensionBuiltIn)
MCAPI void _publishEventForRealmsService(::RealmEventId id, ::std::string const &xuid, ::Json::Value const &metadata) const
MCAPI::EventResult $onEvent(::ActorAcquiredItemEvent const &actorAcquiredItemEvent)
MCAPI::EventResult $onPlayerPoweredBeacon(::Player const &player, int)
static MCAPI ::Player const * _getActorFullyAuthenticatedPlayer(::Actor const *actor)
Definition ActorAcquiredItemEvent.h:15
Definition ActorKilledEvent.h:14
Definition DimensionType.h:5