예제 #1
0
        public static void Prod(Client sender, Client to)
        {
            Prod(to);
            to.TellChat(Chat.Green, sender.Name + " gave you a friendly push");
            sender.TellChat(Chat.Green, "You gave " + to.Name + " a friendly push");
			
            VanillaSession rs = to.Session as VanillaSession;
            if (rs != null)
            {
                //Sender see hurt
                sender.Queue.Queue(new EntityStatus(rs.EID, EntityStatuses.EntityHurt));
            }
        }
예제 #2
0
        public static void Prod(Client sender, Client to)
        {
            Prod(to);
            to.TellChat(Chat.Green, sender.Name + " gave you a friendly push");
            sender.TellChat(Chat.Green, "You gave " + to.Name + " a friendly push");

            VanillaSession rs = to.Session as VanillaSession;

            if (rs != null)
            {
                //Sender see hurt
                sender.Queue.Queue(new EntityStatus(rs.EID, EntityStatuses.EntityHurt));
            }
        }