LeviLamina
Loading...
Searching...
No Matches
IWorldsProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/models/WorldType.h"
7#include "mc/client/world/NetworkWorldType.h"
8
9// auto generated forward declare list
10// clang-format off
11class LevelSettings;
12struct LocalWorldInfo;
13// clang-format on
14
15class IWorldsProvider {
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 virtual ~IWorldsProvider() = default;
20
21 virtual int getWorldCount(::WorldType, ::NetworkWorldType) const = 0;
22
23 virtual ::LocalWorldInfo const* getLocalWorldAtIndex(int const) const = 0;
24
25 virtual ::LocalWorldInfo const* getLocalWorldById(::std::string const&) const = 0;
26
27 virtual bool refresh(::WorldType) = 0;
28
29 virtual void startLocalWorld(::LocalWorldInfo, ::LevelSettings const*) = 0;
30 // NOLINTEND
31
32public:
33 // virtual function thunks
34 // NOLINTBEGIN
35
36 // NOLINTEND
37};
Definition IWorldsProvider.h:5
Definition LevelSettings.h:39
Definition LocalWorldInfo.h:5