LeviLamina
Loading...
Searching...
No Matches
RealmsStoriesGameplayEventListener Class Reference
+ Inheritance diagram for RealmsStoriesGameplayEventListener:

Public Member Functions

virtual::EventResult onEvent (::ActorAcquiredItemEvent const &actorAcquiredItemEvent)
 
virtual::EventResult onEvent (::ActorKilledEvent const &actorKilledEvent)
 
virtual::EventResult onEvent (::PlayerUseNameTagEvent const &playerUseNameTagEvent)
 
virtual::EventResult onPlayerMove (::Player &player)
 
virtual::EventResult onPlayerPortalBuilt (::Player &player, ::DimensionType dimensionBuiltIn)
 
virtual::EventResult onPlayerPortalUsed (::Player &player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
virtual::EventResult onPlayerPoweredBeacon (::Player const &player, int level)
 
virtual::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)
 
virtual::EventResult onPlayerEnchantedItem (::Player &player, ::ItemStack const &item, ::ItemEnchants const &enchants)
 
MCAPI RealmsStoriesGameplayEventListener (::LevelStorage &levelStorage, ::std::unique_ptr<::IRealmEventLogger > realmEventLogger)
 
MCAPI void _checkForBiomeRealmEvents (::Player const &player)
 
MCAPI void _checkForStructureRealmEvents (::Player const &player)
 
MCAPI void _handlePillagerKilledEvent (::Actor const &killedActor, ::ActorKilledEvent const &actorKilledEvent)
 
MCAPI void _publishEventForRealmsService (::RealmEventId id, ::std::string const &xuid, ::Json::Value const &metadata) const
 
MCAPI void _publishLocationWorldEventIfFirstTime (::RealmEventId id, ::Player const &player)
 
MCAPI void _publishPlayerEventIfFirstTime (::RealmEventId id, ::std::string const &playerXuid, ::Json::Value const &metadata)
 
MCAPI void _publishWorldEventFirstOrOtherTime (::RealmEventId firstTimeId, ::RealmEventId otherTimeId, ::std::string const &xuid)
 
MCAPI void * $ctor (::LevelStorage &levelStorage, ::std::unique_ptr<::IRealmEventLogger > realmEventLogger)
 
MCAPI::EventResult $onEvent (::ActorAcquiredItemEvent const &actorAcquiredItemEvent)
 
MCAPI::EventResult $onEvent (::ActorKilledEvent const &actorKilledEvent)
 
MCAPI::EventResult $onEvent (::PlayerUseNameTagEvent const &playerUseNameTagEvent)
 
MCAPI::EventResult $onPlayerMove (::Player &player)
 
MCAPI::EventResult $onPlayerPortalBuilt (::Player &player, ::DimensionType dimensionBuiltIn)
 
MCAPI::EventResult $onPlayerPortalUsed (::Player &player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
MCAPI::EventResult $onPlayerPoweredBeacon (::Player const &player, int level)
 
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)
 
MCAPI::EventResult $onPlayerEnchantedItem (::Player &player, ::ItemStack const &item, ::ItemEnchants const &enchants)
 

Static Public Member Functions

static MCAPI ::std::set<::std::string > _getXuidsInKillProximity (::Actor const &killedActor, float xz, float y)
 
static MCAPI ::std::string _playerXuidsToString (::std::set<::std::string > const &xuids)
 
static MCAPI void ** $vftableForEventListenerDispatcherActorEventListener ()
 
static MCAPI void ** $vftableForEventListenerDispatcherPlayerEventListener ()
 

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map< uint64, ::Vec3 > > mLastPosChecked
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::RealmsStoriesData > > mRealmsStoriesData
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IRealmEventLogger > > mRealmEventLogger
 

Constructor & Destructor Documentation

◆ RealmsStoriesGameplayEventListener()

MCAPI RealmsStoriesGameplayEventListener::RealmsStoriesGameplayEventListener ( ::LevelStorage & levelStorage,
::std::unique_ptr<::IRealmEventLogger > realmEventLogger )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _checkForBiomeRealmEvents()

