Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -6,20 +6,20 @@ namespace Server.Multis
|
|||
{
|
||||
public class LargeDragonBoat : BaseBoat
|
||||
{
|
||||
public override int NorthID{ get{ return 0x14; } }
|
||||
public override int EastID{ get{ return 0x15; } }
|
||||
public override int SouthID{ get{ return 0x16; } }
|
||||
public override int WestID{ get{ return 0x17; } }
|
||||
public override int NorthID => 0x14;
|
||||
public override int EastID => 0x15;
|
||||
public override int SouthID => 0x16;
|
||||
public override int WestID => 0x17;
|
||||
|
||||
public override int HoldDistance{ get{ return 5; } }
|
||||
public override int TillerManDistance{ get{ return -5; } }
|
||||
public override int HoldDistance => 5;
|
||||
public override int TillerManDistance => -5;
|
||||
|
||||
public override Point2D StarboardOffset{ get{ return new Point2D( 2, -1 ); } }
|
||||
public override Point2D PortOffset{ get{ return new Point2D( -2, -1 ); } }
|
||||
public override Point2D StarboardOffset => new Point2D( 2, -1 );
|
||||
public override Point2D PortOffset => new Point2D( -2, -1 );
|
||||
|
||||
public override Point3D MarkOffset{ get{ return new Point3D( 0, 0, 3 ); } }
|
||||
public override Point3D MarkOffset => new Point3D( 0, 0, 3 );
|
||||
|
||||
public override BaseDockedBoat DockedBoat{ get{ return new LargeDockedDragonBoat( this ); } }
|
||||
public override BaseDockedBoat DockedBoat => new LargeDockedDragonBoat( this );
|
||||
|
||||
[Constructible]
|
||||
public LargeDragonBoat()
|
||||
|
|
@ -47,8 +47,8 @@ namespace Server.Multis
|
|||
|
||||
public class LargeDragonBoatDeed : BaseBoatDeed
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1041210; } }// large dragon ship deed
|
||||
public override BaseBoat Boat{ get{ return new LargeDragonBoat(); } }
|
||||
public override int LabelNumber => 1041210;// large dragon ship deed
|
||||
public override BaseBoat Boat => new LargeDragonBoat();
|
||||
|
||||
[Constructible]
|
||||
public LargeDragonBoatDeed() : base( 0x14, new Point3D( 0, -1, 0 ) )
|
||||
|
|
@ -76,7 +76,7 @@ namespace Server.Multis
|
|||
|
||||
public class LargeDockedDragonBoat : BaseDockedBoat
|
||||
{
|
||||
public override BaseBoat Boat{ get{ return new LargeDragonBoat(); } }
|
||||
public override BaseBoat Boat => new LargeDragonBoat();
|
||||
|
||||
public LargeDockedDragonBoat( BaseBoat boat ) : base( 0x14, new Point3D( 0, -1, 0 ), boat )
|
||||
{
|
||||
|
|
@ -100,4 +100,4 @@ namespace Server.Multis
|
|||
writer.Write( (int)0 );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue