Initial release for SPT 3.9

This commit is contained in:
2024-07-20 18:08:38 +02:00
parent 7df25ba694
commit c83da69a3e
713 changed files with 34110 additions and 1 deletions

19
types/helpers/PaymentHelper.d.ts vendored Normal file
View File

@@ -0,0 +1,19 @@
import { IInventoryConfig } from "@spt/models/spt/config/IInventoryConfig";
import { ConfigServer } from "@spt/servers/ConfigServer";
export declare class PaymentHelper {
protected configServer: ConfigServer;
protected inventoryConfig: IInventoryConfig;
constructor(configServer: ConfigServer);
/**
* Is the passed in tpl money (also checks custom currencies in inventoryConfig.customMoneyTpls)
* @param {string} tpl
* @returns void
*/
isMoneyTpl(tpl: string): boolean;
/**
* Gets currency TPL from TAG
* @param {string} currency
* @returns string
*/
getCurrency(currency: string): string;
}