.NET Format Style Fixes
This commit is contained in:
@@ -44,7 +44,9 @@ public class ClientLogCallbacks(
|
||||
data.BetaDisclaimerAcceptText = _serverLocalisationService.GetText(
|
||||
"release-beta-disclaimer-accept"
|
||||
);
|
||||
data.ServerModsLoadedText = _serverLocalisationService.GetText("release-server-mods-loaded");
|
||||
data.ServerModsLoadedText = _serverLocalisationService.GetText(
|
||||
"release-server-mods-loaded"
|
||||
);
|
||||
data.ServerModsLoadedDebugText = _serverLocalisationService.GetText(
|
||||
"release-server-mods-debug-message"
|
||||
);
|
||||
|
||||
@@ -54,7 +54,10 @@ public class CustomizationController(
|
||||
if (matchingSuits == null)
|
||||
{
|
||||
throw new Exception(
|
||||
_serverLocalisationService.GetText("customisation-unable_to_get_trader_suits", traderId)
|
||||
_serverLocalisationService.GetText(
|
||||
"customisation-unable_to_get_trader_suits",
|
||||
traderId
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -149,7 +152,10 @@ public class CustomizationController(
|
||||
if (foundSuit is null)
|
||||
{
|
||||
_logger.Error(
|
||||
_serverLocalisationService.GetText("customisation-unable_to_find_suit_with_id", offerId)
|
||||
_serverLocalisationService.GetText(
|
||||
"customisation-unable_to_find_suit_with_id",
|
||||
offerId
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -531,7 +531,10 @@ public class BotInventoryGenerator(
|
||||
if (!dbResult.Key)
|
||||
{
|
||||
_logger.Error(
|
||||
_serverLocalisationService.GetText("bot-missing_item_template", chosenItemTpl)
|
||||
_serverLocalisationService.GetText(
|
||||
"bot-missing_item_template",
|
||||
chosenItemTpl
|
||||
)
|
||||
);
|
||||
if (_logger.IsLogEnabled(LogLevel.Debug))
|
||||
{
|
||||
|
||||
+3
-1
@@ -41,7 +41,9 @@ public class ForceSummerMessageHandler(
|
||||
_mailSendService.SendUserMessageToPlayer(
|
||||
sessionId,
|
||||
sptFriendUser,
|
||||
_randomUtil.GetArrayValue([_serverLocalisationService.GetText("chatbot-summer_enabled")]),
|
||||
_randomUtil.GetArrayValue(
|
||||
[_serverLocalisationService.GetText("chatbot-summer_enabled")]
|
||||
),
|
||||
[],
|
||||
null
|
||||
);
|
||||
|
||||
@@ -43,7 +43,9 @@ public class OpenZoneService(
|
||||
{
|
||||
if (!dbLocations.ContainsKey(mapKvP.Key))
|
||||
{
|
||||
_logger.Error(_serverLocalisationService.GetText("openzone-unable_to_find_map", mapKvP));
|
||||
_logger.Error(
|
||||
_serverLocalisationService.GetText("openzone-unable_to_find_map", mapKvP)
|
||||
);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user