# Sandbox.Internal.IMenuSystem.OnPartyInvite

```csharp
void OnPartyInvite(Friend from, System.Action accept, System.Action decline)
```

A friend's invited us into their party. Unless the menu does something better with it, it's
a yes/no question like any other.

### Parameters

- `from` (`Friend`)
- `accept` (`System.Action`)
- `decline` (`System.Action`)

Declared in [Sandbox.Internal.IMenuSystem](/api/Sandbox.Internal.IMenuSystem).
Assembly: `Sandbox.Engine`.
