Fixes implicit array initializers
This commit is contained in:
parent
7d3a0ca265
commit
fee83ce560
189 changed files with 440 additions and 808 deletions
|
|
@ -1572,8 +1572,7 @@ namespace Server.Network
|
|||
}
|
||||
}
|
||||
|
||||
public static int[] m_ValidAnimations = new[]
|
||||
{
|
||||
public static int[] m_ValidAnimations = {
|
||||
6, 21, 32, 33,
|
||||
100, 101, 102,
|
||||
103, 104, 105,
|
||||
|
|
@ -2006,8 +2005,7 @@ namespace Server.Network
|
|||
|
||||
public static PlayCharCallback ThirdPartyAuthCallback = null, ThirdPartyHackedCallback = null;
|
||||
|
||||
private static byte[] m_ThirdPartyAuthKey = new byte[]
|
||||
{
|
||||
private static byte[] m_ThirdPartyAuthKey = {
|
||||
0x9, 0x11, 0x83, (byte)'+', 0x4, 0x17, 0x83,
|
||||
0x5, 0x24, 0x85,
|
||||
0x7, 0x17, 0x87,
|
||||
|
|
|
|||
|
|
@ -40,8 +40,7 @@ namespace Server
|
|||
set => m_Handler = value;
|
||||
}
|
||||
|
||||
private static int[] m_Hues = new[]
|
||||
{
|
||||
private static int[] m_Hues = {
|
||||
0x000,
|
||||
0x059,
|
||||
0x03F,
|
||||
|
|
|
|||
|
|
@ -146,8 +146,7 @@ namespace Server
|
|||
}
|
||||
|
||||
// Each of these are localized to "~1_NOTHING~" which allows the string argument to be used
|
||||
private static int[] m_StringNumbers = new[]
|
||||
{
|
||||
private static int[] m_StringNumbers = {
|
||||
1042971,
|
||||
1070722
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1029,8 +1029,7 @@ namespace Server
|
|||
|
||||
#endregion
|
||||
|
||||
private static SkillName[] m_AllSkills = new[]
|
||||
{
|
||||
private static SkillName[] m_AllSkills = {
|
||||
SkillName.Alchemy,
|
||||
SkillName.Anatomy,
|
||||
SkillName.AnimalLore,
|
||||
|
|
@ -1088,8 +1087,7 @@ namespace Server
|
|||
SkillName.Spellweaving
|
||||
};
|
||||
|
||||
private static SkillName[] m_CombatSkills = new[]
|
||||
{
|
||||
private static SkillName[] m_CombatSkills = {
|
||||
SkillName.Archery,
|
||||
SkillName.Swords,
|
||||
SkillName.Macing,
|
||||
|
|
@ -1097,8 +1095,7 @@ namespace Server
|
|||
SkillName.Wrestling
|
||||
};
|
||||
|
||||
private static SkillName[] m_CraftSkills = new[]
|
||||
{
|
||||
private static SkillName[] m_CraftSkills = {
|
||||
SkillName.Alchemy,
|
||||
SkillName.Blacksmith,
|
||||
SkillName.Fletching,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue