public FactionKickCommand(FactionKickType kickType) { m_KickType = kickType; AccessLevel = AccessLevel.GameMaster; Supports = CommandSupport.AllMobiles; ObjectTypes = ObjectTypes.Mobiles; switch (m_KickType) { case FactionKickType.Kick: { Commands = new string[] { "FactionKick" }; Usage = "FactionKick"; Description = "Kicks the targeted player out of his current faction. This does not prevent them from rejoining."; break; } case FactionKickType.Ban: { Commands = new string[] { "FactionBan" }; Usage = "FactionBan"; Description = "Bans the account of a targeted player from joining factions. All players on the account are removed from their current faction, if any."; break; } case FactionKickType.Unban: { Commands = new string[] { "FactionUnban" }; Usage = "FactionUnban"; Description = "Unbans the account of a targeted player from joining factions."; break; } } }
public FactionKickCommand(FactionKickType kickType) { this.m_KickType = kickType; this.AccessLevel = AccessLevel.GameMaster; this.Supports = CommandSupport.AllMobiles; this.ObjectTypes = ObjectTypes.Mobiles; switch ( this.m_KickType ) { case FactionKickType.Kick: { this.Commands = new string[] { "FactionKick" }; this.Usage = "FactionKick"; this.Description = "Kicks the targeted player out of his current faction. This does not prevent them from rejoining."; break; } case FactionKickType.Ban: { this.Commands = new string[] { "FactionBan" }; this.Usage = "FactionBan"; this.Description = "Bans the account of a targeted player from joining factions. All players on the account are removed from their current faction, if any."; break; } case FactionKickType.Unban: { this.Commands = new string[] { "FactionUnban" }; this.Usage = "FactionUnban"; this.Description = "Unbans the account of a targeted player from joining factions."; break; } } }