mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 22:17:31 +00:00
23 lines
386 B
C
23 lines
386 B
C
|
#pragma once
|
||
|
|
||
|
#include "GeneralUtils.h"
|
||
|
|
||
|
#include "Game.h"
|
||
|
#include "dLogger.h"
|
||
|
#include "dServer.h"
|
||
|
|
||
|
#include "CDTable.h"
|
||
|
|
||
|
template <
|
||
|
typename KeyType,
|
||
|
typename MappedType
|
||
|
>
|
||
|
class CDAbstractProvider
|
||
|
{
|
||
|
public:
|
||
|
virtual void LoadClient() = 0;
|
||
|
virtual void LoadHost() = 0;
|
||
|
|
||
|
virtual const MappedType& GetEntry(const KeyType& key, const MappedType& defaultValue) = 0;
|
||
|
};
|