mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-15 06:14:35 +01:00
22 lines
548 B
C#
22 lines
548 B
C#
using KianaBH.Data;
|
|
using KianaBH.KcpSharp;
|
|
using KianaBH.Proto;
|
|
|
|
namespace KianaBH.GameServer.Server.Packet.Send.Collection;
|
|
|
|
public class PacketGetCollectionListRsp : BasePacket
|
|
{
|
|
public PacketGetCollectionListRsp() : base(CmdIds.GetCollectionListRsp)
|
|
{
|
|
var collections = GameData.CollectionData.Keys.Select(key => (uint)key);
|
|
|
|
var proto = new GetCollectionListRsp
|
|
{
|
|
CollectionIdList = { collections },
|
|
ActiveCollectionIdList = { collections },
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
}
|