LeviLamina
Loading...
Searching...
No Matches
AchievementEventing.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/events/MinecraftEventing.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class ItemDescriptor;
12class Mob;
14class Player;
15// clang-format on
16
17namespace Social::Events {
18
20public:
21 // member variables
22 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI AchievementEventing();
35
36 MCAPI void AwardAchievement(::Player& player, ::MinecraftEventing::AchievementIds achievementId);
37
38 MCAPI void CaravanChanged(::Mob& mob, int caravanSize);
39
40 MCAPI void ItemUsed(::Player const& player, ::ItemDescriptor const& item, uint useMethod);
41
42 MCAPI void JukeboxUsed(::Player const& player, ::ItemDescriptor const& disc);
43
44 MCAPI void MobEffectChanged(::Player const& player, ::MobEffectInstance const& effectInstance, int change);
45
46 MCAPI void PlayerBounced(::Player const& player, ::Block const& block, int bounceHeight, int auxType);
47
48 MCAPI void PlayerTeleported(::Player& player, float metersTravelled, int cause, int sourceType);
49
50 MCAPI void
51 PlayerTravelled(::Player const& player, float metersTravelledSinceLastEvent, int travelMethodType, int newBiome);
52 // NOLINTEND
53
54public:
55 // static variables
56 // NOLINTBEGIN
57 MCAPI static ::std::unordered_map<::std::string, ::std::pair<short, short>>& mLegacyIdMap();
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor();
64 // NOLINTEND
65};
66
67} // namespace Social::Events
Definition Block.h:36
Definition ItemDescriptor.h:22
Definition MobEffectInstance.h:15
Definition Mob.h:47
Definition Player.h:119
Definition AchievementEventing.h:19
Definition Alias.h:14