equal
deleted
inserted
replaced
151 |
151 |
152 void HWGame::SendTrainingConfig() |
152 void HWGame::SendTrainingConfig() |
153 { |
153 { |
154 QByteArray traincfg; |
154 QByteArray traincfg; |
155 HWProto::addStringToBuffer(traincfg, "TL"); |
155 HWProto::addStringToBuffer(traincfg, "TL"); |
156 |
156 HWProto::addStringToBuffer(traincfg, "eseed " + QUuid::createUuid().toString()); |
157 HWProto::addStringToBuffer(traincfg, "escript " + training); |
157 HWProto::addStringToBuffer(traincfg, "escript " + training); |
158 |
158 |
159 RawSendIPC(traincfg); |
159 RawSendIPC(traincfg); |
160 } |
160 } |
161 |
161 |
162 void HWGame::SendCampaignConfig() |
162 void HWGame::SendCampaignConfig() |
163 { |
163 { |
164 QByteArray campaigncfg; |
164 QByteArray campaigncfg; |
165 HWProto::addStringToBuffer(campaigncfg, "TL"); |
165 HWProto::addStringToBuffer(campaigncfg, "TL"); |
|
166 HWProto::addStringToBuffer(campaigncfg, "eseed " + QUuid::createUuid().toString()); |
166 |
167 |
167 HWProto::addStringToBuffer(campaigncfg, "escript " + campaign); |
168 HWProto::addStringToBuffer(campaigncfg, "escript " + campaign); |
168 |
169 |
169 RawSendIPC(campaigncfg); |
170 RawSendIPC(campaigncfg); |
170 } |
171 } |