Skip to content

Commit

Permalink
[修改]1. 修改新的接口适配
Browse files Browse the repository at this point in the history
  • Loading branch information
AlianBlank committed Nov 30, 2024
1 parent 4b33901 commit 74e98c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GameFrameX.NetWork/InnerNetworkMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ public string ToFormatMessageString()
public static IInnerNetworkMessage Create(INetworkMessage message, INetworkMessageHeader messageObjectHeader)
{
var networkMessage = new InnerNetworkMessage();
messageObjectHeader.OperationType = MessageProtoHelper.GetMessageOperationType(message.GetType());
messageObjectHeader.MessageId = MessageProtoHelper.GetMessageIdByType(message.GetType());
messageObjectHeader.OperationType = MessageProtoHelper.GetMessageOperationType(message);
messageObjectHeader.MessageId = MessageProtoHelper.GetMessageIdByType(message);
messageObjectHeader.UniqueId = message.UniqueId;

networkMessage.SetMessageType(message.GetType());
Expand Down

0 comments on commit 74e98c1

Please sign in to comment.