mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 22:13:35 +00:00
38 lines
700 B
C
38 lines
700 B
C
|
#pragma once
|
||
|
|
||
|
// Custom Classes
|
||
|
#include "../CDClientDatabase.h"
|
||
|
|
||
|
// C++
|
||
|
#include <functional>
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
#include <map>
|
||
|
|
||
|
// CPPLinq
|
||
|
#include "cpplinq.hpp"
|
||
|
|
||
|
#pragma warning (disable : 4244) //Disable double to float conversion warnings
|
||
|
#pragma warning (disable : 4715) //Disable "not all control paths return a value"
|
||
|
|
||
|
#if defined(__unix) || defined(__APPLE__)
|
||
|
//For Linux:
|
||
|
typedef __int64_t __int64;
|
||
|
#endif
|
||
|
|
||
|
/*!
|
||
|
\file CDTable.hpp
|
||
|
\brief A virtual class for CDClient Tables
|
||
|
*/
|
||
|
|
||
|
//! The base class for all CD tables
|
||
|
class CDTable {
|
||
|
public:
|
||
|
|
||
|
//! Returns the table's name
|
||
|
/*!
|
||
|
\return The table name
|
||
|
*/
|
||
|
virtual std::string GetName() const = 0;
|
||
|
};
|