public static bool RegisterMerchantService(int npcFactionId, CustomMerchantService service, string serviceName)
 {
     DaggerfallUnity.LogMessage("RegisterMerchantService: " + npcFactionId + " with service: " + serviceName, true);
     if (!customMerchantServices.ContainsKey(npcFactionId))
     {
         customMerchantServices.Add(npcFactionId, service);
         customMerchantServiceNames.Add(npcFactionId, serviceName);
         return(true);
     }
     return(false);
 }
 public static bool GetCustomMerchantService(int npcFactionId, out CustomMerchantService customMerchantService)
 {
     return(customMerchantServices.TryGetValue(npcFactionId, out customMerchantService));
 }