Removes implicit this.

This commit is contained in:
Kamron Batman 2018-09-14 12:56:58 -07:00
parent 04b4cfe75b
commit 83dcf536d8
533 changed files with 2804 additions and 2806 deletions

View file

@ -7,42 +7,42 @@ namespace Server.Engines.Quests.Samurai
{
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Samurai.AcceptConversation ),
typeof( Samurai.RadarConversation ),
typeof( Samurai.FirstTrialIntroConversation ),
typeof( Samurai.FirstTrialKillConversation ),
typeof( Samurai.GainKarmaConversation ),
typeof( Samurai.SecondTrialIntroConversation ),
typeof( Samurai.SecondTrialAttackConversation ),
typeof( Samurai.ThirdTrialIntroConversation ),
typeof( Samurai.ThirdTrialKillConversation ),
typeof( Samurai.FourthTrialIntroConversation ),
typeof( Samurai.FourthTrialCatsConversation ),
typeof( Samurai.FifthTrialIntroConversation ),
typeof( Samurai.FifthTrialReturnConversation ),
typeof( Samurai.LostSwordConversation ),
typeof( Samurai.SixthTrialIntroConversation ),
typeof( Samurai.SeventhTrialIntroConversation ),
typeof( Samurai.EndConversation ),
typeof( Samurai.FindHaochiObjective ),
typeof( Samurai.FirstTrialIntroObjective ),
typeof( Samurai.FirstTrialKillObjective ),
typeof( Samurai.FirstTrialReturnObjective ),
typeof( Samurai.SecondTrialIntroObjective ),
typeof( Samurai.SecondTrialAttackObjective ),
typeof( Samurai.SecondTrialReturnObjective ),
typeof( Samurai.ThirdTrialIntroObjective ),
typeof( Samurai.ThirdTrialKillObjective ),
typeof( Samurai.ThirdTrialReturnObjective ),
typeof( Samurai.FourthTrialIntroObjective ),
typeof( Samurai.FourthTrialCatsObjective ),
typeof( Samurai.FourthTrialReturnObjective ),
typeof( Samurai.FifthTrialIntroObjective ),
typeof( Samurai.FifthTrialReturnObjective ),
typeof( Samurai.SixthTrialIntroObjective ),
typeof( Samurai.SixthTrialReturnObjective ),
typeof( Samurai.SeventhTrialIntroObjective ),
typeof( Samurai.SeventhTrialReturnObjective )
typeof( AcceptConversation ),
typeof( RadarConversation ),
typeof( FirstTrialIntroConversation ),
typeof( FirstTrialKillConversation ),
typeof( GainKarmaConversation ),
typeof( SecondTrialIntroConversation ),
typeof( SecondTrialAttackConversation ),
typeof( ThirdTrialIntroConversation ),
typeof( ThirdTrialKillConversation ),
typeof( FourthTrialIntroConversation ),
typeof( FourthTrialCatsConversation ),
typeof( FifthTrialIntroConversation ),
typeof( FifthTrialReturnConversation ),
typeof( LostSwordConversation ),
typeof( SixthTrialIntroConversation ),
typeof( SeventhTrialIntroConversation ),
typeof( EndConversation ),
typeof( FindHaochiObjective ),
typeof( FirstTrialIntroObjective ),
typeof( FirstTrialKillObjective ),
typeof( FirstTrialReturnObjective ),
typeof( SecondTrialIntroObjective ),
typeof( SecondTrialAttackObjective ),
typeof( SecondTrialReturnObjective ),
typeof( ThirdTrialIntroObjective ),
typeof( ThirdTrialKillObjective ),
typeof( ThirdTrialReturnObjective ),
typeof( FourthTrialIntroObjective ),
typeof( FourthTrialCatsObjective ),
typeof( FourthTrialReturnObjective ),
typeof( FifthTrialIntroObjective ),
typeof( FifthTrialReturnObjective ),
typeof( SixthTrialIntroObjective ),
typeof( SixthTrialReturnObjective ),
typeof( SeventhTrialIntroObjective ),
typeof( SeventhTrialReturnObjective )
};
public override Type[] TypeReferenceTable => m_TypeReferenceTable;

View file

@ -23,8 +23,8 @@ namespace Server.Engines.Quests.Samurai
private void GenerateTreasure()
{
for ( int i = this.Items.Count - 1; i >= 0; i-- )
this.Items[i].Delete();
for ( int i = Items.Count - 1; i >= 0; i-- )
Items[i].Delete();
for ( int i = 0; i < 75; i++ )
{

View file

@ -42,7 +42,7 @@ namespace Server.Engines.Quests.Samurai
if ( obj != null && !obj.Completed )
obj.Complete();
this.SendLocalizedMessageTo( from, 1063251 ); // You light a candle in honor.
SendLocalizedMessageTo( from, 1063251 ); // You light a candle in honor.
}
}
}