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
58 _doRetrieve(::std::shared_ptr<::Social::User>, ::std::shared_ptr<::CallbackTokenContext<::std::function<void(::Legacy::RetrieveStatus)>>>) = 0;
59
60 // vIndex: 5
61 virtual void
62 _doImport(::std::shared_ptr<::Social::User>, ::LegacyWorldInfo const&, ::Core::Path const&, ::std::shared_ptr<::CallbackTokenContext<::std::function<void(::Legacy::ImportStatus, float, ::std::shared_ptr<::ImportResult>)>>>) = 0;
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74
75 // NOLINTEND
76};
77
78} // namespace Legacy
Definition CallbackTokenContext.h:6
Definition Path.h:15
Definition WorldImporter.h:21
Definition Path.h:16
Definition Result.h:6
Definition ImportResult.h:5
Definition LegacyWorldInfo.h:8
Definition Alias.h:14