How bun3/bun3-kit works
bun3-kit is a personal framework monorepo: cross-platform gameplay libraries, reusable .NET server modules, and Unity packages. Gameplay tags flow from editable source documents through catalog compilation to runtime use; server modules provide hosting, transport, sessions, RPC, and player services. The tree also shows gameplay effects and attributes, achievements, items, Unity audio/acoustics, and UI. Several of these capabilities are represented from the tree rather than inspected source, so their internal connections are omitted.
Main entry points: TagCatalog.cs Runtime tag catalog · TcpTransportListener.cs TCP listener · EffectPipeline.cs Effect pipeline · PlayersServiceCollectionExtensions.cs Player hosting
Components 29
Gameplay libraries
- Tag editor
common/src/com.bun3.gameplay/Editor/Tags/GameplayTagCatalogWindowController.cs - Tag edit session
common/src/com.bun3.gameplay/Editor/Tags/GameplayTagCatalogEditSession.cs - Catalog build context
common/src/com.bun3.gameplay/Catalog/GameCatalogBuildContext.cs - Tag source document
common/src/com.bun3.gameplay/Catalog/TagSourceDocument.cs - Tag CLI
common/src/Bun3.Gameplay.Tags.Cli/Program.cs - Runtime tag catalog
common/src/com.bun3.gameplay/Runtime/Tags/TagCatalog.cs - Tag queries
common/src/com.bun3.gameplay/Runtime/Tags/TagQueryContainer.cs - Effect pipeline
common/src/com.bun3.gameplay/Runtime/Effects/EffectPipeline.cs - Big numbers
common/src/com.bun3.gameplay/Runtime/Numerics/BigNum.cs - Attributes
common/src/com.bun3.gameplay/Runtime/Attributes/AttributeSet.cs
Server modules
- Achievements
server/src/Bun3.Server.Achievements/AchievementManager.cs - Items and inventory
server/src/Bun3.Server.Items/ItemInventory.cs - Server hosting
server/src/Bun3.Server.Hosting/ServerServiceCollectionExtensions.cs - Player hosting
server/src/Bun3.Server.Hosting/PlayersServiceCollectionExtensions.cs - Hosted server
server/src/Bun3.Server.Hosting/HostedServer.cs - TCP listener
server/src/Bun3.Server.Transport.Tcp/TcpTransportListener.cs - Server session
server/src/Bun3.Server.Core/Session.cs - Connection contract
server/src/Bun3.Server.Abstractions/IConnection.cs - RPC client
server/src/Bun3.Server.Rpc/RpcClient.cs - RPC server
server/src/Bun3.Server.Rpc/RpcServer.cs - Server tag setup
server/src/Bun3.Server.GameplayTags/GameplayTagServiceCollectionExtensions.cs - Tag catalog loader
server/src/Bun3.Server.GameplayTags/GameplayTagCatalogLoader.cs
Unity packages
- Sound system
unity/Packages/com.bun3.unity.audio/Runtime/SoundSystem.cs - Acoustic grid queries
unity/Packages/com.bun3.unity.acoustics/Runtime/AcousticGridQuery.cs - Popup manager
unity/Packages/com.bun3.unity.ui/Runtime/Popups/PopupManager.cs
Shared utilities
- Object pooling
common/src/com.bun3.common/Runtime/Pooling/ConcurrentObjectPool.cs
Other components
- Game developer
- Remote peer
- TCP network
Connections 22
- Tag editor → Tag edit session: edits through
common/src/com.bun3.gameplay/Editor/Tags/GameplayTagCatalogWindowController.cs - Tag editor → Catalog build context: builds catalog
common/src/com.bun3.gameplay/Editor/Tags/GameplayTagCatalogWindowController.cs - Catalog build context → Tag source document: uses source
common/src/com.bun3.gameplay/Catalog/GameCatalogBuildContext.cs - Tag CLI → Tag source document: compiles sources
- Tag queries → Runtime tag catalog: queries
common/src/com.bun3.gameplay/Runtime/Tags/TagQueryContainer.cs - Effect pipeline → Runtime tag catalog: reads tags
common/src/com.bun3.gameplay/Runtime/Effects/EffectPipeline.cs - Effect pipeline → Big numbers: uses magnitudes
common/src/com.bun3.gameplay/Runtime/Effects/EffectPipeline.cs - Effect pipeline → Attributes: applies modifiers
common/src/com.bun3.gameplay/Runtime/Effects/EffectPipeline.cs - Server hosting → Hosted server: registers
server/src/Bun3.Server.Hosting/ServerServiceCollectionExtensions.cs - Server hosting → TCP listener: configures
server/src/Bun3.Server.Hosting/ServerServiceCollectionExtensions.cs - Hosted server → TCP listener: accepts connections
- Player hosting → RPC server: creates
server/src/Bun3.Server.Hosting/PlayersServiceCollectionExtensions.cs - Player hosting → TCP listener: uses listener
server/src/Bun3.Server.Hosting/PlayersServiceCollectionExtensions.cs - Player hosting → Server session: creates sessions
- Server session → Connection contract: sends through
server/src/Bun3.Server.Core/Session.cs - RPC client → Connection contract: uses connection
server/src/Bun3.Server.Rpc/RpcClient.cs - Remote peer → TCP network: connects over
- TCP network → TCP listener: delivers packets
- Server tag setup → Tag catalog loader: registers loader
server/src/Bun3.Server.GameplayTags/GameplayTagServiceCollectionExtensions.cs - Server tag setup → Runtime tag catalog: registers catalog
server/src/Bun3.Server.GameplayTags/GameplayTagServiceCollectionExtensions.cs - Tag catalog loader → Runtime tag catalog: loads catalog
- Game developer → Tag editor: edits tags