Plasma Engine  2.0
Loading...
Searching...
No Matches
WorldModuleConfig.h
1#pragma once
2
3#include <Foundation/Basics.h>
4#include <Foundation/Reflection/Reflection.h>
5#include <Foundation/Strings/String.h>
6
7class PL_CORE_DLL plWorldModuleConfig
8{
9public:
10 plResult Save();
11 void Load();
12 void Apply();
13
14 void AddInterfaceImplementation(plStringView sInterfaceName, plStringView sImplementationName);
15 void RemoveInterfaceImplementation(plStringView sInterfaceName);
16
18 {
19 plString m_sInterfaceName;
20 plString m_sImplementationName;
21
22 bool operator<(const InterfaceImpl& rhs) const { return m_sInterfaceName < rhs.m_sInterfaceName; }
23 };
24
25 plHybridArray<InterfaceImpl, 8> m_InterfaceImpls;
26};
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
Definition WorldModuleConfig.h:8
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
Definition WorldModuleConfig.h:18