# NETWORK::_UGC_QUERY_GET_VERSION

- **Hash:** `0x63E9DCBC8B0931ED`
- **Namespace:** NETWORK
- **Runtime name (Lua/JS):** `UgcQueryGetVersion`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/NETWORK/_UGC_QUERY_GET_VERSION

## Signature

```c
int _UGC_QUERY_GET_VERSION(Any p0, int index, int p2);
```

## Parameters

- `p0` (`Any`)
- `index` (`int`)
- `p2` (`int`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = UgcQueryGetVersion(p0, index, p2)

-- always available, by hash
local retval = Citizen.InvokeNative(0x63E9DCBC8B0931ED, p0, index, p2, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = UgcQueryGetVersion(p0, index, p2);

// by hash
const retval = Citizen.invokeNative('0x63E9DCBC8B0931ED', p0, index, p2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x63E9DCBC8B0931ED, p0, index, p2);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
