14 lines
446 B
C++
14 lines
446 B
C++
#pragma once
|
|
|
|
#include <a8/singleton.h>
|
|
|
|
bool IsValidSlotId(int slot_id);
|
|
bool IsValidBuffEffect(int buff_effect);
|
|
bool IsValidHumanAttr(int attr_type);
|
|
bool IsValidHumanVirtualAttr(int attr_type);
|
|
bool IsValidEventBuff(int event);
|
|
bool IsValidWeaponOpt(int opt);
|
|
bool IsValidBuffOpt(int opt);
|
|
float GetAttrAbsFromXObject(std::shared_ptr<a8::XObject> obj, int attr_id);
|
|
float GetAttrRateFromXObject(std::shared_ptr<a8::XObject> obj,int attr_id);
|