小道具

This commit is contained in:
flswld committed 2024-08-19 15:18:36 +08:00
1 parent 2518e08e1a
commit d20eb5deb4
5 files changed
+209 -136

No files matched your search

+4
View File
@@ -172,8 +172,12 @@ func (c *CmdProtoMap) registerMessage() {
c.regMsg(GetWidgetSlotRsp, func() any { return new(proto.GetWidgetSlotRsp) }) // 获取小道具槽位响应
c.regMsg(SetWidgetSlotReq, func() any { return new(proto.SetWidgetSlotReq) }) // 设置小道具槽位请求
c.regMsg(SetWidgetSlotRsp, func() any { return new(proto.SetWidgetSlotRsp) }) // 设置小道具槽位响应
c.regMsg(QuickUseWidgetReq, func() any { return new(proto.QuickUseWidgetReq) }) // 小道具使用请求
c.regMsg(QuickUseWidgetRsp, func() any { return new(proto.QuickUseWidgetRsp) }) // 小道具使用响应
c.regMsg(WidgetSlotChangeNotify, func() any { return new(proto.WidgetSlotChangeNotify) }) // 小道具槽位更新通知
c.regMsg(AllWidgetDataNotify, func() any { return new(proto.AllWidgetDataNotify) }) // 小道具槽位数据通知
c.regMsg(WidgetDoBagReq, func() any { return new(proto.WidgetDoBagReq) }) // 小道具下包请求
c.regMsg(WidgetDoBagRsp, func() any { return new(proto.WidgetDoBagRsp) }) // 小道具下包响应
// 战斗与同步
c.regMsg(AvatarFightPropNotify, func() any { return new(proto.AvatarFightPropNotify) }) // 角色战斗属性通知