# EntryData

> One row of a snapshot: a key's shared data plus this locale's value, either a string or a serialized entry.

## Definition

* **Type:** Class
* **Namespace:** [Unity.Localization.Providers.FileTables](/engine/6000.7/script-reference/unity/localization/providers/filetables.md)
* **Assembly:** UnityEngine.LocalizationRuntimeModule

```csharp
public class EntryData
```

## Remarks

The value is a string entry when [EntryData.TypeName](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/typename.md) is empty, using [EntryData.Value](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/value.md) and [EntryData.Variants](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/variants.md); otherwise it is a non-string entry that implements [IFileDataEntry](/engine/6000.7/script-reference/unity/localization/ifiledataentry.md), reconstructed from [EntryData.TypeName](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/typename.md) and [EntryData.EntryJson](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/entryjson.md). The shared fields ([EntryData.Key](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/key.md), [EntryData.IsSmart](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/issmart.md), [EntryData.VariantKeys](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/variantkeys.md), [EntryData.Selector](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/selector.md)) are the same across every locale and are repeated in each per-locale file so a single file rebuilds the shared data it needs.

## Fields

| Value                                                                                                           | Description                                                                                      |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
| [EntryJson](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/entryjson.md)     | A non-string entry's own fields as JSON.                                                         |
| [Id](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/id.md)                   | The stable key id, preserved so references by id keep resolving.                                 |
| [IsSmart](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/issmart.md)         | Whether the key's string values are Smart Strings.                                               |
| [Key](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/key.md)                 | The key text.                                                                                    |
| [Selector](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/selector.md)       | The variant selector for this key, or a default when the key is plain.                           |
| [TypeName](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/typename.md)       | The assembly-qualified type name of a non-string entry, or empty when the row is a string entry. |
| [Value](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/value.md)             | The default string value, used when the entry is a string entry and no variant matches.          |
| [VariantKeys](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/variantkeys.md) | The active variant keys for this key.                                                            |
| [Variants](/engine/6000.7/script-reference/unity/localization/providers/filetables/entrydata/variants.md)       | The per-variant string values for a string entry.                                                |
