mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-15 14:24:34 +01:00
enter part2 world
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using KianaBH.KcpSharp;
|
||||
using KianaBH.Proto;
|
||||
|
||||
namespace KianaBH.GameServer.Server.Packet.Send.Pjms;
|
||||
|
||||
public class PacketPjmsUpdateFormationRsp : BasePacket
|
||||
{
|
||||
public PacketPjmsUpdateFormationRsp(PjmsUpdateFormationReq req) : base(CmdIds.PjmsUpdateFormationRsp)
|
||||
{
|
||||
var proto = new PjmsUpdateFormationRsp
|
||||
{
|
||||
ChapterId = req.ChapterId,
|
||||
Formation = new()
|
||||
{
|
||||
CurAvatarId = req.AvatarList[0],
|
||||
ElfId = req.ElfId,
|
||||
StarRingEnergy = 150
|
||||
}
|
||||
};
|
||||
proto.Formation.AvatarIdList.AddRange(req.AvatarList);
|
||||
// TODO: Create a part2 table to save changes
|
||||
|
||||
SetData(proto);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user