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 MCNAPI_C void ItemAcquired(::std::string const& itemName, ::std::string const& acquisitionMethod, int itemCount);
48
49 MCNAPI_C void ItemEquipped(::std::string const& itemName, int slot, int enchantCount);
50
51 MCNAPI void ItemUsed(::std::string const& itemName, ::std::string const& useMethod);
52
53 MCNAPI_C void MobInteracted(
54 ::std::string InteractedEntity,
55 ::std::string interactionType,
56 int interactedEntityVariant,
57 uchar interactedEntityColor,
59 ::std::map<::std::string, ::std::string> const& mobProps
60 );
61
63
64 MCNAPI void PopulateEvent(::Social::Events::Event& event) const;
65
66 MCNAPI void SetPosition(::std::string dimension, ::Vec3 pos, double metersTravelled);
67
68 MCNAPI void UpdatePlayerLoadout(::Player& player);
69
70 MCNAPI void VehicleEntered(
71 ::std::string const& vehicleName,
72 int vehicleVariant,
73 ::std::map<::std::string, ::std::string> const& mobProps,
74 int passengerCount
75 );
76
77 MCNAPI void VehicleExited(
78 ::std::string const& vehicleName,
79 int vehicleVariant,
80 ::std::map<::std::string, ::std::string> const& mobProps,
81 int passengerCount,
82 double timeOnMountSeconds,
83 double distanceTravelled
84 );
85
87 // NOLINTEND
88
89public:
90 // constructor thunks
91 // NOLINTBEGIN
92 MCNAPI void* $ctor();
93 // NOLINTEND
94
95public:
96 // destructor thunk
97 // NOLINTBEGIN
98 MCNAPI void $dtor();
99 // NOLINTEND
100};
101
102} // namespace Social::Events
Definition Player.h:125
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