mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-15 14:24:34 +01:00
Init enter game
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using KianaBH.Data;
|
||||
using KianaBH.KcpSharp;
|
||||
using KianaBH.Proto;
|
||||
|
||||
namespace KianaBH.GameServer.Server.Packet.Send.Player;
|
||||
|
||||
public class PacketGetCustomHeadDataRsp : BasePacket
|
||||
{
|
||||
public PacketGetCustomHeadDataRsp() : base(CmdIds.GetCustomHeadDataRsp)
|
||||
{
|
||||
var proto = new GetCustomHeadDataRsp
|
||||
{
|
||||
CustomHeadList =
|
||||
{
|
||||
GameData.CustomHeadData.Values.Select(x => new CustomHead
|
||||
{
|
||||
Id=x.HeadID,
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
SetData(proto);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user