diff options
Diffstat (limited to 'src/zenovermind/overmindconfig.cpp')
| -rw-r--r-- | src/zenovermind/overmindconfig.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/zenovermind/overmindconfig.cpp b/src/zenovermind/overmindconfig.cpp new file mode 100644 index 000000000..63e955725 --- /dev/null +++ b/src/zenovermind/overmindconfig.cpp @@ -0,0 +1,28 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#include <zenovermind/overmindconfig.h> + +namespace zen::overmind { + +bool +OvermindConfig::Validate() const +{ + if (ServerUrl.empty()) + { + return false; + } + + if (Namespace.empty()) + { + return false; + } + + if (CommandRef.empty()) + { + return false; + } + + return true; +} + +} // namespace zen::overmind |