LeviLamina
Loading...
Searching...
No Matches
IScriptItemCustomComponentWriter.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/scripting/runtime/Result.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
HashedString
;
11
namespace
ScriptModuleMinecraft {
class
ScriptItemCustomComponentInterface
; }
12
namespace
ScriptModuleMinecraft {
struct
ScriptCustomComponentInvalidRegistryError
; }
13
namespace
ScriptModuleMinecraft {
struct
ScriptItemCustomComponentAlreadyRegisteredError
; }
14
namespace
ScriptModuleMinecraft {
struct
ScriptItemCustomComponentReloadNewComponentError
; }
15
namespace
ScriptModuleMinecraft {
struct
ScriptItemCustomComponentReloadNewEventError
; }
16
namespace
ScriptModuleMinecraft {
struct
ScriptItemCustomComponentReloadVersionError
; }
17
// clang-format on
18
19
namespace
ScriptModuleMinecraft {
20
21
class
IScriptItemCustomComponentWriter
{
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
virtual
~IScriptItemCustomComponentWriter
() =
default
;
26
27
virtual ::Scripting::Result<
28
void,
29
::ScriptModuleMinecraft::ScriptCustomComponentInvalidRegistryError
,
30
::ScriptModuleMinecraft::ScriptItemCustomComponentAlreadyRegisteredError
,
31
::ScriptModuleMinecraft::ScriptItemCustomComponentReloadVersionError
,
32
::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewEventError
,
33
::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewComponentError
>
34
tryRegisterComponentV1(
::HashedString
const
&,
::ScriptModuleMinecraft::ScriptItemCustomComponentInterface
&&) = 0;
35
36
virtual ::Scripting::Result<
37
void,
38
::ScriptModuleMinecraft::ScriptCustomComponentInvalidRegistryError
,
39
::ScriptModuleMinecraft::ScriptItemCustomComponentAlreadyRegisteredError
,
40
::ScriptModuleMinecraft::ScriptItemCustomComponentReloadVersionError
,
41
::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewEventError
,
42
::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewComponentError
>
43
tryRegisterComponent(
::HashedString
const
&,
::ScriptModuleMinecraft::ScriptItemCustomComponentInterface
&&) = 0;
44
// NOLINTEND
45
46
public
:
47
// virtual function thunks
48
// NOLINTBEGIN
49
50
// NOLINTEND
51
52
public
:
53
// vftables
54
// NOLINTBEGIN
55
MCNAPI
static
void
**
$vftable
();
56
// NOLINTEND
57
};
58
59
}
// namespace ScriptModuleMinecraft
HashedString
Definition
HashedString.h:5
ScriptModuleMinecraft::IScriptItemCustomComponentWriter
Definition
IScriptItemCustomComponentWriter.h:21
ScriptModuleMinecraft::IScriptItemCustomComponentWriter::$vftable
static MCAPI void ** $vftable()
ScriptModuleMinecraft::ScriptItemCustomComponentInterface
Definition
ScriptItemCustomComponentInterface.h:15
ScriptModuleMinecraft::ScriptCustomComponentInvalidRegistryError
Definition
ScriptCustomComponentInvalidRegistryError.h:17
ScriptModuleMinecraft::ScriptItemCustomComponentAlreadyRegisteredError
Definition
ScriptItemCustomComponentAlreadyRegisteredError.h:15
ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewComponentError
Definition
ScriptItemCustomComponentReloadNewComponentError.h:15
ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewEventError
Definition
ScriptItemCustomComponentReloadNewEventError.h:15
ScriptModuleMinecraft::ScriptItemCustomComponentReloadVersionError
Definition
ScriptItemCustomComponentReloadVersionError.h:15
src
mc
scripting
modules
minecraft
items
IScriptItemCustomComponentWriter.h
Generated on
for LeviLamina by
1.16.1