Beispiel #1
0
        public void Disband()
        {
            AllianceMessage(1070762); // Your Alliance has dissolved.

            for (int i = 0; i < m_PendingMembers.Count; i++)
            {
                m_PendingMembers[i].Alliance = null;
            }

            for (int i = 0; i < Members.Count; i++)
            {
                Members[i].Alliance = null;
            }

            AllianceInfo aInfo;

            Alliances.TryGetValue(Name.ToLower(), out aInfo);

            if (aInfo == this)
            {
                Alliances.Remove(Name.ToLower());
            }
        }