Lodestone.Minecraft.Common
Loading...
Searching...
No Matches
LevelData.h
Go to the documentation of this file.
1//
2// Created by DexrnZacAttack on 2/14/26 using zPc-i2.
3//
4#ifndef LODESTONE_LEVELDATA_H
5#define LODESTONE_LEVELDATA_H
7
10 std::unique_ptr<level::properties::AbstractProperty>
11 getProperty(const std::string &name) override;
12
13 int64_t seed;
14 int64_t lastPlayed;
15 int64_t time;
16
17 explicit LevelData(const int64_t seed = 0, const int64_t lastPlayed = 0, const int64_t time = 0) : seed(seed), lastPlayed(lastPlayed), time(time) {}
18 };
19}
20
21#endif // LODESTONE_LEVELDATA_H
LevelData(const int64_t seed=0, const int64_t lastPlayed=0, const int64_t time=0)
Definition LevelData.h:17
std::unique_ptr< level::properties::AbstractProperty > getProperty(const std::string &name) override
Definition LevelData.cpp:8
int64_t lastPlayed
Definition LevelData.h:14