Ejemplo n.º 1
0
 public Player(int num, string ip, int port, int ping, string guid, string name, Player.PlayerState state)
 {
     _num = num;
     _ip = ip;
     _port = port;
     _ping = ping;
     _guid = guid;
     _name = name;
     _state = state;
 }
Ejemplo n.º 2
0
 protected bool Equals(Player other)
 {
     return _num == other._num
         && string.Equals(_ip, other._ip)
         && _port == other._port
         && string.Equals(_guid, other._guid)
         && string.Equals(_name, other._name)
         && _state == other._state;
 }