LeviLamina
Loading...
Searching...
No Matches
PrefabDBPrefabInstance.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#include "mc/deps/game_refs/EnableGetWeakRef.h"
8#include "mc/deps/game_refs/WeakRef.h"
9#include "mc/util/Mirror.h"
10#include "mc/util/Rotation.h"
11
12// auto generated forward declare list
13// clang-format off
14class Dimension;
15class Vec3;
16namespace Editor::Prefabs { class PrefabDBPrefabInstanceStructureRef; }
17namespace Editor::Prefabs { class PrefabDBTemplate; }
18namespace Editor::Prefabs::PrefabDBInstanceLoader::v1 { struct InstanceData; }
19namespace cereal { struct ReflectionCtx; }
20// clang-format on
21
22namespace Editor::Prefabs {
23
24class PrefabDBPrefabInstance : public ::std::enable_shared_from_this<::Editor::Prefabs::PrefabDBPrefabInstance>,
25 public ::EnableGetWeakRef<::Editor::Prefabs::PrefabDBPrefabInstance> {
26public:
27 // member variables
28 // NOLINTBEGIN
40 // NOLINTEND
41
42public:
43 // prevent constructor by default
44 PrefabDBPrefabInstance(PrefabDBPrefabInstance const&);
45 PrefabDBPrefabInstance();
46
47public:
48 // member functions
49 // NOLINTBEGIN
53 ::DimensionType dimensionType
54 );
55
58 ::DimensionType dimensionType,
59 ::Vec3 const& rootPosition,
60 ::Rotation rotation,
61 ::Mirror mirror
62 );
63
64 MCNAPI void clearDirty() const;
65
66 MCNAPI ::WeakRef<::Editor::Prefabs::PrefabDBPrefabInstance> getWeakRef();
67
68 MCNAPI bool isDirty() const;
69
70 MCNAPI ::Editor::Prefabs::PrefabDBPrefabInstance& operator=(::Editor::Prefabs::PrefabDBPrefabInstance const&);
71
72 MCNAPI ::Editor::Prefabs::PrefabDBInstanceLoader::v1::InstanceData saveToFileData() const;
73
75
77 // NOLINTEND
78
79public:
80 // static functions
81 // NOLINTBEGIN
82 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
83 // NOLINTEND
84
85public:
86 // constructor thunks
87 // NOLINTBEGIN
88 MCNAPI void* $ctor(
91 ::DimensionType dimensionType
92 );
93
94 MCNAPI void* $ctor(
96 ::DimensionType dimensionType,
97 ::Vec3 const& rootPosition,
98 ::Rotation rotation,
99 ::Mirror mirror
100 );
101 // NOLINTEND
102
103public:
104 // destructor thunk
105 // NOLINTBEGIN
106 MCNAPI void $dtor();
107 // NOLINTEND
108};
109
110} // namespace Editor::Prefabs
Definition Dimension.h:85
Definition PrefabDBPrefabInstanceStructureRef.h:12
Definition PrefabDBPrefabInstance.h:25
MCAPI void * $ctor(::WeakRef<::Editor::Prefabs::PrefabDBTemplate > prefabTemplateRef, ::Editor::Prefabs::PrefabDBInstanceLoader::v1::InstanceData const &data, ::DimensionType dimensionType)
MCAPI::Editor::Prefabs::PrefabDBInstanceLoader::v1::InstanceData saveToFileData() const
MCAPI void * $ctor(::WeakRef<::Editor::Prefabs::PrefabDBTemplate > prefabTemplateRef, ::DimensionType dimensionType, ::Vec3 const &rootPosition, ::Rotation rotation, ::Mirror mirror)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI ::WeakRef<::Editor::Prefabs::PrefabDBPrefabInstance > getWeakRef()
MCAPI PrefabDBPrefabInstance(::WeakRef<::Editor::Prefabs::PrefabDBTemplate > prefabTemplateRef, ::DimensionType dimensionType, ::Vec3 const &rootPosition, ::Rotation rotation, ::Mirror mirror)
MCAPI::Editor::Prefabs::PrefabDBPrefabInstance & operator=(::Editor::Prefabs::PrefabDBPrefabInstance const &)
MCAPI PrefabDBPrefabInstance(::WeakRef<::Editor::Prefabs::PrefabDBTemplate > prefabTemplateRef, ::Editor::Prefabs::PrefabDBInstanceLoader::v1::InstanceData const &data, ::DimensionType dimensionType)
MCAPI void updateFromTemplate(::WeakRef<::Editor::Prefabs::PrefabDBTemplate > templateRef)
Definition PrefabDBTemplate.h:24
Definition EnableGetWeakRef.h:6
Definition Vec3.h:10
Definition WeakRef.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14