4jcraft/Minecraft.World/Util/Rarity.cpp
2026-03-13 17:06:56 -05:00

11 lines
421 B
C++

#include "../Platform/stdafx.h"
#include "Rarity.h"
const Rarity* Rarity::common = new Rarity(eHTMLColor_f, L"Common");
const Rarity* Rarity::uncommon = new Rarity(eHTMLColor_e, L"Uncommon");
const Rarity* Rarity::rare = new Rarity(eHTMLColor_b, L"Rare");
const Rarity* Rarity::epic = new Rarity(eHTMLColor_d, L"Epic");
Rarity::Rarity(eMinecraftColour color, const std::wstring& name)
: color(color), name(name) {}