#include "ChatCommandHelpers.h"
|
std::variant< std::monostate, std::string_view, std::string > | _storage |
|
◆ ChatCommandResult() [1/7]
Acore::Impl::ChatCommands::ChatCommandResult::ChatCommandResult |
( |
std::nullopt_t |
| ) |
|
|
inline |
std::variant< std::monostate, std::string_view, std::string > _storage
Definition: ChatCommandHelpers.h:120
◆ ChatCommandResult() [2/7]
Acore::Impl::ChatCommands::ChatCommandResult::ChatCommandResult |
( |
std::string const & |
| ) |
|
|
delete |
◆ ChatCommandResult() [3/7]
Acore::Impl::ChatCommands::ChatCommandResult::ChatCommandResult |
( |
std::string && |
s | ) |
|
|
inline |
104:
_storage(std::in_place_type<std::string>, std::forward<std::string>(s)) {}
◆ ChatCommandResult() [4/7]
Acore::Impl::ChatCommands::ChatCommandResult::ChatCommandResult |
( |
char const * |
c | ) |
|
|
inline |
105:
_storage(std::in_place_type<std::string>, c) {}
◆ ChatCommandResult() [5/7]
Acore::Impl::ChatCommands::ChatCommandResult::ChatCommandResult |
( |
std::string_view |
s | ) |
|
|
inline |
106:
_storage(std::in_place_type<std::string_view>, s) {}
◆ ChatCommandResult() [6/7]
Acore::Impl::ChatCommands::ChatCommandResult::ChatCommandResult |
( |
ChatCommandResult const & |
| ) |
|
|
delete |
◆ ChatCommandResult() [7/7]
Acore::Impl::ChatCommands::ChatCommandResult::ChatCommandResult |
( |
ChatCommandResult && |
| ) |
|
|
default |
◆ GetErrorMessage()
std::string const & Acore::Impl::ChatCommands::ChatCommandResult::GetErrorMessage |
( |
| ) |
const |
|
inline |
◆ HasErrorMessage()
bool Acore::Impl::ChatCommands::ChatCommandResult::HasErrorMessage |
( |
| ) |
const |
|
inline |
◆ IsSuccessful()
bool Acore::Impl::ChatCommands::ChatCommandResult::IsSuccessful |
( |
| ) |
const |
|
inline |
◆ operator bool()
Acore::Impl::ChatCommands::ChatCommandResult::operator bool |
( |
| ) |
const |
|
inlineexplicit |
bool IsSuccessful() const
Definition: ChatCommandHelpers.h:114
References IsSuccessful().
◆ operator*()
std::string_view Acore::Impl::ChatCommands::ChatCommandResult::operator* |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ _storage
std::variant<std::monostate, std::string_view, std::string> Acore::Impl::ChatCommands::ChatCommandResult::_storage |
|
private |