mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
using EggLink.DanhengServer.Proto;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace EggLink.DanhengServer.Server.Packet.Send.Friend
|
|
{
|
|
public class PacketRevcMsgScNotify : BasePacket
|
|
{
|
|
public PacketRevcMsgScNotify(uint toUid, uint fromUid, string msg) : base(CmdIds.RevcMsgScNotify)
|
|
{
|
|
RevcMsgScNotify proto = new RevcMsgScNotify()
|
|
{
|
|
ChatType = ChatType.Private,
|
|
LOHNNLGAJAA = fromUid,
|
|
LJEJJLDOHGA = toUid,
|
|
MessageText = msg,
|
|
MessageType = MsgType.CustomText,
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
|
|
public PacketRevcMsgScNotify(uint toUid, uint fromUid, uint extraId) : base(CmdIds.RevcMsgScNotify)
|
|
{
|
|
RevcMsgScNotify proto = new RevcMsgScNotify()
|
|
{
|
|
ChatType = ChatType.Private,
|
|
LOHNNLGAJAA = fromUid,
|
|
LJEJJLDOHGA = toUid,
|
|
ExtraId = extraId,
|
|
MessageType = MsgType.Emoji
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
}
|
|
}
|