# iloveyehan/cupcko_mca architecture

> Architecture diagram of the GitHub repository iloveyehan/cupcko_mca, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/iloveyehan/cupcko_mca
- Repository: https://github.com/iloveyehan/cupcko_mca

## Overview

This repository is a World of Warcraft mount-collection addon. The README identifies the product, but does not describe its runtime workflow; the addon Lua sources are not included in the sampled excerpts. The graph therefore shows the addon entry point and likely data, scanning, and presentation responsibilities suggested by filenames, without asserting their wiring.

Main entry points: [`cupcko_mca.lua`](https://github.com/iloveyehan/cupcko_mca/blob/main/cupcko_mca.lua) (Addon runtime)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Addon runtime"]
  node_addon["Addon runtime<br/>[cupcko_mca.lua]"]
  node_scanner["Mount scanner<br/>[myScanner.lua]"]
  node_theme["Addon theme<br/>[cupcko_theme.lua]"]
end

subgraph group_content["Mount data"]
  node_mountdata["Mount data<br/>[cupcko_data.lua]"]
  node_data["Data file<br/>[data.lua]"]
end

node_player(("Player"))
node_wow["WoW client"]

node_player -->|"uses"| node_addon
node_wow -->|"hosts"| node_addon

click node_addon "https://github.com/iloveyehan/cupcko_mca/blob/main/cupcko_mca.lua"
click node_scanner "https://github.com/iloveyehan/cupcko_mca/blob/main/myScanner.lua"
click node_theme "https://github.com/iloveyehan/cupcko_mca/blob/main/cupcko_theme.lua"
click node_mountdata "https://github.com/iloveyehan/cupcko_mca/blob/main/cupcko_data.lua"
click node_data "https://github.com/iloveyehan/cupcko_mca/blob/main/data.lua"

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_addon,node_scanner,node_theme,node_wow toneBlue
class node_mountdata,node_data toneAmber
class node_player toneIndigo
```

## Components

### Addon runtime

- [Addon runtime](https://github.com/iloveyehan/cupcko_mca/blob/main/cupcko_mca.lua): `cupcko_mca.lua`
- [Mount scanner](https://github.com/iloveyehan/cupcko_mca/blob/main/myScanner.lua): `myScanner.lua`
- [Addon theme](https://github.com/iloveyehan/cupcko_mca/blob/main/cupcko_theme.lua): `cupcko_theme.lua`

### Mount data

- [Mount data](https://github.com/iloveyehan/cupcko_mca/blob/main/cupcko_data.lua): `cupcko_data.lua`
- [Data file](https://github.com/iloveyehan/cupcko_mca/blob/main/data.lua): `data.lua`

### Other components

- **Player**
- **WoW client**

## Connections

- Player → Addon runtime: uses
- WoW client → Addon runtime: hosts
