mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 05:44:34 +01:00
enter part2 world
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using KianaBH.KcpSharp;
|
||||
using KianaBH.Proto;
|
||||
|
||||
namespace KianaBH.GameServer.Server.Packet.Send.Pjms;
|
||||
|
||||
public class PacketPjmsEnterWorldRsp : BasePacket
|
||||
{
|
||||
public PacketPjmsEnterWorldRsp(uint WorldId, uint TeleportId) : base(CmdIds.PjmsEnterWorldRsp)
|
||||
{
|
||||
var proto = new PjmsEnterWorldRsp
|
||||
{
|
||||
World = new() { WorldId = WorldId },
|
||||
TeleportId = TeleportId,
|
||||
// Read from db table after creating it
|
||||
Formation = new()
|
||||
{
|
||||
CurAvatarId = 4223,
|
||||
ElfId = 120,
|
||||
StarRingEnergy = 150,
|
||||
AvatarIdList = { 4223, 4224, 4225 }
|
||||
},
|
||||
WorldTransactionStr = "0"
|
||||
};
|
||||
|
||||
SetData(proto);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user