Updated SetCustomisation to handle voice changes
This commit is contained in:
@@ -264,7 +264,7 @@ public class CustomizationController(
|
||||
/// <param name="sessionId">Session/Player id</param>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="pmcData">Players PMC profile</param>
|
||||
/// <returns></returns>
|
||||
/// <returns>ItemEventRouterResponse</returns>
|
||||
public ItemEventRouterResponse SetCustomisation(
|
||||
MongoId sessionId,
|
||||
CustomizationSetRequest request,
|
||||
@@ -281,6 +281,9 @@ public class CustomizationController(
|
||||
case "suite":
|
||||
ApplyClothingItemToProfile(customisation, pmcData);
|
||||
break;
|
||||
case "voice":
|
||||
pmcData.Customization.Voice = customisation.Id;
|
||||
break;
|
||||
default:
|
||||
logger.Error($"Unhandled customisation type: {customisation.Type}");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user