LeviLamina
Loading...
Searching...
No Matches
ScriptPotions.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/world/item/alchemy/Potion.h"
8
9// auto generated forward declare list
10// clang-format off
11class HashedString;
12namespace ScriptModuleMinecraft { class ScriptPotionEffectType; }
13namespace ScriptModuleMinecraft { class ScriptPotionLiquidType; }
14namespace ScriptModuleMinecraft { class ScriptPotionModifierType; }
15namespace Scripting { class WeakLifetimeScope; }
16namespace Scripting { struct ClassBinding; }
17// clang-format on
18
19namespace ScriptModuleMinecraft {
20
22public:
23 // member variables
24 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 ScriptPotions& operator=(ScriptPotions const&);
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCNAPI ScriptPotions();
38
40
42
43 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType>>
44 _getPotionEffectType(::Scripting::WeakLifetimeScope scope, ::Potion::PotionVariant potionVariant);
45
46 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionLiquidType>>
47 _getPotionLiquidType(::Scripting::WeakLifetimeScope scope, ::Potion::PotionType potionType);
48
49 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionModifierType>>
51
52 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionModifierType>>
53 _getPotionModifierType(::Scripting::WeakLifetimeScope scope, ::std::string const& potionModifierId);
54
55 MCNAPI ::ScriptModuleMinecraft::ScriptPotions& operator=(::ScriptModuleMinecraft::ScriptPotions&&);
56
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63 MCNAPI static ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotions>
65
66 MCNAPI static ::Scripting::ClassBinding bind();
67
68 MCNAPI static ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType>>
69 getPotionEffectType(::Scripting::WeakLifetimeScope scope, ::std::string const& potionTypeId);
70
71 MCNAPI static ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType>>
72 getPotionEffectType(::Scripting::WeakLifetimeScope scope, ::Potion::PotionVariant potionVariant);
73
74 MCNAPI static ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionLiquidType>>
75 getPotionLiquidType(::Scripting::WeakLifetimeScope scope, ::Potion::PotionType potionType);
76
77 MCNAPI static ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionLiquidType>>
78 getPotionLiquidType(::Scripting::WeakLifetimeScope scope, ::std::string const& potionTypeId);
79
80 MCNAPI static ::std::optional<
83
84 MCNAPI static ::std::optional<
86 getPotionModifierType(::Scripting::WeakLifetimeScope scope, ::std::string const& potionModifierId);
87 // NOLINTEND
88
89public:
90 // constructor thunks
91 // NOLINTBEGIN
92 MCNAPI void* $ctor();
93
95
97 // NOLINTEND
98
99public:
100 // destructor thunk
101 // NOLINTBEGIN
102 MCNAPI void $dtor();
103 // NOLINTEND
104};
105
106} // namespace ScriptModuleMinecraft
Definition HashedString.h:5
Definition ScriptPotions.h:21
MCAPI ScriptPotions(::ScriptModuleMinecraft::ScriptPotions const &)
static MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType > > getPotionEffectType(::Scripting::WeakLifetimeScope scope, ::Potion::PotionVariant potionVariant)
static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotions > _getHandle(::Scripting::WeakLifetimeScope &scope)
static MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionModifierType > > getPotionModifierType(::Scripting::WeakLifetimeScope scope, ::std::string const &potionModifierId)
static MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionLiquidType > > getPotionLiquidType(::Scripting::WeakLifetimeScope scope, ::std::string const &potionTypeId)
static MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType > > getPotionEffectType(::Scripting::WeakLifetimeScope scope, ::std::string const &potionTypeId)
static MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionLiquidType > > getPotionLiquidType(::Scripting::WeakLifetimeScope scope, ::Potion::PotionType potionType)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionLiquidType > > _getPotionLiquidType(::Scripting::WeakLifetimeScope scope, ::Potion::PotionType potionType)
MCAPI void * $ctor(::ScriptModuleMinecraft::ScriptPotions &&)
static MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionModifierType > > getPotionModifierType(::Scripting::WeakLifetimeScope scope, int potionId)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType > > _getPotionEffectType(::Scripting::WeakLifetimeScope scope, ::Potion::PotionVariant potionVariant)
static MCAPI ::Scripting::ClassBinding bind()
MCAPI ScriptPotions(::ScriptModuleMinecraft::ScriptPotions &&)
MCAPI void * $ctor(::ScriptModuleMinecraft::ScriptPotions const &)
MCAPI::ScriptModuleMinecraft::ScriptPotions & operator=(::ScriptModuleMinecraft::ScriptPotions &&)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionModifierType > > _getPotionModifierType(::Scripting::WeakLifetimeScope scope, ::std::string const &potionModifierId)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionModifierType > > _getPotionModifierType(::Scripting::WeakLifetimeScope scope, int potionId)
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12
Definition Alias.h:14