Exemplo n.º 1
0
        public static void SystemMsg(this PNetS.Player player, string text)
        {
            var message = ChatMsg.System;

            message.Text = text;
            message.Time = DateTime.Now;
            player.PlayerRpc(15, message);
        }
Exemplo n.º 2
0
 public static void Whisper(this PNetS.Player player, PNetS.Player target, ChatMsg msg)
 {
     player.PlayerRpc(15, msg);
     target.PlayerRpc(15, msg);
 }
Exemplo n.º 3
0
 public static void UpdateFriend(this PNetS.Player player, FriendStatus status)
 {
     player.PlayerSubRpc(20, 21, status);
 }