예제 #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;
 }
예제 #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;
 }