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 Player;
16struct ActorUniqueID;
17// clang-format on
18
20public:
21 // LootTableContext inner types declare
22 // clang-format off
23 class Builder;
24 // clang-format on
25
26 // LootTableContext inner types define
27 class Builder {
28 public:
29 // member variables
30 // NOLINTBEGIN
41 // NOLINTEND
42
43 public:
44 // prevent constructor by default
45 Builder& operator=(Builder const&);
46 Builder(Builder const&);
47 Builder();
48
49 public:
50 // member functions
51 // NOLINTBEGIN
52 MCNAPI ::LootTableContext create() const;
53
54 MCNAPI ::LootTableContext::Builder& withThisEntity(::Actor* actor);
55
56 MCNAPI ~Builder();
57 // NOLINTEND
58
59 public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCNAPI void $dtor();
63 // NOLINTEND
64 };
65
66public:
67 // member variables
68 // NOLINTBEGIN
80 // NOLINTEND
81
82public:
83 // prevent constructor by default
84 LootTableContext& operator=(LootTableContext const&);
87
88public:
89 // member functions
90 // NOLINTBEGIN
92 float luck,
93 ::ILevel* level,
94 ::ActorUniqueID thisEntityID,
95 ::Player* player,
96 ::Actor* killedActor,
97 ::ActorDamageSource const* deathSource,
98 float explosionRadius,
99 ::DimensionType dimensionId,
100 ::ItemStack const* tool
101 );
102
104 // NOLINTEND
105
106public:
107 // constructor thunks
108 // NOLINTBEGIN
109 MCNAPI void* $ctor(
110 float luck,
111 ::ILevel* level,
112 ::ActorUniqueID thisEntityID,
113 ::Player* player,
114 ::Actor* killedActor,
115 ::ActorDamageSource const* deathSource,
116 float explosionRadius,
117 ::DimensionType dimensionId,
118 ::ItemStack const* tool
119 );
120 // NOLINTEND
121
122public:
123 // destructor thunk
124 // NOLINTBEGIN
125 MCNAPI void $dtor();
126 // NOLINTEND
127};
Definition ActorDamageSource.h:18
Definition Actor.h:102
Definition AutomaticID.h:6
Definition Dimension.h:83
Definition ILevel.h:207
Definition ItemStack.h:23
Definition LootTableContext.h:27
MCAPI::LootTableContext::Builder & withThisEntity(::Actor *actor)
MCAPI::LootTableContext create() const
Definition LootTableContext.h:19
MCAPI void $dtor()
MCAPI void * $ctor(float luck, ::ILevel *level, ::ActorUniqueID thisEntityID, ::Player *player, ::Actor *killedActor, ::ActorDamageSource const *deathSource, float explosionRadius, ::DimensionType dimensionId, ::ItemStack const *tool)
MCAPI ~LootTableContext()
MCAPI LootTableContext(float luck, ::ILevel *level, ::ActorUniqueID thisEntityID, ::Player *player, ::Actor *killedActor, ::ActorDamageSource const *deathSource, float explosionRadius, ::DimensionType dimensionId, ::ItemStack const *tool)
Definition Player.h:123
Definition ActorUniqueID.h:5
Definition Alias.h:14