Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-socketCenter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujiebin
hilo-socketCenter
Commits
6fa931d6
Commit
6fa931d6
authored
Jun 15, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update userProxy.proto
parent
000fd187
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
0 deletions
+53
-0
userProxy.proto
protocol/userProxy.proto
+53
-0
No files found.
protocol/userProxy.proto
View file @
6fa931d6
...
...
@@ -16,6 +16,7 @@ message User {
bool
isVip
=
8
;
bool
isLike
=
9
;
bool
isLikeMe
=
10
;
string
code
=
11
;
}
/* Svip*/
...
...
@@ -209,6 +210,9 @@ message GlobalGiftBanner {
string
giftPicUrl
=
11
;
Svip
svip
=
12
;
Svip
receiveSvip
=
13
;
uint32
bannerType
=
14
;
// 类型:0.普通礼物 1.cp直接送礼 2.cp告白礼物
uint32
cpLevel
=
15
;
// cp等级
string
receiveUserAvatar
=
16
;
}
/* id == 116 横幅的回应,用来测量RTT */
...
...
@@ -350,3 +354,52 @@ message GroupActivity {
message
RoomInviteMember
{
string
group_id
=
1
;
}
/* id == 145 钻石变化 */
message
DiamondChange
{
uint32
remainDiamond
=
1
;
uint32
remainPinkDiamond
=
2
;
}
/* id == 146 游戏横幅 */
message
GlobalGameBanner
{
uint32
gameType
=
1
;
// 0.h5游戏 1.ludo 2.uno 3.dice 4.lucky wheel 5.lucky box 6.fruit
uint64
userId
=
2
;
string
avatar
=
3
;
uint64
diamond
=
4
;
string
bannerUrl
=
5
;
uint64
gameId
=
6
;
// 1.ludo 2.uno 3.dice 4.lucky wheel 5.lucky box 6.fruit 7.slot
}
/* id == 147 羊羊匹配成功 */
message
SheepMatchSuccess
{
uint64
match_id
=
1
;
User
user
=
2
;
User
otherUser
=
3
;
}
message
SheepGamePlayer
{
User
user
=
1
;
bool
is_win
=
2
;
int32
rank
=
3
;
}
/* id == 148 羊羊游戏结果 */
message
SheepGameResult
{
uint64
match_id
=
1
;
repeated
SheepGamePlayer
players
=
2
;
}
/* id == 149 cp邀请 */
message
CpInvite
{
User
user
=
1
;
string
msg
=
2
;
}
/* id == 150 cp升级 */
message
CpUpgrade
{
User
user1
=
1
;
User
user2
=
2
;
uint32
cp_level
=
3
;
string
content
=
4
;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment