Shared.Text.StringExtensions
Type JSONpublic class in Shared.Text
Type metadata
- Assembly
Shared - Namespace
Shared.Text - Base type
System.Object - Hash
A308970E6A6026A8A69CA059E4245B25F7422CCF7CFB6280A74B71848CF9F0A0
Relationships
Base type
System.Object
Methods
GetTranslation
#
public System.String GetTranslation(Shared.Text.StringId translationKey)
Method metadata
- Visibilitypublic
- Return type
System.String - StaticTrue
- VirtualFalse
- Hash
46D3910158C1762DDC1605D4D4A274497A10B7D98AED32796D5E9BB25ABE860B - Body hash
5A61B5E5D445B8D99549425EC1B1935D177C8B388A4732E144071069EF863D3F - IL size12
Referenced calls
Called by
CandideServer.Models.Rewards.ConstructionRewardStrategy::GetNameCandideServer.Models.Rewards.ConstructionRewardStrategy::GetTextDescriptionCandideServer.Models.Rewards.ConstructionsRewardStrategy::GetNameCandideServer.Models.Rewards.ConstructionsRewardStrategy::GetTextDescriptionCandideServer.Models.Rewards.ItemRewardStrategy::GetNameCandideServer.Models.Rewards.MapMarkerRewardStrategy::GetNameCandideServer.Models.Rewards.MapMarkerRewardStrategy::GetTextDescriptionCandideServer.Models.Rewards.MultiWorkRecipeRewardStrategy::GetNameCandideServer.Models.Rewards.MultiWorkRecipeRewardStrategy::GetTextDescriptionCandideServer.Models.Rewards.OrdinanceRewardStrategy::GetNameCandideServer.Models.Rewards.OrdinanceRewardStrategy::GetTextDescriptionCandideServer.Models.Rewards.WorkRecipeRewardStrategy::GetNameCandideServer.Models.Rewards.WorkRecipeRewardStrategy::GetTextDescriptionCandideServer.Models.Town.TownModel::GetLocalizedNameCandideServer.ServerManagers.TownsServerManager::CitizenSwitchTownCandide.CandideUI.ConstructionsUi.ConstructionDetailsDisplayWindow::Demolish_OnClickActionCandide.CandideUI.ConstructionsUi.ConstructionDetailsDisplayWindow::SetStateCandide.CandideUI.ConstructionsUi.ConstructionPlacementInfoTooltipWindow::UpdateFieldsCandide.CandideUI.ConstructionsUi.ConstructionsUiWindow::ShowTooltipCandide.CandideUI.ConstructionsUi.SubConstructionsWindow::SetSubConstructionCandide.CandideUI.JobUiNew.UserControls.JobMiddleUserControl::SetStateCandide.CandideUI.JobUiNew.UserControls.MiddleRecipesUserControl::OnRecipesChangedCandide.CandideUI.ObjectivesUi.QuestDescriptionComponent::UpdateInstanceDataCandide.CandideUI.ObjectivesUi.QuestDisplayTrackingController::SetQuestCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildActiveCitizenTooltipContentCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildCitizenTooltipContentCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildFavourTooltipContentCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildItemTooltipContentCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildQuestRewardPlayerCraftingRecipesCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildResourceTooltipCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildSkillTooltipCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildStatsTooltip
GetTranslation
#
public System.String GetTranslation(Shared.Text.StringId translationKey, System.Object arg1, System.Object arg2)
Method metadata
- Visibilitypublic
- Return type
System.String - StaticTrue
- VirtualFalse
- Hash
A8513E9AF0448E600CFC090B07D6935A421604B562FA9F67D1E32E7BFE4AD1FF - Body hash
74008CCB92321F17FFD5D436D49B38CE1A1957B630BD5AE596B5D9A85D3A730F - IL size128
Referenced calls
Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)System.String::Format(System.String, System.Object, System.Object)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Shared.Analytics.AnalyticsManager::TrackError(System.String)
String literals
StringDefinitions: Faulty format string at. Expected 2 arguments.,ERROR
GetTranslation
#
public System.String GetTranslation(Shared.Text.StringId translationKey, System.String arg1)
Method metadata
- Visibilitypublic
- Return type
System.String - StaticTrue
- VirtualFalse
- Hash
BBF92AC25EF8B51B4EF4AC188B3A6E8E4AACA22E8CF51EBE0E70A3C0956096CE - Body hash
9D72B6E88BD4BACBF4ED98CB62E2B218CD79F86D01205776DB9A1EB8FBEA34C2 - IL size107
Referenced calls
Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)System.String::Format(System.String, System.Object)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Shared.Analytics.AnalyticsManager::TrackError(System.String)
String literals
StringDefinitions: Faulty format string at. Expected 1 argument.ERROR
GetTranslation
#
public System.String GetTranslation(Shared.Text.StringId translationKey, System.String arg1, System.String arg2, System.String arg3)
Method metadata
- Visibilitypublic
- Return type
System.String - StaticTrue
- VirtualFalse
- Hash
D5393241C80833E580F95BBDAF16C90D0E70DF422738404C11DE50E379774C55 - Body hash
B77FC978E4C3C46DEF4B0D7BF3C810C1CEF608E27DA594C314288E6B19C30CB6 - IL size152
Referenced calls
Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)System.String::Format(System.String, System.Object, System.Object, System.Object)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Shared.Analytics.AnalyticsManager::TrackError(System.String)
String literals
StringDefinitions: Faulty format string at. Expected 3 arguments.,ERROR