LeviLamina
Loading...
Searching...
No Matches
LootTableContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
12class Dimension;
13class ILevel;
14class ItemStack;
15class LootTable;
16class Player;
17struct ActorUniqueID;
18// clang-format on
19
21public:
22 // LootTableContext inner types declare
23 // clang-format off
24 class Builder;
25 // clang-format on
26
27 // LootTableContext inner types define
28 class Builder {
29 public:
30 // member variables
31 // NOLINTBEGIN
42 // NOLINTEND
43
44 public:
45 // prevent constructor by default
46 Builder& operator=(Builder const&);
47 Builder(Builder const&);
48 Builder();
49
50 public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI ::LootTableContext create() const;
54
55 MCAPI ~Builder();
56 // NOLINTEND
57
58 public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63 };
64
65public:
66 // member variables
67 // NOLINTBEGIN
79 // NOLINTEND
80
81public:
82 // prevent constructor by default
83 LootTableContext& operator=(LootTableContext const&);
86
87public:
88 // member functions
89 // NOLINTBEGIN
90 MCAPI LootTableContext(
91 float luck,
92 ::ILevel* level,
93 ::ActorUniqueID thisEntityID,
94 ::Player* player,
95 ::Actor* killedActor,
96 ::ActorDamageSource const* deathSource,
97 float explosionRadius,
98 ::DimensionType dimensionId,
99 ::ItemStack const* tool
100 );
101
102 MCAPI void removeVisitedTable(::LootTable const* table);
103
104 MCAPI void setOriginalItemName(::std::string const& originalItemName);
105
106 MCAPI ~LootTableContext();
107 // NOLINTEND
108
109public:
110 // constructor thunks
111 // NOLINTBEGIN
112 MCAPI void* $ctor(
113 float luck,
114 ::ILevel* level,
115 ::ActorUniqueID thisEntityID,
116 ::Player* player,
117 ::Actor* killedActor,
118 ::ActorDamageSource const* deathSource,
119 float explosionRadius,
120 ::DimensionType dimensionId,
121 ::ItemStack const* tool
122 );
123 // NOLINTEND
124
125public:
126 // destructor thunk
127 // NOLINTBEGIN
128 MCAPI void $dtor();
129 // NOLINTEND
130};
Definition ActorDamageSource.h:18
Definition Actor.h:104
Definition AutomaticID.h:6
Definition Dimension.h:83
Definition ILevel.h:203
Definition ItemStack.h:25
Definition LootTableContext.h:28
Definition LootTableContext.h:20
Definition LootTable.h:14
Definition Player.h:119
Definition ActorUniqueID.h:5
Definition Alias.h:14