LeviLamina
Loading...
Searching...
No Matches
PlayerTelemetry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Player;
8class Vec3;
9namespace Social::Events { class Event; }
10namespace Social::Events { struct PlayerTelemetryLoadout; }
11// clang-format on
12
13namespace Social::Events {
14
15class PlayerTelemetry {
16public:
17 // member variables
18 // NOLINTBEGIN
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 PlayerTelemetry& operator=(PlayerTelemetry const&);
40 PlayerTelemetry(PlayerTelemetry const&);
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCNAPI void AddBiomeVisited(::std::string biome);
46
47#ifdef LL_PLAT_C
48 MCNAPI void ItemAcquired(::std::string const& itemName, ::std::string const& acquisitionMethod, int itemCount);
49
50 MCNAPI void ItemEquipped(::std::string const& itemName, int slot, int enchantCount);
51#endif
52
53 MCNAPI void ItemUsed(::std::string const& itemName, ::std::string const& useMethod);
54
55#ifdef LL_PLAT_C
56 MCNAPI void MobInteracted(
57 ::std::string InteractedEntity,
58 bool isBaby,
59 bool isGrowthPaused,
60 ::std::string interactionType,
61 int interactedEntityVariant,
62 uchar interactedEntityColor,
63 ::std::string playerMainHand,
65 ::std::map<::std::string, ::std::string> const& mobProps
66 );
67#endif
68
70
71 MCNAPI void PopulateEvent(::Social::Events::Event& event) const;
72
73 MCNAPI void SetPosition(::std::string dimension, ::Vec3 pos, double metersTravelled);
74
75 MCNAPI void UpdatePlayerLoadout(::Player& player);
76
77 MCNAPI void VehicleEntered(
78 ::std::string const& vehicleName,
79 int vehicleVariant,
80 ::std::map<::std::string, ::std::string> const& mobProps,
81 int passengerCount
82 );
83
84 MCNAPI void VehicleExited(
85 ::std::string const& vehicleName,
86 int vehicleVariant,
87 ::std::map<::std::string, ::std::string> const& mobProps,
88 int passengerCount,
89 double timeOnMountSeconds,
90 double distanceTravelled
91 );
92
94 // NOLINTEND
95
96public:
97 // constructor thunks
98 // NOLINTBEGIN
99 MCNAPI void* $ctor();
100 // NOLINTEND
101
102public:
103 // destructor thunk
104 // NOLINTBEGIN
105 MCNAPI void $dtor();
106 // NOLINTEND
107};
108
109} // namespace Social::Events
Definition Player.h:129
Definition Event.h:18
MCAPI void SetPosition(::std::string dimension, ::Vec3 pos, double metersTravelled)
MCAPI void UpdatePlayerLoadout(::Player &player)
MCAPI void ItemUsed(::std::string const &itemName, ::std::string const &useMethod)
MCAPI void VehicleExited(::std::string const &vehicleName, int vehicleVariant, ::std::map<::std::string, ::std::string > const &mobProps, int passengerCount, double timeOnMountSeconds, double distanceTravelled)
MCAPI void PopulateEvent(::Social::Events::Event &event) const
MCAPI void VehicleEntered(::std::string const &vehicleName, int vehicleVariant, ::std::map<::std::string, ::std::string > const &mobProps, int passengerCount)
MCAPI void AddBiomeVisited(::std::string biome)
Definition Vec3.h:10
Definition PlayerTelemetryLoadout.h:7
Definition Alias.h:14