# NETWORK::UGC_GET_CACHED_DESCRIPTION

- **Hash:** `0x40F7E66472DF3E5C`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `UgcGetCachedDescription`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/UGC_GET_CACHED_DESCRIPTION

## Signature

```c
const char* UGC_GET_CACHED_DESCRIPTION(Hash description, int length);
```

## Parameters

- `description` (`Hash`)
- `length` (`int`)

## Returns

`const char*`

## Usage

### Lua

```lua
local retval = UgcGetCachedDescription(description, length)

-- always available, by hash
local retval = Citizen.InvokeNative(0x40F7E66472DF3E5C, description, length, Citizen.ResultAsString())
```

### JavaScript

```js
const retval = UgcGetCachedDescription(description, length);

// by hash
const retval = Citizen.invokeNative('0x40F7E66472DF3E5C', description, length, Citizen.returnResultAnyway(), Citizen.resultAsString());
```

### C#

```csharp
string retval = Function.Call<string>((Hash)0x40F7E66472DF3E5C, description, length);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.

*Sources: alloc8or RDR3 NativeDB.*
