upgrade skill (not throughly tested because the lack of other implementation)

This commit is contained in:
rfi
2023-11-19 21:02:09 +07:00
parent 0705c4373f
commit 897a457584
7 changed files with 132 additions and 17 deletions

View File

@@ -1,4 +1,6 @@
using System.Reflection;
using System.Net.Sockets;
using System.Reflection;
using AscNet.Common.MsgPack;
using AscNet.Logging;
using MessagePack;
@@ -36,6 +38,11 @@ namespace AscNet.GameServer
[Key(2)]
public byte[] Content;
public T Deserialize<T>()
{
return MessagePackSerializer.Deserialize<T>(Content);
}
}
[MessagePackObject(false)]