Lodestone.Minecraft.Console  1.0.0
Minecraft: Legacy Console Edition converters
Loading...
Searching...
No Matches
LodestoneLce.h
Go to the documentation of this file.
1
11#ifndef LODESTONE_LODESTONELCE_H
12#define LODESTONE_LODESTONELCE_H
13#include <Lodestone.Common/registry/Identifiable.h>
14#include <Lodestone.Common/registry/Identifier.h>
15#include <Lodestone.Core/LodestoneExtension.h>
16#include <Lodestone.Common/Defines.h>
17#include <Lodestone.Common/util/Semver.h>
18
20 inline static constexpr lodestone::common::registry::Identifier IDENTIFIER = {"lodestone", "minecraft/legacy_console"};
21
22 class LODESTONE_API LodestoneLCE : public core::LodestoneExtension, public common::registry::Identifiable<&IDENTIFIER> {
23 private:
25 public:
26 static constexpr common::util::Semver VERSION = {
27 LODESTONE_MINECRAFT_CONSOLE_MAJOR_VERSION,
28 LODESTONE_MINECRAFT_CONSOLE_MINOR_VERSION,
29 LODESTONE_MINECRAFT_CONSOLE_PATCH_VERSION,
30 LODESTONE_MINECRAFT_CONSOLE_DEV_VERSION
31 };
32
33 static LodestoneLCE *getInstance();
34
35 lodestone::common::registry::Identifier getIdentifier() const override;
36 lodestone::common::util::Semver getVersion() const override;
37 };
38
39#ifdef LODESTONE_BUILD_SHARED_LIBS
40 extern "C" {
41 core::LodestoneExtension *lodestoneInit();
42 }
43#endif
44}
45
46#endif // LODESTONE_LODESTONELCE_H
static constexpr common::util::Semver VERSION
Definition LodestoneLce.h:26
LodestoneLCE()
Definition LodestoneLce.cpp:14
Definition LodestoneLce.cpp:13
static constexpr lodestone::common::registry::Identifier IDENTIFIER
Definition LodestoneLce.h:20