#include <NetworkTypes.h>
Public Member Functions | |
PlayerID & | operator= (const PlayerID &input) |
Public Attributes | |
unsigned long | binaryAddress |
unsigned short | port |
Friends | |
int | operator== (const PlayerID &left, const PlayerID &right) |
int | operator!= (const PlayerID &left, const PlayerID &right) |
int | operator> (const PlayerID &left, const PlayerID &right) |
int | operator< (const PlayerID &left, const PlayerID &right) |
This define a Player Unique Identifier. In fact, it corresponds to the peer address.
|
Copy operator
|
|
Test if two Player Unique Identifier differs
|
|
Test if left is lesser than right
|
|
Test if two Player Unique Identifier are the same
|
|
Test if left is greater than right
|
|
The peer address from inet_addr. |
|
The port number associated to the connexion. |