mirror of
https://github.com/DarkflameUniverse/DarkflameServer
synced 2024-08-30 18:43:58 +00:00
b432a3f5da
Clean up macros more tomorrow Cleanup and optimize CDActivities table Remove unused include Further work on CDActivityRewards Update MasterServer.cpp Further animations work Activities still needs work for a better PK. fix type All of these replacements worked Create internal interface for animations Allows for user to just call GetAnimationTIme or PlayAnimation rather than passing in arbitrary true false statements
16 lines
416 B
C++
16 lines
416 B
C++
#pragma once
|
|
|
|
#include "CDTable.h"
|
|
|
|
enum class eReplicaComponentType : uint32_t;
|
|
|
|
class CDComponentsRegistryTable : public CDTable<CDComponentsRegistryTable> {
|
|
public:
|
|
CDComponentsRegistryTable();
|
|
int32_t GetByIDAndType(uint32_t id, eReplicaComponentType componentType, int32_t defaultValue = 0);
|
|
private:
|
|
void ReadRow(CppSQLite3Query& rowData);
|
|
private:
|
|
std::unordered_map<uint64_t, uint32_t> mappedEntries;
|
|
};
|