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,27 @@
using Google.Protobuf.Collections;
using KianaBH.KcpSharp;
using KianaBH.Proto;
using KianaBH.Util.Extensions;
namespace KianaBH.GameServer.Server.Packet.Send.Battle;
public class PacketGetBuffEffectRsp : BasePacket
{
public PacketGetBuffEffectRsp(RepeatedField<uint> EffectIdList) : base(CmdIds.GetBuffEffectRsp)
{
var proto = new GetBuffEffectRsp
{
AuraEffectList = { EffectIdList },
EffectList =
{
EffectIdList.Select(id => new BuffEffect
{
EffectId = id,
EndTime = (uint)Extensions.GetUnixSec() + 3600,
})
}
};
SetData(proto);
}
}