# Realm enum

> Where a piece of Plugin code runs: on the server or on a client. The menus run the engine's own code alone, never a Plugin's.

Namespace `EvilEngine.Api`, assembly `EvilEngine.Api`. Engine commit 4ff877b1.

```csharp
public enum Realm
```

Where a piece of Plugin code runs: on the server or on a client. The menus run the engine's own code alone, never a Plugin's.

[PluginContext.Realm](/docs/api/plugincontext#realm) says which one a context is for. The manifest uses the same two names, lowercased, for an export's optional `realm`, and the host reads that today: anything other than `"server"` or `"client"` is a manifest error.

## Members

### Server (value)

```csharp
Server = 0
```

The server's side of a game. In single player you're the host, so it runs on your machine too.

### Client (value)

```csharp
Client = 1
```

A player's side of a game: what the server sent this player, their view and their input.
