How gibbed/steamachievementmanager works
Overview
Steam Achievement Manager (SAM) is a portable desktop application for managing Steam achievements and statistics. The README documents a runtime dependency on the Steam client, a logged-in Steam account, and network access.
Core components
• Steam API surface and client coordination — SAM.API/Client.cs
Provides the API project’s client-facing coordination area, alongside SAM.API/Steam.cs, initialization failures, callbacks, and callback-related types.
• Native Steam integration — SAM.API/NativeWrapper.cs
Contains the native-wrapper boundary and supporting native classes/strings. Versioned interfaces under SAM.API/Interfaces and corresponding implementations under SAM.API/Wrappers represent Steam service contracts and alternative version-specific wrappers.
• API callbacks and data types — SAM.API/Callbacks
Defines callback implementations such as achievement/statistics-related notifications, with shared messages and result structures under SAM.API/Types. This is the event/data exchange area between Steam integration and application code.
• Game management UI and domain model — SAM.Game/Manager.cs
Owns the main game-management screen and its desktop interaction surface. Supporting achievement and statistic definitions, values, flags, and validation types are grouped under SAM.Game/Stats.
• Game selection UI — SAM.Picker/GamePicker.cs
Provides the separate game-picker screen and related game/logo presentation types, allowing the application to represent and select Steam games before management.
Entry points and public surface
SAM.Game/Program.cs and SAM.Picker/Program.cs are the two application startup areas indicated by the project layout. SAM.API/Steam.cs and SAM.API/Client.cs are the principal API-facing classes; consumers of the library-facing project can also work through its callback, interface, wrapper, and type areas.
Relationships
SAM.API owns communication with the external Steam client and exposes Steam-facing data/events. SAM.Game owns achievement/statistics management and its presentation model, while SAM.Picker owns game selection. The project organization indicates that the two application projects are separate consumers of the API area; the supplied evidence does not establish their exact import or call order.
External boundary
The Steam client, Steam account, and network are external actors and prerequisites, not repository components. The versioned interface/wrapper organization marks the principal integration boundary for Steam services. No repository-backed database or other persistent storage subsystem is identified by the supplied tree.
Main entry points: Client.cs API Client Coordination · NativeWrapper.cs Native Steam Integration · Callbacks API Callbacks · Wrappers Steam Wrappers
Components 13
SAM.API
Steam integration and API-facing data exchange.
- API Client Coordination · Coordinates client-facing Steam API behavior and callbacks.
SAM.API/Client.cs - Native Steam Integration · Boundary for native Steam services.
SAM.API/NativeWrapper.cs - Steam Contracts · Versioned Steam service contracts.
SAM.API/Interfaces - Steam Wrappers · Alternative version-specific Steam wrappers.
SAM.API/Wrappers - API Callbacks · Achievement and statistics-related notifications.
SAM.API/Callbacks - API Types · Shared callback messages and result data.
SAM.API/Types
SAM.Game
Achievement and statistics management application.
- Game Manager · Main game-management screen and domain model.
SAM.Game/Manager.cs - Game Startup
SAM.Game/Program.cs
SAM.Picker
Game selection application.
- Game Picker · Selects Steam games before management.
SAM.Picker/GamePicker.cs - Picker Startup
SAM.Picker/Program.cs
Other components
- Steam Client · Required logged-in Steam client.
- Steam Account · Required logged-in account.
- Network · Required for Steam access.
Connections 9
- Steam Client → Native Steam Integration: provides Steam services
- Steam Account → API Client Coordination: enables access
- Network → API Client Coordination: enables access
- API Client Coordination → Native Steam Integration: coordinates
- Steam Wrappers → Steam Contracts: implements
- Native Steam Integration → API Callbacks: delivers callbacks
- API Callbacks → API Types: uses data types
- API Client Coordination → Game Manager: serves · SAM.Game is a consumer of the API area.
- API Client Coordination → Game Picker: serves · SAM.Picker is a consumer of the API area.