-
Notifications
You must be signed in to change notification settings - Fork 2
/
IDatabaseClient.cs
157 lines (82 loc) · 7.47 KB
/
IDatabaseClient.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
using Cysharp.Threading.Tasks;
namespace MultiplayerARPG.MMO
{
public partial interface IDatabaseClient
{
UniTask<DatabaseApiResult<ValidateUserLoginResp>> ValidateUserLoginAsync(ValidateUserLoginReq request);
UniTask<DatabaseApiResult<ValidateAccessTokenResp>> ValidateAccessTokenAsync(ValidateAccessTokenReq request);
UniTask<DatabaseApiResult<GetUserLevelResp>> GetUserLevelAsync(GetUserLevelReq request);
UniTask<DatabaseApiResult<GoldResp>> GetGoldAsync(GetGoldReq request);
UniTask<DatabaseApiResult<GoldResp>> ChangeGoldAsync(ChangeGoldReq request);
UniTask<DatabaseApiResult<CashResp>> GetCashAsync(GetCashReq request);
UniTask<DatabaseApiResult<CashResp>> ChangeCashAsync(ChangeCashReq request);
UniTask<DatabaseApiResult> UpdateAccessTokenAsync(UpdateAccessTokenReq request);
UniTask<DatabaseApiResult> CreateUserLoginAsync(CreateUserLoginReq request);
UniTask<DatabaseApiResult<FindUsernameResp>> FindUsernameAsync(FindUsernameReq request);
UniTask<DatabaseApiResult<CharacterResp>> CreateCharacterAsync(CreateCharacterReq request);
UniTask<DatabaseApiResult<CharacterResp>> GetCharacterAsync(GetCharacterReq request);
UniTask<DatabaseApiResult<CharactersResp>> GetCharactersAsync(GetCharactersReq request);
UniTask<DatabaseApiResult<CharacterResp>> UpdateCharacterAsync(UpdateCharacterReq request);
UniTask<DatabaseApiResult> DeleteCharacterAsync(DeleteCharacterReq request);
UniTask<DatabaseApiResult<FindCharacterNameResp>> FindCharacterNameAsync(FindCharacterNameReq request);
UniTask<DatabaseApiResult<SocialCharacterResp>> GetSocialCharacterAsync(GetSocialCharacterReq request);
UniTask<DatabaseApiResult<SocialCharactersResp>> FindCharactersAsync(FindCharacterNameReq request);
UniTask<DatabaseApiResult> CreateFriendAsync(CreateFriendReq request);
UniTask<DatabaseApiResult> DeleteFriendAsync(DeleteFriendReq request);
UniTask<DatabaseApiResult<SocialCharactersResp>> GetFriendsAsync(GetFriendsReq request);
UniTask<DatabaseApiResult<BuildingResp>> CreateBuildingAsync(CreateBuildingReq request);
UniTask<DatabaseApiResult<BuildingResp>> UpdateBuildingAsync(UpdateBuildingReq request);
UniTask<DatabaseApiResult> DeleteBuildingAsync(DeleteBuildingReq request);
UniTask<DatabaseApiResult<BuildingsResp>> GetBuildingsAsync(GetBuildingsReq request);
UniTask<DatabaseApiResult<PartyResp>> CreatePartyAsync(CreatePartyReq request);
UniTask<DatabaseApiResult<PartyResp>> UpdatePartyAsync(UpdatePartyReq request);
UniTask<DatabaseApiResult<PartyResp>> UpdatePartyLeaderAsync(UpdatePartyLeaderReq request);
UniTask<DatabaseApiResult> DeletePartyAsync(DeletePartyReq request);
UniTask<DatabaseApiResult<PartyResp>> UpdateCharacterPartyAsync(UpdateCharacterPartyReq request);
UniTask<DatabaseApiResult> ClearCharacterPartyAsync(ClearCharacterPartyReq request);
UniTask<DatabaseApiResult<PartyResp>> GetPartyAsync(GetPartyReq request);
UniTask<DatabaseApiResult<GuildResp>> CreateGuildAsync(CreateGuildReq request);
UniTask<DatabaseApiResult<GuildResp>> UpdateGuildLeaderAsync(UpdateGuildLeaderReq request);
UniTask<DatabaseApiResult<GuildResp>> UpdateGuildMessageAsync(UpdateGuildMessageReq request);
UniTask<DatabaseApiResult<GuildResp>> UpdateGuildMessage2Async(UpdateGuildMessageReq request);
UniTask<DatabaseApiResult<GuildResp>> UpdateGuildOptionsAsync(UpdateGuildOptionsReq request);
UniTask<DatabaseApiResult<GuildResp>> UpdateGuildAutoAcceptRequestsAsync(UpdateGuildAutoAcceptRequestsReq request);
UniTask<DatabaseApiResult<GuildResp>> UpdateGuildRoleAsync(UpdateGuildRoleReq request);
UniTask<DatabaseApiResult<GuildResp>> UpdateGuildMemberRoleAsync(UpdateGuildMemberRoleReq request);
UniTask<DatabaseApiResult> DeleteGuildAsync(DeleteGuildReq request);
UniTask<DatabaseApiResult<GuildResp>> UpdateCharacterGuildAsync(UpdateCharacterGuildReq request);
UniTask<DatabaseApiResult> ClearCharacterGuildAsync(ClearCharacterGuildReq request);
UniTask<DatabaseApiResult<FindGuildNameResp>> FindGuildNameAsync(FindGuildNameReq request);
UniTask<DatabaseApiResult<GuildsResp>> FindGuildsAsync(FindGuildNameReq request);
UniTask<DatabaseApiResult<GuildResp>> GetGuildAsync(GetGuildReq request);
UniTask<DatabaseApiResult<GuildResp>> IncreaseGuildExpAsync(IncreaseGuildExpReq request);
UniTask<DatabaseApiResult<GuildResp>> AddGuildSkillAsync(AddGuildSkillReq request);
UniTask<DatabaseApiResult<GuildGoldResp>> GetGuildGoldAsync(GetGuildGoldReq request);
UniTask<DatabaseApiResult<GuildGoldResp>> ChangeGuildGoldAsync(ChangeGuildGoldReq request);
UniTask<DatabaseApiResult> CreateGuildRequestAsync(CreateGuildRequestReq request);
UniTask<DatabaseApiResult> DeleteGuildRequestAsync(DeleteGuildRequestReq request);
UniTask<DatabaseApiResult<SocialCharactersResp>> GetGuildRequestsAsync(GetGuildRequestsReq request);
UniTask<DatabaseApiResult<GetGuildRequestNotificationResp>> GetGuildRequestNotificationAsync(GetGuildRequestNotificationReq request);
UniTask<DatabaseApiResult<GetStorageItemsResp>> GetStorageItemsAsync(GetStorageItemsReq request);
UniTask<DatabaseApiResult> UpdateStorageItemsAsync(UpdateStorageItemsReq request);
UniTask<DatabaseApiResult> DeleteAllReservedStorageAsync();
UniTask<DatabaseApiResult<MailListResp>> MailListAsync(MailListReq request);
UniTask<DatabaseApiResult<UpdateReadMailStateResp>> UpdateReadMailStateAsync(UpdateReadMailStateReq request);
UniTask<DatabaseApiResult<UpdateClaimMailItemsStateResp>> UpdateClaimMailItemsStateAsync(UpdateClaimMailItemsStateReq request);
UniTask<DatabaseApiResult<UpdateDeleteMailStateResp>> UpdateDeleteMailStateAsync(UpdateDeleteMailStateReq request);
UniTask<DatabaseApiResult<SendMailResp>> SendMailAsync(SendMailReq request);
UniTask<DatabaseApiResult<GetMailResp>> GetMailAsync(GetMailReq request);
UniTask<DatabaseApiResult<GetIdByCharacterNameResp>> GetIdByCharacterNameAsync(GetIdByCharacterNameReq request);
UniTask<DatabaseApiResult<GetUserIdByCharacterNameResp>> GetUserIdByCharacterNameAsync(GetUserIdByCharacterNameReq request);
UniTask<DatabaseApiResult<GetMailNotificationResp>> GetMailNotificationAsync(GetMailNotificationReq request);
UniTask<DatabaseApiResult<GetUserUnbanTimeResp>> GetUserUnbanTimeAsync(GetUserUnbanTimeReq request);
UniTask<DatabaseApiResult> SetUserUnbanTimeByCharacterNameAsync(SetUserUnbanTimeByCharacterNameReq request);
UniTask<DatabaseApiResult> SetCharacterUnmuteTimeByNameAsync(SetCharacterUnmuteTimeByNameReq request);
UniTask<DatabaseApiResult<GetSummonBuffsResp>> GetSummonBuffsAsync(GetSummonBuffsReq request);
UniTask<DatabaseApiResult<ValidateEmailVerificationResp>> ValidateEmailVerificationAsync(ValidateEmailVerificationReq request);
UniTask<DatabaseApiResult<FindEmailResp>> FindEmailAsync(FindEmailReq request);
UniTask<DatabaseApiResult<GetFriendRequestNotificationResp>> GetFriendRequestNotificationAsync(GetFriendRequestNotificationReq request);
UniTask<DatabaseApiResult> UpdateUserCount(UpdateUserCountReq request);
UniTask<DatabaseApiResult> UpdateGuildMemberCountAsync(UpdateGuildMemberCountReq request);
}
}