Ejemplo n.º 1
0
 protected virtual void OnGuestAdded(Character groupGuest)
 {
     this.ForEach(delegate(Character entry)
     {
         PartyHandler.SendPartyNewGuestMessage(entry.Client, this, groupGuest);
     });
     Party.MemberAddedHandler guestAdded = this.GuestAdded;
     if (guestAdded != null)
     {
         guestAdded(this, groupGuest);
     }
 }
Ejemplo n.º 2
0
        protected virtual void OnGuestAdded(Character groupGuest)
        {
            PartyHandler.SendPartyNewGuestMessage(Clients, this, groupGuest);

            GuestAdded?.Invoke(this, groupGuest);
        }