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

@ -8,18 +8,18 @@ namespace Server.Engines.Quests.Ambitious
{
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Ambitious.DontOfferConversation ),
typeof( Ambitious.AcceptConversation ),
typeof( Ambitious.DuringKillQueensConversation ),
typeof( Ambitious.GatherFungiConversation ),
typeof( Ambitious.DuringFungiGatheringConversation ),
typeof( Ambitious.EndConversation ),
typeof( Ambitious.FullBackpackConversation ),
typeof( Ambitious.End2Conversation ),
typeof( Ambitious.KillQueensObjective ),
typeof( Ambitious.ReturnAfterKillsObjective ),
typeof( Ambitious.GatherFungiObjective ),
typeof( Ambitious.GetRewardObjective )
typeof( DontOfferConversation ),
typeof( AcceptConversation ),
typeof( DuringKillQueensConversation ),
typeof( GatherFungiConversation ),
typeof( DuringFungiGatheringConversation ),
typeof( EndConversation ),
typeof( FullBackpackConversation ),
typeof( End2Conversation ),
typeof( KillQueensObjective ),
typeof( ReturnAfterKillsObjective ),
typeof( GatherFungiObjective ),
typeof( GetRewardObjective )
};
public override Type[] TypeReferenceTable => m_TypeReferenceTable;

View file

@ -30,9 +30,9 @@ namespace Server.Engines.Quests.Ambitious
public override void OnTalk( PlayerMobile player, bool contextMenu )
{
this.Direction = GetDirectionTo( player );
Direction = GetDirectionTo( player );
if ( player.Quest is AmbitiousQueenQuest qs && qs.RedSolen == this.RedSolen )
if ( player.Quest is AmbitiousQueenQuest qs && qs.RedSolen == RedSolen )
{
if ( qs.IsObjectiveInProgress( typeof( KillQueensObjective ) ) )
{
@ -78,7 +78,7 @@ namespace Server.Engines.Quests.Ambitious
}
else
{
QuestSystem newQuest = new AmbitiousQueenQuest( player, this.RedSolen );
QuestSystem newQuest = new AmbitiousQueenQuest( player, RedSolen );
if ( player.Quest == null && QuestSystem.CanOfferQuest( player, typeof( AmbitiousQueenQuest ) ) )
{
@ -93,11 +93,11 @@ namespace Server.Engines.Quests.Ambitious
public override bool OnDragDrop( Mobile from, Item dropped )
{
this.Direction = GetDirectionTo( from );
Direction = GetDirectionTo( from );
if ( from is PlayerMobile player )
{
if ( player.Quest is AmbitiousQueenQuest qs && qs.RedSolen == this.RedSolen )
if ( player.Quest is AmbitiousQueenQuest qs && qs.RedSolen == RedSolen )
{
QuestObjective obj = qs.FindObjective( typeof( GatherFungiObjective ) );