mirror of
https://github.com/DarwinAnim8or/DarkflameServerNostalgiaMax.git
synced 2025-12-21 13:29:37 -06:00
28 lines
608 B
C++
28 lines
608 B
C++
#pragma once
|
|
#include "CDTable.h"
|
|
|
|
//Generated by xmlDb2dDatabaseGenerator on 2022-03-04 00:23:33.107539
|
|
//DO NOT EDIT THIS FILE MANUALLY!
|
|
|
|
struct CDLootMatrix {
|
|
int LootMatrixIndex;
|
|
int LootTableIndex;
|
|
int RarityTableIndex;
|
|
float percent;
|
|
int minToDrop;
|
|
int maxToDrop;
|
|
int id;
|
|
};
|
|
|
|
class CDLootMatrixTable : public CDTable {
|
|
private:
|
|
std::vector<CDLootMatrix> m_entries;
|
|
public:
|
|
CDLootMatrixTable();
|
|
~CDLootMatrixTable();
|
|
std::string GetName(void) const override;
|
|
|
|
std::vector<CDLootMatrix> Query(std::function<bool(CDLootMatrix)> predicate);
|
|
std::vector<CDLootMatrix> GetEntries(void) const;
|
|
};
|