Server.Mobiles.PlayerVendor.CollectGoldPrompt.GiveGold C# (CSharp) Méthode

GiveGold() private méthode

private GiveGold ( Mobile to, int amount ) : void
to Mobile
amount int
Résultat void
			private void GiveGold( Mobile to, int amount )
			{
				if ( amount <= 0 )
				{
					m_Vendor.SayTo( to, "Very well. I will hold on to the money for now then." );
				}
				else
				{
					m_Vendor.GiveGold( to, amount );
				}
			}
		}