Merge pull request #4749 from zhaowenlan1779/webfix
web_service: Misc fixes
This commit is contained in:
commit
e0a0bca13a
23 changed files with 220 additions and 63 deletions
|
@ -83,9 +83,10 @@ public:
|
|||
|
||||
/**
|
||||
* Registers the data in the announce service
|
||||
* @result A global Guid of the room which may be used for verification
|
||||
* @result The result of the register attempt. When the result code is Success, A global Guid of
|
||||
* the room which may be used for verification will be in the result's returned_data.
|
||||
*/
|
||||
virtual std::string Register() = 0;
|
||||
virtual Common::WebResult Register() = 0;
|
||||
|
||||
/**
|
||||
* Empties the stored players
|
||||
|
@ -121,8 +122,8 @@ public:
|
|||
Common::WebResult Update() override {
|
||||
return Common::WebResult{Common::WebResult::Code::NoWebservice, "WebService is missing"};
|
||||
}
|
||||
std::string Register() override {
|
||||
return "";
|
||||
Common::WebResult Register() override {
|
||||
return Common::WebResult{Common::WebResult::Code::NoWebservice, "WebService is missing"};
|
||||
}
|
||||
void ClearPlayers() override {}
|
||||
RoomList GetRoomList() override {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue