Ejemplo n.º 1
0
 public void UpdateMember(MaplePartyCharacter member)
 {
     for (var i = 0; i < m_mMembers.Count; i++)
     {
         var chr = m_mMembers[i];
         if (chr.Equals(member))
         {
             m_mMembers[i] = member;
         }
     }
 }
Ejemplo n.º 2
0
 protected bool Equals(MaplePartyCharacter other)
 {
     return(string.Equals(CharacterName, other.CharacterName));
 }
Ejemplo n.º 3
0
 public void RemoveMember(MaplePartyCharacter member)
 {
     m_mMembers.Remove(member);
 }
Ejemplo n.º 4
0
 public void AddMember(MaplePartyCharacter member)
 {
     m_mMembers.Add(member);
 }
Ejemplo n.º 5
0
 public bool ContainsMember(MaplePartyCharacter member)
 {
     return(m_mMembers.Contains(member));
 }
Ejemplo n.º 6
0
 public MapleParty(int id, MaplePartyCharacter chrfor)
 {
     Leader = chrfor;
     m_mMembers.Add(Leader);
     PartyId = id;
 }