LeviLamina
Loading...
Searching...
No Matches
LootItemRandomChanceCondition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/storage/loot/predicates/LootItemCondition.h"
7
8// auto generated forward declare list
9// clang-format off
11class Random;
12namespace Json { class Value; }
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 1
32 virtual bool applies(::Random& random, ::LootTableContext&) /*override*/;
33
34 // vIndex: 2
35 virtual ::LootItemCondition::ConditionType getConditionType() const /*override*/;
36
37 // vIndex: 0
38 virtual ~LootItemRandomChanceCondition() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCNAPI static ::std::unique_ptr<::LootItemCondition> deserialize(::Json::Value const& object);
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCNAPI bool $applies(::Random& random, ::LootTableContext&);
51
52 MCNAPI ::LootItemCondition::ConditionType $getConditionType() const;
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootItemRandomChanceCondition.h:15
static MCAPI void ** $vftable()
static MCAPI ::std::unique_ptr<::LootItemCondition > deserialize(::Json::Value const &object)
MCAPI bool $applies(::Random &random, ::LootTableContext &)
MCAPI::LootItemCondition::ConditionType $getConditionType() const
Definition LootTableContext.h:19
Definition Random.h:10
Definition Alias.h:14