Lodestone.Conversion
Loading...
Searching...
No Matches
projects
Libraries
Conversion
include
Lodestone.Conversion
io
ObjectIOs.h
Go to the documentation of this file.
1
//
2
// Created by DexrnZacAttack on 2/15/26 using zPc-i2.
3
//
4
#ifndef LODESTONE_OBJECTIOS_H
5
#define LODESTONE_OBJECTIOS_H
6
#include <
Lodestone.Common/registry/Identifier.h
>
7
#include <
Lodestone.Common/util/Concepts.h
>
8
#include "
Lodestone.Conversion/io/AbstractObjectIo.h
"
9
10
#include "
Lodestone.Conversion/io/interfaces/IPlayerIo.h
"
11
#include "
Lodestone.Conversion/io/interfaces/ILevelIo.h
"
12
#include "
Lodestone.Conversion/io/interfaces/IWorldIo.h
"
13
#include "
Lodestone.Conversion/io/interfaces/IChunkIo.h
"
14
15
namespace
lodestone::conversion::io
{
16
template
<const common::registry::Identifier *I,
typename
RO,
typename
WO,
typename
WR =
void
>
17
requires
lodestone::common::util::concepts::void_or_derived_from_v<options::IOptions, RO> && lodestone::common::util::concepts::void_or_derived_from_v<options::IOptions, WO>
18
class
PlayerIO
:
public
interfaces::IPlayerIO
,
19
public
AbstractObjectIO
<I, std::unique_ptr<level::entity::Player>, level::entity::Player *, RO, WO, WR> {};
20
21
template
<const common::registry::Identifier *I,
typename
RO,
typename
WO,
typename
WR =
void
>
22
requires
lodestone::common::util::concepts::void_or_derived_from_v<options::IOptions, RO>
&&
lodestone::common::util::concepts::void_or_derived_from_v<options::IOptions, WO>
23
class
LevelIO
:
public
interfaces::ILevelIO
,
24
public
AbstractObjectIO
<I, std::unique_ptr<level::Level>, level::Level *, RO, WO, WR> {
25
};
26
27
template
<const common::registry::Identifier *I,
typename
RO,
typename
WO,
typename
WR =
void
>
28
requires
lodestone::common::util::concepts::void_or_derived_from_v<options::IOptions, RO>
&&
lodestone::common::util::concepts::void_or_derived_from_v<options::IOptions, WO>
29
class
WorldIO
:
public
interfaces::IWorldIO
,
30
public
AbstractObjectIO
<I, std::unique_ptr<level::world::World>, level::world::World *, RO, WO, WR> {};
31
32
template
<const common::registry::Identifier *I,
typename
RO,
typename
WO,
typename
WR =
void
>
33
requires
lodestone::common::util::concepts::void_or_derived_from_v<options::IOptions, RO>
&&
lodestone::common::util::concepts::void_or_derived_from_v<options::IOptions, WO>
34
class
ChunkIO
:
public
interfaces::IChunkIO
,
35
public
AbstractObjectIO
<I, std::unique_ptr<level::chunk::Chunk>, level::chunk::Chunk *, RO, WO, WR> {};
36
}
37
38
#endif
// LODESTONE_OBJECTIOS_H
AbstractObjectIo.h
Concepts.h
IChunkIo.h
ILevelIo.h
IPlayerIo.h
IWorldIo.h
Identifier.h
lodestone::conversion::io::ChunkIO
Definition
ObjectIOs.h:35
lodestone::conversion::io::LevelIO
Definition
ObjectIOs.h:24
lodestone::conversion::io::PlayerIO
Definition
ObjectIOs.h:19
lodestone::conversion::io::WorldIO
Definition
ObjectIOs.h:30
lodestone::conversion::io::interfaces::IChunkIO
Definition
IChunkIo.h:9
lodestone::conversion::io::interfaces::ILevelIO
Definition
ILevelIo.h:9
lodestone::conversion::io::interfaces::IPlayerIO
Definition
IPlayerIo.h:10
lodestone::conversion::io::interfaces::IWorldIO
Definition
IWorldIo.h:9
lodestone::common::util::concepts::void_or_derived_from_v
lodestone::conversion::io
Definition
AbstractObjectIo.h:20
lodestone::conversion::io::AbstractObjectIO< I, std::unique_ptr< level::entity::Player >, level::entity::Player *, RO, WO, void >::AbstractObjectIO
AbstractObjectIO()=default
Generated by
1.15.0