Example #1
0
 public void UpdateParty(S_PARTY_MEMBER_LIST m)
 {
     _currentParty = m.Party.ConvertAll(x => Tuple.Create(x.ServerId, x.PlayerId));
     IsRaid        = m.Raid;
     PartyChangedEvent?.Invoke();
 }
Example #2
0
 public void UpdateParty(S_LEAVE_PARTY m)
 {
     _currentParty = new List <Tuple <uint, uint> >();
     PartyChangedEvent?.Invoke();
 }
Example #3
0
 public void UpdateParty(S_BAN_PARTY_MEMBER m)
 {
     _currentParty.Remove(Tuple.Create(m.ServerId, m.PlayerId));
     PartyChangedEvent?.Invoke();
 }
Example #4
0
 public void UpdateParty(LoginServerMessage message)
 {
     _currentParty = new List <Tuple <uint, uint> >();
     PartyChangedEvent?.Invoke();
 }