Server.Mobiles.BaseCreature.AddFollowers C# (CSharp) Méthode

AddFollowers() public méthode

public AddFollowers ( ) : void
Résultat void
        public void AddFollowers()
        {
            if ( m_ControlMaster != null )
            {
                m_ControlMaster.Followers += ControlSlots;
                if( m_ControlMaster is PlayerMobile )
                {
                    ((PlayerMobile)m_ControlMaster).AllFollowers.Add( this );
                }
            }
            else if ( m_SummonMaster != null )
            {
                m_SummonMaster.Followers += ControlSlots;
                if( m_SummonMaster is PlayerMobile )
                {
                    ((PlayerMobile)m_SummonMaster).AllFollowers.Add( this );
                }
            }
        }
BaseCreature