mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
ref: change message attributes
This commit is contained in:
@@ -74,17 +74,18 @@ public:
|
||||
class ClientMessage
|
||||
{
|
||||
public:
|
||||
QString fromId;
|
||||
QString toId;
|
||||
QString fromId;//формат id-typeId
|
||||
QString toId;//формат id-typeId
|
||||
QString Text;
|
||||
QString UserType;
|
||||
|
||||
//TypeId
|
||||
//0 - инструктор, 1 - обучаемый
|
||||
ClientMessage(){}
|
||||
ClientMessage(QString fromId, QString toId, QString text, QString UserType)
|
||||
ClientMessage(QString fromId, QString toId, QString text)
|
||||
{
|
||||
this->fromId = fromId;
|
||||
this->toId = toId;
|
||||
this->Text = text;
|
||||
this->UserType = UserType;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user