Пример #1
0
        private static void SendBRSFriendNotify(Player from, Player to, EFriendNotify mode)
        {
            var ack = new Packet(EChatPacket.SBRSFriendNotifyAck);

            ack.Write(from.AccountID);
            ack.Write(to.AccountID);
            ack.Write((byte)mode);
            ack.Write(from.Nickname);
            to.Session.Send(ack);
        }
Пример #2
0
 private static void SendBRSFriendNotify(Player from, Player to, EFriendNotify mode)
 {
     var ack = new Packet(EChatPacket.SBRSFriendNotifyAck);
     ack.Write(from.AccountID);
     ack.Write(to.AccountID);
     ack.Write((byte)mode);
     ack.Write(from.Nickname);
     to.Session.Send(ack);
 }