Fixed server build errors from previously merged PR
This commit is contained in:
parent
d0f11fd073
commit
e1ca9dedc9
@ -149,6 +149,7 @@ export class DialogueController
|
|||||||
Nickname: profile.characters.pmc.Info.Nickname,
|
Nickname: profile.characters.pmc.Info.Nickname,
|
||||||
Side: profile.characters.pmc.Info.Side,
|
Side: profile.characters.pmc.Info.Side,
|
||||||
MemberCategory: profile.characters.pmc.Info.MemberCategory,
|
MemberCategory: profile.characters.pmc.Info.MemberCategory,
|
||||||
|
SelectedMemberCategory: profile.characters.pmc.Info.SelectedMemberCategory,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -249,6 +250,7 @@ export class DialogueController
|
|||||||
Side: pmcProfile.Info.Side,
|
Side: pmcProfile.Info.Side,
|
||||||
Level: pmcProfile.Info.Level,
|
Level: pmcProfile.Info.Level,
|
||||||
MemberCategory: pmcProfile.Info.MemberCategory,
|
MemberCategory: pmcProfile.Info.MemberCategory,
|
||||||
|
SelectedMemberCategory: pmcProfile.Info.SelectedMemberCategory,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,13 @@ export class CommandoDialogueChatBot extends AbstractDialogueChatBot
|
|||||||
return {
|
return {
|
||||||
_id: "sptCommando",
|
_id: "sptCommando",
|
||||||
aid: 1234567,
|
aid: 1234567,
|
||||||
Info: { Level: 1, MemberCategory: MemberCategory.DEVELOPER, Nickname: "Commando", Side: "Usec" },
|
Info: {
|
||||||
|
Level: 1,
|
||||||
|
MemberCategory: MemberCategory.DEVELOPER,
|
||||||
|
SelectedMemberCategory: MemberCategory.DEVELOPER,
|
||||||
|
Nickname: "Commando",
|
||||||
|
Side: "Usec",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,6 +40,7 @@ export class SptDialogueChatBot implements IDialogueChatBot
|
|||||||
Info: {
|
Info: {
|
||||||
Level: 1,
|
Level: 1,
|
||||||
MemberCategory: MemberCategory.DEVELOPER,
|
MemberCategory: MemberCategory.DEVELOPER,
|
||||||
|
SelectedMemberCategory: MemberCategory.DEVELOPER,
|
||||||
Nickname: this.coreConfig.sptFriendNickname,
|
Nickname: this.coreConfig.sptFriendNickname,
|
||||||
Side: "Usec",
|
Side: "Usec",
|
||||||
},
|
},
|
||||||
|
@ -107,6 +107,7 @@ export class PmcChatResponseService
|
|||||||
Side: killerDetailsInCache.Info.Side,
|
Side: killerDetailsInCache.Info.Side,
|
||||||
Level: killerDetailsInCache.Info.Level,
|
Level: killerDetailsInCache.Info.Level,
|
||||||
MemberCategory: killerDetailsInCache.Info.MemberCategory,
|
MemberCategory: killerDetailsInCache.Info.MemberCategory,
|
||||||
|
SelectedMemberCategory: killerDetailsInCache.Info.SelectedMemberCategory,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -288,6 +289,9 @@ export class PmcChatResponseService
|
|||||||
MemberCategory.SHERPA,
|
MemberCategory.SHERPA,
|
||||||
MemberCategory.DEVELOPER,
|
MemberCategory.DEVELOPER,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
const chosenCategory = this.randomUtil.getArrayValue(categories);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
_id: pmcVictim.Name,
|
_id: pmcVictim.Name,
|
||||||
aid: this.hashUtil.generateAccountId(), // TODO- pass correct value
|
aid: this.hashUtil.generateAccountId(), // TODO- pass correct value
|
||||||
@ -295,7 +299,8 @@ export class PmcChatResponseService
|
|||||||
Nickname: pmcVictim.Name,
|
Nickname: pmcVictim.Name,
|
||||||
Level: pmcVictim.Level,
|
Level: pmcVictim.Level,
|
||||||
Side: pmcVictim.Side,
|
Side: pmcVictim.Side,
|
||||||
MemberCategory: this.randomUtil.getArrayValue(categories),
|
MemberCategory: chosenCategory,
|
||||||
|
SelectedMemberCategory: chosenCategory,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user