3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/world/events/ActorEventListener.h"
8#include "mc/world/events/EventListenerDispatcher.h"
9#include "mc/world/events/EventResult.h"
10#include "mc/world/events/PlayerEventListener.h"
11#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;
58 virtual ::EventResult onPlayerMove(
::Player& player) ;
68 virtual ::EventResult onPlayerPoweredBeacon(
::Player const& player,
int level) ;
71 virtual ::EventResult onPlayerCraftedItem(
76 bool craftedAutomatically,
82 ::std::vector<short>
const& ingredientItemIDs
98 ::std::unique_ptr<::IRealmEventLogger> realmEventLogger
116 ::RealmEventId firstTimeId,
117 ::RealmEventId otherTimeId,
118 ::std::string
const& xuid
133 MCNAPI
void*
$ctor(
::LevelStorage& levelStorage, ::std::unique_ptr<::IRealmEventLogger> realmEventLogger);
158 bool hadSearchString,
159 bool craftedAutomatically,
164 bool recipeBookShown,
165 ::std::vector<short>
const& ingredientItemIDs
Definition AutomaticID.h:6
Definition Dimension.h:83
Definition EventListenerDispatcher.h:6
Definition IRealmEventLogger.h:5
Definition ItemEnchants.h:17
Definition ItemInstance.h:16
Definition ItemStack.h:25
Definition LevelStorage.h:25
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 _publishWorldEventFirstOrOtherTime(::RealmEventId firstTimeId, ::RealmEventId otherTimeId, ::std::string const &xuid)
MCAPI void _publishLocationWorldEventIfFirstTime(::RealmEventId id, ::Player const &player)
MCAPI::EventResult $onEvent(::PlayerUseNameTagEvent const &playerUseNameTagEvent)
static MCAPI void ** $vftableForEventListenerDispatcherActorEventListener()
MCAPI::EventResult $onPlayerPortalUsed(::Player &player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCAPI void _handlePillagerKilledEvent(::Actor const &killedActor, ::ActorKilledEvent const &actorKilledEvent)
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 $onPlayerPoweredBeacon(::Player const &player, int level)
MCAPI::EventResult $onPlayerMove(::Player &player)
static MCAPI ::std::string _playerXuidsToString(::std::set<::std::string > const &xuids)
MCAPI void _checkForStructureRealmEvents(::Player const &player)
MCAPI void * $ctor(::LevelStorage &levelStorage, ::std::unique_ptr<::IRealmEventLogger > realmEventLogger)
MCAPI::EventResult $onPlayerPortalBuilt(::Player &player, ::DimensionType dimensionBuiltIn)
MCAPI RealmsStoriesGameplayEventListener(::LevelStorage &levelStorage, ::std::unique_ptr<::IRealmEventLogger > realmEventLogger)
MCAPI void _checkForBiomeRealmEvents(::Player const &player)
MCAPI void _publishEventForRealmsService(::RealmEventId id, ::std::string const &xuid, ::Json::Value const &metadata) const
MCAPI::EventResult $onEvent(::ActorAcquiredItemEvent const &actorAcquiredItemEvent)
static MCAPI void ** $vftableForEventListenerDispatcherPlayerEventListener()
MCAPI void _publishPlayerEventIfFirstTime(::RealmEventId id, ::std::string const &playerXuid, ::Json::Value const &metadata)
Definition ActorAcquiredItemEvent.h:15
Definition ActorKilledEvent.h:14