IDomainController
An interface in Root.Township, ATT.Domains.
Creates and tracks per-player domains (spawned areas tied to one player). Implemented by DomainController and bound in GameLifetimeScope. Create and destroy are server only.
- Listed in ATT, Features and other game namespaces
- Derived types
DomainController
Methods
| Member | What it is |
|---|---|
Task<Domain> CreateDomainForPlayer(IPlayer player) | Server: spawns a domain for the player at the next free offset. |
Task DestroyDomain(Domain domain) | Server: destroys a domain and clears its save. |
Domain GetDomainForPlayer(IPlayer player) | Returns the player's domain, or null. |
Used in
Members of other types that take, return or hold a IDomainController: