1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 22:57:45 +00:00
sapphire/src/world/Action/ActionLut.h

31 lines
557 B
C
Raw Normal View History

2019-05-30 15:35:05 +10:00
#ifndef SAPPHIRE_ACTIONLUT_H
#define SAPPHIRE_ACTIONLUT_H
#include <unordered_map>
namespace Sapphire::World::Action
{
struct ActionEntry
{
uint16_t potency;
uint16_t comboPotency;
uint16_t flankPotency;
uint16_t frontPotency;
uint16_t rearPotency;
uint16_t curePotency;
// uint16_t restorePercentage;
};
class ActionLut
{
public:
using Lut = std::unordered_map< uint16_t, ActionEntry >;
static bool validEntryExists( uint16_t actionId );
2019-05-30 15:35:05 +10:00
static Lut m_actionLut;
};
}
#endif //SAPPHIRE_ACTIONLUT_H