Init enter game

This commit is contained in:
Naruse
2025-06-14 11:15:32 +08:00
commit 6a03b39f07
568 changed files with 92872 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
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);
}
}