LeviLamina
Loading...
Searching...
No Matches
ScriptActorDamageSource.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/deps/shared_types/legacy/actor/ActorDamageCause.h"
8
9// auto generated forward declare list
10// clang-format off
12class ILevel;
13namespace ScriptModuleMinecraft { class ScriptActor; }
14namespace Scripting { class WeakLifetimeScope; }
15namespace Scripting { struct InterfaceBinding; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
20struct ScriptActorDamageSource {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::ActorDamageCause> mCause;
25 ::ll::
26 TypedStorage<8, 40, ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>>>
27 mDamagingEntity;
28 ::ll::
29 TypedStorage<8, 40, ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptActor>>>
30 mDamagingProjectile;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 ScriptActorDamageSource& operator=(ScriptActorDamageSource const&);
36 ScriptActorDamageSource();
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI ScriptActorDamageSource(::ScriptModuleMinecraft::ScriptActorDamageSource const&);
42
43 MCAPI ~ScriptActorDamageSource();
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static ::Scripting::InterfaceBinding bind();
50
51 MCAPI static ::ScriptModuleMinecraft::ScriptActorDamageSource
52 create(::ILevel const& level, ::ActorDamageSource const& actorDamageSource, ::Scripting::WeakLifetimeScope& scope);
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
59 // NOLINTEND
60
61public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCAPI void $dtor();
65 // NOLINTEND
66};
67
68} // namespace ScriptModuleMinecraft
Definition ActorDamageSource.h:18
Definition ILevel.h:218
Definition ScriptActor.h:68
Definition WeakLifetimeScope.h:7
Definition ScriptActorDamageSource.h:20
Definition InterfaceBinding.h:16