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

Classes

struct  Data
 

Public Types

enum class  Type : int {
  Achievement = 0 , Interaction = 1 , PortalCreated = 2 , PortalUsed = 3 ,
  MobKilled = 4 , CauldronUsed = 5 , PlayerDied = 6 , BossKilled = 7 ,
  AgentCommandObsolete = 8 , AgentCreated = 9 , PatternRemovedObsolete = 10 , SlashCommand = 11 ,
  DeprecatedFishBucketed = 12 , MobBorn = 13 , PetDiedObsolete = 14 , POICauldronUsed = 15 ,
  ComposterUsed = 16 , BellUsed = 17 , ActorDefinition = 18 , RaidUpdate = 19 ,
  PlayerMovementAnomalyObsolete = 20 , PlayerMovementCorrectedObsolete = 21 , HoneyHarvested = 22 , TargetBlockHit = 23 ,
  PiglinBarter = 24 , PlayerWaxedOrUnwaxedCopper = 25 , CodeBuilderRuntimeAction = 26 , CodeBuilderScoreboard = 27 ,
  StriderRiddenInLavaInOverworld = 28 , SneakCloseToSculkSensor = 29 , CarefulRestoration = 30 , ItemUsedEvent = 31
}
 
enum class  AgentResult : int { ActionFail = 0 , ActionSuccess = 1 , QueryResultFalse = 2 , QueryResultTrue = 3 }
 

Public Member Functions

LegacyTelemetryEventPacketoperator= (LegacyTelemetryEventPacket const &)
 
 LegacyTelemetryEventPacket (LegacyTelemetryEventPacket const &)
 
virtual::MinecraftPacketIds getId () const
 
virtual::std::string getName () const
 
virtual void write (::BinaryStream &stream) const
 
virtual ::Bedrock::Result< void > _read (::ReadOnlyBinaryStream &stream)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, ::gsl::not_null<::Mob const * > baby)
 
MCAPI LegacyTelemetryEventPacket (::Player const &player, ::std::string const &codebuilderRuntimeAction)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, ::LegacyTelemetryEventPacket::Data const &data)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, ::DimensionType portalBuiltInDimension)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, ::MinecraftEventing::AchievementIds achievementId, bool usePlayerID)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, ::gsl::not_null<::Actor const * > interactedEntity, ::MinecraftEventing::InteractionType interactionType)
 
MCAPI LegacyTelemetryEventPacket (::Player const &player, ::std::string const &objective, int score)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, int partySize, ::gsl::not_null<::Actor const * > e)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, ::Raid const &raid, bool success)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, short contentsType, uint contentsColor, short fillLevel)
 
MCAPI LegacyTelemetryEventPacket (::Player const &player, ::ItemStackBase const &item, ::ItemUseMethod useCount, int useMethod)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, ::std::string const &commandName, int successCount, int errorCount, ::std::string const &errorList)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, ::Actor const *killerEntity, ::ActorUniqueID const &killedMobID, ::SharedTypes::Legacy::ActorDamageCause cause, ::ActorType damageChildType)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, int killerId, int killerVariant, ::SharedTypes::Legacy::ActorDamageCause cause, bool inRaid)
 
MCAPI LegacyTelemetryEventPacket (::Player const *player, ::Actor const *killerEntity, ::ActorUniqueID const &killedMobID, ::SharedTypes::Legacy::ActorDamageCause cause, ::std::string traderName, int traderTier, ::ActorType damageChildType)
 
MCAPI::LegacyTelemetryEventPacket & operator= (::LegacyTelemetryEventPacket &&)
 
MCAPI void * $ctor ()
 
MCAPI void * $ctor (::Player const *player, ::gsl::not_null<::Mob const * > baby)
 
MCAPI void * $ctor (::Player const &player, ::std::string const &codebuilderRuntimeAction)
 
MCAPI void * $ctor (::Player const *player, ::LegacyTelemetryEventPacket::Data const &data)
 
MCAPI void * $ctor (::Player const *player, ::DimensionType portalBuiltInDimension)
 
MCAPI void * $ctor (::Player const *player, ::MinecraftEventing::AchievementIds achievementId, bool usePlayerID)
 
