Пример #1
0
        public void Cancel()
        {
            Target.RemoveInvitation(this);
            Party.RemoveGuest(Target);

            PartyHandler.SendPartyInvitationCancelledForGuestMessage(Target.Client, Source, this);
            PartyHandler.SendPartyCancelInvitationNotificationMessage(Party.Clients, this);
        }
Пример #2
0
        public void Deny()
        {
            Target.RemoveInvitation(this);
            Party.RemoveGuest(Target);

            PartyHandler.SendPartyInvitationCancelledForGuestMessage(Target.Client, Target, this);
            PartyHandler.SendPartyRefuseInvitationNotificationMessage(Party.Clients, this);
        }
Пример #3
0
 public void Cancel()
 {
     this.Target.RemoveInvitation(this);
     this.Party.RemoveGuest(this.Target);
     PartyHandler.SendPartyInvitationCancelledForGuestMessage(this.Target.Client, this.Source, this);
     this.Party.ForEach(delegate(Character entry)
     {
         PartyHandler.SendPartyCancelInvitationNotificationMessage(entry.Client, this);
     });
 }