mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 21:27:48 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "Util/SystemAddress.h"
|
||||
|
||||
namespace RBX {
|
||||
|
||||
bool SystemAddress::operator==( const RBX::SystemAddress& right ) const
|
||||
{
|
||||
return binaryAddress == right.binaryAddress && port == right.port;
|
||||
}
|
||||
|
||||
bool SystemAddress::operator!=( const RBX::SystemAddress& right ) const
|
||||
{
|
||||
return binaryAddress != right.binaryAddress || port != right.port;
|
||||
}
|
||||
|
||||
bool SystemAddress::operator>( const RBX::SystemAddress& right ) const
|
||||
{
|
||||
return ( ( binaryAddress > right.binaryAddress ) || ( ( binaryAddress == right.binaryAddress ) && ( port > right.port ) ) );
|
||||
}
|
||||
|
||||
bool SystemAddress::operator<( const RBX::SystemAddress& right ) const
|
||||
{
|
||||
return ( ( binaryAddress < right.binaryAddress ) || ( ( binaryAddress == right.binaryAddress ) && ( port < right.port ) ) );
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user