Merge branch 'dev_spine' of https://git.wdd817.link/puxuan/c1_unity into dev_spine

This commit is contained in:
changyuxiang 2025-05-20 23:49:06 +08:00
commit f7ba919c6a
3 changed files with 64 additions and 12 deletions

View File

@ -1,5 +1,5 @@
ò¦ Þ®
pb/proto/protocol.protocspb"ž pb/proto/protocol.protocspb"ž
Gift Gift
act_type (RactType act_type (RactType
@ -492,7 +492,18 @@ proClaimed:
rewards ( 2 .cspb.RewardRrewards"D rewards ( 2 .cspb.RewardRrewards"D
ArenaBountyBoughtNtf ArenaBountyBoughtNtf
season (Rseason season (Rseason
level (Rlevel"f level (Rlevel"6
TeamSyncMatchReq
type ( Rtype
id (Rid"<
TeamSyncMatchRsp(
err_code (2 .cspb.ErrCodeRerrCode"ˆ
TeamSyncMatchNtf
battle_url ( R battleUrl(
player ( 2.cspb.TeamPlayerRplayer
seed (Rseed
room_id ( RroomId"f
BossRushGrade BossRushGrade
normal (Rnormal normal (Rnormal
superior (Rsuperior! superior (Rsuperior!
@ -1002,7 +1013,26 @@ HeroEquips4
value (Rvalue:8"* value (Rvalue:8"*
Recovery Recovery
id (Rid id (Rid
ts (Rts" ts (Rts"½
RankBaseInfo
id ( Rid
name ( Rname
level (Rlevel
avatar (Ravatar!
avatar_frame (R avatarFrame!
last_version ( R lastVersion
weapon (Rweapon
skin (Rskin
gender (Rgender!
nameplate_id
(R nameplateId.
nameplate_create_at (RnameplateCreateAt"\
TeamPlayer
robot (Rrobot
id ( Rid
name ( Rname
level (Rlevel"
CDKeyUseReq CDKeyUseReq
key ( Rkey"_ key ( Rkey"_
CDKeyUseRsp( CDKeyUseRsp(
@ -1310,15 +1340,15 @@ pay_counts ( 2.cspb.Stat.PayCountsEntryR payCounts
key (Rkey key (Rkey
value (Rvalue:8" value (Rvalue:8"
Request Request
id (Rid"¸ id (Rid"±
AuthReq AuthReq
type ( Rtype type ( Rtype
id ( Rid id ( Rid
token ( Rtoken1 token ( Rtoken1
client_info ( 2.cspb.ClientInfoR client_info ( 2.cspb.ClientInfoR
clientInfo" clientInfo
sync ( 2.cspb.SyncDataRsync reconnect (R reconnect
reconnect (R reconnect"ý server_id (RserverId"Ç
AuthRsp( AuthRsp(
err_code (2 .cspb.ErrCodeRerrCode err_code (2 .cspb.ErrCodeRerrCode
id ( Rid id ( Rid
@ -1328,8 +1358,17 @@ clientInfo"
google_id ( RgoogleId google_id ( RgoogleId
apple_id ( RappleId apple_id ( RappleId
facebook_id ( R facebook_id ( R
facebookId facebookId
banned (Rbanned"C vk_id ( RvkId
banned (Rbanned
server_id
(RserverId;
player_ids ( 2.cspb.AuthRsp.PlayerIdsEntryR playerIds
create_at (RcreateAt<
PlayerIdsEntry
key (Rkey
value ( Rvalue:8"C
BindReq BindReq
type ( Rtype type ( Rtype
id ( Rid id ( Rid
@ -1780,7 +1819,17 @@ tourn_wave ( 2.cspb.TournWaveR tournWave"
id (Rid"p id (Rid"p
TournWaveBountyClaimByDiamondRsp( TournWaveBountyClaimByDiamondRsp(
err_code (2 .cspb.ErrCodeRerrCode" err_code (2 .cspb.ErrCodeRerrCode"
costs ( 2 .cspb.RewardRcosts*“ costs ( 2 .cspb.RewardRcosts*o
BattleMsgType
HEARTBEAT
JOIN
JOIN_FAILED
LEAVE
SYNC
CHAT
EMOJI
FRAMES
ErrCode ErrCode
SUCCESS SUCCESS
@ -1792,7 +1841,8 @@ tourn_wave ( 2.cspb.TournWaveR tournWave"
DUPLICATE_BIND  DUPLICATE_BIND 
ACCOUNT_NOT_EXISTS ACCOUNT_NOT_EXISTS
VERSION_IS_NOT_FOUND VERSION_IS_NOT_FOUND
INVALID_CLIENT INVALID_CLIENT
COUNTRY_NOT_ALLOWED
INVALID_PARAMSd INVALID_PARAMSd
CFG_IS_NOT_FOUNDe CFG_IS_NOT_FOUNDe
ITEM_IS_NOT_ENOUGHf ITEM_IS_NOT_ENOUGHf

View File

@ -13,7 +13,9 @@ TAB = " "
lua_list = [] lua_list = []
lua_list.append("local ProtoMsgType = {\n") lua_list.append("local ProtoMsgType = {\n")
with open(sys.argv[1] + "\msgid.def", "r") as f: full_path_os = os.path.join(sys.argv[1], "msgid.def")
with open(full_path_os, "r") as f:
data = f.readlines() data = f.readlines()
lua_list.append(TAB + "FromMsgId = {\n") lua_list.append(TAB + "FromMsgId = {\n")