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/game_refs/EnableGetWeakRef.h"
7#include "mc/deps/game_refs/WeakRef.h"
8#include "mc/util/Mirror.h"
9#include "mc/util/Rotation.h"
10
11// auto generated forward declare list
12// clang-format off
13class Vec3;
14struct DimensionType;
15namespace Editor::Prefabs { class PrefabDBPrefabInstanceStructureRef; }
16namespace Editor::Prefabs { class PrefabDBTemplate; }
17namespace Editor::Prefabs::PrefabDBInstanceLoader::v1 { struct InstanceData; }
18namespace cereal { struct ReflectionCtx; }
19// clang-format on
20
21namespace Editor::Prefabs {
22
23class PrefabDBPrefabInstance : public ::std::enable_shared_from_this<::Editor::Prefabs::PrefabDBPrefabInstance>,
24 public ::EnableGetWeakRef<::Editor::Prefabs::PrefabDBPrefabInstance> {
25public:
26 // member variables
27 // NOLINTBEGIN
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
43 PrefabDBPrefabInstance& operator=(PrefabDBPrefabInstance const&);
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 ::Editor::Prefabs::PrefabDBInstanceLoader::v1::InstanceData saveToFileData() const;
65
67
69 // NOLINTEND
70
71public:
72 // static functions
73 // NOLINTBEGIN
74 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCNAPI void* $ctor(
83 ::DimensionType dimensionType
84 );
85
86 MCNAPI void* $ctor(
88 ::DimensionType dimensionType,
89 ::Vec3 const& rootPosition,
90 ::Rotation rotation,
91 ::Mirror mirror
92 );
93 // NOLINTEND
94
95public:
96 // destructor thunk
97 // NOLINTBEGIN
98 MCNAPI void $dtor();
99 // NOLINTEND
100};
101
102} // namespace Editor::Prefabs
Definition PrefabDBPrefabInstanceStructureRef.h:12
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 PrefabDBPrefabInstance(::WeakRef<::Editor::Prefabs::PrefabDBTemplate > prefabTemplateRef, ::DimensionType dimensionType, ::Vec3 const &rootPosition, ::Rotation rotation, ::Mirror mirror)
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 DimensionType.h:5
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14