mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-16 06:44:41 +01:00
Init enter game
This commit is contained in:
19
GameServer/Server/Packet/Send/Player/PacketSyncTimeRsp.cs
Normal file
19
GameServer/Server/Packet/Send/Player/PacketSyncTimeRsp.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using KianaBH.KcpSharp;
|
||||
using KianaBH.Proto;
|
||||
using KianaBH.Util.Extensions;
|
||||
|
||||
namespace KianaBH.GameServer.Server.Packet.Send.Player;
|
||||
|
||||
public class PacketSyncTimeRsp : BasePacket
|
||||
{
|
||||
public PacketSyncTimeRsp(uint seq) : base(CmdIds.SyncTimeRsp)
|
||||
{
|
||||
var proto = new SyncTimeRsp
|
||||
{
|
||||
CurTime = (uint)Extensions.GetUnixSec(),
|
||||
Seq = seq
|
||||
};
|
||||
|
||||
SetData(proto);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user