Fixes implicit array initializers
This commit is contained in:
parent
7d3a0ca265
commit
fee83ce560
189 changed files with 440 additions and 808 deletions
|
|
@ -88,8 +88,7 @@ namespace Server.Misc
|
|||
World.Save( true, permitBackgroundWrite );
|
||||
}
|
||||
|
||||
private static string[] m_Backups = new[]
|
||||
{
|
||||
private static string[] m_Backups = {
|
||||
"Third Backup",
|
||||
"Second Backup",
|
||||
"Most Recent"
|
||||
|
|
|
|||
|
|
@ -1141,7 +1141,7 @@ namespace Server.Misc
|
|||
addSkillItems = false;
|
||||
EquipItem( new Kasa() );
|
||||
|
||||
int[] hues = new[] { 0x1A8, 0xEC, 0x99, 0x90, 0xB5, 0x336, 0x89 };
|
||||
int[] hues = { 0x1A8, 0xEC, 0x99, 0x90, 0xB5, 0x336, 0x89 };
|
||||
//TODO: Verify that's ALL the hues for that above.
|
||||
|
||||
EquipItem( new TattsukeHakama( hues[Utility.Random(hues.Length)] ) );
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@ namespace Server
|
|||
{
|
||||
public class DoorGenerator
|
||||
{
|
||||
private static Rectangle2D[] m_BritRegions = new[]
|
||||
{
|
||||
private static Rectangle2D[] m_BritRegions = {
|
||||
new Rectangle2D( new Point2D( 250, 750 ), new Point2D( 775, 1330 ) ),
|
||||
new Rectangle2D( new Point2D( 525, 2095 ), new Point2D( 925, 2430 ) ),
|
||||
new Rectangle2D( new Point2D( 1025, 2155 ), new Point2D( 1265, 2310 ) ),
|
||||
|
|
@ -25,18 +24,15 @@ namespace Server
|
|||
new Rectangle2D( new Point2D( 5120, 2300 ), new Point2D( 6143, 4095 ) )
|
||||
};
|
||||
|
||||
private static Rectangle2D[] m_IlshRegions = new[]
|
||||
{
|
||||
private static Rectangle2D[] m_IlshRegions = {
|
||||
new Rectangle2D( new Point2D( 0, 0 ), new Point2D( 288*8, 200*8 ) )
|
||||
};
|
||||
|
||||
private static Rectangle2D[] m_MalasRegions = new[]
|
||||
{
|
||||
private static Rectangle2D[] m_MalasRegions = {
|
||||
new Rectangle2D( new Point2D( 0, 0 ), new Point2D( 320*8, 256*8 ) )
|
||||
};
|
||||
|
||||
private static int[] m_SouthFrames = new[]
|
||||
{
|
||||
private static int[] m_SouthFrames = {
|
||||
0x0006,
|
||||
0x0008,
|
||||
0x000B,
|
||||
|
|
@ -109,8 +105,7 @@ namespace Server
|
|||
0x020A
|
||||
};
|
||||
|
||||
private static int[] m_NorthFrames = new[]
|
||||
{
|
||||
private static int[] m_NorthFrames = {
|
||||
0x0006,
|
||||
0x0008,
|
||||
0x000D,
|
||||
|
|
@ -182,8 +177,7 @@ namespace Server
|
|||
0x020A
|
||||
};
|
||||
|
||||
private static int[] m_EastFrames = new[]
|
||||
{
|
||||
private static int[] m_EastFrames = {
|
||||
0x0007,
|
||||
0x000A,
|
||||
0x001A,
|
||||
|
|
@ -256,8 +250,7 @@ namespace Server
|
|||
0x0209
|
||||
};
|
||||
|
||||
private static int[] m_WestFrames = new[]
|
||||
{
|
||||
private static int[] m_WestFrames = {
|
||||
0x0007,
|
||||
0x000C,
|
||||
0x001A,
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@ namespace Server.Items
|
|||
[FlippableAttribute( 0x236E, 0x2371 )]
|
||||
public class LightOfTheWinterSolstice : Item
|
||||
{
|
||||
private static string[] m_StaffNames = new[]
|
||||
{
|
||||
private static string[] m_StaffNames = {
|
||||
"Aenima",
|
||||
"Alkiser",
|
||||
"ASayre",
|
||||
|
|
|
|||
|
|
@ -31,8 +31,7 @@ namespace Server.Guilds
|
|||
|
||||
public class RankDefinition
|
||||
{
|
||||
public static RankDefinition[] Ranks = new[]
|
||||
{
|
||||
public static RankDefinition[] Ranks = {
|
||||
new RankDefinition( 1062963, 0, RankFlags.None ), //Ronin
|
||||
new RankDefinition( 1062962, 1, RankFlags.Member ), //Member
|
||||
new RankDefinition( 1062961, 2, RankFlags.Member | RankFlags.RemovePlayers | RankFlags.CanInvitePlayer | RankFlags.CanSetGuildTitle | RankFlags.CanPromoteDemote ), //Emmissary
|
||||
|
|
|
|||
|
|
@ -8,8 +8,7 @@ namespace Server
|
|||
#region List definitions
|
||||
|
||||
#region Mondain's Legacy
|
||||
private static Type[] m_MLWeaponTypes = new[]
|
||||
{
|
||||
private static Type[] m_MLWeaponTypes = {
|
||||
typeof( AssassinSpike ), typeof( DiamondMace ), typeof( ElvenMachete ),
|
||||
typeof( ElvenSpellblade ), typeof( Leafblade ), typeof( OrnateAxe ),
|
||||
typeof( RadiantScimitar ), typeof( RuneBlade ), typeof( WarCleaver ),
|
||||
|
|
@ -18,15 +17,13 @@ namespace Server
|
|||
|
||||
public static Type[] MLWeaponTypes => m_MLWeaponTypes;
|
||||
|
||||
private static Type[] m_MLRangedWeaponTypes = new[]
|
||||
{
|
||||
private static Type[] m_MLRangedWeaponTypes = {
|
||||
typeof( ElvenCompositeLongbow ), typeof( MagicalShortbow )
|
||||
};
|
||||
|
||||
public static Type[] MLRangedWeaponTypes => m_MLRangedWeaponTypes;
|
||||
|
||||
private static Type[] m_MLArmorTypes = new[]
|
||||
{
|
||||
private static Type[] m_MLArmorTypes = {
|
||||
typeof( Circlet ), typeof( GemmedCirclet ), typeof( LeafTonlet ),
|
||||
typeof( RavenHelm ), typeof( RoyalCirclet ), typeof( VultureHelm ),
|
||||
typeof( WingedHelm ), typeof( LeafArms ), typeof( LeafChest ),
|
||||
|
|
@ -39,8 +36,7 @@ namespace Server
|
|||
|
||||
public static Type[] MLArmorTypes => m_MLArmorTypes;
|
||||
|
||||
private static Type[] m_MLClothingTypes = new[]
|
||||
{
|
||||
private static Type[] m_MLClothingTypes = {
|
||||
typeof( MaleElvenRobe ), typeof( FemaleElvenRobe ), typeof( ElvenPants ),
|
||||
typeof( ElvenShirt ), typeof( ElvenDarkShirt ), typeof( ElvenBoots ),
|
||||
typeof( VultureHelm ), typeof( WoodlandBelt )
|
||||
|
|
@ -50,8 +46,7 @@ namespace Server
|
|||
|
||||
#endregion
|
||||
|
||||
private static Type[] m_SEWeaponTypes = new[]
|
||||
{
|
||||
private static Type[] m_SEWeaponTypes = {
|
||||
typeof( Bokuto ), typeof( Daisho ), typeof( Kama ),
|
||||
typeof( Lajatang ), typeof( NoDachi ), typeof( Nunchaku ),
|
||||
typeof( Sai ), typeof( Tekagi ), typeof( Tessen ),
|
||||
|
|
@ -60,8 +55,7 @@ namespace Server
|
|||
|
||||
public static Type[] SEWeaponTypes => m_SEWeaponTypes;
|
||||
|
||||
private static Type[] m_AosWeaponTypes = new[]
|
||||
{
|
||||
private static Type[] m_AosWeaponTypes = {
|
||||
typeof( Scythe ), typeof( BoneHarvester ), typeof( Scepter ),
|
||||
typeof( BladedStaff ), typeof( Pike ), typeof( DoubleBladedStaff ),
|
||||
typeof( Lance ), typeof( CrescentBlade )
|
||||
|
|
@ -69,8 +63,7 @@ namespace Server
|
|||
|
||||
public static Type[] AosWeaponTypes => m_AosWeaponTypes;
|
||||
|
||||
private static Type[] m_WeaponTypes = new[]
|
||||
{
|
||||
private static Type[] m_WeaponTypes = {
|
||||
typeof( Axe ), typeof( BattleAxe ), typeof( DoubleAxe ),
|
||||
typeof( ExecutionersAxe ), typeof( Hatchet ), typeof( LargeBattleAxe ),
|
||||
typeof( TwoHandedAxe ), typeof( WarAxe ), typeof( Club ),
|
||||
|
|
@ -87,29 +80,25 @@ namespace Server
|
|||
|
||||
public static Type[] WeaponTypes => m_WeaponTypes;
|
||||
|
||||
private static Type[] m_SERangedWeaponTypes = new[]
|
||||
{
|
||||
private static Type[] m_SERangedWeaponTypes = {
|
||||
typeof( Yumi )
|
||||
};
|
||||
|
||||
public static Type[] SERangedWeaponTypes => m_SERangedWeaponTypes;
|
||||
|
||||
private static Type[] m_AosRangedWeaponTypes = new[]
|
||||
{
|
||||
private static Type[] m_AosRangedWeaponTypes = {
|
||||
typeof( CompositeBow ), typeof( RepeatingCrossbow )
|
||||
};
|
||||
|
||||
public static Type[] AosRangedWeaponTypes => m_AosRangedWeaponTypes;
|
||||
|
||||
private static Type[] m_RangedWeaponTypes = new[]
|
||||
{
|
||||
private static Type[] m_RangedWeaponTypes = {
|
||||
typeof( Bow ), typeof( Crossbow ), typeof( HeavyCrossbow )
|
||||
};
|
||||
|
||||
public static Type[] RangedWeaponTypes => m_RangedWeaponTypes;
|
||||
|
||||
private static Type[] m_SEArmorTypes = new[]
|
||||
{
|
||||
private static Type[] m_SEArmorTypes = {
|
||||
typeof( ChainHatsuburi ), typeof( LeatherDo ), typeof( LeatherHaidate ),
|
||||
typeof( LeatherHiroSode ), typeof( LeatherJingasa ), typeof( LeatherMempo ),
|
||||
typeof( LeatherNinjaHood ), typeof( LeatherNinjaJacket ), typeof( LeatherNinjaMitts ),
|
||||
|
|
@ -124,8 +113,7 @@ namespace Server
|
|||
|
||||
public static Type[] SEArmorTypes => m_SEArmorTypes;
|
||||
|
||||
private static Type[] m_ArmorTypes = new[]
|
||||
{
|
||||
private static Type[] m_ArmorTypes = {
|
||||
typeof( BoneArms ), typeof( BoneChest ), typeof( BoneGloves ),
|
||||
typeof( BoneLegs ), typeof( BoneHelm ), typeof( ChainChest ),
|
||||
typeof( ChainLegs ), typeof( ChainCoif ), typeof( Bascinet ),
|
||||
|
|
@ -144,15 +132,13 @@ namespace Server
|
|||
|
||||
public static Type[] ArmorTypes => m_ArmorTypes;
|
||||
|
||||
private static Type[] m_AosShieldTypes = new[]
|
||||
{
|
||||
private static Type[] m_AosShieldTypes = {
|
||||
typeof( ChaosShield ), typeof( OrderShield )
|
||||
};
|
||||
|
||||
public static Type[] AosShieldTypes => m_AosShieldTypes;
|
||||
|
||||
private static Type[] m_ShieldTypes = new[]
|
||||
{
|
||||
private static Type[] m_ShieldTypes = {
|
||||
typeof( BronzeShield ), typeof( Buckler ), typeof( HeaterShield ),
|
||||
typeof( MetalShield ), typeof( MetalKiteShield ), typeof( WoodenKiteShield ),
|
||||
typeof( WoodenShield )
|
||||
|
|
@ -160,8 +146,7 @@ namespace Server
|
|||
|
||||
public static Type[] ShieldTypes => m_ShieldTypes;
|
||||
|
||||
private static Type[] m_GemTypes = new[]
|
||||
{
|
||||
private static Type[] m_GemTypes = {
|
||||
typeof( Amber ), typeof( Amethyst ), typeof( Citrine ),
|
||||
typeof( Diamond ), typeof( Emerald ), typeof( Ruby ),
|
||||
typeof( Sapphire ), typeof( StarSapphire ), typeof( Tourmaline )
|
||||
|
|
@ -169,16 +154,14 @@ namespace Server
|
|||
|
||||
public static Type[] GemTypes => m_GemTypes;
|
||||
|
||||
private static Type[] m_JewelryTypes = new[]
|
||||
{
|
||||
private static Type[] m_JewelryTypes = {
|
||||
typeof( GoldRing ), typeof( GoldBracelet ),
|
||||
typeof( SilverRing ), typeof( SilverBracelet )
|
||||
};
|
||||
|
||||
public static Type[] JewelryTypes => m_JewelryTypes;
|
||||
|
||||
private static Type[] m_RegTypes = new[]
|
||||
{
|
||||
private static Type[] m_RegTypes = {
|
||||
typeof( BlackPearl ), typeof( Bloodmoss ), typeof( Garlic ),
|
||||
typeof( Ginseng ), typeof( MandrakeRoot ), typeof( Nightshade ),
|
||||
typeof( SulfurousAsh ), typeof( SpidersSilk )
|
||||
|
|
@ -186,39 +169,34 @@ namespace Server
|
|||
|
||||
public static Type[] RegTypes => m_RegTypes;
|
||||
|
||||
private static Type[] m_NecroRegTypes = new[]
|
||||
{
|
||||
private static Type[] m_NecroRegTypes = {
|
||||
typeof( BatWing ), typeof( GraveDust ), typeof( DaemonBlood ),
|
||||
typeof( NoxCrystal ), typeof( PigIron )
|
||||
};
|
||||
|
||||
public static Type[] NecroRegTypes => m_NecroRegTypes;
|
||||
|
||||
private static Type[] m_PotionTypes = new[]
|
||||
{
|
||||
private static Type[] m_PotionTypes = {
|
||||
typeof( AgilityPotion ), typeof( StrengthPotion ), typeof( RefreshPotion ),
|
||||
typeof( LesserCurePotion ), typeof( LesserHealPotion ), typeof( LesserPoisonPotion )
|
||||
};
|
||||
|
||||
public static Type[] PotionTypes => m_PotionTypes;
|
||||
|
||||
private static Type[] m_SEInstrumentTypes = new[]
|
||||
{
|
||||
private static Type[] m_SEInstrumentTypes = {
|
||||
typeof( BambooFlute )
|
||||
};
|
||||
|
||||
public static Type[] SEInstrumentTypes => m_SEInstrumentTypes;
|
||||
|
||||
private static Type[] m_InstrumentTypes = new[]
|
||||
{
|
||||
private static Type[] m_InstrumentTypes = {
|
||||
typeof( Drums ), typeof( Harp ), typeof( LapHarp ),
|
||||
typeof( Lute ), typeof( Tambourine ), typeof( TambourineTassel )
|
||||
};
|
||||
|
||||
public static Type[] InstrumentTypes => m_InstrumentTypes;
|
||||
|
||||
private static Type[] m_StatueTypes = new[]
|
||||
{
|
||||
private static Type[] m_StatueTypes = {
|
||||
typeof( StatueSouth ), typeof( StatueSouth2 ), typeof( StatueNorth ),
|
||||
typeof( StatueWest ), typeof( StatueEast ), typeof( StatueEast2 ),
|
||||
typeof( StatueSouthEast ), typeof( BustSouth ), typeof( BustEast )
|
||||
|
|
@ -226,8 +204,7 @@ namespace Server
|
|||
|
||||
public static Type[] StatueTypes => m_StatueTypes;
|
||||
|
||||
private static Type[] m_RegularScrollTypes = new[]
|
||||
{
|
||||
private static Type[] m_RegularScrollTypes = {
|
||||
typeof( ReactiveArmorScroll ), typeof( ClumsyScroll ), typeof( CreateFoodScroll ), typeof( FeeblemindScroll ),
|
||||
typeof( HealScroll ), typeof( MagicArrowScroll ), typeof( NightSightScroll ), typeof( WeakenScroll ),
|
||||
typeof( AgilityScroll ), typeof( CunningScroll ), typeof( CureScroll ), typeof( HarmScroll ),
|
||||
|
|
@ -246,16 +223,14 @@ namespace Server
|
|||
typeof( SummonDaemonScroll ), typeof( SummonEarthElementalScroll ), typeof( SummonFireElementalScroll ), typeof( SummonWaterElementalScroll )
|
||||
};
|
||||
|
||||
private static Type[] m_NecromancyScrollTypes = new[]
|
||||
{
|
||||
private static Type[] m_NecromancyScrollTypes = {
|
||||
typeof( AnimateDeadScroll ), typeof( BloodOathScroll ), typeof( CorpseSkinScroll ), typeof( CurseWeaponScroll ),
|
||||
typeof( EvilOmenScroll ), typeof( HorrificBeastScroll ), typeof( LichFormScroll ), typeof( MindRotScroll ),
|
||||
typeof( PainSpikeScroll ), typeof( PoisonStrikeScroll ), typeof( StrangleScroll ), typeof( SummonFamiliarScroll ),
|
||||
typeof( VampiricEmbraceScroll ), typeof( VengefulSpiritScroll ), typeof( WitherScroll ), typeof( WraithFormScroll )
|
||||
};
|
||||
|
||||
private static Type[] m_SENecromancyScrollTypes = new[]
|
||||
{
|
||||
private static Type[] m_SENecromancyScrollTypes = {
|
||||
typeof( AnimateDeadScroll ), typeof( BloodOathScroll ), typeof( CorpseSkinScroll ), typeof( CurseWeaponScroll ),
|
||||
typeof( EvilOmenScroll ), typeof( HorrificBeastScroll ), typeof( LichFormScroll ), typeof( MindRotScroll ),
|
||||
typeof( PainSpikeScroll ), typeof( PoisonStrikeScroll ), typeof( StrangleScroll ), typeof( SummonFamiliarScroll ),
|
||||
|
|
@ -266,8 +241,7 @@ namespace Server
|
|||
private static Type[] m_PaladinScrollTypes = new Type[0];
|
||||
|
||||
#region Mondain's Legacy
|
||||
private static Type[] m_ArcanistScrollTypes = new[]
|
||||
{
|
||||
private static Type[] m_ArcanistScrollTypes = {
|
||||
typeof( ArcaneCircleScroll ), typeof( GiftOfRenewalScroll ), typeof( ImmolatingWeaponScroll ), typeof( AttuneWeaponScroll ),
|
||||
typeof( ThunderstormScroll ), typeof( NatureFuryScroll ), /*typeof( SummonFeyScroll ), typeof( SummonFiendScroll ),*/
|
||||
typeof( ReaperFormScroll ), typeof( WildfireScroll ), typeof( EssenceOfWindScroll ), typeof( DryadAllureScroll ),
|
||||
|
|
@ -285,8 +259,7 @@ namespace Server
|
|||
|
||||
#endregion
|
||||
|
||||
private static Type[] m_GrimmochJournalTypes = new[]
|
||||
{
|
||||
private static Type[] m_GrimmochJournalTypes = {
|
||||
typeof( GrimmochJournal1 ), typeof( GrimmochJournal2 ), typeof( GrimmochJournal3 ),
|
||||
typeof( GrimmochJournal6 ), typeof( GrimmochJournal7 ), typeof( GrimmochJournal11 ),
|
||||
typeof( GrimmochJournal14 ), typeof( GrimmochJournal17 ), typeof( GrimmochJournal23 )
|
||||
|
|
@ -294,16 +267,14 @@ namespace Server
|
|||
|
||||
public static Type[] GrimmochJournalTypes => m_GrimmochJournalTypes;
|
||||
|
||||
private static Type[] m_LysanderNotebookTypes = new[]
|
||||
{
|
||||
private static Type[] m_LysanderNotebookTypes = {
|
||||
typeof( LysanderNotebook1 ), typeof( LysanderNotebook2 ), typeof( LysanderNotebook3 ),
|
||||
typeof( LysanderNotebook7 ), typeof( LysanderNotebook8 ), typeof( LysanderNotebook11 )
|
||||
};
|
||||
|
||||
public static Type[] LysanderNotebookTypes => m_LysanderNotebookTypes;
|
||||
|
||||
private static Type[] m_TavarasJournalTypes = new[]
|
||||
{
|
||||
private static Type[] m_TavarasJournalTypes = {
|
||||
typeof( TavarasJournal1 ), typeof( TavarasJournal2 ), typeof( TavarasJournal3 ),
|
||||
typeof( TavarasJournal6 ), typeof( TavarasJournal7 ), typeof( TavarasJournal8 ),
|
||||
typeof( TavarasJournal9 ), typeof( TavarasJournal11 ), typeof( TavarasJournal14 ),
|
||||
|
|
@ -314,28 +285,24 @@ namespace Server
|
|||
public static Type[] TavarasJournalTypes => m_TavarasJournalTypes;
|
||||
|
||||
|
||||
private static Type[] m_NewWandTypes = new[]
|
||||
{
|
||||
private static Type[] m_NewWandTypes = {
|
||||
typeof( FireballWand ), typeof( LightningWand ), typeof( MagicArrowWand ),
|
||||
typeof( GreaterHealWand ), typeof( HarmWand ), typeof( HealWand )
|
||||
};
|
||||
public static Type[] NewWandTypes => m_NewWandTypes;
|
||||
|
||||
private static Type[] m_WandTypes = new[]
|
||||
{
|
||||
private static Type[] m_WandTypes = {
|
||||
typeof( ClumsyWand ), typeof( FeebleWand ),
|
||||
typeof( ManaDrainWand ), typeof( WeaknessWand )
|
||||
};
|
||||
public static Type[] WandTypes => m_WandTypes;
|
||||
|
||||
private static Type[] m_OldWandTypes = new[]
|
||||
{
|
||||
private static Type[] m_OldWandTypes = {
|
||||
typeof( IDWand )
|
||||
};
|
||||
public static Type[] OldWandTypes => m_OldWandTypes;
|
||||
|
||||
private static Type[] m_SEClothingTypes = new[]
|
||||
{
|
||||
private static Type[] m_SEClothingTypes = {
|
||||
typeof( ClothNinjaJacket ), typeof( FemaleKimono ), typeof( Hakama ),
|
||||
typeof( HakamaShita ), typeof( JinBaori ), typeof( Kamishimo ),
|
||||
typeof( MaleKimono ), typeof( NinjaTabi ), typeof( Obi ),
|
||||
|
|
@ -344,16 +311,14 @@ namespace Server
|
|||
|
||||
public static Type[] SEClothingTypes => m_SEClothingTypes;
|
||||
|
||||
private static Type[] m_AosClothingTypes = new[]
|
||||
{
|
||||
private static Type[] m_AosClothingTypes = {
|
||||
typeof( FurSarong ), typeof( FurCape ), typeof( FlowerGarland ),
|
||||
typeof( GildedDress ), typeof( FurBoots ), typeof( FormalShirt ),
|
||||
};
|
||||
|
||||
public static Type[] AosClothingTypes => m_AosClothingTypes;
|
||||
|
||||
private static Type[] m_ClothingTypes = new[]
|
||||
{
|
||||
private static Type[] m_ClothingTypes = {
|
||||
typeof( Cloak ),
|
||||
typeof( Bonnet ), typeof( Cap ), typeof( FeatheredHat ),
|
||||
typeof( FloppyHat ), typeof( JesterHat ), typeof( Surcoat ),
|
||||
|
|
@ -369,22 +334,19 @@ namespace Server
|
|||
};
|
||||
public static Type[] ClothingTypes => m_ClothingTypes;
|
||||
|
||||
private static Type[] m_SEHatTypes = new[]
|
||||
{
|
||||
private static Type[] m_SEHatTypes = {
|
||||
typeof( ClothNinjaHood ), typeof( Kasa )
|
||||
};
|
||||
|
||||
public static Type[] SEHatTypes => m_SEHatTypes;
|
||||
|
||||
private static Type[] m_AosHatTypes = new[]
|
||||
{
|
||||
private static Type[] m_AosHatTypes = {
|
||||
typeof( FlowerGarland ), typeof( BearMask ), typeof( DeerMask ) //Are Bear& Deer mask inside the Pre-AoS loottables too?
|
||||
};
|
||||
|
||||
public static Type[] AosHatTypes => m_AosHatTypes;
|
||||
|
||||
private static Type[] m_HatTypes = new[]
|
||||
{
|
||||
private static Type[] m_HatTypes = {
|
||||
typeof( SkullCap ), typeof( Bandana ), typeof( FloppyHat ),
|
||||
typeof( Cap ), typeof( WideBrimHat ), typeof( StrawHat ),
|
||||
typeof( TallStrawHat ), typeof( WizardsHat ), typeof( Bonnet ),
|
||||
|
|
@ -393,8 +355,7 @@ namespace Server
|
|||
|
||||
public static Type[] HatTypes => m_HatTypes;
|
||||
|
||||
private static Type[] m_LibraryBookTypes = new[]
|
||||
{
|
||||
private static Type[] m_LibraryBookTypes = {
|
||||
typeof( GrammarOfOrcish ), typeof( CallToAnarchy ), typeof( ArmsAndWeaponsPrimer ),
|
||||
typeof( SongOfSamlethe ), typeof( TaleOfThreeTribes ), typeof( GuideToGuilds ),
|
||||
typeof( BirdsOfBritannia ), typeof( BritannianFlora ), typeof( ChildrenTalesVol2 ),
|
||||
|
|
|
|||
|
|
@ -92,39 +92,32 @@ namespace Server
|
|||
}
|
||||
}
|
||||
|
||||
public static readonly LootPackItem[] Gold = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] Gold = {
|
||||
new LootPackItem( typeof( Gold ), 1 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] Instruments = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] Instruments = {
|
||||
new LootPackItem( typeof( BaseInstrument ), 1 )
|
||||
};
|
||||
|
||||
|
||||
public static readonly LootPackItem[] LowScrollItems = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] LowScrollItems = {
|
||||
new LootPackItem( typeof( ClumsyScroll ), 1 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] MedScrollItems = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] MedScrollItems = {
|
||||
new LootPackItem( typeof( ArchCureScroll ), 1 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] HighScrollItems = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] HighScrollItems = {
|
||||
new LootPackItem( typeof( SummonAirElementalScroll ), 1 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] GemItems = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] GemItems = {
|
||||
new LootPackItem( typeof( Amber ), 1 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] PotionItems = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] PotionItems = {
|
||||
new LootPackItem( typeof( AgilityPotion ), 1 ),
|
||||
new LootPackItem( typeof( StrengthPotion ), 1 ),
|
||||
new LootPackItem( typeof( RefreshPotion ), 1 ),
|
||||
|
|
@ -134,8 +127,7 @@ namespace Server
|
|||
};
|
||||
|
||||
#region Old Magic Items
|
||||
public static readonly LootPackItem[] OldMagicItems = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] OldMagicItems = {
|
||||
new LootPackItem( typeof( BaseJewel ), 1 ),
|
||||
new LootPackItem( typeof( BaseArmor ), 4 ),
|
||||
new LootPackItem( typeof( BaseWeapon ), 3 ),
|
||||
|
|
@ -145,8 +137,7 @@ namespace Server
|
|||
#endregion
|
||||
|
||||
#region AOS Magic Items
|
||||
public static readonly LootPackItem[] AosMagicItemsPoor = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] AosMagicItemsPoor = {
|
||||
new LootPackItem( typeof( BaseWeapon ), 3 ),
|
||||
new LootPackItem( typeof( BaseRanged ), 1 ),
|
||||
new LootPackItem( typeof( BaseArmor ), 4 ),
|
||||
|
|
@ -154,8 +145,7 @@ namespace Server
|
|||
new LootPackItem( typeof( BaseJewel ), 2 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] AosMagicItemsMeagerType1 = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] AosMagicItemsMeagerType1 = {
|
||||
new LootPackItem( typeof( BaseWeapon ), 56 ),
|
||||
new LootPackItem( typeof( BaseRanged ), 14 ),
|
||||
new LootPackItem( typeof( BaseArmor ), 81 ),
|
||||
|
|
@ -163,8 +153,7 @@ namespace Server
|
|||
new LootPackItem( typeof( BaseJewel ), 42 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] AosMagicItemsMeagerType2 = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] AosMagicItemsMeagerType2 = {
|
||||
new LootPackItem( typeof( BaseWeapon ), 28 ),
|
||||
new LootPackItem( typeof( BaseRanged ), 7 ),
|
||||
new LootPackItem( typeof( BaseArmor ), 40 ),
|
||||
|
|
@ -172,8 +161,7 @@ namespace Server
|
|||
new LootPackItem( typeof( BaseJewel ), 21 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] AosMagicItemsAverageType1 = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] AosMagicItemsAverageType1 = {
|
||||
new LootPackItem( typeof( BaseWeapon ), 90 ),
|
||||
new LootPackItem( typeof( BaseRanged ), 23 ),
|
||||
new LootPackItem( typeof( BaseArmor ), 130 ),
|
||||
|
|
@ -181,8 +169,7 @@ namespace Server
|
|||
new LootPackItem( typeof( BaseJewel ), 68 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] AosMagicItemsAverageType2 = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] AosMagicItemsAverageType2 = {
|
||||
new LootPackItem( typeof( BaseWeapon ), 54 ),
|
||||
new LootPackItem( typeof( BaseRanged ), 13 ),
|
||||
new LootPackItem( typeof( BaseArmor ), 77 ),
|
||||
|
|
@ -190,8 +177,7 @@ namespace Server
|
|||
new LootPackItem( typeof( BaseJewel ), 40 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] AosMagicItemsRichType1 = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] AosMagicItemsRichType1 = {
|
||||
new LootPackItem( typeof( BaseWeapon ), 211 ),
|
||||
new LootPackItem( typeof( BaseRanged ), 53 ),
|
||||
new LootPackItem( typeof( BaseArmor ), 303 ),
|
||||
|
|
@ -199,8 +185,7 @@ namespace Server
|
|||
new LootPackItem( typeof( BaseJewel ), 158 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] AosMagicItemsRichType2 = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] AosMagicItemsRichType2 = {
|
||||
new LootPackItem( typeof( BaseWeapon ), 170 ),
|
||||
new LootPackItem( typeof( BaseRanged ), 43 ),
|
||||
new LootPackItem( typeof( BaseArmor ), 245 ),
|
||||
|
|
@ -208,8 +193,7 @@ namespace Server
|
|||
new LootPackItem( typeof( BaseJewel ), 128 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] AosMagicItemsFilthyRichType1 = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] AosMagicItemsFilthyRichType1 = {
|
||||
new LootPackItem( typeof( BaseWeapon ), 219 ),
|
||||
new LootPackItem( typeof( BaseRanged ), 55 ),
|
||||
new LootPackItem( typeof( BaseArmor ), 315 ),
|
||||
|
|
@ -217,8 +201,7 @@ namespace Server
|
|||
new LootPackItem( typeof( BaseJewel ), 164 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] AosMagicItemsFilthyRichType2 = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] AosMagicItemsFilthyRichType2 = {
|
||||
new LootPackItem( typeof( BaseWeapon ), 239 ),
|
||||
new LootPackItem( typeof( BaseRanged ), 60 ),
|
||||
new LootPackItem( typeof( BaseArmor ), 343 ),
|
||||
|
|
@ -226,8 +209,7 @@ namespace Server
|
|||
new LootPackItem( typeof( BaseJewel ), 45 )
|
||||
};
|
||||
|
||||
public static readonly LootPackItem[] AosMagicItemsUltraRich = new[]
|
||||
{
|
||||
public static readonly LootPackItem[] AosMagicItemsUltraRich = {
|
||||
new LootPackItem( typeof( BaseWeapon ), 276 ),
|
||||
new LootPackItem( typeof( BaseRanged ), 69 ),
|
||||
new LootPackItem( typeof( BaseArmor ), 397 ),
|
||||
|
|
@ -806,9 +788,8 @@ namespace Server
|
|||
set => m_Chance = value;
|
||||
}
|
||||
|
||||
private static Type[] m_BlankTypes = new[]{ typeof( BlankScroll ) };
|
||||
private static Type[][] m_NecroTypes = new[]
|
||||
{
|
||||
private static Type[] m_BlankTypes = { typeof( BlankScroll ) };
|
||||
private static Type[][] m_NecroTypes = {
|
||||
new[] // low
|
||||
{
|
||||
typeof( AnimateDeadScroll ), typeof( BloodOathScroll ), typeof( CorpseSkinScroll ), typeof( CurseWeaponScroll ),
|
||||
|
|
|
|||
|
|
@ -8,8 +8,7 @@ namespace Server
|
|||
{
|
||||
public static Type[] Artifacts => m_Artifacts;
|
||||
|
||||
private static Type[] m_Artifacts = new[]
|
||||
{
|
||||
private static Type[] m_Artifacts = {
|
||||
typeof( AegisOfGrace ), typeof( BladeDance ), typeof( BloodwoodSpirit ), typeof( Bonesmasher ),
|
||||
typeof( Boomstick ), typeof( BrightsightLenses ), typeof( FeyLeggings ), typeof( FleshRipper ),
|
||||
typeof( HelmOfSwiftness ), typeof( PadsOfTheCuSidhe ), typeof( QuiverOfRage ), typeof( QuiverOfElements ),
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@ namespace Server.Misc
|
|||
{
|
||||
public class NameVerification
|
||||
{
|
||||
public static readonly char[] SpaceDashPeriodQuote = new[]
|
||||
{
|
||||
public static readonly char[] SpaceDashPeriodQuote = {
|
||||
' ', '-', '.', '\''
|
||||
};
|
||||
|
||||
|
|
@ -113,8 +112,7 @@ namespace Server.Misc
|
|||
public static string[] StartDisallowed => m_StartDisallowed;
|
||||
public static string[] Disallowed => m_Disallowed;
|
||||
|
||||
private static string[] m_StartDisallowed = new[]
|
||||
{
|
||||
private static string[] m_StartDisallowed = {
|
||||
"seer",
|
||||
"counselor",
|
||||
"gm",
|
||||
|
|
@ -123,8 +121,7 @@ namespace Server.Misc
|
|||
"lord"
|
||||
};
|
||||
|
||||
private static string[] m_Disallowed = new[]
|
||||
{
|
||||
private static string[] m_Disallowed = {
|
||||
"jigaboo",
|
||||
"chigaboo",
|
||||
"wop",
|
||||
|
|
|
|||
|
|
@ -63,15 +63,13 @@ namespace Server.Misc
|
|||
public static string[] StartDisallowed => m_StartDisallowed;
|
||||
public static string[] Disallowed => m_Disallowed;
|
||||
|
||||
private static char[] m_Exceptions = new[]
|
||||
{
|
||||
private static char[] m_Exceptions = {
|
||||
' ', '-', '.', '\'', '"', ',', '_', '+', '=', '~', '`', '!', '^', '*', '\\', '/', ';', ':', '<', '>', '[', ']', '{', '}', '?', '|', '(', ')', '%', '$', '&', '#', '@'
|
||||
};
|
||||
|
||||
private static string[] m_StartDisallowed = new string[]{};
|
||||
private static string[] m_StartDisallowed = {};
|
||||
|
||||
private static string[] m_Disallowed = new[]
|
||||
{
|
||||
private static string[] m_Disallowed = {
|
||||
"jigaboo",
|
||||
"chigaboo",
|
||||
"wop",
|
||||
|
|
|
|||
|
|
@ -123,16 +123,14 @@ namespace Server.Misc
|
|||
|
||||
private class Elf : Race
|
||||
{
|
||||
private static int[] m_SkinHues = new[]
|
||||
{
|
||||
private static int[] m_SkinHues = {
|
||||
0x0BF, 0x24D, 0x24E, 0x24F, 0x353, 0x361, 0x367, 0x374,
|
||||
0x375, 0x376, 0x381, 0x382, 0x383, 0x384, 0x385, 0x389,
|
||||
0x3DE, 0x3E5, 0x3E6, 0x3E8, 0x3E9, 0x430, 0x4A7, 0x4DE,
|
||||
0x51D, 0x53F, 0x579, 0x76B, 0x76C, 0x76D, 0x835, 0x903
|
||||
};
|
||||
|
||||
private static int[] m_HairHues = new[]
|
||||
{
|
||||
private static int[] m_HairHues = {
|
||||
0x034, 0x035, 0x036, 0x037, 0x038, 0x039, 0x058, 0x08E,
|
||||
0x08F, 0x090, 0x091, 0x092, 0x101, 0x159, 0x15A, 0x15B,
|
||||
0x15C, 0x15D, 0x15E, 0x128, 0x12F, 0x1BD, 0x1E4, 0x1F3,
|
||||
|
|
@ -288,8 +286,7 @@ namespace Server.Misc
|
|||
}
|
||||
|
||||
// Todo Finish body hues
|
||||
private static readonly int[] m_BodyHues = new[]
|
||||
{
|
||||
private static readonly int[] m_BodyHues = {
|
||||
0x86DB, 0x86DC, 0x86DD, 0x86DE,
|
||||
0x86DF, 0x86E0, 0x86E1, 0x86E2,
|
||||
0x86E3, 0x86E4, 0x86E5, 0x86E6
|
||||
|
|
@ -308,8 +305,7 @@ namespace Server.Misc
|
|||
return m_BodyHues[Utility.Random(m_BodyHues.Length)] | 0x8000;
|
||||
}
|
||||
|
||||
private static readonly int[] m_HornHues = new[]
|
||||
{
|
||||
private static readonly int[] m_HornHues = {
|
||||
0x709, 0x70B, 0x70D, 0x70F, 0x711, 0x763,
|
||||
0x765, 0x768, 0x76B, 0x6F3, 0x6F1, 0x6EF,
|
||||
0x6E4, 0x6E2, 0x6E0, 0x709, 0x70B, 0x70D
|
||||
|
|
|
|||
|
|
@ -468,8 +468,7 @@ namespace Server.Items
|
|||
|
||||
public class CraftResources
|
||||
{
|
||||
private static CraftResourceInfo[] m_MetalInfo = new[]
|
||||
{
|
||||
private static CraftResourceInfo[] m_MetalInfo = {
|
||||
new CraftResourceInfo( 0x000, 1053109, "Iron", CraftAttributeInfo.Blank, CraftResource.Iron, typeof( IronIngot ), typeof( IronOre ), typeof( Granite ) ),
|
||||
new CraftResourceInfo( 0x973, 1053108, "Dull Copper", CraftAttributeInfo.DullCopper, CraftResource.DullCopper, typeof( DullCopperIngot ), typeof( DullCopperOre ), typeof( DullCopperGranite ) ),
|
||||
new CraftResourceInfo( 0x966, 1053107, "Shadow Iron", CraftAttributeInfo.ShadowIron, CraftResource.ShadowIron, typeof( ShadowIronIngot ), typeof( ShadowIronOre ), typeof( ShadowIronGranite ) ),
|
||||
|
|
@ -481,8 +480,7 @@ namespace Server.Items
|
|||
new CraftResourceInfo( 0x8AB, 1053101, "Valorite", CraftAttributeInfo.Valorite, CraftResource.Valorite, typeof( ValoriteIngot ), typeof( ValoriteOre ), typeof( ValoriteGranite ) ),
|
||||
};
|
||||
|
||||
private static CraftResourceInfo[] m_ScaleInfo = new[]
|
||||
{
|
||||
private static CraftResourceInfo[] m_ScaleInfo = {
|
||||
new CraftResourceInfo( 0x66D, 1053129, "Red Scales", CraftAttributeInfo.RedScales, CraftResource.RedScales, typeof( RedScales ) ),
|
||||
new CraftResourceInfo( 0x8A8, 1053130, "Yellow Scales", CraftAttributeInfo.YellowScales, CraftResource.YellowScales, typeof( YellowScales ) ),
|
||||
new CraftResourceInfo( 0x455, 1053131, "Black Scales", CraftAttributeInfo.BlackScales, CraftResource.BlackScales, typeof( BlackScales ) ),
|
||||
|
|
@ -491,24 +489,21 @@ namespace Server.Items
|
|||
new CraftResourceInfo( 0x8B0, 1053134, "Blue Scales", CraftAttributeInfo.BlueScales, CraftResource.BlueScales, typeof( BlueScales ) )
|
||||
};
|
||||
|
||||
private static CraftResourceInfo[] m_LeatherInfo = new[]
|
||||
{
|
||||
private static CraftResourceInfo[] m_LeatherInfo = {
|
||||
new CraftResourceInfo( 0x000, 1049353, "Normal", CraftAttributeInfo.Blank, CraftResource.RegularLeather, typeof( Leather ), typeof( Hides ) ),
|
||||
new CraftResourceInfo( 0x283, 1049354, "Spined", CraftAttributeInfo.Spined, CraftResource.SpinedLeather, typeof( SpinedLeather ), typeof( SpinedHides ) ),
|
||||
new CraftResourceInfo( 0x227, 1049355, "Horned", CraftAttributeInfo.Horned, CraftResource.HornedLeather, typeof( HornedLeather ), typeof( HornedHides ) ),
|
||||
new CraftResourceInfo( 0x1C1, 1049356, "Barbed", CraftAttributeInfo.Barbed, CraftResource.BarbedLeather, typeof( BarbedLeather ), typeof( BarbedHides ) )
|
||||
};
|
||||
|
||||
private static CraftResourceInfo[] m_AOSLeatherInfo = new[]
|
||||
{
|
||||
private static CraftResourceInfo[] m_AOSLeatherInfo = {
|
||||
new CraftResourceInfo( 0x000, 1049353, "Normal", CraftAttributeInfo.Blank, CraftResource.RegularLeather, typeof( Leather ), typeof( Hides ) ),
|
||||
new CraftResourceInfo( 0x8AC, 1049354, "Spined", CraftAttributeInfo.Spined, CraftResource.SpinedLeather, typeof( SpinedLeather ), typeof( SpinedHides ) ),
|
||||
new CraftResourceInfo( 0x845, 1049355, "Horned", CraftAttributeInfo.Horned, CraftResource.HornedLeather, typeof( HornedLeather ), typeof( HornedHides ) ),
|
||||
new CraftResourceInfo( 0x851, 1049356, "Barbed", CraftAttributeInfo.Barbed, CraftResource.BarbedLeather, typeof( BarbedLeather ), typeof( BarbedHides ) ),
|
||||
};
|
||||
|
||||
private static CraftResourceInfo[] m_WoodInfo = new[]
|
||||
{
|
||||
private static CraftResourceInfo[] m_WoodInfo = {
|
||||
new CraftResourceInfo( 0x000, 1011542, "Normal", CraftAttributeInfo.Blank, CraftResource.RegularWood, typeof( Log ), typeof( Board ) ),
|
||||
new CraftResourceInfo( 0x7DA, 1072533, "Oak", CraftAttributeInfo.OakWood, CraftResource.OakWood, typeof( OakLog ), typeof( OakBoard ) ),
|
||||
new CraftResourceInfo( 0x4A7, 1072534, "Ash", CraftAttributeInfo.AshWood, CraftResource.AshWood, typeof( AshLog ), typeof( AshBoard ) ),
|
||||
|
|
|
|||
|
|
@ -11,8 +11,7 @@ namespace Server.Misc
|
|||
public static TimeSpan AntiMacroExpire = TimeSpan.FromMinutes( 5.0 ); //How long do we remember targets/locations?
|
||||
public const int Allowance = 3; //How many times may we use the same location/target for gain
|
||||
private const int LocationSize = 5; //The size of eeach location, make this smaller so players dont have to move as far
|
||||
private static bool[] UseAntiMacro = new[]
|
||||
{
|
||||
private static bool[] UseAntiMacro = {
|
||||
// true if this skill uses the anti-macro code, false if it does not
|
||||
false,// Alchemy = 0,
|
||||
true,// Anatomy = 1,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server
|
|||
private const bool NagleEnabled = false; // Should the Nagle algorithm be enabled? This may reduce performance
|
||||
private const int CoalesceBufferSize = 512; // MSS that the core will use when buffering packets
|
||||
|
||||
private static IPEndPoint[] m_ListenerEndPoints = new[] {
|
||||
private static IPEndPoint[] m_ListenerEndPoints = {
|
||||
new IPEndPoint( IPAddress.Any, 2593 ), // Default: Listen on port 2593 on all IP addresses
|
||||
|
||||
// Examples:
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ namespace Server.Misc
|
|||
}
|
||||
}
|
||||
|
||||
public static string[] HarrowerTitles = new[] { "Spite", "Opponent", "Hunter", "Venom", "Executioner", "Annihilator", "Champion", "Assailant", "Purifier", "Nullifier" };
|
||||
public static string[] HarrowerTitles = { "Spite", "Opponent", "Hunter", "Venom", "Executioner", "Annihilator", "Champion", "Assailant", "Purifier", "Nullifier" };
|
||||
|
||||
public static string ComputeTitle( Mobile beholder, Mobile beheld )
|
||||
{
|
||||
|
|
@ -264,8 +264,7 @@ namespace Server.Misc
|
|||
return highest;
|
||||
}
|
||||
|
||||
private static string[,] m_Levels = new[,]
|
||||
{
|
||||
private static string[,] m_Levels = {
|
||||
{ "Neophyte", "Neophyte", "Neophyte" },
|
||||
{ "Novice", "Novice", "Novice" },
|
||||
{ "Apprentice", "Apprentice", "Apprentice" },
|
||||
|
|
@ -300,8 +299,7 @@ namespace Server.Misc
|
|||
return (fp - 300) / 100;
|
||||
}
|
||||
|
||||
private static FameEntry[] m_FameEntries = new[]
|
||||
{
|
||||
private static FameEntry[] m_FameEntries = {
|
||||
new FameEntry( 1249, new[]
|
||||
{
|
||||
new KarmaEntry( -10000, "The Outcast {0}" ),
|
||||
|
|
|
|||
|
|
@ -13,8 +13,7 @@ namespace Server
|
|||
CommandSystem.Register( "VendorGen", AccessLevel.Administrator, new CommandEventHandler( VendorGen_OnCommand ) );
|
||||
}
|
||||
|
||||
private static Rectangle2D[] m_BritRegions = new[]
|
||||
{
|
||||
private static Rectangle2D[] m_BritRegions = {
|
||||
new Rectangle2D( new Point2D( 250, 750 ), new Point2D( 775, 1330 ) ),
|
||||
new Rectangle2D( new Point2D( 525, 2095 ), new Point2D( 925, 2430 ) ),
|
||||
new Rectangle2D( new Point2D( 1025, 2155 ), new Point2D( 1265, 2310 ) ),
|
||||
|
|
@ -33,8 +32,7 @@ namespace Server
|
|||
new Rectangle2D( new Point2D( 5120, 2300 ), new Point2D( 6143, 4095 ) )
|
||||
};
|
||||
|
||||
private static Rectangle2D[] m_IlshRegions = new[]
|
||||
{
|
||||
private static Rectangle2D[] m_IlshRegions = {
|
||||
new Rectangle2D( new Point2D( 0, 0 ), new Point2D( 288*8, 200*8 ) )
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue