File tree Expand file tree Collapse file tree 7 files changed +930
-1
lines changed Expand file tree Collapse file tree 7 files changed +930
-1
lines changed Original file line number Diff line number Diff line change 88 "source" : " github.com/sagikazarmark/daggerverse/arc@b45dbd7448bb967aca4a538af9ce7f042abf0316" ,
99 "pin" : " b45dbd7448bb967aca4a538af9ce7f042abf0316"
1010 },
11+ {
12+ "name" : " d2" ,
13+ "source" : " github.com/pjmagee/daggerverse/d2" ,
14+ "pin" : " 686b0f41e55f3e32b2e43546f1adac33ac271eb1"
15+ },
1116 {
1217 "name" : " gh" ,
1318 "source" : " github.com/sagikazarmark/daggerverse/gh@7fc77a4f8dd54d4d4c56e40517f7109e8585bcdd" ,
Original file line number Diff line number Diff line change 1+ dota2helper : "DOTA 2 Helper " {
2+ httpListener : "HTTP Listener "
3+ timers : "Timers " {
4+ explanation : |md
5+ Users configured timers
6+ |
7+ }
8+ audio : "Audio " {
9+ mp3
10+ wav
11+ }
12+ overlay : "Overlay UI "
13+ }
14+
15+ dota2 : "DOTA 2 " {
16+ game : "Game Session "
17+ gsi : "Game State Integration " {
18+ explanation : |md
19+ - gamestate_integration_d2helper.cfg
20+ - other_integration.cfg
21+ |
22+ }
23+ }
24+
25+ dota2 .game -> dota2 .gsi : "Load dota2Helper config file "
26+ dota2 -> dota2Helper .httpListener : "Send 1s interval updates to DOTA 2 Helper "
27+ dota2helper .httpListener -> dota2helper .timers : "Game updates used to calculate timers "
28+ dota2helper .overlay -> dota2helper .timers : "Render timer updates in overlay "
29+ dota2helper .timers -> dota2helper .audio : "Queue audio on timer trigger "
30+
Original file line number Diff line number Diff line change @@ -65,6 +65,13 @@ func New() *Dota2Helper {
6565 }
6666}
6767
68+ func (m * Dota2Helper ) HldToSvg () * dagger.File {
69+ return dag .D2 (dagger.D2Opts {
70+ Format : "svg" ,
71+ File : dag .CurrentModule ().Source ().File ("HLD.d2" ),
72+ }).Render ().File ("HLD.d2.svg" )
73+ }
74+
6875func (m * Dota2Helper ) GetSuffix (rid Rid ) string {
6976 for _ , setting := range m .PublishSettings {
7077 for _ , output := range setting .Outputs {
Original file line number Diff line number Diff line change 1+ ---
2+ title : " High Level Design"
3+ weight : 10
4+ header_menu : false
5+ ---
6+
7+ ---
8+
9+ From a technical standpoint, the DOTA 2 Helper app is a simple app that utilises a small amount of web technology and a bit of GSI to provide a few key features.
10+
11+ The underlying technology is .NET with Avalonia UI and a few other open source libraries.
12+
13+ The diagram below shows the high level design of the app.
14+
15+ ![ High Level Design] ( HLD.d2.svg )
16+
17+ Diagram created using [ D2] ( https://d2diagrams.net/ )
Original file line number Diff line number Diff line change 11< section id ="carousel ">
22 < div class ="carousel ">
33 < div class ="carousel-track ">
4- {{ range resources.Match "images/*" }}
4+ {{ range resources.Match "images/*.png " }}
55 < div class ="carousel-slide ">
66 < img src ="{{ .RelPermalink }} " alt ="Screenshot ">
77 </ div >
You can’t perform that action at this time.
0 commit comments