# rinchao0721/subnautica-2-coop-trainer architecture

> Architecture diagram of the GitHub repository rinchao0721/subnautica-2-coop-trainer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rinchao0721/subnautica-2-coop-trainer
- Repository: https://github.com/rinchao0721/subnautica-2-coop-trainer

## Overview

The repository’s inspectable runtime is a minimal Windows host: it accepts an optional configuration path, checks that the file exists, logs the loaded profile, and disposes the host. The README advertises overlay, profiles, input, and other trainer capabilities, but the available source does not implement or substantiate those subsystems, so they are not represented as runtime components. The graph reflects only the sampled host behavior and documented launch workflow.

Main entry points: [`src/Subnautica2CoopTrainerHost.cs`](https://github.com/rinchao0721/subnautica-2-coop-trainer/blob/main/src/Subnautica2CoopTrainerHost.cs) (Trainer host)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Host runtime"]
  node_host["Trainer host"]
end

node_user(("Windows user"))
node_config["Config file"]
node_console["Console output"]

node_user -->|"launches"| node_host
node_host -->|"checks existence"| node_config
node_host -->|"logs profile"| node_console

click node_host "https://github.com/rinchao0721/subnautica-2-coop-trainer/blob/main/src/Subnautica2CoopTrainerHost.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_host,node_user toneBlue
class node_config,node_console toneIndigo
```

## Components

### Host runtime

- [Trainer host](https://github.com/rinchao0721/subnautica-2-coop-trainer/blob/main/src/Subnautica2CoopTrainerHost.cs): `src/Subnautica2CoopTrainerHost.cs`

### Other components

- **Windows user**
- **Config file**
- **Console output**

## Connections

- Windows user → Trainer host: launches (evidence: `README.md`)
- Trainer host → Config file: checks existence (evidence: `src/Subnautica2CoopTrainerHost.cs`)
- Trainer host → Console output: logs profile (evidence: `src/Subnautica2CoopTrainerHost.cs`)
