收藏事件

This commit is contained in:
sin365 2025-01-08 23:22:45 +08:00
parent d05d69735d
commit da81d4799a
2 changed files with 1 additions and 3 deletions

View File

@ -25,8 +25,6 @@
//更新其他用户信息 //更新其他用户信息
OnOtherUserInfoUpdate, OnOtherUserInfoUpdate,
//当收藏数发生变化
OnDoStars,
//用户列表,登录和离开 //用户列表,登录和离开
OnUserListAllUpdate, OnUserListAllUpdate,

View File

@ -36,7 +36,7 @@ namespace AxibugEmuOnline.Client.Manager
void RecvGameStar(byte[] reqData) void RecvGameStar(byte[] reqData)
{ {
Protobuf_Game_Mark_RESP msg = ProtoBufHelper.DeSerizlize<Protobuf_Game_Mark_RESP>(reqData); Protobuf_Game_Mark_RESP msg = ProtoBufHelper.DeSerizlize<Protobuf_Game_Mark_RESP>(reqData);
Eventer.Instance.PostEvent(EEvent.OnDoStars, msg.RomID); Eventer.Instance.PostEvent(EEvent.OnRomStarStateChanged, msg.RomID,msg.IsStar == 1);
} }
} }