Changes to MailSendService
originally we had the trader id -> then used a method to get the EnumValue as a string -> then later turned it BACK into a traderId unless im missing something major this should simplify things? example: we took "6617beeaa9cfa777ca915b7c" and turned it to "Ref" to then turn it back to "6617beeaa9cfa777ca915b7c"
This commit is contained in:
@@ -513,7 +513,7 @@ public class LocationLifecycleService
|
||||
// Send message from fence giving player reward generated above
|
||||
_mailSendService.SendLocalisedNpcMessageToPlayer(
|
||||
sessionId,
|
||||
_traderHelper.GetValidTraderIdByEnumValue(Traders.FENCE),
|
||||
Traders.FENCE,
|
||||
MessageType.MESSAGE_WITH_ITEMS,
|
||||
_randomUtil.GetArrayValue(_traderConfig.Fence.CoopExtractGift.MessageLocaleIds),
|
||||
mailableLoot,
|
||||
@@ -1137,7 +1137,7 @@ public class LocationLifecycleService
|
||||
// Send the items to the player
|
||||
_mailSendService.SendLocalisedNpcMessageToPlayer(
|
||||
sessionId,
|
||||
_traderHelper.GetValidTraderIdByEnumValue(traderId),
|
||||
traderId,
|
||||
MessageType.BTR_ITEMS_DELIVERY,
|
||||
messageId,
|
||||
items,
|
||||
|
||||
Reference in New Issue
Block a user