.NET Format Style Fixes

This commit is contained in:
refringe
2025-06-18 17:09:20 +00:00
committed by Format Bot
parent ca0a7d6345
commit 6e01428b2b
774 changed files with 23507 additions and 40003 deletions
@@ -10,7 +10,13 @@ public class PaymentHelper(ConfigServer configServer)
{
protected bool _addedCustomMoney;
protected readonly InventoryConfig _inventoryConfig = configServer.GetConfig<InventoryConfig>();
protected readonly HashSet<string> _moneyTpls = [Money.DOLLARS, Money.EUROS, Money.ROUBLES, Money.GP];
protected readonly HashSet<string> _moneyTpls =
[
Money.DOLLARS,
Money.EUROS,
Money.ROUBLES,
Money.GP,
];
/// <summary>
/// Is the passed in tpl money (also checks custom currencies in inventoryConfig.customMoneyTpls)
@@ -26,7 +32,7 @@ public class PaymentHelper(ConfigServer configServer)
{
_moneyTpls.Add(customMoney);
}
_addedCustomMoney = true;
}
@@ -46,7 +52,7 @@ public class PaymentHelper(ConfigServer configServer)
CurrencyType.USD => Money.DOLLARS,
CurrencyType.RUB => Money.ROUBLES,
CurrencyType.GP => Money.GP,
_ => string.Empty
_ => string.Empty,
};
}
}