2017-11-18 01:25:55 +01:00
|
|
|
#include "CommonGen.h"
|
|
|
|
|
2017-11-18 00:45:08 -02:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2018-11-29 16:55:48 +01:00
|
|
|
namespace Sapphire {
|
2017-11-18 01:25:55 +01:00
|
|
|
namespace Common {
|
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
bool operator==( const ActionCategory& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const ActionCategory& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
2019-03-20 22:16:02 +01:00
|
|
|
bool operator==( const uint8_t& g, const BaseParam& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
2019-03-21 18:06:48 +01:00
|
|
|
bool operator!=( const uint8_t& g, const BaseParam& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) != g;
|
|
|
|
}
|
|
|
|
|
2018-08-29 21:40:59 +02:00
|
|
|
bool operator==( const BeastReputationRank& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const BeastReputationRank& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const BeastTribe& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const BeastTribe& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const ClassJob& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const ClassJob& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const ContentType& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const ContentType& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const EmoteCategory& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const EmoteCategory& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const ExVersion& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const ExVersion& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const GrandCompany& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const GrandCompany& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const GuardianDeity& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const GuardianDeity& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const ItemUICategory& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const ItemUICategory& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const ItemSearchCategory& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const ItemSearchCategory& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const OnlineStatus& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const OnlineStatus& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const Race& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const Race& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const Tribe& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const Tribe& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const Town& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const Town& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const Weather& t, const uint8_t& g )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool operator==( const uint8_t& g, const Weather& t )
|
|
|
|
{
|
|
|
|
return static_cast< uint8_t >( t ) == g;
|
|
|
|
}
|
2017-11-18 01:25:55 +01:00
|
|
|
}
|
|
|
|
}
|