Skip to content

Commit

Permalink
Merge branch 'release/1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-miasik committed Jun 21, 2022
2 parents c099e23 + 22b7e9d commit 9617540
Show file tree
Hide file tree
Showing 32 changed files with 295 additions and 184 deletions.
45 changes: 26 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,35 @@
<h1 align="center">Stream Deck Plugins - Dota 2</h1>
<p align="center">A suite of Stream Deck plugins created for Valve's MOBA: Dota 2 ⚔️</p>
<p align="center">
<img src="StreamDeckPluginsDota2/images/[email protected]">
<img src="StreamDeckPluginsDota2/images/[email protected]" width="64">
</p>
<p align="center">A suite of Stream Deck plugins created for Valve's MOBA: Dota 2 ⚔️</p>

# Actions
<h2 align="center">Roshan Timer</h2>
<p align="center">
<img src="StreamDeckPluginsDota2/images/roshan-timer/pluginAction@2x.png" width="128">
<img src="StreamDeckPluginsDota2/images/actions/[email protected]" width="128">
</p>
<p align="center">Keep track of Roshan's respawn time and item drops.</p>

<h2 align="center">Show Top Rune</h2>
<p align="center">
<img src="StreamDeckPluginsDota2/images/show-top-rune/pluginAction@2x.png" width="128">
<img src="StreamDeckPluginsDota2/images/actions/[email protected]" width="128">
</p>
<p align="center">Quickly position the in-game camera to the top rune.</p>

<h2 align="center">Show Bot Rune</h2>
<p align="center">
<img src="StreamDeckPluginsDota2/images/show-bot-rune/pluginAction@2x.png" width="128">
<img src="StreamDeckPluginsDota2/images/actions/[email protected]" width="128">
</p>
<p align="center">Quickly position the in-game camera to the bottom rune.</p>

<h2 align="center">Quit Application</h2>
<p align="center">
<img src="StreamDeckPluginsDota2/images/actions/[email protected]" width="128">
</p>
<p align="center">Quit the Dota 2 application.</p>


# Downloads
- [Elgato Plugin Store (Recommended)](https://apps.elgato.com/plugins/com.adrian-miasik.sdpdota2)
- [Direct Download](StreamDeckPluginsDota2/distribute/com.adrian-miasik.sdpdota2.streamDeckPlugin)
Expand All @@ -43,7 +50,7 @@
# Actions Explained
<h2 align="center">Roshan Timer</h2>
<p align="center">
<img src="StreamDeckPluginsDota2/images/roshan-timer/pluginAction@2x.png" width="128">
<img src="StreamDeckPluginsDota2/images/actions/[email protected]" width="128">
</p>
<p align="center"> Keep track of Roshan's respawn time and item drops.</p>

Expand All @@ -60,32 +67,32 @@
#### Default
> - Timer has not been started. **Press on Roshan's first death to begin the timer.**
<img src="StreamDeckPluginsDota2/images/roshan-timer/pluginAction.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/roshan-timer.png" width="64">

---

#### Dead
> - **Dead** when the timer is less than 8 minutes.
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/dead0.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/dead0.png" width="64">

- First Death
- Roshan has previously dropped: `Aegis of the Immortal`
<br>

<img src="StreamDeckPluginsDota2/images/roshan-timer/states/dead1.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/dead1.png" width="64">

- Second Death
- Roshan has previously dropped: `Aegis of the Immortal` + `Aghanims Shard`
<br>

<img src="StreamDeckPluginsDota2/images/roshan-timer/states/dead2.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/dead2.png" width="64">

- Third Death
- Roshan has previously dropped: `Aegis of the Immortal` + `Cheese` + (`Refresher Shard` OR `Aghanims Blessing`)
<br>

<img src="StreamDeckPluginsDota2/images/roshan-timer/states/dead3.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/dead3.png" width="64">

- Fourth Death
- Roshan has previously dropped: `Aegis of the Immortal` + `Cheese` + `Aghanims Blessing` + `Refresher Shard`
Expand All @@ -96,29 +103,29 @@
> - **Maybe** when the timer is between 8-11 minutes.
> - **Alive** when the timer is 11 minutes or more.
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/maybe0.png" width="64">
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/alive0.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/maybe0.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/alive0.png" width="64">

- First Death
- Roshan is going to drop: `Aegis of the Immortal` + `Aghanims Shard`
<br>

<img src="StreamDeckPluginsDota2/images/roshan-timer/states/maybe1.png" width="64">
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/alive1.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/maybe1.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/alive1.png" width="64">

- Second Death
- Roshan is going to drop: `Aegis of the Immortal` + `Cheese` + (`Refresher Shard` OR `Aghanims Blessing`)
<br>

<img src="StreamDeckPluginsDota2/images/roshan-timer/states/maybe2.png" width="64">
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/alive2.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/maybe2.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/alive2.png" width="64">

- Third Death
- Roshan is going to drop: `Aegis of the Immortal` + `Cheese` + `Aghanims Blessing` + `Refresher Shard`
<br>

<img src="StreamDeckPluginsDota2/images/roshan-timer/states/maybe3.png" width="64">
<img src="StreamDeckPluginsDota2/images/roshan-timer/states/alive3.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/maybe3.png" width="64">
<img src="StreamDeckPluginsDota2/images/actions/alive3.png" width="64">

- Fourth Death
- Roshan is going to drop: `Aegis of the Immortal` + `Cheese` + `Aghanims Blessing` + `Refresher Shard`
Expand Down
49 changes: 49 additions & 0 deletions StreamDeckPluginsDota2/QuitApplication.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
using System.Diagnostics;
using BarRaider.SdTools;

namespace StreamDeckPluginsDota2
{
[PluginActionId("com.adrian-miasik.sdpdota2.quit-application")]
public class QuitApplication : PluginBase
{
public QuitApplication(ISDConnection connection, InitialPayload payload) : base(connection, payload)
{

}

public override void KeyPressed(KeyPayload payload)
{
Process[] dotaProcesses = Process.GetProcessesByName("Dota2");

foreach (Process process in dotaProcesses)
{
process.Kill();
}
}

public override void KeyReleased(KeyPayload payload)
{

}

public override void ReceivedSettings(ReceivedSettingsPayload payload)
{

}

public override void ReceivedGlobalSettings(ReceivedGlobalSettingsPayload payload)
{

}

public override void OnTick()
{

}

public override void Dispose()
{

}
}
}
Loading

0 comments on commit 9617540

Please sign in to comment.