










#ifndef XWEAPONDEF_H
#define XWEAPONDEF_H

#include "xasset.h"
#include <QVector>

// Define the WeaponIconRatioType enum
enum WeaponIconRatioType : int {
    WEAPON_ICON_RATIO_1TO1 = 0,
    WEAPON_ICON_RATIO_2TO1 = 1,
    WEAPON_ICON_RATIO_4TO1 = 2,
    WEAPON_ICON_RATIO_COUNT = 3
};

class XWeaponDef : public XAsset
{
public:
    explicit XWeaponDef();

    void ParseData(QDataStream *aStream) override;

    const char* GetInternalName() const;
    void SetInternalName(const char* name);

    const char* GetDisplayName() const;
    void SetDisplayName(const char* name);

    const char* GetOverlayName() const;
    void SetOverlayName(const char* name);

    // Add more getters and setters as needed...

private:
    char mInternalName[64] = {0};
    char mDisplayName[64] = {0};
    char mOverlayName[64] = {0};

    // Add more member variables as needed...
};

#endif // XWEAPONDEF_H










