add getters (and additional setter) to FenceService (!304)
resubmitting PR targeting 3.8.1-DEV Co-authored-by: Nader <nader@cloudkraken.dev> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/304 Co-authored-by: nader <nader@noreply.dev.sp-tarkov.com> Co-committed-by: nader <nader@noreply.dev.sp-tarkov.com>
This commit is contained in:
parent
d41a40b2d2
commit
96208ed95f
@ -71,6 +71,33 @@ export class FenceService
|
||||
this.fenceAssort = assort;
|
||||
}
|
||||
|
||||
/**
|
||||
* Replace discount fence assort with new assort
|
||||
* @param assort New assorts to replace old with
|
||||
*/
|
||||
public setDiscountFenceAssort(assort: ITraderAssort): void
|
||||
{
|
||||
this.fenceDiscountAssort = assort;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get main fence assort
|
||||
* @return ITraderAssort
|
||||
*/
|
||||
public getMainFenceAssort(): ITraderAssort
|
||||
{
|
||||
return this.fenceAssort;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get discount fence assort
|
||||
* @return ITraderAssort
|
||||
*/
|
||||
public getDiscountFenceAssort(): ITraderAssort
|
||||
{
|
||||
return this.fenceDiscountAssort;
|
||||
}
|
||||
|
||||
/**
|
||||
* Replace high rep level fence assort with new assort
|
||||
* @param discountAssort New assorts to replace old with
|
||||
|
Loading…
Reference in New Issue
Block a user