# MINIGAME::_MINIGAME_GET_NEXT_EVENT_TYPE

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

## Signature

```c
Any _MINIGAME_GET_NEXT_EVENT_TYPE();
```

## Returns

`Any`

## Usage

### Lua

```lua
local retval = MinigameGetNextEventType()

-- always available, by hash
local retval = Citizen.InvokeNative(0x578907F59BA01B6C, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = MinigameGetNextEventType();

// by hash
const retval = Citizen.invokeNative('0x578907F59BA01B6C', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x578907F59BA01B6C);
```

- 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.*
