mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 10:43:59 +00:00
add chat command
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using MikuSB.GameServer.Game.Player;
|
||||
using MikuSB.TcpSharp;
|
||||
using MikuSB.Proto;
|
||||
|
||||
namespace MikuSB.GameServer.Server.Packet.Send.Friend;
|
||||
|
||||
public class PacketNtfUpdateFriend : BasePacket
|
||||
{
|
||||
public PacketNtfUpdateFriend(PlayerInstance player) : base(CmdIds.NtfUpdateFriend)
|
||||
{
|
||||
var proto = new PlayerProfileArray
|
||||
{
|
||||
List = { player.ToServerFriendProto() }
|
||||
};
|
||||
|
||||
SetData(proto);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user