Skip to content
EvilEngine.Api

Realm enum

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

Assembly
EvilEngine.Api
Commit
4ff877b1

Members

Server value

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

Client = 1

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