MCAPI void RealmsStoriesGameplayEventListener::_checkForBiomeRealmEvents ( ::Player const & player)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _checkForStructureRealmEvents()

MCAPI void RealmsStoriesGameplayEventListener::_checkForStructureRealmEvents ( ::Player const & player)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _handlePillagerKilledEvent()

MCAPI void RealmsStoriesGameplayEventListener::_handlePillagerKilledEvent ( ::Actor const & killedActor,
::ActorKilledEvent const & actorKilledEvent )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _publishEventForRealmsService()

MCAPI void RealmsStoriesGameplayEventListener::_publishEventForRealmsService ( ::RealmEventId id,
::std::string const & xuid,
::Json::Value const & metadata ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _publishLocationWorldEventIfFirstTime()

MCAPI void RealmsStoriesGameplayEventListener::_publishLocationWorldEventIfFirstTime ( ::RealmEventId id,
::Player const & player )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _publishPlayerEventIfFirstTime()

MCAPI void RealmsStoriesGameplayEventListener::_publishPlayerEventIfFirstTime ( ::RealmEventId id,
::std::string const & playerXuid,
::Json::Value const & metadata )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _publishWorldEventFirstOrOtherTime()

MCAPI void RealmsStoriesGameplayEventListener::_publishWorldEventFirstOrOtherTime ( ::RealmEventId firstTimeId,
::RealmEventId otherTimeId,
::std::string const & xuid )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _getXuidsInKillProximity()

static MCAPI ::std::set<::std::string > RealmsStoriesGameplayEventListener::_getXuidsInKillProximity ( ::Actor const & killedActor,
float xz,
float y )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _playerXuidsToString()

static MCAPI ::std::string RealmsStoriesGameplayEventListener::_playerXuidsToString ( ::std::set<::std::string > const & xuids)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * RealmsStoriesGameplayEventListener::$ctor ( ::LevelStorage & levelStorage,
::std::unique_ptr<::IRealmEventLogger > realmEventLogger )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onEvent() [1/3]

MCAPI::EventResult RealmsStoriesGameplayEventListener::$onEvent ( ::ActorAcquiredItemEvent const & actorAcquiredItemEvent)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onEvent() [2/3]

MCAPI::EventResult RealmsStoriesGameplayEventListener::$onEvent ( ::ActorKilledEvent const & actorKilledEvent)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onEvent() [3/3]

MCAPI::EventResult RealmsStoriesGameplayEventListener::$onEvent ( ::PlayerUseNameTagEvent const & playerUseNameTagEvent)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onPlayerMove()

MCAPI::EventResult RealmsStoriesGameplayEventListener::$onPlayerMove ( ::Player & player)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onPlayerPortalBuilt()

MCAPI::EventResult RealmsStoriesGameplayEventListener::$onPlayerPortalBuilt ( ::Player & player,
::DimensionType dimensionBuiltIn )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onPlayerPortalUsed()

MCAPI::EventResult RealmsStoriesGameplayEventListener::$onPlayerPortalUsed ( ::Player & player,
::DimensionType fromDimension,
::DimensionType toDimension )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onPlayerPoweredBeacon()

MCAPI::EventResult RealmsStoriesGameplayEventListener::$onPlayerPoweredBeacon ( ::Player const & player,
int level )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onPlayerCraftedItem()

MCAPI::EventResult RealmsStoriesGameplayEventListener::$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 )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onPlayerEnchantedItem()

MCAPI::EventResult RealmsStoriesGameplayEventListener::$onPlayerEnchantedItem ( ::Player & player,
::ItemStack const & item,
::ItemEnchants const & enchants )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForEventListenerDispatcherActorEventListener()

static MCAPI void ** RealmsStoriesGameplayEventListener::$vftableForEventListenerDispatcherActorEventListener ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForEventListenerDispatcherPlayerEventListener()

static MCAPI void ** RealmsStoriesGameplayEventListener::$vftableForEventListenerDispatcherPlayerEventListener ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: