LeviLamina
Loading...
Searching...
No Matches
PropertiesSettingsUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/Difficulty.h"
7#include "mc/server/commands/PlayerPermissionLevel.h"
8#include "mc/world/level/GameType.h"
9
10namespace PropertiesSettingsUtils {
11// functions
12// NOLINTBEGIN
13MCNAPI bool parseBoolValue(::std::string const& value);
14
15MCNAPI ::PlayerPermissionLevel parseDefaultPlayerPermissionLevel(::std::string const& value);
16
17MCNAPI ::SharedTypes::Legacy::Difficulty parseDifficulty(::std::string const& value);
18
19MCNAPI ::GameType parseGameType(::std::string const& value);
20
21MCNAPI int parseInt32Value(::std::string const& value);
22
23MCNAPI ::std::optional<ushort> parsePort(::std::string_view toParse);
24// NOLINTEND
25
26} // namespace PropertiesSettingsUtils