Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -268,7 +268,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public BlackthornWelcomeBook() : base( false )

View file

@ -101,7 +101,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public DrakovsJournal() : base( false )
@ -126,4 +126,4 @@ namespace Server.Items
int version = reader.ReadEncodedInt();
}
}
}
}

View file

@ -144,7 +144,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public FropozJournal() : base( false )
@ -179,4 +179,4 @@ namespace Server.Items
int version = reader.ReadEncodedInt();
}
}
}
}

View file

@ -229,7 +229,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public KaburJournal() : base( false )
@ -264,4 +264,4 @@ namespace Server.Items
int version = reader.ReadEncodedInt();
}
}
}
}

View file

@ -264,7 +264,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public GrammarOfOrcish() : base( Utility.Random( 0xFEF, 2 ), false )
@ -459,7 +459,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public CallToAnarchy() : base( Utility.Random( 0xFEF, 2 ), false )
@ -665,7 +665,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public ArmsAndWeaponsPrimer() : base( Utility.Random( 0xFEF, 2 ), false )
@ -759,7 +759,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public SongOfSamlethe() : base( Utility.Random( 0xFEF, 2 ), false )
@ -900,7 +900,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public TaleOfThreeTribes() : base( Utility.Random( 0xFEF, 2 ), false )
@ -1125,7 +1125,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public GuideToGuilds() : base( Utility.Random( 0xFEF, 2 ), false )
@ -1462,7 +1462,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public BirdsOfBritannia() : base( Utility.Random( 0xFEF, 2 ), false )
@ -1694,7 +1694,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public BritannianFlora() : base( Utility.Random( 0xFEF, 2 ), false )
@ -1831,7 +1831,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public ChildrenTalesVol2() : base( Utility.Random( 0xFEF, 2 ), false )
@ -2092,7 +2092,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public TalesOfVesperVol1() : base( Utility.Random( 0xFEF, 2 ), false )
@ -2255,7 +2255,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public DeceitDungeonOfHorror() : base( Utility.Random( 0xFEF, 2 ), false )
@ -2488,7 +2488,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public DimensionalTravel() : base( Utility.Random( 0xFEF, 2 ), false )
@ -2793,7 +2793,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public EthicalHedonism() : base( Utility.Random( 0xFEF, 2 ), false )
@ -3363,7 +3363,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public MyStory() : base( Utility.Random( 0xFEF, 2 ), false )
@ -3560,7 +3560,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public DiversityOfOurLand() : base( Utility.Random( 0xFEF, 2 ), false )
@ -4010,7 +4010,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public QuestOfVirtues() : base( Utility.Random( 0xFEF, 2 ), false )
@ -4087,7 +4087,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public RegardingLlamas() : base( Utility.Random( 0xFEF, 2 ), false )
@ -4215,7 +4215,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public TalkingToWisps() : base( Utility.Random( 0xFEF, 2 ), false )
@ -4332,7 +4332,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public TamingDragons() : base( Utility.Random( 0xFEF, 2 ), false )
@ -4518,7 +4518,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public BoldStranger() : base( Utility.Random( 0xFEF, 2 ), false )
@ -4804,7 +4804,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public BurningOfTrinsic() : base( Utility.Random( 0xFEF, 2 ), false )
@ -4978,7 +4978,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public TheFight() : base( Utility.Random( 0xFEF, 2 ), false )
@ -5204,7 +5204,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public LifeOfATravellingMinstrel() : base( Utility.Random( 0xFEF, 2 ), false )
@ -5431,7 +5431,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public MajorTradeAssociation() : base( Utility.Random( 0xFEF, 2 ), false )
@ -5560,7 +5560,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public RankingsOfTrades() : base( Utility.Random( 0xFEF, 2 ), false )
@ -5769,7 +5769,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public WildGirlOfTheForest() : base( Utility.Random( 0xFEF, 2 ), false )
@ -5929,7 +5929,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public TreatiseOnAlchemy() : base( Utility.Random( 0xFEF, 2 ), false )
@ -6182,7 +6182,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public VirtueBook() : base( Utility.Random( 0xFEF, 2 ), false )
@ -6208,4 +6208,4 @@ namespace Server.Items
}
}
#endregion
}
}

View file

@ -103,7 +103,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public NewAquariumBook() : base( false )

View file

@ -126,7 +126,7 @@ namespace Server.Items
)
);
public override BookContent DefaultContent{ get{ return Content; } }
public override BookContent DefaultContent => Content;
[Constructible]
public TranslatedGargoyleJournal() : base( false )
@ -161,4 +161,4 @@ namespace Server.Items
int version = reader.ReadEncodedInt();
}
}
}
}