LeviLamina
Loading...
Searching...
No Matches
PrefabDBServiceProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/WeakRef.h"
7
8// auto generated forward declare list
9// clang-format off
10class WeakEntityRef;
11namespace Editor::Prefabs { class PrefabDBTemplate; }
12namespace mce { class UUID; }
13// clang-format on
14
15namespace Editor::Prefabs {
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 virtual ~PrefabDBServiceProvider() = default;
22
23 virtual ::WeakRef<::Editor::Prefabs::PrefabDBTemplate const> getTemplate(::mce::UUID const& templateId) const = 0;
24
25 virtual ::WeakRef<::Editor::Prefabs::PrefabDBTemplate> getTemplate(::mce::UUID const& templateId) = 0;
26
27 virtual void bake(
28 ::WeakEntityRef weakPlayerRef,
29 ::std::function<void(bool)> completionCallback,
30 ::std::function<void(::std::string_view)> logger
31 ) = 0;
32
33 virtual void unbake(
34 ::WeakEntityRef weakPlayerRef,
35 ::std::function<void(bool)> completionCallback,
36 ::std::function<void(::std::string_view)> logger
37 ) = 0;
38 // NOLINTEND
39
40public:
41 // virtual function thunks
42 // NOLINTBEGIN
43
44 // NOLINTEND
45};
46
47} // namespace Editor::Prefabs
Definition PrefabDBServiceProvider.h:17
Definition PrefabDBTemplate.h:24
Definition WeakEntityRef.h:14
Definition UUID.h:7