LeviLamina
Loading...
Searching...
No Matches
WorldImporter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/legacy/ImportStatus.h"
7#include "mc/client/legacy/RetrieveStatus.h"
8#include "mc/util/CallbackTokenContext.h"
9
10// auto generated forward declare list
11// clang-format off
12struct ImportResult;
13struct LegacyWorldInfo;
14namespace Core { class Path; }
15namespace Core { class Result; }
16namespace Social { class User; }
17// clang-format on
18
19namespace Legacy {
20
22public:
23 // member variables
24 // NOLINTBEGIN
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 WorldImporter& operator=(WorldImporter const&);
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 // vIndex: 0
45 virtual ~WorldImporter() = 0;
46
47 // vIndex: 1
48 virtual void deleteWorld(::std::shared_ptr<::Social::User>, ::std::string const&, ::std::function<void()>);
49
50 // vIndex: 2
51 virtual ::Core::Result _createWorld(::Core::Path const&, uint64 const);
52
53 // vIndex: 3
54 virtual void _setupImport(::Core::Path const&);
55
56 // vIndex: 4
57 virtual void _doRetrieve(
58 ::std::shared_ptr<::Social::User>,
59 ::std::shared_ptr<::CallbackTokenContext<::std::function<void(::Legacy::RetrieveStatus)>>>
60 ) = 0;
61
62 // vIndex: 5
63 virtual void _doImport(
64 ::std::shared_ptr<::Social::User>,
65 ::LegacyWorldInfo const&,
66 ::Core::Path const&,
67 ::std::shared_ptr<::CallbackTokenContext<
68 ::std::function<void(::Legacy::ImportStatus, float, ::std::shared_ptr<::ImportResult>)>>>
69 ) = 0;
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75
76 // NOLINTEND
77};
78
79} // namespace Legacy
Definition CallbackTokenContext.h:6
Definition Path.h:17
Definition WorldImporter.h:21
Definition Path.h:16
Definition ImportResult.h:5
Definition LegacyWorldInfo.h:8
Definition Alias.h:14