JustAnotherDnDGame 0.1.0
Jeu de rôle tactique au d20, vue de dessus, en C++/Qt
Loading...
Searching...
No Matches
LevelProperties.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Valentin Eloy
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4#pragma once
5
6#include <cstdint>
7#include <map>
8#include <string>
9#include <variant>
10
15
16namespace core {
17
25using PropertyValue = std::variant<bool, std::int64_t, double, std::string>;
26
44using PropertyMap = std::map<std::string, PropertyValue>;
45
46} // namespace core
Espace de noms du moteur et de la logique de jeu.
Definition Bootstrap.h:9
std::variant< bool, std::int64_t, double, std::string > PropertyValue
Valeur d'une propriété libre : booléen, entier, réel ou chaîne.
Definition LevelProperties.h:25
std::map< std::string, PropertyValue > PropertyMap
Propriétés libres, indexées par nom.
Definition LevelProperties.h:44