libkazv
profile.hpp
Go to the documentation of this file.
1 /*
2  * This file is part of libkazv.
3  * SPDX-FileCopyrightText: 2021 Tusooa Zhu <tusooa@kazv.moe>
4  * SPDX-License-Identifier: AGPL-3.0-or-later
5  */
6 
7 #pragma once
8 #include <libkazv-config.hpp>
9 
10 #include <csapi/profile.hpp>
11 
12 #include "client-model.hpp"
13 
14 namespace Kazv
15 {
16  ClientResult updateClient(ClientModel m, GetUserProfileAction a);
18 
19  ClientResult updateClient(ClientModel m, SetAvatarUrlAction a);
21 
22  ClientResult updateClient(ClientModel m, SetDisplayNameAction a);
24 }
Kazv::updateClient
ClientResult updateClient(ClientModel m, SetAccountDataPerRoomAction a)
Definition: account-data.cpp:15
Kazv
Definition: location.hpp:10
client-model.hpp
Kazv::Api::SetAvatarUrlResponse
SetAvatarUrlJob::JobResponse SetAvatarUrlResponse
Definition: profile.hpp:201
Kazv::processResponse
ClientResult processResponse(ClientModel m, SetAccountDataPerRoomResponse r)
Definition: account-data.cpp:23
profile.hpp
Kazv::Api::SetDisplayNameResponse
SetDisplayNameJob::JobResponse SetDisplayNameResponse
Definition: profile.hpp:67
Kazv::ClientResult
std::pair< ClientModel, ClientEffect > ClientResult
Definition: clientfwd.hpp:149
libkazv-config.hpp
Kazv::Api::GetUserProfileResponse
GetUserProfileJob::JobResponse GetUserProfileResponse
Definition: profile.hpp:348