Fixes code according to modern code style. Fixes a few expression bugs.
This commit is contained in:
parent
89eea25e5f
commit
970fd563b2
3324 changed files with 441118 additions and 433755 deletions
|
|
@ -1,84 +1,89 @@
|
|||
namespace Server.Factions
|
||||
{
|
||||
public class FactionDefinition
|
||||
{
|
||||
public int Sort { get; }
|
||||
public class FactionDefinition
|
||||
{
|
||||
public FactionDefinition(int sort, int huePrimary, int hueSecondary, int hueJoin, int hueBroadcast, int warHorseBody,
|
||||
int warHorseItem, string friendlyName, string keyword, string abbreviation, TextDefinition name,
|
||||
TextDefinition propName, TextDefinition header, TextDefinition about, TextDefinition cityControl,
|
||||
TextDefinition sigilControl, TextDefinition signupName, TextDefinition factionStoneName,
|
||||
TextDefinition ownerLabel, TextDefinition guardIgnore, TextDefinition guardWarn, TextDefinition guardAttack,
|
||||
StrongholdDefinition stronghold, RankDefinition[] ranks, GuardDefinition[] guards)
|
||||
{
|
||||
Sort = sort;
|
||||
HuePrimary = huePrimary;
|
||||
HueSecondary = hueSecondary;
|
||||
HueJoin = hueJoin;
|
||||
HueBroadcast = hueBroadcast;
|
||||
WarHorseBody = warHorseBody;
|
||||
WarHorseItem = warHorseItem;
|
||||
FriendlyName = friendlyName;
|
||||
Keyword = keyword;
|
||||
Abbreviation = abbreviation;
|
||||
Name = name;
|
||||
PropName = propName;
|
||||
Header = header;
|
||||
About = about;
|
||||
CityControl = cityControl;
|
||||
SigilControl = sigilControl;
|
||||
SignupName = signupName;
|
||||
FactionStoneName = factionStoneName;
|
||||
OwnerLabel = ownerLabel;
|
||||
GuardIgnore = guardIgnore;
|
||||
GuardWarn = guardWarn;
|
||||
GuardAttack = guardAttack;
|
||||
Stronghold = stronghold;
|
||||
Ranks = ranks;
|
||||
Guards = guards;
|
||||
}
|
||||
|
||||
public int HuePrimary { get; }
|
||||
public int Sort{ get; }
|
||||
|
||||
public int HueSecondary { get; }
|
||||
public int HuePrimary{ get; }
|
||||
|
||||
public int HueJoin { get; }
|
||||
public int HueSecondary{ get; }
|
||||
|
||||
public int HueBroadcast { get; }
|
||||
public int HueJoin{ get; }
|
||||
|
||||
public int WarHorseBody { get; }
|
||||
public int HueBroadcast{ get; }
|
||||
|
||||
public int WarHorseItem { get; }
|
||||
public int WarHorseBody{ get; }
|
||||
|
||||
public string FriendlyName { get; }
|
||||
public int WarHorseItem{ get; }
|
||||
|
||||
public string Keyword { get; }
|
||||
public string FriendlyName{ get; }
|
||||
|
||||
public string Abbreviation { get; }
|
||||
public string Keyword{ get; }
|
||||
|
||||
public TextDefinition Name { get; }
|
||||
public string Abbreviation{ get; }
|
||||
|
||||
public TextDefinition PropName { get; }
|
||||
public TextDefinition Name{ get; }
|
||||
|
||||
public TextDefinition Header { get; }
|
||||
public TextDefinition PropName{ get; }
|
||||
|
||||
public TextDefinition About { get; }
|
||||
public TextDefinition Header{ get; }
|
||||
|
||||
public TextDefinition CityControl { get; }
|
||||
public TextDefinition About{ get; }
|
||||
|
||||
public TextDefinition SigilControl { get; }
|
||||
public TextDefinition CityControl{ get; }
|
||||
|
||||
public TextDefinition SignupName { get; }
|
||||
public TextDefinition SigilControl{ get; }
|
||||
|
||||
public TextDefinition FactionStoneName { get; }
|
||||
public TextDefinition SignupName{ get; }
|
||||
|
||||
public TextDefinition OwnerLabel { get; }
|
||||
public TextDefinition FactionStoneName{ get; }
|
||||
|
||||
public TextDefinition GuardIgnore { get; }
|
||||
public TextDefinition OwnerLabel{ get; }
|
||||
|
||||
public TextDefinition GuardWarn { get; }
|
||||
public TextDefinition GuardIgnore{ get; }
|
||||
|
||||
public TextDefinition GuardAttack { get; }
|
||||
public TextDefinition GuardWarn{ get; }
|
||||
|
||||
public StrongholdDefinition Stronghold { get; }
|
||||
public TextDefinition GuardAttack{ get; }
|
||||
|
||||
public RankDefinition[] Ranks { get; }
|
||||
public StrongholdDefinition Stronghold{ get; }
|
||||
|
||||
public GuardDefinition[] Guards { get; }
|
||||
public RankDefinition[] Ranks{ get; }
|
||||
|
||||
public FactionDefinition( int sort, int huePrimary, int hueSecondary, int hueJoin, int hueBroadcast, int warHorseBody, int warHorseItem, string friendlyName, string keyword, string abbreviation, TextDefinition name, TextDefinition propName, TextDefinition header, TextDefinition about, TextDefinition cityControl, TextDefinition sigilControl, TextDefinition signupName, TextDefinition factionStoneName, TextDefinition ownerLabel, TextDefinition guardIgnore, TextDefinition guardWarn, TextDefinition guardAttack, StrongholdDefinition stronghold, RankDefinition[] ranks, GuardDefinition[] guards )
|
||||
{
|
||||
Sort = sort;
|
||||
HuePrimary = huePrimary;
|
||||
HueSecondary = hueSecondary;
|
||||
HueJoin = hueJoin;
|
||||
HueBroadcast = hueBroadcast;
|
||||
WarHorseBody = warHorseBody;
|
||||
WarHorseItem = warHorseItem;
|
||||
FriendlyName = friendlyName;
|
||||
Keyword = keyword;
|
||||
Abbreviation = abbreviation;
|
||||
Name = name;
|
||||
PropName = propName;
|
||||
Header = header;
|
||||
About = about;
|
||||
CityControl = cityControl;
|
||||
SigilControl = sigilControl;
|
||||
SignupName = signupName;
|
||||
FactionStoneName = factionStoneName;
|
||||
OwnerLabel = ownerLabel;
|
||||
GuardIgnore = guardIgnore;
|
||||
GuardWarn = guardWarn;
|
||||
GuardAttack = guardAttack;
|
||||
Stronghold = stronghold;
|
||||
Ranks = ranks;
|
||||
Guards = guards;
|
||||
}
|
||||
}
|
||||
}
|
||||
public GuardDefinition[] Guards{ get; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue