Removes implicit types

This commit is contained in:
Kamron Batman 2018-09-14 08:48:39 -07:00
parent 33f5e77a24
commit 04b4cfe75b
261 changed files with 1329 additions and 1329 deletions

View file

@ -12,7 +12,7 @@ using Server.Commands.Generic;
namespace Server.Factions
{
[CustomEnum( new string[]{ "Minax", "Council of Mages", "True Britannians", "Shadowlords" } )]
[CustomEnum( new[]{ "Minax", "Council of Mages", "True Britannians", "Shadowlords" } )]
public abstract class Faction : IComparable
{
public int ZeroRankOffset;
@ -1299,21 +1299,21 @@ namespace Server.Factions
{
case FactionKickType.Kick:
{
Commands = new string[]{ "FactionKick" };
Commands = new[]{ "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" };
Commands = new[]{ "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" };
Commands = new[]{ "FactionUnban" };
Usage = "FactionUnban";
Description = "Unbans the account of a targeted player from joining factions.";
break;

View file

@ -36,7 +36,7 @@ namespace Server.Factions
public class MerchantTitles
{
private static MerchantTitleInfo[] m_Info = new MerchantTitleInfo[]
private static MerchantTitleInfo[] m_Info = new[]
{
new MerchantTitleInfo( SkillName.Inscribe, 90.0, new TextDefinition( 1060773, "Scribe" ), new TextDefinition( 1011468, "SCRIBE" ), new TextDefinition( 1010121, "You now have the faction title of scribe" ) ),
new MerchantTitleInfo( SkillName.Carpentry, 90.0, new TextDefinition( 1060774, "Carpenter" ), new TextDefinition( 1011469, "CARPENTER" ), new TextDefinition( 1010122, "You now have the faction title of carpenter" ) ),

View file

@ -6,7 +6,7 @@ using System.Collections.Generic;
namespace Server.Factions
{
[CustomEnum( new string[]{ "Britain", "Magincia", "Minoc", "Moonglow", "Skara Brae", "Trinsic", "Vesper", "Yew" } )]
[CustomEnum( new[]{ "Britain", "Magincia", "Minoc", "Moonglow", "Skara Brae", "Trinsic", "Vesper", "Yew" } )]
public abstract class Town : IComparable
{
private TownDefinition m_Definition;