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

GetName() public static method

Returns name for the bank with the given id, or null if the bank doesn't exist.
public static GetName ( string bankId ) : string
bankId string
return string
		public static string GetName(string bankId)
		{
			if (bankId == "Global")
				return Localization.Get("Global Bank");

			var data = AuraData.BankDb.Find(bankId);
			if (data == null)
				return null;

			return data.Name;
		}