Added sptGenerateLoot
to IStartLocalRaidRequestData
to allow caller to choose to generate loot or not, default is true
This commit is contained in:
parent
dda3bc5310
commit
7b1a37e71e
@ -6,6 +6,8 @@ export interface IStartLocalRaidRequestData {
|
||||
playerSide: string;
|
||||
isLocationTransition: boolean;
|
||||
transition: IStartLocalRaidTransition;
|
||||
/** Should loot generation be skipped, default false */
|
||||
sptSkipLootGeneration?: boolean;
|
||||
}
|
||||
|
||||
export interface IStartLocalRaidTransition {
|
||||
|
@ -96,7 +96,7 @@ export class LocationLifecycleService {
|
||||
serverId: `${request.location}.${request.playerSide}.${this.timeUtil.getTimestamp()}`, // TODO - does this need to be more verbose - investigate client?
|
||||
serverSettings: this.databaseService.getLocationServices(), // TODO - is this per map or global?
|
||||
profile: { insuredItems: playerProfile.InsuredItems },
|
||||
locationLoot: this.generateLocationAndLoot(request.location),
|
||||
locationLoot: request.sptSkipLootGeneration ? null : this.generateLocationAndLoot(request.location),
|
||||
transition: {
|
||||
isLocationTransition: false,
|
||||
transitionRaidId: "66f5750951530ca5ae09876d",
|
||||
|
Loading…
x
Reference in New Issue
Block a user