Aura.Channel.World.Inventory.BankInventory.AddGold C# (CSharp) Method

AddGold() public method

Adds gold to bank, sends update, and returns the new amount.
public AddGold ( Creature creature, int amount ) : int
creature Aura.Channel.World.Entities.Creature Creature removing gold (needed for updating)
amount int Amount of gold
return int
		public int AddGold(Creature creature, int amount)
		{
			this.Gold += amount;
			Send.BankUpdateGold(creature, this.Gold);

			return this.Gold;
		}