mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 23:17:28 +00:00
24 lines
477 B
C++
24 lines
477 B
C++
#pragma once
|
|
|
|
// Custom Classes
|
|
#include "CDTable.h"
|
|
|
|
/*!
|
|
\file CDBrickIDTableTable.hpp
|
|
\brief Contains data for the BrickIDTable table
|
|
*/
|
|
|
|
//! BrickIDTable Entry Struct
|
|
struct CDBrickIDTable {
|
|
unsigned int NDObjectID;
|
|
unsigned int LEGOBrickID;
|
|
};
|
|
|
|
|
|
//! BrickIDTable table
|
|
namespace CDBrickIDTableTable {
|
|
void LoadTableIntoMemory();
|
|
// Queries the table with a custom "where" clause
|
|
std::vector<CDBrickIDTable> Query(std::function<bool(CDBrickIDTable)> predicate);
|
|
};
|