Ejemplo n.º 1
0
        public EthicKickCommand(EthicKickType kickType)
        {
            m_KickType = kickType;

            AccessLevel = AccessLevel.GameMaster;
            Supports    = CommandSupport.AllMobiles;
            ObjectTypes = ObjectTypes.Mobiles;

            switch (m_KickType)
            {
            case EthicKickType.Kick:
            {
                Commands    = new string[] { "EthicKick" };
                Usage       = "EthicKick";
                Description = "Kicks the targeted player out of the ethics system. This does not prevent them from rejoining.";
                break;
            }

            case EthicKickType.Ban:
            {
                Commands    = new string[] { "EthicBan" };
                Usage       = "EthicBan";
                Description = "Bans the account of a targeted player from joining heroes/evil. All players on the account are removed from the ethics system, if any.";
                break;
            }

            case EthicKickType.Unban:
            {
                Commands    = new string[] { "EthicUnban" };
                Usage       = "EthicUnban";
                Description = "Unbans the account of a targeted player from joining heroes/evil.";
                break;
            }
            }
        }
Ejemplo n.º 2
0
        public EthicKickCommand(EthicKickType kickType)
        {
            m_KickType = kickType;

            AccessLevel = AccessLevel.GameMaster;
            Supports = CommandSupport.AllMobiles;
            ObjectTypes = ObjectTypes.Mobiles;

            switch (m_KickType)
            {
                case EthicKickType.Kick:
                    {
                        Commands = new string[] { "EthicKick" };
                        Usage = "EthicKick";
                        Description = "Kicks the targeted player out of the ethics system. This does not prevent them from rejoining.";
                        break;
                    }
                case EthicKickType.Ban:
                    {
                        Commands = new string[] { "EthicBan" };
                        Usage = "EthicBan";
                        Description = "Bans the account of a targeted player from joining heroes/evil. All players on the account are removed from the ethics system, if any.";
                        break;
                    }
                case EthicKickType.Unban:
                    {
                        Commands = new string[] { "EthicUnban" };
                        Usage = "EthicUnban";
                        Description = "Unbans the account of a targeted player from joining heroes/evil.";
                        break;
                    }
            }
        }