add getters (and additional setter) to FenceService (!302)
Co-authored-by: Nader <nader@cloudkraken.dev> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/302 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
3951e29a34
commit
a0981e9297
@ -71,6 +71,33 @@ export class FenceService
|
|||||||
this.fenceAssort = assort;
|
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
|
* Replace high rep level fence assort with new assort
|
||||||
* @param discountAssort New assorts to replace old with
|
* @param discountAssort New assorts to replace old with
|
||||||
|
Loading…
x
Reference in New Issue
Block a user