MCAPI void * $ctor (::Player const *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
MCAPI void * $ctor (::Player const *player, ::gsl::not_null<::Actor const * > interactedEntity, ::MinecraftEventing::InteractionType interactionType)
 
MCAPI void * $ctor (::Player const &player, ::std::string const &objective, int score)
 
MCAPI void * $ctor (::Player const *player, int partySize, ::gsl::not_null<::Actor const * > e)
 
MCAPI void * $ctor (::Player const *player, ::Raid const &raid, bool success)
 
MCAPI void * $ctor (::Player const *player, short contentsType, uint contentsColor, short fillLevel)
 
MCAPI void * $ctor (::Player const &player, ::ItemStackBase const &item, ::ItemUseMethod useCount, int useMethod)
 
MCAPI void * $ctor (::Player const *player, ::std::string const &commandName, int successCount, int errorCount, ::std::string const &errorList)
 
MCAPI void * $ctor (::Player const *player, ::Actor const *killerEntity, ::ActorUniqueID const &killedMobID, ::SharedTypes::Legacy::ActorDamageCause cause, ::ActorType damageChildType)
 
MCAPI void * $ctor (::Player const *player, int killerId, int killerVariant, ::SharedTypes::Legacy::ActorDamageCause cause, bool inRaid)
 
MCAPI void * $ctor (::Player const *player, ::Actor const *killerEntity, ::ActorUniqueID const &killedMobID, ::SharedTypes::Legacy::ActorDamageCause cause, ::std::string traderName, int traderTier, ::ActorType damageChildType)
 
MCAPI void $dtor ()
 
MCAPI::MinecraftPacketIds $getId () const
 
MCAPI::std::string $getName () const
 
MCAPI void $write (::BinaryStream &stream) const
 
MCAPI ::Bedrock::Result< void > $_read (::ReadOnlyBinaryStream &stream)
 
LLAPI void sendTo (Player const &player) const
 
LLAPI void sendTo (BlockPos const &pos, DimensionType dimId, optional_ref< Player const > except=std::nullopt) const
 
LLAPI void sendTo (Actor const &actor, optional_ref< Player const > except=std::nullopt) const
 
LLAPI void sendToClient (NetworkIdentifier const &identifier, ::SubClientId clientId) const
 
LLAPI void sendToClient (NetworkIdentifierWithSubId const &identifierWithSubId) const
 
LLAPI void sendToClients () const
 
LLAPI void sendToClients (NetworkIdentifier const &exceptId, ::SubClientId exceptSubid) const
 
virtual ::Bedrock::Result< void > checkSize (uint64 packetSize, bool receiverIsServer) const
 
virtual ::Bedrock::Result< void > read (::ReadOnlyBinaryStream &bitStream)
 
virtual bool disallowBatching () const
 
virtual bool isValid () const
 
MCAPI ::Bedrock::Result< void > readNoHeader (::ReadOnlyBinaryStream &bitstream, ::SubClientId const &subid)
 
MCAPI ::Bedrock::Result< void > $checkSize (uint64 packetSize, bool receiverIsServer) const
 
MCAPI ::Bedrock::Result< void > $read (::ReadOnlyBinaryStream &bitStream)
 
MCFOLD bool $disallowBatching () const
 
MCFOLD bool $isValid () const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 8, ::ActorUniqueIDmPlayerId
 
::ll::TypedStorage< 8, 264, ::LegacyTelemetryEventPacket::DatamEventData
 
::PacketPriority mPriority
 
::NetworkPeer::Reliability mReliability
 
::SubClientId mClientSubId
 
bool mIsHandled
 
::std::chrono::steady_clock::time_point mReceiveTimepoint
 
::IPacketHandlerDispatcher const * mHandler
 
::Compressibility mCompressible
 

Member Function Documentation

◆ getId()

virtual::MinecraftPacketIds LegacyTelemetryEventPacket::getId ( ) const
virtual

Implements Packet.

◆ getName()

virtual::std::string LegacyTelemetryEventPacket::getName ( ) const
virtual

Implements Packet.

◆ write()

virtual void LegacyTelemetryEventPacket::write ( ::BinaryStream & stream) const
virtual

Implements Packet.

◆ _read()

virtual ::Bedrock::Result< void > LegacyTelemetryEventPacket::_read ( ::ReadOnlyBinaryStream & stream)
virtual

Implements Packet.

◆ sendTo() [1/3]

LLAPI void Packet::sendTo ( Player const & player) const
inherited

Send the packet to a specific server player.

Parameters
playerThe server player to send the packet to.

◆ sendTo() [2/3]

LLAPI void Packet::sendTo ( BlockPos const & pos,
DimensionType dimId,
optional_ref< Player const > except = std::nullopt ) const
inherited

Send the packet to all relevant players in a 2D plane at a position in a given dimension.

Parameters
posThe position to send the packet to.
dimIdThe type of dimension to send the packet in.
exceptexclude this player.

◆ sendTo() [3/3]

LLAPI void Packet::sendTo ( Actor const & actor,
optional_ref< Player const > except = std::nullopt ) const
inherited

Send the packet to all relevant players within a specific actor.

Parameters
actorThe actor to send the packet to.
exceptexclude this player.

◆ sendToClient()

LLAPI void Packet::sendToClient ( NetworkIdentifier const & identifier,
::SubClientId clientId ) const
inherited

Send the packet to a specific client identified by network identifier and sub-client ID.

Parameters
idThe network identifier of the client to send the packet to.
clientIdThe sub-client ID of the client to send the packet to.

◆ sendToClients()

LLAPI void Packet::sendToClients ( ) const
inherited

Send the packet to all clients connected to the server.


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