mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 14:37:44 +00:00
178 lines
No EOL
3.6 KiB
C++
178 lines
No EOL
3.6 KiB
C++
#include "CommonGen.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace Sapphire {
|
|
namespace Common {
|
|
|
|
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;
|
|
}
|
|
|
|
bool operator==( const uint8_t& g, const BaseParam& t )
|
|
{
|
|
return static_cast< uint8_t >( t ) == g;
|
|
}
|
|
|
|
bool operator!=( const uint8_t& g, const BaseParam& t )
|
|
{
|
|
return static_cast< uint8_t >( t ) != g;
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
} |