0x00x0050
Members 7
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x10 | m_Identifier | LocaleIdentifier | Private | — | |
| 0x08 | m_Metadata | MetadataCollection | Private | — | |
| 0x08 | m_LocaleName | string | Private | — | |
| 0x08 | m_CustomFormatCultureCode | string | Private | — | |
| 0x01 | m_UseCustomFormatter | bool | Private | — | |
| 0x0041 | 0x01 | padding / unreflected | |||
| 0x02 | m_SortOrder | ushort | Private | — | |
| 0x0044 | 0x04 | padding / unreflected | |||
| 0x08 | m_Formatter | IFormatProvider | Private | — | |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 27
| Signature | Flags | Native | Params |
|---|---|---|---|
| LocaleIdentifier get_Identifier() | Public+1 flags | 0x10 | |
| void set_Identifier(const LocaleIdentifier& value) | Public+1 flags | 0x10 | |
| MetadataCollection get_Metadata() | Public+1 flags | 0x08 | |
| void set_Metadata(MetadataCollection value) | Public+1 flags | 0x08 | |
| ushort get_SortOrder() | Public+1 flags | 0x02 | |
| void set_SortOrder(ushort value) | Public+1 flags | 0x02 | |
| string get_LocaleName() | Public+1 flags | 0x08 | |
| void set_LocaleName(const string& value) | Public+1 flags | 0x08 | |
| Locale GetFallback() | Public+2 flags | 0x08 | |
| IEnumerable<UnityEngine.Localization.Locale> GetFallbacks() | Public | 0x08 | |
| bool get_UseCustomFormatter() | Public+1 flags | 0x01 | |
| void set_UseCustomFormatter(bool value) | Public+1 flags | 0x01 | |
| string get_CustomFormatterCode() | Public+1 flags | 0x08 | |
| void set_CustomFormatterCode(const string& value) | Public+1 flags | 0x08 | |
| IFormatProvider get_Formatter() | Public+3 flags | 0x08 | |
| void set_Formatter(IFormatProvider value) | Public+3 flags | 0x08 | |
| CultureInfo GetFormatter(bool useCustom, const LocaleIdentifier& localeIdentifier, const string& customCode) | Static+1 flags | 0x10 | |
| Locale CreateLocale(const string& code) | PublicStatic | 0x08 | |
| Locale CreateLocale(const LocaleIdentifier& identifier) | PublicStatic | 0x10 | |
| Locale CreateLocale(const SystemLanguage& language) | PublicStatic | 0x08 | |
| Locale CreateLocale(CultureInfo cultureInfo) | PublicStatic | 0x08 | |
| int CompareTo(Locale other) | PublicFinal+2 flags | 0x08 | |
| void OnAfterDeserialize() | PublicFinal+2 flags | 0x00 | |
| void OnBeforeSerialize() | PublicFinal+2 flags | 0x00 | |
| string ToString() | Public+1 flags | 0x08 | |
| bool Equals(Locale other) | PublicFinal+2 flags | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 |
Subclasses 1
Used by 71
types with a member, parameter or interface of this type<>c__DisplayClass8_0<GetFallbacks>d__20<InitializeAndCallSelectedLocaleChangedCoroutine>d__73Action`1ArraySortHelper`1AsyncOperationBase`1AsyncOperationHandle`1CommandLineLocaleSelectorEmptyInternalEnumerator`1EnumeratorEnumeratorEqualityComparer`1FallbackLocaleGameObjectLocalizerGetLocalizedStringOperationGetTableEntryOperation`2GetTableEntryOperation`2GetTableEntryOperation`2HashSet`1ICollection`1IComparable`1IEnumerator`1IEqualityComparer`1IEquatable`1IList`1ILocalesProviderInternalEnumerator`1IReadOnlyList`1IStartupLocaleSelectorJsonSerializerTrackedObjectList`1LoadAllTablesOperation`2LoadAllTablesOperation`2LoadAllTablesOperation`2LoadTableOperation`2LoadTableOperation`2LoadTableOperation`2Locale[]LocalesProviderLocalizationSettingsLocalizedAsset`1LocalizedAsset`1LocalizedAsset`1LocalizedAsset`1LocalizedAsset`1LocalizedAsset`1LocalizedAsset`1LocalizedAsset`1LocalizedAsset`1LocalizedAssetDatabaseLocalizedDatabase`2LocalizedDatabase`2LocalizedDatabase`2LocalizedReferenceLocalizedStringLocalizedStringDatabaseLocalizedTable`2LocalizedTable`2LocalizedTable`2PlayerPrefLocaleSelectorPredicate`1PreloadTablesOperation`2PreloadTablesOperation`2PreloadTablesOperation`2ReadOnlyCollection`1SlotSpecificLocaleSelectorSystemLocaleSelectorTrackedObjectTrackedRectTransformTrackedTransform