Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -36,54 +36,54 @@ namespace Server.Factions
|
|||
Guards = guards;
|
||||
}
|
||||
|
||||
public int Sort{ get; }
|
||||
public int Sort { get; }
|
||||
|
||||
public int HuePrimary{ get; }
|
||||
public int HuePrimary { get; }
|
||||
|
||||
public int HueSecondary{ get; }
|
||||
public int HueSecondary { get; }
|
||||
|
||||
public int HueJoin{ get; }
|
||||
public int HueJoin { get; }
|
||||
|
||||
public int HueBroadcast{ get; }
|
||||
public int HueBroadcast { get; }
|
||||
|
||||
public int WarHorseBody{ get; }
|
||||
public int WarHorseBody { get; }
|
||||
|
||||
public int WarHorseItem{ get; }
|
||||
public int WarHorseItem { get; }
|
||||
|
||||
public string FriendlyName{ get; }
|
||||
public string FriendlyName { get; }
|
||||
|
||||
public string Keyword{ get; }
|
||||
public string Keyword { get; }
|
||||
|
||||
public string Abbreviation{ get; }
|
||||
public string Abbreviation { get; }
|
||||
|
||||
public TextDefinition Name{ get; }
|
||||
public TextDefinition Name { get; }
|
||||
|
||||
public TextDefinition PropName{ get; }
|
||||
public TextDefinition PropName { get; }
|
||||
|
||||
public TextDefinition Header{ get; }
|
||||
public TextDefinition Header { get; }
|
||||
|
||||
public TextDefinition About{ get; }
|
||||
public TextDefinition About { get; }
|
||||
|
||||
public TextDefinition CityControl{ get; }
|
||||
public TextDefinition CityControl { get; }
|
||||
|
||||
public TextDefinition SigilControl{ get; }
|
||||
public TextDefinition SigilControl { get; }
|
||||
|
||||
public TextDefinition SignupName{ get; }
|
||||
public TextDefinition SignupName { get; }
|
||||
|
||||
public TextDefinition FactionStoneName{ get; }
|
||||
public TextDefinition FactionStoneName { get; }
|
||||
|
||||
public TextDefinition OwnerLabel{ get; }
|
||||
public TextDefinition OwnerLabel { get; }
|
||||
|
||||
public TextDefinition GuardIgnore{ get; }
|
||||
public TextDefinition GuardIgnore { get; }
|
||||
|
||||
public TextDefinition GuardWarn{ get; }
|
||||
public TextDefinition GuardWarn { get; }
|
||||
|
||||
public TextDefinition GuardAttack{ get; }
|
||||
public TextDefinition GuardAttack { get; }
|
||||
|
||||
public StrongholdDefinition Stronghold{ get; }
|
||||
public StrongholdDefinition Stronghold { get; }
|
||||
|
||||
public RankDefinition[] Ranks{ get; }
|
||||
public RankDefinition[] Ranks { get; }
|
||||
|
||||
public GuardDefinition[] Guards{ get; }
|
||||
public GuardDefinition[] Guards { get; }
|
||||
}
|
||||
}
|
||||
|
|
@ -6,12 +6,12 @@ namespace Server.Factions
|
|||
{
|
||||
public class FactionItemDefinition
|
||||
{
|
||||
private static FactionItemDefinition m_MetalArmor = new FactionItemDefinition(1000, typeof(Blacksmith));
|
||||
private static FactionItemDefinition m_Weapon = new FactionItemDefinition(1000, typeof(Blacksmith));
|
||||
private static FactionItemDefinition m_RangedWeapon = new FactionItemDefinition(1000, typeof(Bowyer));
|
||||
private static FactionItemDefinition m_LeatherArmor = new FactionItemDefinition(750, typeof(Tailor));
|
||||
private static FactionItemDefinition m_Clothing = new FactionItemDefinition(200, typeof(Tailor));
|
||||
private static FactionItemDefinition m_Scroll = new FactionItemDefinition(500, typeof(Mage));
|
||||
private static readonly FactionItemDefinition m_MetalArmor = new FactionItemDefinition(1000, typeof(Blacksmith));
|
||||
private static readonly FactionItemDefinition m_Weapon = new FactionItemDefinition(1000, typeof(Blacksmith));
|
||||
private static readonly FactionItemDefinition m_RangedWeapon = new FactionItemDefinition(1000, typeof(Bowyer));
|
||||
private static readonly FactionItemDefinition m_LeatherArmor = new FactionItemDefinition(750, typeof(Tailor));
|
||||
private static readonly FactionItemDefinition m_Clothing = new FactionItemDefinition(200, typeof(Tailor));
|
||||
private static readonly FactionItemDefinition m_Scroll = new FactionItemDefinition(500, typeof(Mage));
|
||||
|
||||
public FactionItemDefinition(int silverCost, Type vendorType)
|
||||
{
|
||||
|
|
@ -19,9 +19,9 @@ namespace Server.Factions
|
|||
VendorType = vendorType;
|
||||
}
|
||||
|
||||
public int SilverCost{ get; }
|
||||
public int SilverCost { get; }
|
||||
|
||||
public Type VendorType{ get; }
|
||||
public Type VendorType { get; }
|
||||
|
||||
public static FactionItemDefinition Identify(Item item)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,18 +18,18 @@ namespace Server.Factions
|
|||
Label = label;
|
||||
}
|
||||
|
||||
public Type Type{ get; }
|
||||
public Type Type { get; }
|
||||
|
||||
public int Price{ get; }
|
||||
public int Price { get; }
|
||||
|
||||
public int Upkeep{ get; }
|
||||
public int Upkeep { get; }
|
||||
|
||||
public int Maximum{ get; }
|
||||
public int Maximum { get; }
|
||||
|
||||
public int ItemID{ get; }
|
||||
public int ItemID { get; }
|
||||
|
||||
public TextDefinition Header{ get; }
|
||||
public TextDefinition Header { get; }
|
||||
|
||||
public TextDefinition Label{ get; }
|
||||
public TextDefinition Label { get; }
|
||||
}
|
||||
}
|
||||
|
|
@ -10,12 +10,12 @@ namespace Server.Factions
|
|||
MaxWearables = maxWearables;
|
||||
}
|
||||
|
||||
public int Rank{ get; }
|
||||
public int Rank { get; }
|
||||
|
||||
public int Required{ get; }
|
||||
public int Required { get; }
|
||||
|
||||
public int MaxWearables{ get; }
|
||||
public int MaxWearables { get; }
|
||||
|
||||
public TextDefinition Title{ get; }
|
||||
public TextDefinition Title { get; }
|
||||
}
|
||||
}
|
||||
|
|
@ -10,12 +10,12 @@ namespace Server.Factions
|
|||
Monoliths = monoliths;
|
||||
}
|
||||
|
||||
public Rectangle2D[] Area{ get; }
|
||||
public Rectangle2D[] Area { get; }
|
||||
|
||||
public Point3D JoinStone{ get; }
|
||||
public Point3D JoinStone { get; }
|
||||
|
||||
public Point3D FactionStone{ get; }
|
||||
public Point3D FactionStone { get; }
|
||||
|
||||
public Point3D[] Monoliths{ get; }
|
||||
public Point3D[] Monoliths { get; }
|
||||
}
|
||||
}
|
||||
|
|
@ -22,30 +22,30 @@ namespace Server.Factions
|
|||
TownStone = townStone;
|
||||
}
|
||||
|
||||
public int Sort{ get; }
|
||||
public int Sort { get; }
|
||||
|
||||
public int SigilID{ get; }
|
||||
public int SigilID { get; }
|
||||
|
||||
public string Region{ get; }
|
||||
public string Region { get; }
|
||||
|
||||
public string FriendlyName{ get; }
|
||||
public string FriendlyName { get; }
|
||||
|
||||
public TextDefinition TownName{ get; }
|
||||
public TextDefinition TownName { get; }
|
||||
|
||||
public TextDefinition TownStoneHeader{ get; }
|
||||
public TextDefinition TownStoneHeader { get; }
|
||||
|
||||
public TextDefinition StrongholdMonolithName{ get; }
|
||||
public TextDefinition StrongholdMonolithName { get; }
|
||||
|
||||
public TextDefinition TownMonolithName{ get; }
|
||||
public TextDefinition TownMonolithName { get; }
|
||||
|
||||
public TextDefinition TownStoneName{ get; }
|
||||
public TextDefinition TownStoneName { get; }
|
||||
|
||||
public TextDefinition SigilName{ get; }
|
||||
public TextDefinition SigilName { get; }
|
||||
|
||||
public TextDefinition CorruptedSigilName{ get; }
|
||||
public TextDefinition CorruptedSigilName { get; }
|
||||
|
||||
public Point3D Monolith{ get; }
|
||||
public Point3D Monolith { get; }
|
||||
|
||||
public Point3D TownStone{ get; }
|
||||
public Point3D TownStone { get; }
|
||||
}
|
||||
}
|
||||
|
|
@ -18,57 +18,52 @@ namespace Server.Factions
|
|||
Label = label;
|
||||
}
|
||||
|
||||
public Type Type{ get; }
|
||||
public Type Type { get; }
|
||||
|
||||
public int Price{ get; }
|
||||
public int Price { get; }
|
||||
|
||||
public int Upkeep{ get; }
|
||||
public int Upkeep { get; }
|
||||
|
||||
public int Maximum{ get; }
|
||||
public int Maximum { get; }
|
||||
|
||||
public int ItemID{ get; }
|
||||
public int ItemID { get; }
|
||||
|
||||
public TextDefinition Header{ get; }
|
||||
public TextDefinition Header { get; }
|
||||
|
||||
public TextDefinition Label{ get; }
|
||||
public TextDefinition Label { get; }
|
||||
|
||||
public static VendorDefinition[] Definitions{ get; } =
|
||||
public static VendorDefinition[] Definitions { get; } =
|
||||
{
|
||||
new VendorDefinition(typeof(FactionBottleVendor), 0xF0E,
|
||||
5000,
|
||||
1000,
|
||||
10,
|
||||
new TextDefinition(1011549, "POTION BOTTLE VENDOR"),
|
||||
new TextDefinition(1011544, "Buy Potion Bottle Vendor")
|
||||
),
|
||||
new TextDefinition(1011544, "Buy Potion Bottle Vendor")),
|
||||
new VendorDefinition(typeof(FactionBoardVendor), 0x1BD7,
|
||||
3000,
|
||||
500,
|
||||
10,
|
||||
new TextDefinition(1011552, "WOOD VENDOR"),
|
||||
new TextDefinition(1011545, "Buy Wooden Board Vendor")
|
||||
),
|
||||
new TextDefinition(1011545, "Buy Wooden Board Vendor")),
|
||||
new VendorDefinition(typeof(FactionOreVendor), 0x19B8,
|
||||
3000,
|
||||
500,
|
||||
10,
|
||||
new TextDefinition(1011553, "IRON ORE VENDOR"),
|
||||
new TextDefinition(1011546, "Buy Iron Ore Vendor")
|
||||
),
|
||||
new TextDefinition(1011546, "Buy Iron Ore Vendor")),
|
||||
new VendorDefinition(typeof(FactionReagentVendor), 0xF86,
|
||||
5000,
|
||||
1000,
|
||||
10,
|
||||
new TextDefinition(1011554, "REAGENT VENDOR"),
|
||||
new TextDefinition(1011547, "Buy Reagent Vendor")
|
||||
),
|
||||
new TextDefinition(1011547, "Buy Reagent Vendor")),
|
||||
new VendorDefinition(typeof(FactionHorseVendor), 0x20DD,
|
||||
5000,
|
||||
1000,
|
||||
1,
|
||||
new TextDefinition(1011556, "HORSE BREEDER"),
|
||||
new TextDefinition(1011555, "Buy Horse Breeder")
|
||||
)
|
||||
new TextDefinition(1011555, "Buy Horse Breeder"))
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue