QTfrontend/newnetclient.h
changeset 703 424297e3165a
parent 697 44f167938201
child 883 07a568ba44e0
equal deleted inserted replaced
702:97858a6682bb 703:424297e3165a
   100   void turnTimeChanged(quint32 time);
   100   void turnTimeChanged(quint32 time);
   101   void fortsModeChanged(bool value);
   101   void fortsModeChanged(bool value);
   102   void hhnumChanged(const HWTeam&);
   102   void hhnumChanged(const HWTeam&);
   103   void teamColorChanged(const HWTeam&);
   103   void teamColorChanged(const HWTeam&);
   104   void chatStringFromNet(const QStringList&);
   104   void chatStringFromNet(const QStringList&);
   105   void ammoChanged(const QString&);
   105   void ammoChanged(const QString& name, const QString& ammo);
   106 
   106 
   107  public slots:
   107  public slots:
   108   void chatLineToNet(const QString& str);
   108   void chatLineToNet(const QString& str);
   109   void SendNet(const QByteArray & buf);
   109   void SendNet(const QByteArray & buf);
   110   void AddTeam(const HWTeam & team);
   110   void AddTeam(const HWTeam & team);
   115   void onInitHealthChanged(quint32 health);
   115   void onInitHealthChanged(quint32 health);
   116   void onTurnTimeChanged(quint32 time);
   116   void onTurnTimeChanged(quint32 time);
   117   void onFortsModeChanged(bool value);
   117   void onFortsModeChanged(bool value);
   118   void onHedgehogsNumChanged(const HWTeam& team);
   118   void onHedgehogsNumChanged(const HWTeam& team);
   119   void onTeamColorChanged(const HWTeam& team);
   119   void onTeamColorChanged(const HWTeam& team);
   120   void onWeaponsNameChanged(const QString& ammo);
   120   void onWeaponsNameChanged(const QString& name, const QString& ammo);
   121 
   121 
   122  private slots:
   122  private slots:
   123   void ClientRead();
   123   void ClientRead();
   124   void OnConnect();
   124   void OnConnect();
   125   void OnDisconnect();
   125   void OnDisconnect();